Update.
[glibc.git] / ChangeLog
blob0a64e94fcf5eea5624a24be4af1271c536656c5d
1 2001-04-29  Andreas Jaeger  <aj@suse.de>
3         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
4         Define for Arm, PowerPC and SH if kernel is 2.4.4 or newer.
6         * sysdeps/unix/sysv/linux/bits/socket.h (PF_WANPIPE): New, from
7         Linux 2.4.4.
8         (AF_WANPIPE): Likewise.
9         (MSG_MORE): New.
11         * sysdeps/unix/sysv/linux/alpha/bits/socket.h: Add same changes as
12         for Linux generic version.
13         * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Likewise.
14         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
16         * sysdeps/unix/sysv/linux/ia64/bits/socket.h: Likewise.
18         * sysdeps/gnu/netinet/tcp.h (TCP_QUICKACK): New.
20 2001-04-27  Ulrich Drepper  <drepper@redhat.com>
22         * nis/nss-nis.h: Correct test for invalid error number.
23         * nis/nss-nisplus.h: Likewise.
25         * nis/Makefile (libnss_compat-rountines): Add nss-nisplus.
27 2001-04-26  Ulrich Drepper  <drepper@redhat.com>
29         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getunwind.
31         * string/strcoll.c: Fix two memory allocation problems.
32         * string/Makefile (tests): Add bug-strcoll1.
33         * string/bug-strcoll1.c: New file.
35         * malloc/mcheck.c (mcheck): Call malloc once before setting the
36         hooks to allow the internal check hooks to be set up if necessary.
38         * nis/nss-nis.h: Move yperr2nss_tab definition into separate file
39         and rename to __yperr2nss_tab.  Change YPERR_COUNT into variable
40         __yperr2nss_count.
41         * nis/nss-nis.c: New file.
42         * nis/nss-nisplus.h: Move niserr2nss_tab definition into separate file
43         and rename to __niserr2nss_tab.  Change NISERR_COUNT into variable
44         __niserr2nss_count.
45         * nis/nss-nisplus.c: New file.
46         * nis/Makefile (libnss_compat-routines): Add nss-nis.
47         (libnss_nis-routines): Likewise.
48         (libnss_nisplus-routines): Add nss-nisplus.
50         * nis/nss_nisplus/nisplus-alias.c: Remove unnecessary initializations.
51         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
52         * nis/nss_nisplus/nisplus-grp.c: Likewise.
53         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
54         * nis/nss_nisplus/nisplus-network.c: Likewise.
55         * nis/nss_nisplus/nisplus-proto.c: Likewise.
56         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
57         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
58         * nis/nss_nisplus/nisplus-service.c: Likewise.
59         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
60         * nis/nss_nis/nis-alias.c: Likewise.
61         * nis/nss_nis/nis-ethers.c: Likewise.
62         * nis/nss_nis/nis-grp.c: Likewise.
63         * nis/nss_nis/nis-network.c: Likewise.
64         * nis/nss_nis/nis-proto.c: Likewise.
65         * nis/nss_nis/nis-pwd.c: Likewise.
66         * nis/nss_nis/nis-spwd.c: Likewise.
67         * nis/nss_compat/compat-grp.c: Likewise.
68         * nis/nss_compat/compat-initgroups.c: Likewise.
69         * nis/nss_compat/compat-pwd.c: Likewise.
70         * nis/nss_compat/compat-spwd.c: Likewise.
72         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Some more
73         optimizations.  Patch by Jakub Jelinek <jakub@redhat.com>.
75 2001-04-26  Andreas Jaeger  <aj@suse.de>
77         * po/zh_TW.po: Update.
78         Patch by Tung-Han Hsieh <thhsieh@tlug.sinica.edu.tw>.
80 2001-04-25  Ulrich Drepper  <drepper@redhat.com>
82         * malloc/malloc.c: Allow MALLOC_ALIGNMENT to be defined on the
83         compiler command line.
84         * sysdeps/hppa/Makefile: Add -DMALLOC_ALIGNMENT=16 to compiler
85         command line for malloc.c.
87 2001-04-25  Jakub Jelinek  <jakub@redhat.com>
89         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: Move to...
90         * sysdeps/unix/sysv/linux/sparc/bits/time.h: ...here.
91         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: Remove.
92         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: Move to...
93         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: ...here.  Adjust
94         struct msghdr for __WORDSIZE == 32.
95         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: Move to...
96         * sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: ...here. Adjust
97         for __WORDSIZE == 32.
98         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Remove.
99         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c: New
100         file.
101         * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_siglongjmp):
102         Rename from longjmp, make longjmp weak alias to it.
104 2001-04-24  David S. Miller  <davem@redhat.com>
106         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: New file.
108 2001-04-25  Matthew Wilcox  <willy@ldl.fc.hp.com>
110         * sysdeps/hppa/stackinfo.h: New file.
111         * sysdeps/unix/sysv/linux/hppa/getdents64.c: New file.
112         * sysdeps/unix/sysv/linux/hppa/mmap64.c: New file.
113         * sysdeps/unix/sysv/linux/hppa/bits/resource.h: New file.
114         * sysdeps/unix/sysv/linux/kernel-features.h: Add descriptions
115         of PA kernel features.
117 2001-04-25  Ulrich Drepper  <drepper@redhat.com>
119         * locale/programs/localedef.c (main): Always set a file name for
120         the initial locale.
121         * locale/programs/locfile.c (locfile_read): filename is allowed to
122         be NULL.
124 2001-04-12  Paul Bame  <paul_bame@hp.com>
126         * sysdeps/hppa/fpu/fclrexcpt.c: Clear the exception flags, not the
127         enable flags.
129 2001-04-24  Ulrich Drepper  <drepper@redhat.com>
131         * sysdeps/generic/bits/environments.h (_POSIX_V6_LPBIG_OFFBIG,
132         _XBS5_LPBIG_OFFBIG): Define to -1.
133         Fix typos.
135         * sysdeps/generic/bits/confname.h: Add _CS_V6_WIDTH_RESTRICTED_ENVS.
136         * posix/confstr.c: Handle _CS_V6_WIDTH_RESTRICTED_ENVS.
137         * posix/getconf.c: Handle _POSIX_V6_WIDTH_RESTRICTED_ENVS.
138         * posix/tst-getconf.sh: Add _POSIX_V6_WIDTH_RESTRICTED_ENVS.
140         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/Implies: New file.
141         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: Removed.
143 2001-03-21  Alan Modra  <alan@one.net.au>
145         * sysdeps/hppa/dl-machine.h (RTLD_START): Set up dp with DT_PLTGOT
146         value from application so that constructors in non-PIC libs work.
148 2000-12-13  Jes Sorensen  <jes@linuxcare.com>
150         * sysdeps/hppa/dl-machine.h (RTLD_START): _dl_init now returns a
151         function pointer, hence load the jump address and gp from the
152         function pointer before jumping.
154 2001-04-24  Andreas Jaeger  <aj@suse.de>
156         * sysdeps/generic/send.c (__send): Return ssize_t.
157         * sysdeps/mach/hurd/send.c (__send): Likewise.
158         * sysdeps/mach/hurd/recv.c (recv): Likewise.
159         * sysdeps/mach/hurd/sendto.c (sendto): Likewise.
160         * sysdeps/generic/sendto.c (sendto): Likewise.
161         * sysdeps/generic/recvmsg.c (recvmsg): Likewise.
162         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
163         * sysdeps/generic/recvfrom.c (recvfrom): Likewise.
164         * sysdeps/generic/sendmsg.c (sendmsg): Likewise.
166         * socket/sys/socket.h: send* and recv* return ssize_t.
168         * include/sys/socket.h: send returns ssize_t.
170         * sysdeps/i386/fpu_control.h: Fix comments.
172 2001-04-24  Ulrich Drepper  <drepper@redhat.com>
174         * sysdeps/ia64/Dist: Add hp-timing.c.
175         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add ucontext_i.h.
176         * posix/Makefile (distribute): Add tst-getconf.sh.
177         * po/Makefile (distribute): Add $(BROKEN_LINGUAS:=.po).
179 2001-04-23  Ulrich Drepper  <drepper@redhat.com>
181         * sysdeps/ia64/Makefile [subdir=csu] (sysdep_routines): Add hp-timing.
182         * sysdeps/ia64/Versions: Add _dl_cpuclock_offset for ld in 2.2.3.
183         * sysdeps/ia64/hp-timing.c: New file.
184         * sysdeps/ia64/hp-timing.h: New file.
185         * sysdeps/unix/sysv/linux/ia64/bits/time.h: Add definitions for
186         CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
188         * sysdeps/generic/clock_getcpuclockid.c: Make function generic, test
189         using #ifdef whether the clock is available.
190         * sysdeps/unix/i386/clock_getcpuclockid.c: Not needed anymore.
192         * sysdeps/generic/dl-sysdep.c: Initialize _dl_cpuclock_offset to move
193         it into data section.
195         * sysdeps/unix/i386/i586/clock_getres.c: Removed.
196         * sysdeps/unix/i386/i586/clock_gettime.c: Removed.
197         * sysdeps/unix/i386/i586/clock_nanosleep.c: Removed.
198         * sysdeps/unix/i386/i586/clock_settime.c: Removed.
199         * sysdeps/unix/i386/i586/cpuclock-init.h: Removed.
200         * sysdeps/generic/cpuclock-init.h: Removed.
201         * sysdeps/unix/i386/i686/Implies: Removed.
202         * sysdeps/unix/i386/i686/tempname.c: Removed.
203         * sysdeps/i386/i686/Versions: New file.
204         * sysdeps/unix/i386/i586/Versions: Removed.
206         * sysdeps/posix/clock_getres.c: If HP_TIMING_AVAIL is nonzero handle
207         CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
208         * sysdeps/unix/clock_gettime.c: Likewise.
209         * sysdeps/unix/clock_nanosleep.c: Likewise.
210         * sysdeps/unix/clock_settime.c: Likewise.
211         * sysdeps/posix/tempname.c: Is HP_TIMING_AVAIL is nonzero define
212         RANDOM_BITS use CPU clock.
214         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: New file.
215         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: New file.
216         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: New file.
217         * sysdeps/sparc/Versions: New file.
219         * elf/dl-support.c: Don't use cpuclock-init.h definitions, use
220         hp-timing.h definitions.
221         * sysdeps/generic/dl-sysdep.c: Likewise.
223         * include/libc-internal.h: Include hp-timing.h.  Use hp_timing_t in
224         __get_clockfreq prototype.
226         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
227         Use hp_timing_t type.
228         * sysdeps/generic/get_clockfreq.c (__get_clockfreq): Likewise.
230         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: New file.
232         * sysdeps/posix/pathconf.c (__pathconf): For _PC_ASYNC_IO test
233         whether named file is a regular file or a block device.
234         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
236 2001-04-23  Andreas Jaeger  <aj@suse.de>
238         * nscd/nscd.h: Add noreturn attribute for start_threads.
240 2001-04-22  Ulrich Drepper  <drepper@redhat.com>
242         * posix/getconf.c: Fix names of XBS5 LFS test variables.
243         Add missing configuration variables from XPG6.
244         * posix/tst-getconf.c: New file.
245         * posix/Makefile (generated): Add tst-getconf.out.
246         (tests): Add ($objpfx)tst-getconf.out.
247         Add rule to run tst-getconf.sh.
248         * sysdeps/generic/bits/confname.h: Add missing _PC_ and _SC_ values
249         from XPG6.
250         * sysdeps/posix/fpathconf.c: Add handling of _PC_ALLOC_SIZE_MIN and
251         _PC_SYMLINK_MAX.
252         * sysdeps/posix/pathconf.c: Likewise.
253         * sysdeps/posix/sysconf.c: Correct spelling of _SC_MULTI_PROCESS
254         and _SC_SYMLOOP_MAX.
256 2001-04-22  Philip Blundell  <philb@gnu.org>
258         * sysdeps/arm/fpu/feenablxcpt.c: New file.
259         * sysdeps/arm/fpu/fedisablxcpt.c: New file.
260         * sysdeps/arm/fpu/fegetexcpt.c: New file.
262 2001-04-22  Philip Blundell  <philb@gnu.org>
264         * sysdeps/unix/sysv/linux/arm/sys/user.h (struct user_fpregs):
265         Renamed from struct user_fp.
266         (struct user_regs): New.
267         (struct user): Use struct user_regs rather than struct pt_regs to
268         avoid dependency on asm/ptrace.h.  Use struct user_fpregs in place
269         of struct user_fp and struct user_fp_struct.
270         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Include sys/procfs.h
271         not sys/elf.h.
273 2001-04-22  Philip Blundell  <philb@gnu.org>
275         * sysdeps/unix/sysv/linux/arm/sys/elf.h: Move contents to
276         sys/procfs.h, and tell the user to include that file instead.
277         * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove old cruft
278         surrounded with #if 0.
279         (elf_greg_t, ELF_NGREG, elf_gregset_t, elf_fpregset_t): Moved here
280         from sys/elf.h.
281         (prgregset_t, prfpregset_t): Define in terms of elf_gregset_t and
282         elf_fpregset_t respectively.
284 2001-04-22  Philip Blundell  <philb@gnu.org>
286         * sysdeps/unix/sysv/linux/arm/register-dump.h: Also print the
287         address that faulted.
289 2001-04-21  Ulrich Drepper  <drepper@redhat.com>
291         * sysdeps/generic/bits/confname.h: Add _SC_V6_* and _CS_POSIX_V6_*
292         values.
293         * sysdeps/generic/bits/environments.h: Define _POSIX_V6_* values.
294         * posix/confstr.c: Handle _CS_POSIX_V6_* values.
295         * posix/getconf.c: Handle _CS_POSIX_V6_* and _SC_V6_* values.
296         * sysdeps/posix/sysconf.c: Handle _SC_V6_* values.
298         * sysdeps/powerpc/fpu/libm-test-ulps: Add deltas for atan2f.
299         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
300         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
301         * sysdeps/mips/fpu/libm-test-ulps: Likewise.
303 2001-04-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
305         * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correct check for invalid
306         offset.
308 2001-04-21  Ulrich Drepper  <drepper@redhat.com>
310         * posix/getopt.h: Treat __cplusplus like __STDC__.
312 2001-04-20  John S. Marvin  <jsm@fc.hp.com>
314         * sysdeps/unix/sysv/linux/hppa/clone.S: Fix clone system call
315         entry point stub.
317 2001-04-20  Richard Hirst  <rhirst@linuxcare.com>
319         * elf/elf.h: Corrected R_PARISC_DIR14R (should be 6, not 5),
320         and added R_PARISC_DPREL21L and R_PARISC_DPREL14R for modutils.
322         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Removed ptrace
323         entry so the ptrace.c wrapper is used.
325 2001-04-20  Alan Modra  <amodra@one.net.au>
327         * sysdeps/hppa/dl-lookupcfg.h (_dl_function_address): Prototype.
328         (DL_FUNCTION_ADDRESS): Define.
329         (DL_DT_INIT_ADDRESS): Define.
330         (DL_DT_FINI_ADDRESS): Define.
331         * sysdeps/hppa/Versions: Add _dl_function_address.
332         * sysdeps/hppa/dl-machine.h (ELF_MACHINE_START_ADDRESS): Define.
333         * sysdeps/hppa/dl-symaddr.c (_dl_start_address): Rename to
334         _dl_function_address.
336 2001-04-21  Andreas Jaeger  <aj@suse.de>
338         * rt/aio_misc.c (handle_fildes_io): Add noreturn attribute.
339         * resolv/gai_misc.c (handle_requests): Likewise.
340         * malloc/obstack.c (print_and_abort): Likewise.
341         * malloc/mcheck.c (mabort): Likewise.
343         * sysdeps/unix/i386/i586/clock_settime.c: Include
344         "libc-internal.h" for __get_clockfreq declaration.
346 2001-04-21  Ulrich Drepper  <drepper@redhat.com>
348         * elf/dl-support.c: Include cpuclock-init.h.  Use CPUCLOCK_VARDEF and
349         CPUCLOCK_INIT if defined.
350         * sysdeps/generic/dl-sysdep.c: Likewise.
351         * sysdeps/generic/cpuclock-init.h: New file.
352         * sysdeps/unix/i386/i586/cpuclock-init.h: New file.
353         * sysdeps/unix/i386/i586/Versions: New file.
354         * sysdeps/unix/i386/i586/clock_settime.c: New file.
355         * sysdeps/unix/i386/i586/clock_gettime.c: Handle thread CPU clock
356         separately by calling __pthread_clock_gettime if this function is
357         available.  Subtract offset from tsc value before computing time value.
359 2001-04-20  Ulrich Drepper  <drepper@redhat.com>
361         * iconv/iconv_prog.c (print_known_names): If printing goes not to
362         a tty print in a more machine-friendly way.
364         * sysdeps/ieee754/ldbl-128/e_asinl.c: New file.
365         Contributed by Stephen L Moshier <moshier@mediaone.net>.
367 2001-04-20  Andreas Jaeger  <aj@suse.de>
369         * intl/Makefile (tests): Reorder conditions, tst-gettext needs msgfmt.
371 2001-04-20  Andreas Schwab  <schwab@suse.de>
373         * sysdeps/m68k/fpu/libm-test-ulps: Update.
375 2001-04-19  Alan Modra  <amodra@one.net.au>
377         * Makerules (libc_pic.os): Add $(LDFLAGS-c_pic.os).
378         * sysdeps/hppa/Makefile (LDFLAGS-c_pic.os): Define.
379         (CFLAGS-.os): Remove.
381         * sysdeps/unix/sysv/linux/hppa/sysdep.h (CALL_MCOUNT): Update comment.
383         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG, NFPREG,
384         gregset): Correct for new kernel definitions.
386 2001-04-19  Alan Modra  <alan@linuxcare.com.au>
388         * sysdeps/hppa/elf/initfini.c: Change dlt reg save to r3 and
389         generate unwind info by hand.
391 2001-04-19  Ulrich Drepper  <drepper@redhat.com>
393         * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Optimize a bit.
395         * configure.in: Correct regular expression for msgfmt.
396         Patch by Bruno Haible <haible@ilog.fr>.
398 2001-04-19  Andreas Jaeger  <aj@suse.de>
400         * po/el.po: Add comment explaining what's broken.
402         * po/Makefile (BROKEN_LINGUAS): New.
403         (ALL_LINGUAS): Don't add broken languages.
405 2001-04-19  Roland McGrath  <roland@frob.com>
407         * sysdeps/mach/hurd/mlock.c: New file.
408         * sysdeps/mach/hurd/munlock.c: New file.
409         * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK_RANGE): Define it.
411         * misc/Makefile (routines): Add mlock munlock mlockall munlockall.
412         * sysdeps/generic/mlock.c: New file.
413         * sysdeps/generic/munlock.c: New file.
414         * sysdeps/generic/mlockall.c: New file.
415         * sysdeps/generic/munlockall.c: New file.
416         * sysdeps/generic/bits/mman.h (MCL_CURRENT, MCL_FUTURE): New macros.
417         * sysdeps/unix/sysv/linux/syscalls.list (mlock, munlock,
418         mlockall, munlockall): Change caller field to - from EXTRA.
419         Don't use __ names; not used (and not declared in include/sys/mman.h).
421         * hurd/privports.c (__get_privileged_ports): Renamed with __.
422         Use __ names for calls we make.
423         (get_privileged_ports): Add alias.
424         * hurd/hurd.h: Declare it with the __ name.
425         * sysdeps/mach/hurd/reboot.c (reboot): Use __get_privileged_ports.
426         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
427         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
429         * hurd/hurdsig.c (write_corefile): Check RLIMIT_CORE limit and do
430         nothing if it's zero.
432 2001-04-19  Matthew Wilcox  <willy@ldl.fc.hp.com>
434         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL):
435         Change to return a signed result for compatibility with other
436         architectures, and correctness.
438 2001-04-19  Ulrich Drepper  <drepper@redhat.com>
440         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_32BITUIDS):
441         HPPA always had them.  Patch by Matthew Wilcox <matthew@wil.cx>.
443 2001-04-19  Andreas Jaeger  <aj@suse.de>
445         * configure.in: Require gettext 0.10.36 or newer.
447         * manual/install.texi (Tools for Compilation): Mention gettext 0.10.36.
449         * po/zh_TW.po: Remove extraneous backslashes.
451         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove unused
452         variables b and n.
454 2001-04-18  Jakub Jelinek  <jakub@redhat.com>
456         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
457         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c: New file.
458         * sysdeps/unix/sysv/linux/sparc/sparc64/swapcontext.c: New file.
459         * sysdeps/unix/sysv/linux/sparc/sparc64/setcontext.S (__setcontext):
460         Copy first word of uc_sigmask into __uc_sigmask.
461         * sysdeps/unix/sysv/linux/sparc/sparc64/getcontext.S (__getcontext):
462         Save uc_link around trap. Copy __uc_sigmask into first word of
463         uc_sigmask, clear the rest. Make sure setcontext to the created
464         context doesn't do this though.
465         * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext_i.h: New file.
466         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Add
467         uc_stack and uc_sigmask, rename old uc_sigmask to __uc_sigmask in the
468         64bit version, make uc_sigmask __sigset_t in the 32bit version.
470 2001-04-19  Andreas Jaeger  <aj@suse.de>
472         * sysdeps/unix/sysv/linux/hppa/umount.c: Fix typos in last patch.
474         * rt/Makefile (otherlibs): Added for static NSS.
476         * glibcbug.in (BUGGLIBC): Send to new alias.
478 2001-04-02  Andreas Schwab  <schwab@suse.de>
480         * Makerules (build-module): Make sure exit codes get checked
481         properly and remove unnecessary slashes.
483 2001-04-17  Ulrich Drepper  <drepper@redhat.com>
485         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
486         Handle kernels which report only three digits after the decimal point.
487         Reported by Van Okamura <van.okamura@oracle.com>.
489         * sysdeps/alpha/fpu/libm-test-ulps: Adjust error values for atan2f.
491 2001-04-17  David S. Miller  <davem@redhat.com>
493         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update for new atan2 tests.
494         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
496 2001-04-17  Jakub Jelinek  <jakub@redhat.com>
498         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Make sure
499         desired exceptions are raised for exceptional values.
500         * math/libm-test.inc (acosh_test, atan_test, atan2_test, cacos_test,
501         cacosh_test, casin_test, casinh_test, catan_test, catanh_test,
502         clog_test, log_test, log1p_test, tan_test): Increase precision of
503         expected values to satisfy ldbl-128.
504         * sysdeps/alpha/fpu/libm-test-ulps: Adjust accordingly.
505         * sysdeps/arm/libm-test-ulps: Likewise.
506         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
507         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
508         * sysdeps/m68k/fpu/libm-test-ulps: Likewise.
509         * sysdeps/mips/fpu/libm-test-ulps: Likewise.
510         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
511         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
512         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
513         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
514         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
516 2001-04-17  Andreas Jaeger  <aj@suse.de>
518         * configure.in: Move test for critical programs up.
520 2001-04-16  Stephen L Moshier  <moshier@mediaone.net>
522         * sysdeps/ieee754/flt-32/e_asinf.c (pio2_hi, pio2_lo, pio4_hi):
523         Correct the values. (pSx, qSx): Replace by shorter approximation.
524         Use f suffix on float constants.
526 2001-04-16  Ulrich Drepper  <drepper@redhat.com>
528         * sysdeps/ieee754/ldbl-128/k_tanl.c: New file.
529         Contributed by Stephen L Moshier <moshier@mediaone.net>.
531         * string/string.h: Replace const in attribute list with __const__.
533 2001-04-16  Roland McGrath  <roland@frob.com>
535         * grp/initgroups.c (initgroups) [NGROUPS_MAX != 0]: Always use sysconf
536         instead of the constant NGROUPS_MAX.  That way, the limit can be
537         raised in the kernel configuration without having to recompile libc.
539         * sysdeps/posix/euidaccess.c: Don't #include <limits.h> or try to
540         define NGROUPS_MAX; we don't use it here.
542 2001-04-16  Andreas Jaeger  <aj@suse.de>
544         * math/libm-test.inc (atan2_test): Add more testcases.
546         * iconv/gconv_db.c: Include gconv_charset.h for
547         __gconv_lookup_alias prototype.
549 2001-04-13  Ulrich Drepper  <drepper@redhat.com>
551         * sysdeps/ieee754/ldbl-128/s_atanl.c: New file.
552         Contributed by Stephen L Moshier <moshier@mediaone.net>.
554 2001-04-13  Jes Sorensen  <jes@linuxcare.com>
556         * intl/tst-codeset.c: Include string.h to get prototype for strcmp().
558 2001-04-13  Jes Sorensen  <jes@linuxcare.com>
560         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add __pad0 to
561         explicitly pad struct siginfo instead of relying on compiler padding.
563 2001-04-12  Ulrich Drepper  <drepper@redhat.com>
565         * sysdeps/ia64/Dist: Add elf/entry.h.
567         * iconvdata/Makefile (distribute): Add TESTS2.
569 2001-04-13  Jakub Jelinek  <jakub@redhat.com>
571         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_load_address):
572         Calculate load address differently.
574 2001-04-12  Bruno Haible  <haible@clisp.cons.org>
576         * iconvdata/TESTS2: New file.
577         * iconvdata/run-iconv-test.sh: Also run tests from TESTS2.
578         * iconvdata/testdata/alfabeta..UTF-8: New file.
579         * iconvdata/testdata/alfabeta..UTF-16.BE: New file.
580         * iconvdata/testdata/alfabeta..UTF-16.LE: New file.
581         * iconvdata/testdata/alfabeta..UTF-32.BE: New file.
582         * iconvdata/testdata/alfabeta..UTF-32.LE: New file.
584 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
586         * iconvdata/utf-32.c: New file.
587         * iconvdata/gconv-modules: Add entries for UTF-32, UTF-32LE, UTF-32BE.
588         * iconvdata/Makefile (modules): Add UTF-32.
589         (distribute): Add utf-32.c.
591 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
593         * iconvdata/utf-16.c (PREPARE_LOOP): Initialize 'swap' after possibly
594         changing it in the state. After incrementing 'inptr', store it back.
595         * iconvdata/unicode.c (PREPARE_LOOP): After incrementing 'inptr',
596         store it back.
598 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
600         * iconvdata/utf-16.c (gconv_init): Use MAX_NEEDED_FROM, not
601         MIN_NEEDED_FROM.
603 2001-04-11  David Mosberger  <davidm@hpl.hp.com>
605         * sysdeps/ia64/htonl.S: Drop superfluous "alloc".
606         * sysdeps/ia64/htons.S: Likewise.
608         * sysdeps/ia64/memset.S: Add unwind directives.
609         * sysdeps/ia64/strncpy.S: Likewise.
610         * sysdeps/ia64/strcat.S: Likewise.
612         * sysdeps/ia64/memccpy.S: Add unwind directives.  Drop superfluous
613         restore of ar.pfs.
614         * sysdeps/ia64/strchr.S: Likewise.
615         * sysdeps/ia64/memmove.S: Likewise.
616         * sysdeps/ia64/memcpy.S: Likewise.
617         * sysdeps/ia64/memcmp.S: Likewise.
618         * sysdeps/ia64/memchr.S: Likewise.
619         * sysdeps/ia64/strcmp.S: Likewise.
620         * sysdeps/ia64/strlen.S: Likewise.
621         * sysdeps/ia64/strcpy.S: Likewise.
622         * sysdeps/ia64/strncmp.S: Likewise.
624 2001-04-11  Jakub Jelinek  <jakub@redhat.com>
626         * wcsmbs/wchar.h (fgetwc, getwc, getwchar, fputwc, putwc, putwchar,
627         fgetws, fputws, ungetwc, getwc_unlocked, getwchar_unlocked,
628         fgetwc_unlocked, fputwc_unlocked, putwc_unlocked, putwchar_unlocked,
629         fgetws_unlocked, fputws_unlocked, wcsftime): Add __THROW.
631 2001-04-11  Andreas Jaeger  <aj@suse.de>
633         * sysdeps/mips/elf/start.S [__ASSEMBLY__]: Define it.
635 2001-04-11  Andreas Schwab  <schwab@suse.de>
637         * sysdeps/m68k/fpu/libm-test-ulps: Adjusted.
639 2001-04-11  Ulrich Drepper  <drepper@redhat.com>
641         * sysdeps/arm/stackinfo.h: New file.
643 2001-04-08  Thorsten Kukuk  <kukuk@suse.de>
645         * sunrpc/rpc_main.c: If we compile RPC thread safe, allow
646         rpcgen to generate thread safe code.
648 2001-04-10  Andreas Jaeger  <aj@suse.de>
650         * math/test-fenv.c (initial_tests): Protect FE_TONEAREST declaration.
652 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
654         * elf/dl-minimal.c (__assert_fail): Change error string.  It's
655         most of the time no bug in ld.so.
656         (__assert_perror_fail): Likewise.
658 2001-04-11  Hans-Peter Nilsson  <hp@axis.com>
660         * sysdeps/generic/bits/fenv.h (fexcept_t): Change default type
661         from struct to unsigned int.
663 2001-04-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
665         * elf/elf.h (AT_DCACHEBSIZE, AT_ICACHEBSIZE, AT_UCACHEBSIZE,
666         AT_IGNOREPPC): New defines.
667         * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Print them.
668         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
669         Define for newer powerpc kernels.
670         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Use the standard
671         DL_FIND_ARG_COMPONENTS if __ASSUME_STD_AUXV is defined.
673 2000-4-10  kaz Kojima  <kkojima@rr.iij4u.or.jp>
675         * sysdeps/sh/stackinfo.h: New file.
677 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
679         * locale/tst-C-locale.c (run_test): Add tests for locale objects.
680         * locale/newlocale.c (__newlocale): Correct setting __ctype_b,
681         __ctype_tolower, and __ctype_toupper elements.
683         * ctype/ctype_l.c: Fix definitions of __tolower_l and __toupper_l.
684         Reported by Konstantin Osipov <rabid@spylog.ru>.
686         * sysdeps/i386/fpu/libm-test-ulps: Add deltas for tgamma to help
687         the lousy AMD FPU.
689 2001-04-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
691         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: New file.
692         * sysdeps/unix/sysv/linux/powerpc/Dist: Add sys/ptrace.h.
693         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Delete wrong stuff.
694         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Correct typedefs.
696 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
698         * elf/dl-deps.c (_dl_map_object_deps): Provide complete error
699         message.  Based on a patch by HJ Lu.
701 2001-04-10  Andreas Schwab  <schwab@suse.de>
703         * math/libm-test.inc (csinh_test): Don't require the invalid
704         exception for csinh (x + iNaN), but make it optional.
706 2001-04-09  David Mosberger  <davidm@hpl.hp.com>
708         * sysdeps/ia64/elf/start.S (_start): Add unwind directives.
710         * sysdeps/generic/entry.h [!__ASSEMBLY__]: Declare _start.
711         * sysdeps/ia64/elf/entry.h: New file.
712         * sysdeps/unix/sysv/linux/mips/entry.h [!__ASSEMBLY__]: Declare
713         __start.
714         * elf/rtld.c: Don't declare ENTRY_POINT.  Use ENTRY_POINT instead
715         of &ENTRY_POINT.
716         * sysdeps/generic/dl-sysdep.c: Likewise.
717         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
718         * sysdeps/ia64/elf/start.S: Save base address of register backing
719         store in __libc_ia64_register_backing_store_base.
721 2001-04-10  Martin Schwidefsky  <schwidefsky@de.ibm.com>
723         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Fix return
724         value of getcontext.
725         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
726         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Fix return
727         value of setcontext.
728         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
729         * sysdeps/unix/sysv/linux/s390/swapcontext.c: Skip setcontext
730         call by changing the saved context.
732 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
734         * sysdeps/alpha/stackinfo.h: New file.
735         * sysdeps/ia64/stackinfo.h: New file.
737 2001-04-10  Andreas Schwab  <schwab@suse.de>
739         * sysdeps/m68k/fpu/e_pow.c: Correct handling of some exceptional
740         values.
741         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
743 2001-04-09  Ulrich Drepper  <drepper@redhat.com>
745         * sysdeps/sparc/sparc32/sparcv9/Dist: Add hp-timing.c.
746         * sysdeps/sparc/sparc64/Dist: Add hp-timing.c.
748         * libio/Makefile (distribute): Add fd_to_filename.h.
750 2001-04-05  David S. Miller  <davem@redhat.com>
752         Add hp-timing support for sparcv9/sparc64 targets.
753         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: New file
754         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: New file
755         * sysdeps/sparc/sparc64/hp-timing.c: New file
756         * sysdeps/sparc/sparc64/hp-timing.h: New file
757         * sysdeps/sparc/sparc32/sparcv9/Makefile: Build hp-timing.
758         * sysdeps/sparc/sparc64/Makefile: Likewise.
760 2001-04-09  Jakub Jelinek  <jakub@redhat.com>
762         * sysdeps/generic/fd_to_filename.h: New file.
763         * sysdeps/unix/sysv/linux/fd_to_filename.h: New file.
764         * libio/freopen.c (freopen): If FILENAME is NULL, try to get
765         filename from the open file descriptor.
766         * libio/freopen64.c (freopen64): Likewise.
768 2001-04-09  Bruno Haible  <haible@clisp.cons.org>
770         * misc/error.c (error): fflush stdout also if
771         error_print_progname != NULL.
772         (error_at_line): Likewise.
774 2001-04-07  Bruno Haible  <haible@clisp.cons.org>
776         * intl/gettextP.h (struct loaded_domain): Add codeset_cntr field.
777         (struct binding): Add codeset_cntr field.
778         (_nl_load_domain): Add domainbinding argument.
779         (_nl_init_domain_conv, _nl_free_domain_conv): New declarations.
780         (_nl_find_msg): New declaration, moved here from loadinfo.h.
781         * intl/loadinfo.h (struct loaded_l10nfile): Remove domainbinding field.
782         (_nl_make_l10nflist): Remove domainbinding argument.
783         (_nl_find_msg): Move declaration to gettextP.h.
784         * intl/bindtextdom.c (set_binding_values): Initialize ->codeset_cntr
785         to 0.  Increment it when ->codeset is changed.
786         * intl/dcigettext.c (DCIGETTEXT): Pass binding to _nl_find_msg.
787         (_nl_find_msg): Add domainbinding argument.  Reinitialize the converter
788         if domainbinding->codeset_cntr has been incremented.
789         * intl/finddomain.c (_nl_find_domain): Don't pass domainbinding to
790         _nl_make_l10nflist().  Pass it to _nl_load_domain() instead.
791         * intl/l10nflist.c (_nl_make_l10nflist): Remove domainbinding argument.
792         * intl/loadmsgcat.c (_nl_init_domain_conv): New function, extracted
793          from _nl_load_domain.  Append //TRANSLIT also when using libiconv.
794         (_nl_free_domain_conv): New function, extracted from _nl_unload_domain.
795         (_nl_load_domain): Add domainbinding argument.  Call
796         _nl_init_domain_conv.
797         (_nl_unload_domain): Call _nl_free_domain_conv.
798         * intl/Makefile (distribute): Add tst-codeset.sh, tstcodeset.po.
799         (test-srcs): Add tst-codeset.
800         (tests): Depend on tst-codeset.out.
801         (tst-codeset.out): New rule.
802         (CFLAGS-tst-codeset.c): New variable.
803         * intl/tst-codeset.sh: New file.
804         * intl/tstcodeset.po: New file.
805         * intl/tst-codeset.c: New file.
806         * locale/findlocale.c (_nl_find_locale): Update _nl_make_l10nflist
807         calls.
809 2001-04-07  Roland McGrath  <roland@frob.com>
811         * mach/msgserver.c (__mach_msg_server_timeout): Add an assert.
813 2001-03-31  Roland McGrath  <roland@frob.com>
815         * sysdeps/mach/hurd/fork.c: Skip NEWPROC just like NEWTASK when
816         copying send rights into child.  When we hit our name for our proc
817         port, just copy NEWPROC directly instead of repeating proc_task2proc
818         to install the child's port.
820 2001-04-08  Roland McGrath  <roland@frob.com>
822         * Makeconfig ($(common-objpfx)soversions.i): Grok entries with DEFAULT
823         in second column, to provide default values for third column.
824         * shlib-versions: Add comments about using DEFAULT in second column.
825         (s390x-.*-linux.*): Replace individual entries with a DEFAULT entry.
826         (cris-.*-linux.*): Likewise.
828 2001-04-09  Ulrich Drepper  <drepper@redhat.com>
830         * Makefile (distribute): Add scripts/documented.sh.
831         * scripts/documented.sh: New file.
833 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
835         * sysdeps/unix/sysv/linux/cris/Dist: New file.
836         * sysdeps/unix/sysv/linux/cris/Makefile: New file.
837         * sysdeps/unix/sysv/linux/cris/_G_config.h: New file.
838         * sysdeps/unix/sysv/linux/cris/bits/fcntl.h: New file.
839         * sysdeps/unix/sysv/linux/cris/bits/mman.h: New file.
840         * sysdeps/unix/sysv/linux/cris/bits/resource.h: New file.
841         * sysdeps/unix/sysv/linux/cris/brk.c: New file.
842         * sysdeps/unix/sysv/linux/cris/chown.c: New file.
843         * sysdeps/unix/sysv/linux/cris/clone.S: New file.
844         * sysdeps/unix/sysv/linux/cris/fchown.c: New file.
845         * sysdeps/unix/sysv/linux/cris/fcntl.c: New file.
846         * sysdeps/unix/sysv/linux/cris/fxstat.c: New file.
847         * sysdeps/unix/sysv/linux/cris/getegid.c: New file.
848         * sysdeps/unix/sysv/linux/cris/geteuid.c: New file.
849         * sysdeps/unix/sysv/linux/cris/getgid.c: New file.
850         * sysdeps/unix/sysv/linux/cris/getgroups.c: New file.
851         * sysdeps/unix/sysv/linux/cris/getresgid.c: New file.
852         * sysdeps/unix/sysv/linux/cris/getresuid.c: New file.
853         * sysdeps/unix/sysv/linux/cris/getrlimit.c: New file.
854         * sysdeps/unix/sysv/linux/cris/getrlimit64.c: New file.
855         * sysdeps/unix/sysv/linux/cris/getuid.c: New file.
856         * sysdeps/unix/sysv/linux/cris/lchown.c: New file.
857         * sysdeps/unix/sysv/linux/cris/lockf64.c: New file.
858         * sysdeps/unix/sysv/linux/cris/lxstat.c: New file.
859         * sysdeps/unix/sysv/linux/cris/mmap.S: New file.
860         * sysdeps/unix/sysv/linux/cris/mmap64.S: New file.
861         * sysdeps/unix/sysv/linux/cris/msgctl.c: New file.
862         * sysdeps/unix/sysv/linux/cris/profil-counter.h: New file.
863         * sysdeps/unix/sysv/linux/cris/register-dump.h: New file.
864         * sysdeps/unix/sysv/linux/cris/semctl.c: New file.
865         * sysdeps/unix/sysv/linux/cris/setegid.c: New file.
866         * sysdeps/unix/sysv/linux/cris/seteuid.c: New file.
867         * sysdeps/unix/sysv/linux/cris/setfsgid.c: New file.
868         * sysdeps/unix/sysv/linux/cris/setfsuid.c: New file.
869         * sysdeps/unix/sysv/linux/cris/setgid.c: New file.
870         * sysdeps/unix/sysv/linux/cris/setgroups.c: New file.
871         * sysdeps/unix/sysv/linux/cris/setregid.c: New file.
872         * sysdeps/unix/sysv/linux/cris/setresgid.c: New file.
873         * sysdeps/unix/sysv/linux/cris/setresuid.c: New file.
874         * sysdeps/unix/sysv/linux/cris/setreuid.c: New file.
875         * sysdeps/unix/sysv/linux/cris/setrlimit.c: New file.
876         * sysdeps/unix/sysv/linux/cris/setuid.c: New file.
877         * sysdeps/unix/sysv/linux/cris/shmctl.c: New file.
878         * sysdeps/unix/sysv/linux/cris/socket.S: New file.
879         * sysdeps/unix/sysv/linux/cris/sys/ucontext.h: New file.
880         * sysdeps/unix/sysv/linux/cris/syscall.S: New file.
881         * sysdeps/unix/sysv/linux/cris/sysdep.S: New file.
882         * sysdeps/unix/sysv/linux/cris/sysdep.h: New file.
883         * sysdeps/unix/sysv/linux/cris/vfork.S: New file.
884         * sysdeps/unix/sysv/linux/cris/xstat.c: New file.
886 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
888         * sysdeps/cris/Dist: New file.
889         * sysdeps/cris/Implies: New file.
890         * sysdeps/cris/Makefile: New file.
891         * sysdeps/cris/__longjmp.S: New file.
892         * sysdeps/cris/_mcount.S: New file.
893         * sysdeps/cris/bits/endian.h: New file.
894         * sysdeps/cris/bits/setjmp.h: New file.
895         * sysdeps/cris/bits/string.h: New file.
896         * sysdeps/cris/dl-machine.h: New file.
897         * sysdeps/cris/elf/start.S: New file.
898         * sysdeps/cris/machine-gmon.h: New file.
899         * sysdeps/cris/memcopy.h: New file.
900         * sysdeps/cris/memusage.h: New file.
901         * sysdeps/cris/setjmp.S: New file.
902         * sysdeps/cris/sysdep.h: New file.
903         * sysdeps/cris/wordcopy.c: New file.
905 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
907         * elf/elf.h: Add new relocations for CRIS.
909 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
911         * shlib-versions: Add cases for Linux on CRIS.
913 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
915         * configure.in (ASM_LINE_SEP tests): Handle CRIS assembly, with
916         ';' for comments and '@' for line separator.
918 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
920         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Fix
921         typo; s/==/=/ for assignment.
923 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
925         * malloc/Makefile: Correct comment; mtrace is Perl, not AWK.
927 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
929         * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): Check for
930         empty input before checking full output.
932 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
934         * iconv/gconv.c (__gconv): Don't derefer parameter cd before
935         checking if == -1L.
937 2001-04-08  Ulrich Drepper  <drepper@redhat.com>
939         * inet/rexec.c (rexec_af): Avoid calling perror with errno being set.
941 2001-04-07  Stephen L Moshier  <moshier@mediaone.net>
943         * sysdeps/ieee754/ldbl-128/e_logl.c: Correct infinity and NaN
944         return values.
946 2001-04-07  Ulrich Drepper  <drepper@redhat.com>
948         * stdlib/tst-setcontext.c (main): Add a test for setcontext.
950         * sysdeps/unix/sysv/linux/i386/getcontext.S: New file.
951         * sysdeps/unix/sysv/linux/i386/setcontext.S: New file.
952         * sysdeps/unix/sysv/linux/i386/makecontext.S: New file.
953         * sysdeps/unix/sysv/linux/i386/swapcontext.S: New file.
954         * sysdeps/unix/sysv/linux/i386/ucontext_i.h: New file.
955         * sysdeps/unix/sysv/linux/i386/Dist: Add ucontext_i.h.
957 2001-04-07  Andreas Jaeger  <aj@suse.de>
959         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Use sincos
960         instead of separate sin and cos.
961         (__ieee754_j1l): Likewise.
963 2001-04-06  Ulrich Drepper  <drepper@redhat.com>
965         * sysdeps/ia64/abort-instr.h: New file.  Code by David Mosberger.
967         * sysdeps/ia64/atomicity.h: New file.  Copied from libstdc++.
969         * sysdeps/i386/i486/atomicity.h: Clean up the asms.
971         * sysdeps/generic/e_scalb.c: Don't use FE_INVALID unless it's
972         available.
973         * sysdeps/generic/e_scalbf.c: Likewise.
974         * sysdeps/generic/e_scalbl.c: Likewise.
975         Patch by Mark Hatle <fray@mvista.com>.
977 2001-04-05  David S. Miller  <davem@redhat.com>
979         * sysdeps/sparc/abort-instr.h: New file.
981 2001-04-05  Matt Wilson  <msw@redhat.com>
983         * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
984         added code to parse new 2.4 format.
985         (GET_NPROCS_CONF_PARSER): Likewise.
987 2001-04-05  David S. Miller  <davem@redhat.com>
989         * scripts/config.sub: Recognize sparcv9b like sparcv9.
990         * configure.in: Add sparcv9b.
991         * sysdeps/sparc/sparc32/sparcv9b/Implies: New file
992         * sysdeps/sparc/sparc32/sparcv9b/memcpy.S: New file
993         * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: New file
995 2001-04-06  David Mosberger  <davidm@hpl.hp.com>
997         * stdlib/tst-setcontext.c: Move st2[] to global scope.
998         (f2): Verify that stack pointer is inside st2[].
1000         * sysdeps/unix/sysv/linux/ia64/getcontext.S: It helps to save r12.
1001         * sysdeps/unix/sysv/linux/ia64/setcontext.S: It helps to restore r12.
1003 2001-04-06  Ulrich Drepper  <drepper@redhat.com>
1005         * timezone/antarctica: Update from tzdata2001b.
1006         * timezone/asia: Likewise.
1007         * timezone/australasia: Likewise.
1008         * timezone/europe: Likewise.
1009         * timezone/northamerica: Likewise.
1011         * iconv/iconv_open.c: Move strip and upstr definitions...
1012         * iconv/gconv_charset.h: ...here.  New file.
1013         * iconv/gconv_db.c (once): Move to file level.
1014         (do_lookup_alias): Split out from __gconv_find_transform.
1015         (__gconv_find_transform): Call do_lookup_alias.
1016         (__gconv_loopup_alias): New function.
1017         * locale/langinfo.h: Define _NL_*_CODESET values for all categories
1018         but LC_CTYPE.
1019         * locale/categories.def: Add entries for new _NL_*_CODESET values.
1020         * locale/C-ctype.c: Use _nl_C_codeset to initialize CODESET entry.
1021         * locale/C-address.c: Initialize _NL_*_CODESET element.
1022         * locale/C-collate.c: Likewise.
1023         * locale/C-identification.c: Likewise.
1024         * locale/C-measurement.c: Likewise.
1025         * locale/C-messages.c: Likewise.
1026         * locale/C-monetary.c: Likewise.
1027         * locale/C-name.c: Likewise.
1028         * locale/C-numeric.c: Likewise.
1029         * locale/C-paper.c: Likewise.
1030         * locale/C-telephone.c: Likewise.
1031         * locale/C-time.c: Likewise.
1032         * locale/localeinfo.h: Declare _nl_C_codeset.
1033         * locale/C_name.c: Define _nl_C_codeset.
1034         * locale/findlocale.c: Before accepting locale check that the used
1035         charset does not conflict with what the locale name said.
1036         * locale/programs/ld-address.c: Emit codeset information.
1037         * locale/programs/ld-collate.c: Likewise.
1038         * locale/programs/ld-identification.c: Likewise.
1039         * locale/programs/ld-measurement.c: Likewise.
1040         * locale/programs/ld-messages.c: Likewise.
1041         * locale/programs/ld-monetary.c: Likewise.
1042         * locale/programs/ld-name.c: Likewise.
1043         * locale/programs/ld-numeric.c: Likewise.
1044         * locale/programs/ld-paper.c: Likewise.
1045         * locale/programs/ld-telephone.c: Likewise.
1046         * locale/programs/ld-time.c: Likewise.
1048         * localedata/tests-mbwc/tst_funcs.h (TST_HEAD_LOCALE): It is an error
1049         if the locale data couldn't be found.
1051         * string/Makefile: Define tst-strxfrm-ENV.
1053         * ysdeps/unix/sysv/linux/ia64/getcontext.S: Fix comment.
1055 2001-04-06  Andreas Jaeger  <aj@suse.de>
1057         * include/sys/profil.h: New file.
1059         * dlfcn/modatexit.c: Add prototypes to silence GCC.
1060         * dlfcn/modcxaatexit.c: Likewise.
1061         * elf/globalmod1.c: Likewise.
1063 2001-04-05  David S. Miller  <davem@redhat.com>
1065         * elf/elf.h (HWCAP_SPARC_ULTRA3): Define it.
1066         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Add it to
1067         capability flags table and HWCAP_IMPORTANT, increase
1068         _DL_HWCAP_COUNT to 6.
1069         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
1071 2001-04-04  David Mosberger  <davidm@hpl.hp.com>
1073         * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Fix
1074         initialization of stack_end (bug reported by Zheng Gengbin
1075         <gzheng@students.uiuc.edu>).
1077 2001-04-05  Ulrich Drepper  <drepper@redhat.com>
1079         * sysdeps/i386/fpu/libm-test-ulps: Relax errors for asinl.
1081 2001-04-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1083         * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: New file.
1085 2001-04-05  Ulrich Drepper  <drepper@redhat.com>
1087         * sysdeps/ieee754/ldbl-96/e_asinl.c: Correct handling of +-Inf.
1088         * sysdeps/i386/fpu/e_asinl.S: Removed.  Too inaccurate.
1090         * login/tst-utmp.c: Make file usable again in tst-utmpx.c.
1092 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
1094         * sysdeps/unix/sysv/aix/dl-libc.c: Don't use the ELF version,
1095         define simple replacements here.  Patch by Michael Keezer.
1097         * sysdeps/ieee754/ldbl-128/e_logl.c: New file.
1098         * sysdeps/ieee754/ldbl-96/e_asinl.c: New file.
1099         Contributed by Stephen L Moshier <moshier@mediaone.net>.
1101         * posix/fnmatch_loop.c: Undefine NEW_PATTERN when it is not used
1102         anymore.
1104 2001-04-01  Andreas Jaeger  <aj@suse.de>
1106         * sysdeps/generic/s_nextafter.c (NO_LONG_DOUBLE): Add nexttowardl
1107         alias.
1109         * sysdeps/generic/s_fma.c (NO_LONG_DOUBLE): Add fmal alias.
1111 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
1113         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Add ucontext_i.h.
1114         * sysdeps/unix/sysv/linux/s390/s390-32/Dist: Likewise.
1116 2001-04-04  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1118         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: New file.
1119         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: New file.
1120         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: New file.
1121         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: New file.
1122         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: New file.
1123         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: New file.
1124         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: New file.
1125         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: New file.
1126         * sysdeps/unix/sysv/linux/s390/swapcontext.c: New file.
1128 2001-04-04  Andreas Jaeger  <aj@suse.de>
1130         * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_NO_REL): Move to right
1131         place.
1133 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
1135         * sunrpc/rpc_scan.c (symbols): Add entry for HYPER.
1136         * sunrpc/rpc_scan.h (enum tok_kind): Add TOK_HYPER.
1137         * sunrpc/rpc_parse.c (get_type): Handle TOK_HYPER.
1138         (unsigned_dec): Likewise.
1139         Patch by atai@jezebel.dreamhost.com.
1141         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Pass
1142         pointer to int as last parameter of yp_match.
1143         Patch by kanazawa@flab.fujitsu.co.jp.
1145 2001-04-03  Ulrich Drepper  <drepper@redhat.com>
1147         * resolv/netdb.h (gai_strerror): Make return value const.
1148         * sysdeps/generic/gai_strerror.c (gai_strerror): Likewise.
1149         * sysdeps/posix/gai_strerror.c (gai_strerror): Likewise.
1150         Add strings for new error values.
1152 2001-03-29  Michael Keezer  <mkeezer@redhat.com>
1154         * posix/tst-gnuglob.c: Added ifdef _DIRENT_HAVE_D_TYPE.
1155         * login/tst-utmp.c: Handle case where ut_tv is not available but
1156         ut_time is.
1157         * sysdeps/unix/sysv/aix/utmpx.h: New file.
1158         * sysdeps/unix/sysv/aix/bits/utmpx.h: Added
1159         _HAVE_UT_TYPE/PID/ID/TV/HOST defines.
1160         * sysdeps/unix/sysv/aix/libc-start.c: Removed temp code and made stub.
1161         * sysdeps/unix/sysv/aix/gettimeofday.c: New file added routines
1162         to access RTCU timer reg.
1163         * sysdeps/unix/sysv/aix/Makefile: Remove /usr/lib/crt0.o
1164         added dl-libc, dl-open,dl-sym, dl-close to misc.
1165         * sysdeps/unix/sysv/aix/start.c: New file.  Start code.
1166         * sysdeps/unix/sysv/aix/dlldr.h: New file.  AIX __loadx defines.
1167         * sysdeps/unix/sysv/aix/dl-close.c: New file.  AIX dl-close.
1168         * sysdeps/unix/sysv/aix/dl-open.c: New file.  AIX dl-open.
1169         * sysdeps/unix/sysv/aix/dl-sym.c: New file.  AIX dl-sym.
1170         * sysdeps/unix/sysv/aix/dl-libc.c: New file.  libc_dl-xxx support.
1171         * sysdeps/generic/strtoll.c: Added SHLIB_COMPAT(libc,GLIBC_2_0,
1172         GLIBC_2_2).
1173         * sysdeps/generic/strtoull.c: Likewise.
1174         * sysdeps/powerpc/ppc-mcount.S: Added nop after bl instruction.
1175         * sysdeps/unix/sysv/aix/powerpc/memset.c: New file to include
1176         sysdeps/generic/memset.c.
1177         * sysdeps/unix/sysv/aix/getpeername.c: Define __getpeername.
1179 2001-04-03  Ulrich Drepper  <drepper@redhat.com>
1181         * iconv/Makefile (CFLAGS-charmap.c): Add -DNEED_NULL_POINTER.
1182         * locale/programs/charmap.c: Define null_pointer if
1183         NEED_NULL_POINTER is defined.
1185         * misc/dirname.c (dirname): Handle multiple slashes correctly.
1187 2001-04-03  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1189         * sysdeps/s390/s390-64/initfini.c: Fix __gmon_start__ GOT access.
1191 2001-04-03  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1193         * sysdeps/s390/s390-32/bcopy.S: Optimize for speed.
1194         * sysdeps/s390/s390-64/bcopy.S: Likewise.
1195         * sysdeps/s390/s390-32/mempcy.S: Likewise.
1196         * sysdeps/s390/s390-64/memcpy.S: Likewise.
1198 2001-04-02  Bruno Haible  <haible@clisp.cons.org>
1200         * manual/message.texi (Advanced gettext functions): More specific
1201         syntax in the plural formula examples.
1203 2001-04-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1205         * sysdeps/powerpc/atomicity.h: Silence warnings.
1206         * sysdeps/powerpc/dl-machine.h: Likewise.
1207         * sysdeps/powerpc/register-dump.h: Likewise.
1208         * sysdeps/powerpc/fpu/s_lrint.c: Likewise.
1210 2001-04-02  Andreas Jaeger  <aj@suse.de>
1212         * misc/tst-dirname.c (main): Add more tests, derived from a bug
1213         report by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
1215 2001-04-01  Andreas Jaeger  <aj@suse.de>
1217         * debug/xtrace.sh (pcprofileso): Use SLIBDIR since libpcprofile.so
1218         is installed there.
1219         * malloc/memusage.sh (memusageso): Likewise for libmemusage.so.
1221 2001-04-01  H.J. Lu  <hjl@gnu.org>
1223         * posix/annexc.c (macrofile): Renamed from TMPFILE and set to
1224         tmpnam (NULL).
1225         * stdlib/isomac.c (macrofile): Likewise.
1227 2001-03-30  Thorsten Kukuk  <kukuk@suse.de>
1229         * inet/rcmd.c: Allow AF_UNSPEC as parameter.
1230         * nis/ypclnt.c (yp_all): Print error message only at last try,
1231         check for protocoll error only if we don't have a network error.
1233 2001-04-02  Andreas Schwab  <schwab@suse.de>
1235         * resolv/res_data.c (res_isourserver): Fix cast.
1237 2001-04-02  Andreas Jaeger  <aj@suse.de>
1239         * sysdeps/unix/sysv/linux/hppa/umount.c: Add prototype for
1240         __umount2.
1242         * sysdeps/i386/dl-machine.h (RTLD_START): Don't use multi-line
1243         strings.
1244         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
1246         * sysdeps/ieee754/dbl-64/uroot.h: Add missing braces arount
1247         initializers.
1248         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Likewise.
1250         * elf/rtld.c (print_statistics)[!HP_TIMING_NONAVAIL]: Avoid
1251         warning about unused variable.
1253         * string/string.h (strndupa): Add cast for C++ conformance.
1254         (strdupa): Likewise.
1255         Fixes PR libc/2173, reported by tbrowder@home.com.
1257 2001-03-30  Roland McGrath  <roland@frob.com>
1259         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't append
1260         options after $(build-module), which is no longer a single command.
1261         (LDFLAGS-link-rpcuserlibs): New variable to hold those options.
1262         (LDFLAGS-libmachuser-link.so, LDFLAGS-libhurduser-link.so): New
1263         variables using it.  Reported by Mark Kettenis <kettenis@gnu.org>.
1265 2001-03-11  Roland McGrath  <roland@frob.com>
1267         * elf/rtld.c (dl_main): Add cast to quiet warning.
1268         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1269         * iconv/gconv_conf.c (__gconv_get_path): Likewise.
1270         (__gconv_read_conf): Likewise.
1271         * iconv/gconv_db.c (gen_steps): Likewise.
1272         (__gconv_find_transform): Likewise.
1273         * locale/programs/charmap-dir.c (fopen_uncompressed): Likewise.
1274         (fopen_uncompressed): Use const in second argument's type.
1276 2001-03-11  Roland McGrath  <roland@frob.com>
1278         * sysdeps/mach/hurd/dl-sysdep.c (__writev): New function.
1280         * mach/mach_error.h: Fix ancient #endif syntax.
1281         * hurd/hurdmalloc.c: Likewise.
1283         * sysdeps/generic/atomicity.h (exchange_and_add, atomic_add,
1284         compare_and_swap): Add volatile qualifier to first arg, to bring
1285         these prototypes in line with all the other implementations.
1286         Add a #warning to remind the builder that these are not atomic.
1288 2001-03-04  Roland McGrath  <roland@frob.com>
1290         * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Use innermore first
1291         member of TEMP_F so its type is _IO_FILE * as expected.
1293         * hurd/fopenport.c (seekio): Conditionalize type of POS argument
1294         on [USE_IN_LIBIO].  Check the value for overflow, since for libio
1295         it might exceed off_t's range.
1297 2001-02-25  Roland McGrath  <roland@frob.com>
1299         * sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): Use prototype.
1300         * sysdeps/unix/bsd/getpt.c (__posix_openpt): Likewise.
1302         * sysdeps/mach/hurd/i386/intr-msg.h (SYSCALL_EXAMINE): Make this a
1303         macro instead of an inline function,
1304         (MSG_EXAMINE): Likewise.
1306         * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): Remove extraneous ##.
1308         * hurd/get-host.c: Include <string.h> for decls of built-ins.
1309         * hurd/hurdchdir.c: Likewise.
1310         * sysdeps/mach/hurd/i386/sigreturn.c: Likweise.
1311         * sysdeps/mach/hurd/opendir.c: Likewise.
1313         * mach/mach_init.c: Include <unistd.h> for _exit decl.
1315         * mach/errsystems.awk: Give output file a trailing newline.
1317         * mach/Machrules (MIG): Prepend CC='${CC}' to the mig command, so that
1318         the script will use our compiler for the cpp stage.
1320         With --enable-all-warnings we get a whole bunch of warnings,
1321         and these are just a few fixes; there are more needed to silence it.
1322         * mach/mach/mig_support.h (__mig_strncpy, mig_strncpy): Add extern
1323         decls before extern inline defns to quiet gcc warning.
1324         * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp): Likewise.
1325         * sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Likewise.
1327 2001-03-31  Andreas Jaeger  <aj@suse.de>
1329         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWHDLC): Added.
1330         (ARPHRD_HDLC): Define as alias for ARPHRD_CISCO.
1331         (ARPHRD_CISCO): New.
1332         Changes from Linux 2.4.3.
1334 2001-03-30  Isamu Hasegawa  <isamu@yamato.ibm.com>
1336         * posix/regex.c: Avoid an access violation if malloc failes.
1338 2001-03-30  Andreas Jaeger  <aj@suse.de>
1340         * sysdeps/alpha/ldiv.S (ldiv): Add alias for imaxdiv.
1342 2001-03-29  Ulrich Drepper  <drepper@redhat.com>
1344         * posix/regex.c: Remove unnecessary ifs.
1346         * math/bits/mathcalls.h: Remove infnan declaration.
1348 2001-03-29  H.J. Lu  <hjl@gnu.org>
1350         * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF,
1351         and LOW_HALF only if _LIBC is defined and _ISOMAC is not defined.
1352         * stdlib/isomac.c (fmt): Define _LIBC and _ISOMAC.
1353         .
1354 2001-03-29  Isamu Hasegawa  <isamu@yamato.ibm.com>
1356         * posix/regex.c: Fix typo and add a sentinel.
1358 2001-03-29  Ulrich Drepper  <drepper@redhat.com>
1360         * sysdeps/unix/sysv/linux/shm_open.c: Open new file always with
1361         O_NOFOLLOW.  Suggested by Christoph Roland.
1363 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1365         * sysdeps/s390/bits/string.h: New unified 31/64 bit string.h.
1366         * sysdeps/s390/s390-32/bits/string.h: Remove.
1367         * sysdeps/s390/s390-64/bits/string.h: Remove.
1368         * sysdeps/s390/s390-32/strcmp.S: New file.
1369         * sysdeps/s390/s390-64/strcmp.S: New file.
1371 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1373         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix typo.
1374         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
1376 2001-03-27  Ulrich Drepper  <drepper@redhat.com>
1378         * version.h (VERSION): Bump to 2.2.3.
1380         * stdlib/isomac.c (fmt): Don't define _LIBC.
1381         * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF, and
1382         LOW_HALF only if _LIBC is defined.
1384         * sysdeps/i386/fpu/libm-test-ulps: Slight adjustment of yn() error.
1386         * posix/fnmatch_loop.c (FCT): Handle !() after * special like @()
1387         and +().
1388         * posix/tst-fnmatch.input: Add test cases for matching empty strings.
1390         * sysdeps/ieee754/dbl-64/endian.h: Removed.  Move definitions...
1391         * include/endian.h: ...to here.
1393 2001-03-27  kaz Kojima  <kkojima@rr.iij4u.or.jp>
1395         * sysdeps/sh/sys/ucontext.h (NFREG): Rename to NFPREG.
1396         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NFREG): Likewise.
1398 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1400         * sysdeps/unix/sysv/linux/s390/ldconfig.h: Fix typo.
1402 2001-03-26  Ulrich Drepper  <drepper@redhat.com>
1404         * sysdeps/ia64/fpu/Dist: Add new files to distribute.
1405         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Likewise.
1406         * sysdeps/unix/sysv/linux/ia64/Dist: Likewise.
1408         * gmon/Makefile (headers): Add sys/profil.h.
1410 2001-03-18  Andreas Jaeger  <aj@suse.de>
1412         * manual/install.texi (Tools for Compilation): Advise to use GCC
1413         2.95.3.
1414         (Supported Configurations): Mention s390x.
1416 2001-03-26  Ben Collins  <bcollins@debian.org>
1418         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Add MAP_* and MADV_*
1419         defines to match other architectures.
1421 2001-03-26  Ulrich Drepper  <drepper@redhat.com>
1423         * libio/Makefile (tests): Add tst-ext.
1424         * libio/tst-ext.c: New file.
1426         * libio/iosetvbuf.c (_IO_setvbuf): Clear line buffer flag for _IONBF.
1428 2001-03-25  Ulrich Drepper  <drepper@redhat.com>
1430         Add changes which were in this form in the original patch by
1431         Eric Norum <eric.norum@usask.ca>.
1432         * include/rpc/rpc.h: Remove svc_fdset, rpc_createerr, svc_pollfd, and
1433         svc_max_pollfd.
1434         * sunrpc/rpc/rpc.h: Declare __rpc_thread_svc_fdset,
1435         __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
1436         __rpc_thread_svc_max_pollfd.
1437         Define svc_fdset, get_rpc_createerr, svc_pollfd, and
1438         svc_max_pollfd.
1439         * sunrpc/rpc_thread.c: Handle first thread special, it uses the
1440         global variables.
1441         Define __rpc_thread_svc_fdset, __rpc_thread_createerr,
1442         __rpc_thread_svc_pollfd, and __rpc_thread_svc_max_pollfd.
1443         * sunrpc/Versions [libc] (GLIBC_2.2.3): Export  __rpc_thread_svc_fdset,
1444         __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
1445         __rpc_thread_svc_max_pollfd.
1446         * sunrpc/clnt_gen.c: Replace use of rpc_createerr by call to
1447         get_rpc_createerr.
1448         * sunrpc/clnt_perr.c: Likewise.
1449         * sunrpc/clnt_simp.c: Likewise.
1450         * sunrpc/clnt_tcp.c: Likewise.
1451         * sunrpc/clnt_udp.c: Likewise.
1452         * sunrpc/clnt_unix.c: Likewise.
1453         * sunrpc/pm_getport.c: Likewise.
1455         * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): getgroups32
1456         syscall checks for negative n so don't test here as well.
1458 2001-03-23  Jes Sorensen  <jes@linuxcare.com>
1460         * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Moved to ...
1461         * sysdeps/ia64/sysdep.h: ...here.
1463         * sysdeps/ia64/sysdep.h (LOCAL_ENTRY): Define.
1464         * sysdeps/ia64/sysdep.h (LOCAL_LEAF): Define.
1466         * sysdeps/ia64/_mcount.S (_mcount_ret_helper): Use LOCAL_LEAF() to
1467         declare instead of LEAF().  Suggestion from David Mosberger.
1469 2001-03-21  David Mosberger  <davidm@hpl.hp.com>
1471         * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Add unwind
1472         directives.
1473         (PSEUDO): Drop .psr and .lsb directives.
1475         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Ditto.  Add unwind
1476         directives.
1477         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Ditto.
1479         * sysdeps/ia64/elf/start.S: Misc cleanup: remove .psr and .lsb
1480         directives etc.
1481         * sysdeps/unix/sysv/linux/ia64/brk.S: Ditto.
1482         * sysdeps/unix/sysv/linux/ia64/__longjmp.S: Ditto.
1483         * sysdeps/ia64/_mcount.S: Remove .psr and .lsb directives (no
1484         longer needed).  Add unwind directives.
1486         * sysdeps/ia64/sysdep.h: Define ASM_UNW_PRLG_RP, ASM_UNW_PRLG_PFS,
1487         ASM_UNW_PRLG_PSP, ASM_UNW_PRLG_PR, and ASM_UNW_PRLG_GRSAVE.
1489 2001-03-21  Paul Eggert  <eggert@twinsun.com>
1491         * posix/regex.h (RE_INVALID_INTERVAL_ORD): New macro.
1492         (RE_SYNTAX_POSIX_EGREP): Use it.
1493         * posix/regex.c (regex_compile): Implement it.
1495 2001-03-21  Paul Eggert  <eggert@twinsun.com>
1497         * posix/regex.c (GET_UNSIGNED_NUMBER): Check for overflow.
1498         Rewrite to avoid duplicate code.
1500 2001-03-21  H.J. Lu  <hjl@gnu.org>
1502         * elf/Makefile (tests): Don't depend on $(objpfx)tst-pathopt.out
1503         for cross-compiling.
1504         ($(objpfx)tst-pathopt.out): Undo the last change.
1506 2001-03-24  Mark Kettenis  <kettenis@gnu.org>
1508         * sysdeps/mach/hurd/i386/bits/sigcontext.h (sc_sp, sc_fp, sc_pc,
1509         sc_ps): Define as aliases for sc_uesp, sc_ebl, sc_eip and sc_efl.
1511         * sysdeps/mach/hurd/i386/init-first.c: Include <assert.h>.
1512         (_dl_argv): Declare.
1513         (init) [SHARED]: Readjust _dl_argv if we switched to a new stack.
1515 2001-03-22  Andreas Jaeger  <aj@suse.de>
1517         * iconvdata/Makefile (generated): Add iconv-test.xxx.
1519         * posix/Makefile (generated): Add bug-regex2.mtrace and
1520         bug-regex2-mem.
1522 2001-03-21  Ulrich Drepper  <drepper@redhat.com>
1524         * csu/version.c (__gnu_get_libc_release): Add prototype.
1525         (__gnu_get_libc_version): Likewise.
1526         * include/gnu/libc-version.h: Remove prototypes for not exported
1527         functions.
1529 2001-03-21  Jes Sorensen  <jes@linuxcare.com>
1531         * sysdeps/unix/sysv/linux/ia64/makecontext.c: Include libintl.h
1532         for internationalized printfs to work.
1534 2001-03-09  Bruno Haible  <haible@clisp.cons.org>
1536         * intl/dcigettext.c (transmem_block_t): Change to unsigned char, to
1537         avoid compiler warning.
1538         (_nl_find_msg): Add casts to avoid compiler warnings.
1540 2001-03-21  Ulrich Drepper  <drepper@redhat.com>
1542         * gmon/Makefile (routines): Add sprofil.
1543         (tests): Add tst-sprofil.
1544         (noprof): Add sprofil.
1545         * gmon/Versions [libc] (GLIBC_2.2.3): Add sprofil.
1547 2001-03-20  David Mosberger  <davidm@hpl.hp.com>
1549         * sysdeps/generic/sprofil.c: New file.
1550         * sysdeps/posix/sprofil.c: New file.
1551         * gmon/tst-sprofil.c: New file.
1552         * gmon/sys/profil.h: New file.
1554 2001-03-20  Andreas Schwab  <schwab@suse.de>
1556         * include/unistd.h: Adjust prototype of __gethostname.
1558 2001-03-20  Jakub Jelinek  <jakub@redhat.com>
1560         * sysdeps/sparc/stackinfo.h: New file.
1562 2001-03-21  Andreas Jaeger  <aj@suse.de>
1564         * elf/global.c (main): Use proper prototype.
1566 2001-03-20  Ulrich Drepper  <drepper@redhat.com>
1568         * sunrpc/Makefile (routines): Add rpc_thread.
1569         (CPPFLAGS): Add -D_RPC_THREAD_SAFE.
1570         * sunrpc/rpc_thread.c: New file.
1571         * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_destroy.
1572         * sunrpc/auth_none.c: Don't use global variables.  Access state in
1573         thread-local storage.
1574         * sunrpc/clnt_perr.c: Likewise.
1575         * sunrpc/clnt_raw.c: Likewise.
1576         * sunrpc/clnt_simp.c: Likewise.
1577         * sunrpc/key_call.c: Likewise.
1578         * sunrpc/rpc_common.c: Likewise.
1579         * sunrpc/svc.c: Likewise.
1580         * sunrpc/svc_raw.c: Likewise.
1581         * sunrpc/svc_simple.c: Likewise.
1582         * sunrpc/svcauth_des.c: Likewise.
1583         * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
1584         _HURD_THREADVAR_RPC_VARS.
1585         * sysdeps/generic/bits/libc-tsd.h: Mention _LIBC_TSD_KEY_RPC_VARS.
1586         * include/rpc/rpc.h: Define data structures for internal thread-local
1587         "global" variables.
1588         Based on patches by Eric Norum <eric.norum@usask.ca>.
1590         * elf/dl-load.c: Various little optimizations.
1592         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Return
1593         LINUX_LINK_MAX only if the statfs function is not implemented for
1594         the filesystem.
1596         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Return
1597         LINUX_LINK_MAX only if the fstatfs function is not implemented for
1598         the filesystem.
1600 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
1602         * elf/dl-dst.h (DL_DST_COUNT): Add __builtin_expect.
1604         * elf/dl-load.c (_dl_dst_count): Make DST recognition more robust.
1605         (_dl_dst_substitute): Likewise.
1607 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
1609         * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC]: Use fstat, not fstat64.
1611 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
1613         * intl/gettextP.h (struct expression): Add operators lnot, less_than,
1614         greater_than, less_or_equal, greater_or_equal. Replace args2/args3
1615         union by a 'nargs' counter and an 'args[]' array.
1616         * intl/plural.y: Don't include stdarg.h.
1617         (new_exp): Take an array of arguments instead of varargs.
1618         (new_exp_0, new_exp_1, new_exp_2, new_exp_3): New functions.
1619         ('?' ':'): Make right-associative.
1620         (EQUOP2): New token, replaces '=' and '!'.
1621         (CMPOP2): New token.
1622         (ADDOP2): New token, replaces '+' and '-'.
1623         (MULOP2): New token, replaces '*', '/' and '%'.
1624         ('!'): New token.
1625         (exp): Add rules for CMPOP2 and '!'. Don't call YYABORT.
1626         (start): Call YYABORT here.
1627         (FREE_EXPRESSION): Update.
1628         (yylex): Don't skip "\\n". Recognize comparison and '!' operators.
1629         Update for new token symbols.
1630         * intl/loadmsgcat.c (plvar, plone, germanic_plural,
1631         init_germanic_plural): Update.
1632         * intl/dcigettext.c (_nl_find_msg): Optimize for space.
1633         (plural_eval): Recognize comparison and '!' operators. Optimize for
1634         space.
1636 2001-03-10  Bruno Haible  <haible@clisp.cons.org>
1638         * intl/loadmsgcat.c (_nl_load_domain): locale_charset() doesn't return
1639         NULL any more.
1641 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
1643         * intl/loadmsgcat.c: Include headers needed for alloca().
1644         (freea): New macro.
1645         (_nl_load_domain): Add fallback code for platforms lacking alloca.
1646         * intl/localealias.c: (ADD_BLOCK, FREE_BLOCK): Remove macros.
1647         (freea): New macro.
1648         (read_alias_file): Simplify fallback code for platforms lacking
1649         alloca.
1651 2001-01-07  Bruno Haible  <haible@clisp.cons.org>
1653         * intl/gettextP.h (__gettextdebug): Remove declaration.
1654         (__gettext_free_exp, __gettextparse): Convert prototype to K&R C
1655         syntax.
1656         (gettext_free_exp__, gettextparse__): New non-libc declarations.
1657         * intl/plural.y [!_LIBC]: Define gettextparse__, gettext_free_exp__,
1658         not __gettextparse, __gettext_free_exp.
1659         * intl/loadmsgcat.c [!_LIBC]: Use gettextparse__, not __gettextparse.
1661 2001-02-24  Bruno Haible  <haible@clisp.cons.org>
1663         * intl/dcigettext.c: Update comment about HAVE_LOCALE_NULL.
1665 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
1667         * intl/loadmsgcat.c (_nl_load_domain): Add fallback code for platforms
1668         lacking strtoul, like SunOS4.
1670 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
1672         * intl/l10nflist.c (_nl_normalize_codeset): Use tolower, not _tolower.
1674 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
1676         * intl/bindtextdom.c (set_binding_values): Convert prototype to K&R C
1677         syntax.
1678         * intl/dcigettext.c (transcmp): Convert to K&R C syntax.
1679         * intl/explodename.c (_nl_find_language): Convert to K&R C syntax.
1680         * intl/plural.y (__gettext_free_exp, yylex, yyerror): Convert to K&R C
1681         syntax.
1683 2001-01-07  Bruno Haible  <haible@clisp.cons.org>
1685         * intl/gettextP.h (gettext__, dgettext__, dcgettext__, textdomain__,
1686         bindtextdomain__, bind_textdomain_codeset__): New declarations, from
1687         old libgettext.h.
1688         * intl/bindtextdom.c: Include libgnuintl.h instead of libgettext.h.
1689         * intl/dcgettext.c: Likewise.
1690         * intl/dcigettext.c: Likewise.
1691         * intl/dcngettext.c: Likewise.
1692         * intl/dngettext.c: Likewise.
1693         * intl/finddomain.c: Likewise.
1694         * intl/ngettext.c: Likewise.
1695         * intl/textdomain.c: Likewise.
1696         * intl/dgettext.c: Include libgnuintl.h instead of libgettext.h.
1697         Include gettextP.h.
1698         * intl/gettext.c: Likewise.  Don't include locale.h.
1700 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
1702         * intl/gettextP.h (ZERO): New macro.
1703         (struct binding): Always use ZERO.
1704         * intl/bindtextdom.c (offsetof): Provide fallback for platforms that
1705         lack it, like SunOS4.
1706         (set_binding_values): Use offsetof, not sizeof.
1707         * intl/dcigettext.c (offsetof): Provide fallback for platforms that
1708         lack it, like SunOS4.
1709         (ZERO): Remove macro.
1710         (struct transmem_list): Use ZERO.
1711         (DCIGETTEXT): Use offsetof, not sizeof.
1713 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
1715         * intl/gettextP.h: Include <stddef.h>. Include gettext.h, for
1716         nls_uint32.
1717         * intl/bindtextdom.c: Don't include gettext.h.
1718         * intl/dcgettext.c: Likewise.
1719         * intl/dcigettext.c: Likewise.
1720         * intl/dcngettext.c: Likewise.
1721         * intl/dngettext.c: Likewise.
1722         * intl/finddomain.c: Likewise.
1723         * intl/localealias.c: Likewise.
1724         * intl/ngettext.c: Likewise.
1725         * intl/plural.y: Likewise.
1726         * intl/textdomain.c: Likewise.
1728 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
1730         * intl/gettext.h: Don't include <stdio.h>.
1732 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
1734         * intl/Makefile (CPPFLAGS): Set LOCALEDIR instead of GNULOCALEDIR.
1735         * intl/dcigettext.c (_nl_default_dirname): Initialize with LOCALEDIR.
1737 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
1739         * sysdeps/unix/i386/i686/tempname.c: New file.
1741         * sysdeps/posix/tempname.c (__gen_tempname): If RANDOM_BITS is
1742         defined use this macro to get some bits of randomness instead of
1743         the usual gettimeofday or time calls.
1745 2001-03-16  Paul Eggert  <eggert@twinsun.com>
1747         * sysdeps/posix/tempname.c (uint64_t): Define to uintmax_t if
1748         not defined, and if UINT64_MAX is not defined.
1750 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
1752         * elf/cache.c: Mark and have translated a few more messages.
1754 2001-03-19  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1756         * elf/cache.c: Add case for FLAG_S390_LIB64.
1757         * sysdeps/generic/ldconfig.h: Add define for FLAG_S390_LIB64.
1758         * sysdeps/unix/sysv/linux/s390/ldconfig.h: New file.
1759         * sysdeps/unix/sysv/linux/s390/readelflib.c: New file.
1761 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
1763         * string/Makefile (tests): Add tst-strxfrm.
1764         * string/tst-strxfrm.c: New file.  Based on a test case by Paul Eggert.
1765         * string/Depend: New file.
1767 2001-03-19  Paul Eggert  <eggert@twinsun.com>
1769         * string/strxfrm.c (strxfrm): strxfrm should return 0, not 1,
1770         when given the empty string in nontrivial locales.
1772 2001-03-17  H.J. Lu  <hjl@gnu.org>
1774         * manual/Makefile (install): Use $(INSTALL_DATA) instead of
1775         cp to install `dir'.
1777 2001-03-19  Andreas Schwab  <schwab@suse.de>
1779         * Makerules (build-shlib): Make sure exit codes get checked
1780         properly.
1782 2001-03-18  Ulrich Drepper  <drepper@redhat.com>
1784         * Makerules (build-shlib): Remove unnecessary slashes introduced in
1785         last change.
1787         * configure.in: Test for -Bgroup option of linker.
1788         * config.make.in: Define have-Bgroup.
1790         * conform/data/unistd.h-data: Require gethostname.
1791         * posix/unistd.h: Make gethostname prototype available for
1792         __USE_XOPEN2K.
1794         * crypt/Makefile: When generating DSO link with libc_nonshared.a.
1795         * debug/Makefile: Likewise.
1796         * dlfcn/Makefile: Likewise.
1797         * hesiod/Makefile: Likewise.
1798         * iconvdata/extra-module.mk: Likewise.
1799         * locale/Makefile: Likewise.
1800         * login/Makefile: Likewise.
1801         * math/Makefile: Likewise.
1802         * nis/Makefile: Likewise.
1803         * nss/Makefile: Likewise.
1804         * resolv/Makefile: Likewise.
1805         * rt/Makefile: Likewise.
1807 2001-03-17  Ulrich Drepper  <drepper@redhat.com>
1809         * inet/Makefile (tests): Remove left-over comment.
1811         * posix/unistd.h (gethostname): Change type of second parameter
1812         back to size_t as per upcoming XPG6.
1813         * sysdeps/unix/sysv/aix/gethostname.c: Change type of second
1814         parameter back to size_t as per upcoming XPG6.
1815         * sysdeps/unix/sysv/sysv4/gethostname.c: Likewise.
1816         * sysdeps/unix/sysv/gethostname.c: Likewise.
1817         * sysdeps/mach/hurd/gethostname.c: Likewise.
1818         * sysdeps/generic/gethostname.c: Likewise.
1820 2001-03-16  Ulrich Drepper  <drepper@redhat.com>
1822         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
1823         Handle NaN here.
1825         * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext):
1826         Internationalize.
1828 2001-02-06  Jakub Jelinek  <jakub@redhat.com>
1830         * elf/dl-load.c (_dl_map_object): Don't test l_opencount when
1831         looking for name matches.
1833 2001-02-26  Jakub Jelinek  <jakub@redhat.com>
1835         * sysdeps/generic/sigcontextinfo.h (CALL_SIGHANDLER): Define.
1836         * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
1837         * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
1838         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
1839         * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
1840         * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
1841         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
1842         * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
1843         * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
1844         * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
1845         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
1846         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
1848 2001-03-16  Ulrich Drepper  <drepper@redhat.com>
1850         * sysdeps/ieee754/ldbl-96/s_erfl.c: New file.
1851         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
1853         * sysdeps/i386/fpu/libm-test-ulps: Adjust for addition of erfl and
1854         erfcl.
1855         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
1857 2001-03-16  David Mosberger  <davidm@hpl.hp.com>
1859         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
1860         Drop hack that was needed for 2.1.1 kernel headers.
1862         * sysdeps/unix/sysv/linux/ia64/ucontext_i.h: New file.
1864         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Rewrite to make it
1865         overlay with kernel's "struct sigcontext".
1867         * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep_headers): Add
1868         sys/rse.h for "misc" subdir.
1869         (sysdep_routines): Add __start_context for "stdlib" subdir.
1871         * sysdeps/unix/sysv/linux/ia64/sys/rse.h: New file (based on
1872         kernel file of the same name).
1874         * stdlib/Makefile (tests): Add tst-setcontext.
1875         * stdlib/tst-setcontext.c: New file (based on a sample program by
1876         Uli Drepper).
1878         * sysdeps/unix/sysv/linux/ia64/setcontext.S: New file.
1879         * sysdeps/unix/sysv/linux/ia64/getcontext.S: New file.
1880         * sysdeps/unix/sysv/linux/ia64/__start_context.S: New file.
1881         * sysdeps/unix/sysv/linux/ia64/makecontext.c: New file.
1882         * sysdeps/unix/sysv/linux/ia64/swapcontext.c: New file.
1884         * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): Use extr.u
1885         instead of shift & and.
1887 2001-03-16  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1889         * sysdeps/s390/s390-64/bits/huge_val.h: Move to...
1890         * sysdeps/s390/bits/huge_val.h: ...here.
1891         * sysdeps/s390/s390-32/bit/huge_val.h: Remove.
1892         * sysdeps/s390/s390-64/ffs.c: Move to...
1893         * sysdeps/s390/ffs.c: ...here.
1894         * sysdeps/s390/s390-32/ffs.c: Remove.
1896 2001-03-16  Jakub Jelinek  <jakub@redhat.com>
1898         * elf/ldconfig.c (search_dir): Remove bogus diagnostic, instead
1899         update osversion from more recent library.
1901 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1903         * sysdeps/unix/sysv/linux/s390/Dist: Move to...
1904         * sysdeps/unix/sysv/linux/s390/s390-32/Dist: ...here.
1905         * sysdeps/unix/sysv/linux/s390/Makefile: Move to...
1906         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: ...here.
1907         * sysdeps/unix/sysv/linux/s390/Versions: Move to...
1908         * sysdeps/unix/sysv/linux/s390/s390-32/Versions: ...here.
1909         * sysdeps/unix/sysv/linux/s390/alphasort64.c: Move to...
1910         * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: ...here.
1911         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Move to...
1912         * sysdeps/unix/sysv/linux/s390/s390-32/bits/fcntl.h: ...here.
1913         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Move to...
1914         * sysdeps/unix/sysv/linux/s390/s390-32/bits/mman.h: ...here.
1915         * sysdeps/unix/sysv/linux/s390/bits/resource.h: Move to...
1916         * sysdeps/unix/sysv/linux/s390/s390-32/bits/resource.h: ...here.
1917         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Move to...
1918         * sysdeps/unix/sysv/linux/s390/s390-32/bits/stat.h: ...here.
1919         * sysdeps/unix/sysv/linux/s390/chown.c: Move to...
1920         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: ...here.
1921         * sysdeps/unix/sysv/linux/s390/clone.S: Move to...
1922         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: ...here.
1923         * sysdeps/unix/sysv/linux/s390/fchown.c: Move to...
1924         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: ...here.
1925         * sysdeps/unix/sysv/linux/s390/fcntl.c: Move to...
1926         * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: ...here.
1927         * sysdeps/unix/sysv/linux/s390/fxstat.c: Move to...
1928         * sysdeps/unix/sysv/linux/s390/s390-32/fxstat.c: ...here.
1929         * sysdeps/unix/sysv/linux/s390/getdents64.c: Move to...
1930         * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: ...here.
1931         * sysdeps/unix/sysv/linux/s390/getegid.c: Move to...
1932         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: ...here.
1933         * sysdeps/unix/sysv/linux/s390/geteuid.c: Move to...
1934         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: ...here.
1935         * sysdeps/unix/sysv/linux/s390/getgid.c: Move to...
1936         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: ...here.
1937         * sysdeps/unix/sysv/linux/s390/getgroups.c: Move to...
1938         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: ...here.
1939         * sysdeps/unix/sysv/linux/s390/getresgid.c: Move to...
1940         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: ...here.
1941         * sysdeps/unix/sysv/linux/s390/getresuid.c: Move to...
1942         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: ...here.
1943         * sysdeps/unix/sysv/linux/s390/getrlimit.c: Move to...
1944         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: ...here.
1945         * sysdeps/unix/sysv/linux/s390/getrlimit64.c: Move to...
1946         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: ...here.
1947         * sysdeps/unix/sysv/linux/s390/getuid.c: Move to...
1948         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: ...here.
1949         * sysdeps/unix/sysv/linux/s390/lchown.c: Move to...
1950         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: ...here.
1951         * sysdeps/unix/sysv/linux/s390/lockf64.c: Move to...
1952         * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: ...here.
1953         * sysdeps/unix/sysv/linux/s390/lxstat.c: Move to...
1954         * sysdeps/unix/sysv/linux/s390/s390-32/lxstat.c: ...here.
1955         * sysdeps/unix/sysv/linux/s390/mmap.S: Move to...
1956         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: ...here.
1957         * sysdeps/unix/sysv/linux/s390/mmap64.S: Move to...
1958         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: ...here.
1959         * sysdeps/unix/sysv/linux/s390/msgctl.c: Move to...
1960         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: ...here.
1961         * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: Move to...
1962         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: ...here.
1963         * sysdeps/unix/sysv/linux/s390/readdir64.c: Move to...
1964         * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: ...here.
1965         * sysdeps/unix/sysv/linux/s390/readdir64_r.c: Move to...
1966         * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: ...here.
1967         * sysdeps/unix/sysv/linux/s390/register-dump.h: Move to...
1968         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: ...here.
1969         * sysdeps/unix/sysv/linux/s390/scandir64.c: Move to...
1970         * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: ...here.
1971         * sysdeps/unix/sysv/linux/s390/semctl.c: Move to...
1972         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: ...here.
1973         * sysdeps/unix/sysv/linux/s390/setegid.c: Move to...
1974         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: ...here.
1975         * sysdeps/unix/sysv/linux/s390/seteuid.c: Move to...
1976         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: ...here.
1977         * sysdeps/unix/sysv/linux/s390/setfsgid.c: Move to...
1978         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: ...here.
1979         * sysdeps/unix/sysv/linux/s390/setfsuid.c: Move to...
1980         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: ...here.
1981         * sysdeps/unix/sysv/linux/s390/setgid.c: Move to...
1982         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: ...here.
1983         * sysdeps/unix/sysv/linux/s390/setgroups.c: Move to...
1984         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: ...here.
1985         * sysdeps/unix/sysv/linux/s390/setregid.c: Move to...
1986         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: ...here.
1987         * sysdeps/unix/sysv/linux/s390/setresgid.c: Move to...
1988         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: ...here.
1989         * sysdeps/unix/sysv/linux/s390/setresuid.c: Move to...
1990         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: ...here.
1991         * sysdeps/unix/sysv/linux/s390/setreuid.c: Move to...
1992         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: ...here.
1993         * sysdeps/unix/sysv/linux/s390/setrlimit.c: Move to...
1994         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: ...here.
1995         * sysdeps/unix/sysv/linux/s390/setuid.c: Move to...
1996         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: ...here.
1997         * sysdeps/unix/sysv/linux/s390/shmctl.c: Move to...
1998         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: ...here.
1999         * sysdeps/unix/sysv/linux/s390/socket.S: Move to...
2000         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: ...here.
2001         * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Move to...
2002         * sysdeps/unix/sysv/linux/s390/s390-32/sys/procfs.h: ...here.
2003         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Move to...
2004         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: ...here.
2005         * sysdeps/unix/sysv/linux/s390/syscall.S: Move to...
2006         * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: ...here.
2007         * sysdeps/unix/sysv/linux/s390/syscalls.list: Move to...
2008         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: ...here.
2009         * sysdeps/unix/sysv/linux/s390/sysdep.S: Move to...
2010         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: ...here.
2011         * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
2012         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here.
2013         * sysdeps/unix/sysv/linux/s390/versionsort64.c: Move to...
2014         * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: ...here.
2015         * sysdeps/unix/sysv/linux/s390/xstat.c: Move to...
2016         * sysdeps/unix/sysv/linux/s390/s390-32/xstat.c: ...here.
2018 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2020         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: New file.
2021         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: New file.
2022         * sysdeps/unix/sysv/linux/s390/s390-64/bits/elfclass.h: New file.
2023         * sysdeps/unix/sysv/linux/s390/s390-64/bits/fcntl.h: New file.
2024         * sysdeps/unix/sysv/linux/s390/s390-64/bits/ipc.h: New file.
2025         * sysdeps/unix/sysv/linux/s390/s390-64/bits/mman.h: New file.
2026         * sysdeps/unix/sysv/linux/s390/s390-64/bits/msq.h: New file.
2027         * sysdeps/unix/sysv/linux/s390/s390-64/bits/resource.h: New file.
2028         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sem.h: New file.
2029         * sysdeps/unix/sysv/linux/s390/s390-64/bits/shm.h: New file.
2030         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: New file.
2031         * sysdeps/unix/sysv/linux/s390/s390-64/bits/siginfo.h: New file.
2032         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigstack.h: New file.
2033         * sysdeps/unix/sysv/linux/s390/s390-64/bits/stat.h: New file.
2034         * sysdeps/unix/sysv/linux/s390/s390-64/bits/types.h: New file.
2035         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: New file.
2036         * sysdeps/unix/sysv/linux/s390/s390-64/fstatfs64.c: New file.
2037         * sysdeps/unix/sysv/linux/s390/s390-64/ftruncate64.c: New file.
2038         * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: New file.
2039         * sysdeps/unix/sysv/linux/s390/s390-64/fxstat64.c: New file.
2040         * sysdeps/unix/sysv/linux/s390/s390-64/getdents.c: New file.
2041         * sysdeps/unix/sysv/linux/s390/s390-64/getdents64.c: New file.
2042         * sysdeps/unix/sysv/linux/s390/s390-64/getrlimit64.c: New file.
2043         * sysdeps/unix/sysv/linux/s390/s390-64/glob.c: New file.
2044         * sysdeps/unix/sysv/linux/s390/s390-64/glob64.c: New file.
2045         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: New file.
2046         * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: New file.
2047         * sysdeps/unix/sysv/linux/s390/s390-64/lxstat64.c: New file.
2048         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: New file.
2049         * sysdeps/unix/sysv/linux/s390/s390-64/mmap64.c: New file.
2050         * sysdeps/unix/sysv/linux/s390/s390-64/pread64.c: New file.
2051         * sysdeps/unix/sysv/linux/s390/s390-64/pwrite64.c: New file.
2052         * sysdeps/unix/sysv/linux/s390/s390-64/readdir.c: New file.
2053         * sysdeps/unix/sysv/linux/s390/s390-64/readdir64.c: New file.
2054         * sysdeps/unix/sysv/linux/s390/s390-64/readdir64_r.c: New file.
2055         * sysdeps/unix/sysv/linux/s390/s390-64/readdir_r.c : New file.
2056         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: New file.
2057         * sysdeps/unix/sysv/linux/s390/s390-64/setrlimit64.c: New file.
2058         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: New file.
2059         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: New file.
2060         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c: New file.
2061         * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: New file.
2062         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: New file.
2063         * sysdeps/unix/sysv/linux/s390/s390-64/statfs64.c: New file.
2064         * sysdeps/unix/sysv/linux/s390/s390-64/sys/procfs.h: New file.
2065         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: New file.
2066         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: New file.
2067         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: New file.
2068         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: New file.
2069         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: New file.
2070         * sysdeps/unix/sysv/linux/s390/s390-64/truncate64.c: New file.
2071         * sysdeps/unix/sysv/linux/s390/s390-64/xstat.c: New file.
2072         * sysdeps/unix/sysv/linux/s390/s390-64/xstat64.c: New file.
2074 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2076         * sysdeps/s390/Dist: Move to...
2077         * sysdeps/s390/390-32/Dist: ...here.
2078         * sysdeps/s390/Implies: Move to...
2079         * sysdeps/s390/s390-32/Implies: ...here.
2080         * sysdeps/s390/Makefile: Move to...
2081         * sysdeps/s390/s390-32/Makefile: ...here.
2082         * sysdeps/s390/Versions: Move to...
2083         * sysdeps/s390-32/s390/Versions: ...here.
2084         * sysdeps/s390/add_n.S: Move to...
2085         * sysdeps/s390/s390-32/add_n.S: ...here.
2086         * sysdeps/s390/addmul_1.S: Move to...
2087         * sysdeps/s390/s390-32/addmul_1.S: ...here.
2088         * sysdeps/s390/atomicity.h: Move to...
2089         * sysdeps/s390/s390-32/atomicity.h: ...here.
2090         * sysdeps/s390/backtrace.c: Move to...
2091         * sysdeps/s390/s390-32/backtrace.c: ...here.
2092         * sysdeps/s390/bcopy.S: Move to...
2093         * sysdeps/s390/s390-32/bcopy.S: ...here.
2094         * sysdeps/s390/bits/byteswap.h: Move to...
2095         * sysdeps/s390/s390-32/bits/byteswap.h: ...here.
2096         * sysdeps/s390/bits/huge_val.h: Move to...
2097         * sysdeps/s390/s390-32/bits/huge_val.h: ...here.
2098         * sysdeps/s390/bsd-_setjmp.S: Move to...
2099         * sysdeps/s390/s390-32/bsd-_setjmp.S: ...here.
2100         * sysdeps/s390/bsd-setjmp.S: Move to...
2101         * sysdeps/s390/s390-32/bsd-setjmp.S: ...here.
2102         * sysdeps/s390/bzero.S: Move to...
2103         * sysdeps/s390/s390-32/bzero.S: ...here.
2104         * sysdeps/s390/elf/bsd-_setjmp.S: Move to...
2105         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: ...here.
2106         * sysdeps/s390/elf/bsd-setjmp.S: Move to...
2107         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: ...here.
2108         * sysdeps/s390/elf/start.S: Move to...
2109         * sysdeps/s390/s390-32/elf/start.S: ...here.
2110         * sysdeps/s390/ffs.c: Move to...
2111         * sysdeps/s390/s390-32/ffs.c: ...here.
2112         * sysdeps/s390/memchr.S: Move to...
2113         * sysdeps/s390/s390-32/memchr.S: ...here.
2114         * sysdeps/s390/memcpy.S: Move to...
2115         * sysdeps/s390/s390-32/memcpy.S: ...here.
2116         * sysdeps/s390/memset.S: Move to...
2117         * sysdeps/s390/s390-32/memset.S: ...here.
2118         * sysdeps/s390/mul_1.S: Move to...
2119         * sysdeps/s390/s390-32/mul_1.S: ...here.
2120         * sysdeps/s390/s390-mcount.S: Move to...
2121         * sysdeps/s390/s390-32/s390-mcount.S: ...here.
2122         * sysdeps/s390/strcpy.S: Move to...
2123         * sysdeps/s390/s390-32/strcpy.S: ...here.
2124         * sysdeps/s390/strncpy.S: Move to...
2125         * sysdeps/s390/s390-32/strncpy.S: ...here.
2126         * sysdeps/s390/sub_n.S: Move to...
2127         * sysdeps/s390/s390-32/sub_n.S: ...here.
2129 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2131         * sysdeps/s390/s390-64/Dist: New file.
2132         * sysdeps/s390/s390-64/Implies: New file.
2133         * sysdeps/s390/s390-64/Makefile: New file.
2134         * sysdeps/s390/s390-64/__longjmp.c: New file.
2135         * sysdeps/s390/s390-64/add_n.S: New file.
2136         * sysdeps/s390/s390-64/atomicity.h: New file.
2137         * sysdeps/s390/s390-64/backtrace.c: New file.
2138         * sysdeps/s390/s390-64/bcopy.S: New file.
2139         * sysdeps/s390/s390-64/bits/byteswap.h: New file.
2140         * sysdeps/s390/s390-64/bits/huge_val.h: New file.
2141         * sysdeps/s390/s390-64/bits/setjmp.h: New file.
2142         * sysdeps/s390/s390-64/bits/string.h: New file.
2143         * sysdeps/s390/s390-64/bsd-_setjmp.S: New file.
2144         * sysdeps/s390/s390-64/bsd-setjmp.S: New file.
2145         * sysdeps/s390/s390-64/bzero.S: New file.
2146         * sysdeps/s390/s390-64/dl-machine.h: New file.
2147         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: New file.
2148         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: New file.
2149         * sysdeps/s390/s390-64/elf/setjmp.S: New file.
2150         * sysdeps/s390/s390-64/elf/start.S: New file.
2151         * sysdeps/s390/s390-64/ffs.c: New file.
2152         * sysdeps/s390/s390-64/initfini.c: New file.
2153         * sysdeps/s390/s390-64/memchr.S: New file.
2154         * sysdeps/s390/s390-64/memcpy.S: New file.
2155         * sysdeps/s390/s390-64/memset.S: New file.
2156         * sysdeps/s390/s390-64/s390x-mcount.S: New file.
2157         * sysdeps/s390/s390-64/setjmp.S: New file.
2158         * sysdeps/s390/s390-64/strcpy.S: New file.
2159         * sysdeps/s390/s390-64/strncpy.S: New file.
2160         * sysdeps/s390/s390-64/sub_n.S: New file.
2161         * sysdeps/s390/s390-64/sysdep.h: New file.
2163 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2165         * scripts/config.guess: Add support for Linux on 64 bit S/390.
2166         * scripts/config.sub: Likewise.
2168 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2170         * configure.in: Add support for 64 bit S/390.
2172         * elf/elf.h: Add new relocations for 64 bit S/390.
2174         * shlib-versions: Add rules for Linux on 64 bit S/390.
2176 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2178         * sysdeps/s390/__longjmp.c: Move to...
2179         * sysdeps/s390/s390-32/__longjmp.c: ...here.  Add code
2180         to load the floating point registers that should be saved
2181         according to the ABI.
2183         * sysdeps/s390/bits/setjmp.h: Move to...
2184         * sysdeps/s390/s390-32/bits/setjmp.h: ...here.  Avoid
2185         the use of long long in the __jmp_buf type definition.
2187         * sysdeps/s390/bits/string.h: Move to...
2188         * sysdeps/s390/s390-32/bits/string.h: ...here.  Add several missing
2189         #ifndef _FORCE_INLINES.
2191         * sysdeps/s390/dl-machine.h: Move to...
2192         * sysdeps/s390/s390-32/dl-machine.h: ...here.  Add a check for the
2193         executables EI_CLASS in elf_machine_matches_host.
2195         * sysdeps/s390/elf/setjmp.S: Move to...
2196         * sysdeps/s390/s390-32/elf/setjmp.S: ...here.  Replace
2197         branches to globally defined symbol __sigsetjmp by branches to
2198         a local label (this avoids the generation of a R_390_PC16DBL
2199         relocation in -fpic code).
2201         * sysdeps/s390/gmp-mparam.h: Use defines from <bits/wordsize.h> to
2202         calculate BITS_PER_MP_LIMB, BYTES_PER_MP_LIMB and BITS_PER_LONGINT.
2204         * sysdeps/s390/initfini.c: Move to...
2205         * sysdeps/s390/s390-32/initfini.c: ...here.  Replace ALIGN with
2206         ".align 4,0x07".
2208         * sysdeps/s390/setjmp.S: Move to...
2209         * sysdeps/s390/s390-32/setjmp.S: ...here.  Add code to store the
2210         floating point registers that should be saved according to the ABI.
2212         * sysdeps/s390/sys/ucontext.h: Remove since it is unused.
2214         * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
2215         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here. Include
2216         sysdeps/s390/s390-32/sysdep.h instead of sysdeps/s390/sysdep.h.
2218 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2220         * configure.in: Change machine=s390 to machine=s390/s390-32.
2222         * elf/elf.h: Correct comment for R_390_PLT16DBL.
2224 2001-03-12  Jakub Jelinek  <jakub@redhat.com>
2226         * csu/Makefile (abi-tag.h): Define OS and version separately, allow
2227         version to be overriden from config.h.
2228         * csu/abi-note.S: Use OS and version separately, include config.h.
2229         * elf/dl-load.c (_dl_osversion): New.
2230         (_dl_map_object_from_fd): Kill some warnings.
2231         (open_verify): Check .note.ABI-tag of the library if present.
2232         * elf/Makefile (CPPFLAGS-dl-load.c): Add -I$(csu-objpfx).
2233         * elf/cache.c (struct cache_entry): Add osversion.
2234         (print_entry): Print osversion.
2235         (print_cache): Pass osversion to it.
2236         (compare): Sort according to osversion.
2237         (save_cache): Set osversion.
2238         (add_to_cache): Add osversion argument.
2239         * sysdeps/generic/ldconfig.h (add_to_cache, process_file,
2240         process_elf_file): Add osversion argument.
2241         * elf/readlib.c (process_file): Likewise.
2242         * sysdeps/generic/readelflib.c (process_elf_file): Likewise.
2243         * sysdeps/unix/sysv/linux/ia64/readelflib.c (process_elf_file,
2244         process_elf32_file, process_elf64_file): Likewise.
2245         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file,
2246         process_elf32_file, process_elf64_file): Likewise.
2247         * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file,
2248         process_elf32_file, process_elf64_file): Likewise.
2249         * elf/ldconfig.c (manual_link): Pass it.
2250         (search_dir): Issue diagnostic if two libs with the same soname in
2251         the same directory have different .note.ABI-tag.  Record osversion in
2252         dlib_entry and use it from there.
2253         (struct lib_entry): Remove.
2254         (struct dlib_entry): Add osversion.
2255         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Check
2256         osversion.
2257         * sysdeps/generic/dl-cache.h (struct file_entry_new): Replace __unused
2258         field with osversion.
2259         * sysdeps/generic/ldsodefs.h (_dl_osversion): Declare.
2260         * sysdeps/unix/sysv/linux/init-first.c: Include ldsodefs.h.
2261         * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Save kernel
2262         version in _dl_osversion.
2263         * sysdeps/unix/sysv/linux/configure.in: Define __ABI_TAG_VERSION.
2264         * Makerules (build-shlib-helper, build-module-helper): New.
2265         (build-shlib, build-module-helper): Make sure .note.ABI-tag comes
2266         early.
2267         * config.h.in (__ABI_TAG_VERSION): Add.
2268         * elf/dl-minimal.c (__strtoul_internal): Set endptr on return.
2269         * sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS):
2270         Handle LD_ASSUME_KERNEL.
2271         * sysdeps/unix/sysv/linux/dl-librecon.h: New.
2273 2001-03-15  Ulrich Drepper  <drepper@redhat.com>
2275         * timezone/antarctica: Update from tzdata2001a.
2276         * timezone/asia: Likewise.
2277         * timezone/australasia: Likewise.
2278         * timezone/backward: Likewise.
2279         * timezone/etcetera: Likewise.
2280         * timezone/europe: Likewise.
2281         * timezone/leapseconds: Likewise.
2282         * timezone/northamerica: Likewise.
2283         * timezone/southamerica: Likewise.
2284         * timezone/systemv: Likewise.
2285         * timezone/yearistype: Likewise.
2286         * timezone/zone.tab: Likewise.
2287         * timezone/tzdump.c: Update from tzcode2001a.
2289 2001-03-15  H.J. Lu  <hjl@gnu.org>
2291         * intl/Makefile: Fix a typo.
2293 2001-03-14  David Mosberger  <davidm@hpl.hp.com>
2295         * gmon/gmon.c (write_call_graph): Avoid unaligned accesses when
2296         writing arc structures.
2298 2001-03-15  H.J. Lu  <hjl@gnu.org>
2300         * elf/Makefile ($(objpfx)tst-pathopt.out): Protected against
2301         cross-compiling.
2303 2001-03-13  Andreas Schwab  <schwab@suse.de>
2305         * posix/PTESTS2C.sed: Replace literal CRs by `\r'.
2307 2001-03-15  Ulrich Drepper  <drepper@redhat.com>
2309         * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Fix test
2310         for control message fitting into message data.
2311         Patch by James Antill <james@and.org>.
2313         * posix/tst-fnmatch.input: Add test case for FNM_PERIOD handling with
2314         FNM_EXTMATCH.
2316         * posix/fnmatch_loop.c: Optimize handling of ?() and @().
2317         * posix/fnmatch.c: Define STRLEN and STRCAT appropriately.
2319         * posix/Versions [libc] (GLIBC_2.2.3): Add fnmatch.
2320         * posix/fnmatch.c: Define with new default version GLIBC_2.2.3 to
2321         avoid running binaries with libc versions without FNM_EXTMATCH support.
2323         * include/wchar.h: Add prototype for __wcscat.
2324         * wcsmbs/wcscat.c: Define __wcscat and make wcscat weak alias.
2326         * posix/fnmatch.h (FNM_EXTMATCH): Define.
2327         * posix/fnmatch.c (NO_LEADING_PERIOD): Define.
2328         (posixly_correct): Move global variable here.
2329         (INT, EXT, END): Name new functions defined in fnmatch_loop.c.
2330         (fnmatch): Pretty printing.
2331         * posix/fnmatch_loop.c: Add code to handle FNM_EXTMATCH.
2332         * posix/tst-fnmatch.c: Recognize EXTMATCH flag.
2333         * posix/tst-fnmatch.input: Add tests for extended matching.
2335         * posix/testfnm.c: Add test for patterns with multiple ** before /.
2336         * posix/fnmatch_loop.c: Fix problem with the test above.
2338 2001-03-14  Ulrich Drepper  <drepper@redhat.com>
2340         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove
2341         reference to usqrt.
2343         * resolv/res_data.c (fp_nquery): Call __res_ninit not __res_init.
2345 2001-03-12  Andreas Jaeger  <aj@suse.de>
2347         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
2348         Use EM_X86_64 instead of EM_X8664.
2350 2001-03-12  Ulrich Drepper  <drepper@redhat.com>
2352         * sysdeps/ieee754/dbl-64/upow.h: Define nZERO and nINF.
2354         * sysdeps/ieee754/dbl-64/e_remainder.c: Fix handling of boundary
2355         conditions.
2357         * sysdeps/ieee754/dbl-64/e_pow.c: Fix handling of boundary
2358         conditions.
2360         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Handle Inf and NaN
2361         correctly.
2362         (__cos): Likewise.
2364         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Handle NaN
2365         correctly.
2366         (__ieee754_acos): Likewise.
2368 2001-03-12  Andreas Jaeger  <aj@suse.de>
2370         * sysdeps/unix/sysv/linux/s390/sysdep.h (_LINUX_S390_SYSDEP_H):
2371         Fix typo.  Patch by Martin Schwidefsky  <schwidefsky@de.ibm.com>.
2373         * sysdeps/s390/bits/string.h: Protect __STRING_INLINE against
2374         redefinition.
2376 2001-03-11  Roland McGrath  <roland@frob.com>
2378         * sysdeps/mach/hurd/configure.in: Add a sanity check on $prefix.
2380 2001-03-11  Ulrich Drepper  <drepper@redhat.com>
2382         * sysdeps/ieee754/dbl-64/endian.h: Define also one of BIG_ENDI and
2383         LITTLE_ENDI.
2385         * sysdeps/ieee754/dbl-64/MathLib.h (Init_Lib): Use void as
2386         parameter list.
2388         Last-bit accurate math library implementation by IBM Haifa.
2389         Contributed by Abraham Ziv <ziv@il.ibm.com>, Moshe Olshansky
2390         <olshansk@il.ibm.com>, Ealan Henis <ealan@il.ibm.com>, and
2391         Anna Reitman <reitman@il.ibm.com>.
2392         * math/Makefile (dbl-only-routines): New variable.
2393         (libm-routines): Add $(dbl-only-routines).
2394         * sysdeps/ieee754/dbl-64/e_acos.c: Empty, definition is in e_asin.c.
2395         * sysdeps/ieee754/dbl-64/e_asin.c: Replaced with accurate asin
2396         implementation.
2397         * sysdeps/ieee754/dbl-64/e_atan2.c: Replaced with accurate atan2
2398         implementation.
2399         * sysdeps/ieee754/dbl-64/e_exp.c: Replaced with accurate exp
2400         implementation.
2401         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't use __kernel_sin and
2402         __kernel_cos.
2403         * sysdeps/ieee754/dbl-64/e_log.c: Replaced with accurate log
2404         implementation.
2405         * sysdeps/ieee754/dbl-64/e_remainder.c: Replaced with accurate
2406         remainder implementation.
2407         * sysdeps/ieee754/dbl-64/e_pow.c: Replaced with accurate pow
2408         implementation.
2409         * sysdeps/ieee754/dbl-64/e_sqrt.c: Replaced with accurate sqrt
2410         implementation.
2411         * sysdeps/ieee754/dbl-64/k_cos.c: Empty, definition is in s_sin.c.
2412         * sysdeps/ieee754/dbl-64/k_sin.c: Empty, definition is in s_sin.c.
2413         * sysdeps/ieee754/dbl-64/s_atan.c: Replaced with accurate atan
2414         implementation.
2415         * sysdeps/ieee754/dbl-64/s_cos.c: Empty, definition is in s_sin.c.
2416         * sysdeps/ieee754/dbl-64/s_sin.c: Replaced with accurate sin/cos
2417         implementation.
2418         * sysdeps/ieee754/dbl-64/s_sincos.c: Rewritten to not use __kernel_sin
2419         and __kernel_cos.
2420         * sysdeps/ieee754/dbl-64/s_tan.c: Replaced with accurate tan
2421         implementation.
2422         * sysdeps/ieee754/dbl-64/Dist: Add new non-code files.
2423         * sysdeps/ieee754/dbl-64/MathLib.h: New file.
2424         * sysdeps/ieee754/dbl-64/asincos.tbl: New file.
2425         * sysdeps/ieee754/dbl-64/atnat.h: New file.
2426         * sysdeps/ieee754/dbl-64/atnat2.h: New file.
2427         * sysdeps/ieee754/dbl-64/branred.c: New file.
2428         * sysdeps/ieee754/dbl-64/branred.h: New file.
2429         * sysdeps/ieee754/dbl-64/dla.h: New file.
2430         * sysdeps/ieee754/dbl-64/doasin.c: New file.
2431         * sysdeps/ieee754/dbl-64/doasin.h: New file.
2432         * sysdeps/ieee754/dbl-64/dosincos.c: New file.
2433         * sysdeps/ieee754/dbl-64/dosincos.h: New file.
2434         * sysdeps/ieee754/dbl-64/endian.h: New file.
2435         * sysdeps/ieee754/dbl-64/halfulp.c: New file.
2436         * sysdeps/ieee754/dbl-64/mpa.c: New file.
2437         * sysdeps/ieee754/dbl-64/mpa.h: New file.
2438         * sysdeps/ieee754/dbl-64/mpa2.h: New file.
2439         * sysdeps/ieee754/dbl-64/mpatan.c: New file.
2440         * sysdeps/ieee754/dbl-64/mpatan.h: New file.
2441         * sysdeps/ieee754/dbl-64/mpatan2.c: New file.
2442         * sysdeps/ieee754/dbl-64/mpexp.c: New file.
2443         * sysdeps/ieee754/dbl-64/mpexp.h: New file.
2444         * sysdeps/ieee754/dbl-64/mplog.c: New file.
2445         * sysdeps/ieee754/dbl-64/mplog.h: New file.
2446         * sysdeps/ieee754/dbl-64/mpsqrt.c: New file.
2447         * sysdeps/ieee754/dbl-64/mpsqrt.h: New file.
2448         * sysdeps/ieee754/dbl-64/mptan.c: New file.
2449         * sysdeps/ieee754/dbl-64/mydefs.h: New file.
2450         * sysdeps/ieee754/dbl-64/powtwo.tbl: New file.
2451         * sysdeps/ieee754/dbl-64/root.tbl: New file.
2452         * sysdeps/ieee754/dbl-64/sincos.tbl: New file.
2453         * sysdeps/ieee754/dbl-64/sincos32.c: New file.
2454         * sysdeps/ieee754/dbl-64/sincos32.h: New file.
2455         * sysdeps/ieee754/dbl-64/slowexp.c: New file.
2456         * sysdeps/ieee754/dbl-64/slowpow.c: New file.
2457         * sysdeps/ieee754/dbl-64/uasncs.h: New file.
2458         * sysdeps/ieee754/dbl-64/uatan.tbl: New file.
2459         * sysdeps/ieee754/dbl-64/uexp.h: New file.
2460         * sysdeps/ieee754/dbl-64/uexp.tbl: New file.
2461         * sysdeps/ieee754/dbl-64/ulog.h: New file.
2462         * sysdeps/ieee754/dbl-64/ulog.tbl: New file.
2463         * sysdeps/ieee754/dbl-64/upow.h: New file.
2464         * sysdeps/ieee754/dbl-64/upow.tbl: New file.
2465         * sysdeps/ieee754/dbl-64/urem.h: New file.
2466         * sysdeps/ieee754/dbl-64/uroot.h: New file.
2467         * sysdeps/ieee754/dbl-64/usncs.h: New file.
2468         * sysdeps/ieee754/dbl-64/utan.h: New file.
2469         * sysdeps/ieee754/dbl-64/utan.tbl: New file.
2470         * sysdeps/i386/fpu/branred.c: New file.
2471         * sysdeps/i386/fpu/doasin.c: New file.
2472         * sysdeps/i386/fpu/dosincos.c: New file.
2473         * sysdeps/i386/fpu/halfulp.c: New file.
2474         * sysdeps/i386/fpu/mpa.c: New file.
2475         * sysdeps/i386/fpu/mpatan.c: New file.
2476         * sysdeps/i386/fpu/mpatan2.c: New file.
2477         * sysdeps/i386/fpu/mpexp.c: New file.
2478         * sysdeps/i386/fpu/mplog.c: New file.
2479         * sysdeps/i386/fpu/mpsqrt.c: New file.
2480         * sysdeps/i386/fpu/mptan.c: New file.
2481         * sysdeps/i386/fpu/sincos32.c: New file.
2482         * sysdeps/i386/fpu/slowexp.c: New file.
2483         * sysdeps/i386/fpu/slowpow.c: New file.
2484         * sysdeps/ia64/fpu/branred.c: New file.
2485         * sysdeps/ia64/fpu/doasin.c: New file.
2486         * sysdeps/ia64/fpu/dosincos.c: New file.
2487         * sysdeps/ia64/fpu/halfulp.c: New file.
2488         * sysdeps/ia64/fpu/mpa.c: New file.
2489         * sysdeps/ia64/fpu/mpatan.c: New file.
2490         * sysdeps/ia64/fpu/mpatan2.c: New file.
2491         * sysdeps/ia64/fpu/mpexp.c: New file.
2492         * sysdeps/ia64/fpu/mplog.c: New file.
2493         * sysdeps/ia64/fpu/mpsqrt.c: New file.
2494         * sysdeps/ia64/fpu/mptan.c: New file.
2495         * sysdeps/ia64/fpu/sincos32.c: New file.
2496         * sysdeps/ia64/fpu/slowexp.c: New file.
2497         * sysdeps/ia64/fpu/slowpow.c: New file.
2498         * sysdeps/m68k/fpu/branred.c: New file.
2499         * sysdeps/m68k/fpu/doasin.c: New file.
2500         * sysdeps/m68k/fpu/dosincos.c: New file.
2501         * sysdeps/m68k/fpu/halfulp.c: New file.
2502         * sysdeps/m68k/fpu/mpa.c: New file.
2503         * sysdeps/m68k/fpu/mpatan.c: New file.
2504         * sysdeps/m68k/fpu/mpatan2.c: New file.
2505         * sysdeps/m68k/fpu/mpexp.c: New file.
2506         * sysdeps/m68k/fpu/mplog.c: New file.
2507         * sysdeps/m68k/fpu/mpsqrt.c: New file.
2508         * sysdeps/m68k/fpu/mptan.c: New file.
2509         * sysdeps/m68k/fpu/sincos32.c: New file.
2510         * sysdeps/m68k/fpu/slowexp.c: New file.
2511         * sysdeps/m68k/fpu/slowpow.c: New file.
2513         * iconvdata/gconv-modules: Add a number of alias, mostly for IBM
2514         codepages.
2516 2001-03-11  Andreas Jaeger  <aj@suse.de>
2518         * elf/elf.h (EM_*): Synch with official list.
2520 2001-03-07  David Mosberger  <davidm@hpl.hp.com>
2522         * sysdeps/ia64/bits/fenv.h (FE_NONIEEE_ENV): New macro.
2524 2001-03-07  Jes Sorensen  <jes@linuxcare.com>
2526         * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Remove unused
2527         variables addr & len.
2529 2001-02-22  Jes Sorensen  <jes@linuxcare.com>
2531         * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Remove
2532         punctuation in asm constraint.
2534 2001-03-07  Mark Kettenis  <kettenis@gnu.org>
2536         * resolv/netdb.h [__USE_GNU]: Define __need_timespec and include
2537         <time.h> to get definition of `struct timespec'.
2539 2001-03-08  Jakub Jelinek  <jakub@redhat.com>
2541         * elf/rtld.c (dl_main): If tracing, warn about undefined symbols if
2542         LD_WARN=1, not if LD_WARN is unset.
2544 2001-03-07  Andreas Schwab  <schwab@suse.de>
2546         * elf/ldconfig.h: Moved to ...
2547         * sysdeps/generic/ldconfig.h: ... here.
2548         * sysdeps/unix/sysv/linux/i386/ldconfig.h: New file.
2549         * sysdeps/unix/sysv/linux/m68k/ldconfig.h: New file.
2550         * sysdeps/unix/sysv/linux/ia64/ldconfig.h: New file.
2551         * elf/readlib.c (interpreters, known_libs): Use
2552         SYSDEP_KNOWN_INTERPRETER_NAMES and SYSDEP_KNOWN_LIBRARY_NAMES
2553         instead of hard coding old names.
2555 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
2557         * catgets/Makefile (generated): Add test-gencat.h.
2558         (sample.SJIS.cat): Also generate header.
2559         * catgets/sample.SJIS: Add new set and message, both with symbolic
2560         names.
2561         * catgets/test-gencat.sh: Also compare generated header with what
2562         we expect.
2564 2001-03-07  Jakub Jelinek  <jakub@redhat.com>
2566         * catgets/gencat.c (read_input_file): Preserve properly symbolic
2567         names.
2569 2001-03-06  Andreas Jaeger  <aj@suse.de>
2571         * sysdeps/s390/dl-machine.h (elf_machine_relplt): Removed, it's not
2572         needed.
2573         (elf_machine_pltrel_p): Likewise.
2574         * sysdeps/powerpc/dl-machine.h: Likewise.
2575         * sysdeps/generic/dl-machine.h (elf_machine_pltrel_p): Likewise.
2577 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
2579         * sysdeps/unix/sysv/linux/arm/Dist: Add dl-procinfo.c and
2580         dl-procinfo.h.
2582 2001-03-05  Philip Blundell  <philb@gnu.org>
2584         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c: New file.
2585         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h: New file.
2586         * sysdeps/unix/sysv/linux/arm/Makefile [subdir=elf]
2587         (sysdep-dl-routines, sysdep_routines, sysdep-rtld-routines): Add
2588         dl-procinfo.
2590 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
2592         * dlfcn/tstatexit.c (main): Don't perform the test if __dso_handle
2593         is not available.
2594         * dlfcn/tstcxaatexit.c (main): Likewise.
2596 2001-03-10  Andreas Jaeger  <aj@suse.de>
2598         * sysdeps/i386/fpu/libm-test-ulps: Revert last patch.
2600 2001-03-09  Andreas Jaeger  <aj@suse.de>
2602         * sysdeps/s390/dl-machine.h (elf_machine_matches_host): Handle
2603         both new and old EM_S390 values.
2604         (EM_S390_OLD): New constant.
2606         * elf/elf.h (EM_S390): Use official value.
2608 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
2610         * conform/data/sys/socket.h-data: Allow SO* symbols.
2612 2001-03-07  Andreas Schwab  <schwab@suse.de>
2614         * sysdeps/ia64/fpu/Makefile: Modify sysdep_routines instead of
2615         routines, and sysdep-CPPFLAGS instead of CPPFLAGS.
2617 2001-03-07  Andreas Jaeger  <aj@suse.de>
2619         * resolv/Makefile (routines): Only build gai_sigqueue when threads
2620         are available.
2622 2001-03-07  Jakub Jelinek  <jakub@redhat.com>
2624         * elf/ldconfig.c (_dl_sysdep_message): Remove.
2625         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Include
2626         ldsodefs.h.
2627         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
2629         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Use
2630         _dl_error_printf instead of _dl_sysdep_error.
2631         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
2632         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h (_dl_procinfo):
2633         Use _dl_printf instead of _dl_sysdep_message.
2634         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h (_dl_procinfo):
2635         Likewise.
2637 2001-03-06  Ben Collins  <bcollins@debian.org>
2639         * manual/arith.texi (Integers): Fix documentation of fast and
2640         least integer typedefs.
2642 2001-03-06  Jakub Jelinek  <jakub@redhat.com>
2644         * resolv/Depend: New file.
2645         * resolv/Makefile (extra-libs, tests): Build libanl and ga_test only
2646         when libpthread is built.
2648 2001-03-06  Andreas Jaeger  <aj@suse.de>
2650         * sysdeps/i386/fpu/libm-test-ulps: Add some deltas.
2652         * sysdeps/sh/dl-machine.h (elf_machine_rela): Add missing comma.
2653         Patch by kaz Kojima <kkojima@rr.iij4u.or.jp>.
2655 2001-03-05  Ulrich Drepper  <drepper@redhat.com>
2657         * stdlib/Versions: Remove __new_exitfn again.  Not needed.
2659 2001-03-05  Andreas Jaeger  <aj@suse.de>
2661         * stdlib/msort.c (qsort): Don't use alloca in a function call.
2663 2001-03-05  Ulrich Drepper  <drepper@redhat.com>
2665         * sysdeps/unix/sysv/linux/bits/stat.h (__S_TYPEISMQ, __S_TYPEISSEM,
2666         __S_TYPEISSHM): Rewrite to enforce correct use the macros.  They still
2667         always return zero.
2668         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
2669         * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
2670         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
2671         * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Likewise.
2672         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
2673         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
2674         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
2676 2001-03-04  Andreas Jaeger  <aj@suse.de>
2678         * stdlib/longlong.h: Don't use multi-line strings.
2679         * iconvdata/tst-loading.c: Likewise.
2681         * csu/Makefile ($(objpfx)version-info.h): Don't use multi-line
2682         string.
2684 2001-03-04  Ulrich Drepper  <drepper@redhat.com>
2686         * sysdeps/ia64/fpu/libm-test-ulps: Adjust for addition of lgammal.
2688         * rt/lio_listio.c: Add a few asserts.
2690         * elf/global.c: New file.
2691         * elf/globalmod1.c: New file.
2692         * elf/Makefile: Add rules to build and run global.
2694         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Define SI_ASYNCNL.
2695         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
2696         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
2697         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2698         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
2700         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: New file.
2701         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
2703         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Fix handling of boundary cases.
2705         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Always initialize sign variable.
2706         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
2708         * sysdeps/i386/fpu/libm-test-ulps: Adjust after addition of lgammal.
2710         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Fix typo in last change.
2712 2001-03-04  Andreas Jaeger  <aj@suse.de>
2714         * resolv/tst-aton.c: Add testcase for IP with four periods.
2716         * resolv/inet_addr.c: Don't recognize an IP with four periods.
2717         Patch by Andre' Breiler <A.Breiler@gmx.net>.
2719 2001-02-27  Philip Blundell  <pb@futuretv.com>
2721         * elf/elf.h: Add new ARM definitions from latest (B-01)
2722         specification.  Correct naming of EF_ARM_ALIGN8 et al.
2724 2001-03-04  Ulrich Drepper  <drepper@redhat.com>
2726         * stdio-common/tst-printf.sh: Remove bashisms.
2727         Patch by Matthew Clarke <Matthew_Clarke@mindlink.bc.ca>.
2729 2001-03-03  Ulrich Drepper  <drepper@redhat.com>
2731         * Versions.def: Add libanl definition.
2732         * shlib-versions: Add entry for libanl.
2733         * resolv/Makefile (distribute): Add gai_misc.h and ga_test.c.
2734         (routines): Add gai_sigqueue.
2735         (extra-libs): Add libanl.
2736         (libanl-routines): New variable.
2737         Add rules to build libanl and ga_test.
2738         * resolv/Versions [libc] (GLIBC_2.2.3): Add __gai_sigqueue.
2739         [libanl]: New library.
2740         * resolv/netdb.h: Add definitions for libanl.
2741         * resolv/getaddrinfo_a.c: New file.
2742         * resolv/gai_cancel.c: New file.
2743         * resolv/gai_error.c: New file.
2744         * resolv/gai_misc.c: New file.
2745         * resolv/gai_misc.h: New file.
2746         * resolv/gai_notify.c: New file.
2747         * resolv/gai_suspend.c: New file.
2748         * resolv/ga_test.c: New file.
2749         * sysdeps/generic/gai_sigqueue.c: New file.
2750         * sysdeps/unix/sysv/linux/gai_sigqueue.c: New file.
2751         * sysdeps/generic/bits/siginfo.h: Allow __need_sigevent_t being defined
2752         and provide only that definition.
2753         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
2754         * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
2755         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
2756         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
2757         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2758         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
2760         * rt/aio_misc.c: Fix typos in comments.
2761         * rt/lio_listio.c: Pretty printing.  Little optimization in request
2762         list handling.
2764         * elf/rtld.c: Remove commented out code.
2766         * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC):
2767         Update for real 2.4 kernels.
2769 2001-03-01  Ulrich Drepper  <drepper@redhat.com>
2771         * elf/dl-load.c: Pretty printing.
2773         * elf/dl-object.c (_dl_new_object): Don't add the loader's scope
2774         twice.
2776 2001-02-28  Ulrich Drepper  <drepper@redhat.com>
2778         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle
2779         relocations which are not in ld.so if RTLD_BOOTSTRAP is defined.
2781         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
2783         * elf/dl-misc.c (_dl_debug_vdprintf): Fix typo visible on 64-bit
2784         machines.
2786         * sysdeps/unix/sysv/linux/powerpc/sysdep.h (C_TEXT): Define.
2788 2001-02-27  Ulrich Drepper  <drepper@redhat.com>
2790         * sysdeps/powerpc/elf/libc-start.c: Use new output functions and
2791         _dl_debug_mask.
2793         * elf/Versions [ld]: Don't export _dl_debug_message anymore.  Export
2794         _dl_debug_printf.
2795         * elf/dl-misc.c: Remove definition of _dl_sysdep_output and
2796         _dl_debug_message.  Define _dl_debug_vdprintf, _dl_debug_printf,
2797         _dl_debug_printf_c, and _dl_printf.
2798         * sysdeps/generic/ldsodefs.h: Don't declare _dl_sysdep_output,
2799         _dl_debug_message, _dl_sysdep_message, _dl_sysdep_error, and
2800         _dl_sysdep_fatal.  Declare _dl_debug_printf, _dl_debug_printf_c,
2801         _dl_printf, _dl_error_printf, and _dl_fatal_printf.
2802         * elf/dl-close.c: Replace use of old output functions with the new
2803         ones.
2804         * elf/dl-deps.c: Likewise.
2805         * elf/dl-error.c: Likewise.
2806         * elf/dl-fini.c: Likewise.
2807         * elf/dl-init.c: Likewise.
2808         * elf/dl-load.c: Likewise.
2809         * elf/dl-lookup.c: Likewise.
2810         * elf/dl-minimal.c: Likewise.
2811         * elf/dl-open.c: Likewise.
2812         * elf/dl-profile.c: Likewise.
2813         * elf/dl-reloc.c: Likewise.
2814         * elf/dl-version.c: Likewise.
2815         * elf/do-lookup.h: Likewise.
2816         * elf/rtld.c: Likewise.
2817         * sysdeps/generic/dl-cache.c: Likewise.
2818         * sysdeps/generic/dl-sysdep.c: Likewise.
2819         * sysdeps/generic/libc-start.c: Likewise.
2820         * sysdeps/i386/dl-machine.h: Likewise.
2821         * sysdeps/arm/dl-machine.h: Likewise.
2822         * sysdeps/hppa/dl-machine.h: Likewise.
2823         * sysdeps/m68k/dl-machine.h: Likewise.
2824         * sysdeps/powerpc/dl-machine.h: Likewise.
2825         * sysdeps/s390/dl-machine.h: Likewise.
2826         * sysdeps/sh/dl-machine.h: Likewise.
2827         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
2828         * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
2829         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
2831         * sysdeps/generic/ldsodefs.h: Remove _dl_secure declaration.
2833         * dlfcn/Makefile: Don't run tstatexit test unless .hidden is
2834         supported by assembler.
2836         * sysdeps/generic/ldsodefs.h: Remove commented-out variable
2837         declaractions.
2839         * elf/rtld.c: Little optimizations in handling _dl_lazy.
2841         * elf/cache.c (save_cache): Portability changes.
2842         * elf/dl-profile.c (_dl_start_profile): Likewise.
2844         * elf/sln.c: Cleanups.  Remove arbitrary limits.
2846         * elf/dl-close.c: Replace _dl_debug_* variables with _dl_debug_mask.
2847         * elf/dl-deps.c: Likewise.
2848         * elf/dl-fini.c: Likewise.
2849         * elf/dl-init.c: Likewise.
2850         * elf/dl-load.c: Likewise.
2851         * elf/dl-lookup.c: Likewise.
2852         * elf/dl-open.c: Likewise.
2853         * elf/dl-reloc.c: Likewise.
2854         * elf/dl-support.c: Likewise.
2855         * elf/dl-version.c: Likewise.
2856         * elf/do-lookup.h: Likewise.
2857         * elf/rtld.c: Likewise.
2858         * sysdeps/generic/dl-cache.c: Likewise.
2859         * sysdeps/generic/ldsodefs.h: Likewise.
2860         * sysdeps/generic/libc-start.c: Likewise.
2861         * elf/Versions: Don't export _dl_debug_impcalls and _dl_debug_files.
2862         Export _dl_debug_mask.
2863         * Versions.def: Define GLIBC_2.2.3 for ld.
2865 2001-02-26  Greg McGary  <greg@mcgary.org>
2867         * sysdeps/unix/make-syscalls.sh (ptr): Handle `V' keyletter.
2869 2001-02-26  Paul Eggert  <eggert@twinsun.com>
2871         Modify mkstemp.c and tempname.c so that they can be used by
2872         GNU applications on non-glibc platforms.
2874         * misc/mkstemp.c (__GT_FILE): Define to zero if not defined.
2876         * sysdeps/posix/tempname.c: Include <config.h> if HAVE_CONFIG_H.
2877         Include <stddef.h>, <stdint.h>, <string.h> only if
2878         STDC_HEADERS || _LIBC.
2879         Include <fcntl.h> only if HAVE_FCNTL_H || _LIBC.
2880         Include <unistd.h> only if HAVE_UNISTD_H || _LIBC.
2881         Include <sys/time.h> only if HAVE_SYS_TIME_H || _LIBC.
2882         (__set_errno): Define this macro if <errno.h> doesn't.
2883         (P_tmpdir, TMP_MAX, __GT_FILE, __GT_BIGFILE, __GT_DIR, __GT_NOCREATE):
2884         Define these macros if <stdio.h> doesn't.
2885         (S_ISDIR, S_IRUSR, S_IWUSR, S_IXUSR):
2886         Define these macros if <sys/stat.h> doesn't.
2887         Ignore <sys/stat.h> S_ISDIR if STAT_MACROS_BROKEN.
2888         (stat64, __getpid, __gettimeofday, __mkdir, __open, __open64,
2889         lxstat64, __xstat64): Define if not _LIBC.
2890         (struct_stat64): New macro.
2891         (direxists, __gen_tempname): Use it, to avoid a
2892         portability problem with Solaris 8.
2893         (__secure_getenv): Define if ! (HAVE___SECURE_GETENV || _LIBC).
2894         (__gen_tempname): Invoke gettimeofday only if
2895         HAVE_GETTIMEOFDAY || _LIBC; otherwise, fall back on plain "time".
2896         Use portable macros like S_IRUSR | S_IWUSR rather than nonportable
2897         octal values like 0600.
2899 2001-02-26  Ulrich Drepper  <drepper@redhat.com>
2901         * sysdeps/ieee754/ldbl-96/e_jnl.c: New file.
2902         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
2904         * sysdeps/i386/fpu/libm-test-ulps: Update for jnl and ynl introduction.
2905         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2907         * posix/wordexp-test.c (testit): Remove warnings.
2909         * dlfcn/Makefile (distribute): Add modatexit.c and modcxaatexit.c.
2910         (tests): Add tstatexit and tstcxaatexit.
2911         (module-names): Add modatexit and modcxaatexit.
2912         Add rules to build and run tstatexit and tstcxaatexit.
2913         * dlfcn/modatexit.c: New file.
2914         * dlfcn/modcxaatexit.c: New file.
2915         * dlfcn/tstatexit.c: New file.
2916         * dlfcn/tstcxaatexit.c: New file.
2918         * io/Makefile: Pass -DHAVE_DOT_HIDDEN to stat and mknod functions if
2919         .hidden is available.
2920         * io/stat.c: If .hidden is available use it to avoid exporting
2921         functions.
2922         * io/fstat.c: Likewise.
2923         * io/lstat.c: Likewise.
2924         * io/stat64.c: Likewise.
2925         * io/fstat64.c: Likewise.
2926         * io/lstat64.c: Likewise.
2927         * sysdeps/generic/mknod.c: Likewise.
2929         * malloc/mtrace.c: Use __cxa_atexit and not atexit.
2930         * sysdeps/generic/bb_init_func.c: Likewise.
2931         * sysdeps/generic/libc-start.c: Likewise.
2933         * stdlib/atexit.c (__new_exitfn): Move to cxa_atexit.c.
2934         (atexit): Implement using __cxa_atexit.
2935         Use .hidden if availble to avoid exporting atexit.
2936         * stdlib/cxa_atexit.c (__new_exitfn): Moved to here from atexit.c.
2937         * stdlib/Versions: Export __new_exitfn for GLIBC_2.2.3.
2938         * stdlib/Makefile (routines): Add old_atexit.
2939         (static-only-routines): Add atexit.
2940         Pass -DHAVE_DOT_HIDDEN for atexit.c if .hidden is available.
2941         * stdlib/old_atexit.c: New file.
2943         * intl/Makefile: Remove bogus endif.
2945 2001-02-26  Andreas Jaeger  <aj@suse.de>
2947         * iconvdata/Makefile (tests): Fix typo in last patch.
2949         * intl/Makefile (tests): Run mtrace-tst-gettext only when perl is
2950         available.
2951         Reported by Achim Gottinger <achim@gentoo.org>.
2953 2001-02-25  Andreas Jaeger  <aj@suse.de>
2955         * intl/Makefile (plural.c): Reorder rules so that they work if
2956         BISON doesn't exist.
2958 2001-02-25  Ulrich Drepper  <drepper@redhat.com>
2960         * intl/locale.alias: Don't use nb_NO but define aliases for it.
2962 2001-02-23  Ulrich Drepper  <drepper@redhat.com>
2964         * sysdeps/i386/strtok.S: Continue to return NULL after the first
2965         time this happened.
2967 2001-02-23  Andreas Jaeger  <aj@suse.de>
2969         * string/tester.c (test_strtok_r): Add testcase.
2970         (test_strtok_r): Always initialize cp for proper checking.
2972         * sysdeps/generic/strtok.c (strtok): Handle case of first strtok
2973         returning NULL correctly.
2974         Patch by Fumitoshi UKAI <ukai@debian.or.jp>.
2975         * sysdeps/generic/strtok_r.c (__strtok_r): Likewise.
2977 2001-02-23  Ulrich Drepper  <drepper@redhat.com>
2979         * sysdeps/unix/sysv/aix/bits/types.h: Define __need_NULL before
2980         including <stddef.h>.
2981         * sysdeps/unix/sysv/aix/write.c: Define alias __libc_write.
2982         * include/libc-symbols.h (weak_alias): Don't use .weak if
2983         HAVE_ASM_GLOBAL_DOT_NAME is defined.
2984         Patches by Michael Keezer <mkeezer@redhat.com>.
2986         * sysdeps/generic/ftime.c: Don't include <sys/time.h> at all.
2987         Patch by Michael Keezer <mkeezer@redhat.com>.
2989         * sysdeps/unix/sysv/aix/Dist: Remove restf.S and savef.S.
2990         * sysdeps/unix/sysv/aix/Makefile [$(subdir) == misc]
2991         (sysdep_routines): Remove restf.S and savef.S.
2992         * sysdeps/unix/sysv/aix/restf.S. Removed.
2993         * sysdeps/unix/sysv/aix/savef.S. Removed.
2994         * sysdeps/powerpc/fprrest.S: Use C_TEXT to define label.  Also define
2995         alternative names used on some platforms.
2996         * sysdeps/powerpc/fprsave.S: Likewise.
2997         * sysdeps/powerpc/gprrest0.S: Likewise.
2998         * sysdeps/powerpc/gprrest1.S: Likewise.
2999         * sysdeps/powerpc/gprsave0.S: Likewise.
3000         * sysdeps/powerpc/gprsave1.S: Likewise.
3001         Patch by Michael Keezer <mkeezer@redhat.com>.
3003 2001-02-22  Ulrich Drepper  <drepper@redhat.com>
3005         * sysdeps/i386/elf/start.S (_fp_hw): Actually define label.
3007 2001-02-22  Andreas Jaeger  <aj@suse.de>
3009         * string/tst-strtok.c (main): Fix error messages.
3011 2001-02-22  Andreas Jaeger  <aj@suse.de>
3013         * math/Makefile: Remove omit-long-double-fcts.
3015 2001-02-18  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
3017         * sysdeps/mips/bsd-_setjmp.S (_setjmp): Reorder instructions to
3018         avoid problems on MIPS I.
3019         * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
3021         * sysdeps/mips/dl-machine.h (RTLD_START): Remove duplicate ".set
3022         noreorder".
3024 2001-02-21  Ulrich Drepper  <drepper@redhat.com>
3026         * posix/fnmatch_loop.c: Handle ranges outside glibc correctly.
3028         * sysdeps/generic/ftime.c: Include <time.h>.
3030         * configure.in: Don't check for libgd if user passed --without-gd.
3031         Patch by Achim Gottinger <achim@gentoo.org>.
3033         * sysdeps/i386/i686/strtok.S: Continue to return NULL after the
3034         first time this happened.
3035         * string/Makefile (tests): Add tst-strtok.
3037 2001-02-21  Andreas Jaeger  <aj@suse.de>
3039         * string/tst-strtok.c: New testcase, reported by
3040         Andrew Church <achurch@achurch.org>.
3042 2001-02-20  Ulrich Drepper  <drepper@redhat.com>
3044         * libio/iofwide.c: Remove fwide alias.
3046 2001-02-20  Andreas Jaeger  <aj@suse.de>
3048         * iconvdata/Makefile (tests): Only run mtrace-tst-loading if perl
3049         is available.
3050         Reported by Achim Gottinger <achim@gentoo.org>.
3052 2001-02-19  Ulrich Drepper  <drepper@redhat.com>
3054         * iconv/tst-iconv1.c (main): Remove debugging code.
3056         * sysdeps/ieee754/flt-32/e_powf.c: Handle x == +-1 correctly.
3057         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3059         * sysdeps/generic/e_scalb.c: Set invalid exception for invalid
3060         parameters.
3061         * sysdeps/generic/e_scalbf.c: Likewise.
3062         * sysdeps/generic/e_scalbl.c: Likewise.
3064         * sysdeps/ia64/fpu/Makefile (libm-sysdep-routines): Add libm_error,
3065         libm_frexp4, libm_frexp4f, libm_frexp4l, and all the functions also
3066         in libc.
3067         (routines): Replace libm_error with libc_libm_error.
3068         * sysdeps/ia64/fpu/Dist: Add libc_libm_error.c.
3069         * sysdeps/ia64/fpu/libc_libm_error.c: New file.
3071 2001-02-18  Mark Kettenis  <kettenis@gnu.org>
3073         * malloc/mtrace.c [USE_IN_LIBIO]: Define fopen as _IO_fopen64.
3074         (mtrace): Revert 2001-02-13 patch: use fopen instead of fopen64.
3076 2001-02-17  H.J. Lu  <hjl@gnu.org>
3078         * sysdeps/unix/sysv/linux/ia64/clone2.S: Use clone2 and don't use
3079         scratch registers across the system call.
3081 2001-02-19  Andreas Jaeger  <aj@suse.de>
3083         * malloc/Makefile (tests): Run mtrace only when perl is available.
3084         Reported by Achim Gottinger <achim@gentoo.org>.
3086 2001-02-19  Ulrich Drepper  <drepper@redhat.com>
3088         * sysdeps/ieee754/ldbl-96/e_j1l.c: New file.
3089         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
3091         * sysdeps/i386/fpu/libm-test-ulps: Adjust error values for j1 and y1.
3092         * sysdeps/ia64/fpu/libm-test-ulps: Adjust error values for y1.
3093         * math/libm-test.inc (j1_test): Mark constants as long double.
3094         (jn_test): Likewise.
3095         (y1_test): Likewise.
3096         (yn_test): Likewise.
3098         * libio/iogetline.c: Move return until after last statement.
3100         * localedata/show-ucs-data.c: Don't show < > for better readability.
3102         * sysdeps/ia64/fpu/Dist: New file.
3103         * sysdeps/ia64/fpu/Makefile: New file.
3104         * sysdeps/ia64/fpu/Versions: New file.
3105         * sysdeps/ia64/fpu/e_acos.S: New file.
3106         * sysdeps/ia64/fpu/e_acosf.S: New file.
3107         * sysdeps/ia64/fpu/e_acosl.S: New file.
3108         * sysdeps/ia64/fpu/e_asin.S: New file.
3109         * sysdeps/ia64/fpu/e_asinf.S: New file.
3110         * sysdeps/ia64/fpu/e_asinl.S: New file.
3111         * sysdeps/ia64/fpu/e_atan2.S: New file.
3112         * sysdeps/ia64/fpu/e_atan2f.S: New file.
3113         * sysdeps/ia64/fpu/e_atan2l.c: New file.
3114         * sysdeps/ia64/fpu/e_cosh.S: New file.
3115         * sysdeps/ia64/fpu/e_coshf.S: New file.
3116         * sysdeps/ia64/fpu/e_coshl.S: New file.
3117         * sysdeps/ia64/fpu/e_exp.S: New file.
3118         * sysdeps/ia64/fpu/e_expf.S: New file.
3119         * sysdeps/ia64/fpu/e_expl.c: New file.
3120         * sysdeps/ia64/fpu/e_fmod.S: New file.
3121         * sysdeps/ia64/fpu/e_fmodf.S: New file.
3122         * sysdeps/ia64/fpu/e_fmodl.S: New file.
3123         * sysdeps/ia64/fpu/e_hypot.S: New file.
3124         * sysdeps/ia64/fpu/e_hypotf.S: New file.
3125         * sysdeps/ia64/fpu/e_hypotl.S: New file.
3126         * sysdeps/ia64/fpu/e_log.S: New file.
3127         * sysdeps/ia64/fpu/e_log10.c: New file.
3128         * sysdeps/ia64/fpu/e_log10f.c: New file.
3129         * sysdeps/ia64/fpu/e_log10l.c: New file.
3130         * sysdeps/ia64/fpu/e_logf.S: New file.
3131         * sysdeps/ia64/fpu/e_logl.c: New file.
3132         * sysdeps/ia64/fpu/e_pow.S: New file.
3133         * sysdeps/ia64/fpu/e_powf.S: New file.
3134         * sysdeps/ia64/fpu/e_powl.S: New file.
3135         * sysdeps/ia64/fpu/e_rem_pio2.c: New file.
3136         * sysdeps/ia64/fpu/e_rem_pio2f.c: New file.
3137         * sysdeps/ia64/fpu/e_remainder.S: New file.
3138         * sysdeps/ia64/fpu/e_remainderf.S: New file.
3139         * sysdeps/ia64/fpu/e_remainderl.S: New file.
3140         * sysdeps/ia64/fpu/e_scalb.S: New file.
3141         * sysdeps/ia64/fpu/e_scalbf.S: New file.
3142         * sysdeps/ia64/fpu/e_scalbl.S: New file.
3143         * sysdeps/ia64/fpu/e_sinh.S: New file.
3144         * sysdeps/ia64/fpu/e_sinhf.S: New file.
3145         * sysdeps/ia64/fpu/e_sinhl.S: New file.
3146         * sysdeps/ia64/fpu/e_sqrt.S: New file.
3147         * sysdeps/ia64/fpu/e_sqrtf.S: New file.
3148         * sysdeps/ia64/fpu/e_sqrtl.S: New file.
3149         * sysdeps/ia64/fpu/k_rem_pio2.c: New file.
3150         * sysdeps/ia64/fpu/k_rem_pio2f.c: New file.
3151         * sysdeps/ia64/fpu/k_rem_pio2l.c: New file.
3152         * sysdeps/ia64/fpu/libm_atan2_reg.S: New file.
3153         * sysdeps/ia64/fpu/libm_error.c: New file.
3154         * sysdeps/ia64/fpu/libm_frexp4.S: New file.
3155         * sysdeps/ia64/fpu/libm_frexp4f.S: New file.
3156         * sysdeps/ia64/fpu/libm_frexp4l.S: New file.
3157         * sysdeps/ia64/fpu/libm_reduce.S: New file.
3158         * sysdeps/ia64/fpu/libm_support.h: New file.
3159         * sysdeps/ia64/fpu/libm_tan.S: New file.
3160         * sysdeps/ia64/fpu/s_atan.S: New file.
3161         * sysdeps/ia64/fpu/s_atanf.S: New file.
3162         * sysdeps/ia64/fpu/s_atanl.S: New file.
3163         * sysdeps/ia64/fpu/s_cbrt.S: New file.
3164         * sysdeps/ia64/fpu/s_cbrtf.S: New file.
3165         * sysdeps/ia64/fpu/s_cbrtl.S: New file.
3166         * sysdeps/ia64/fpu/s_ceil.S: New file.
3167         * sysdeps/ia64/fpu/s_ceilf.S: New file.
3168         * sysdeps/ia64/fpu/s_ceill.S: New file.
3169         * sysdeps/ia64/fpu/s_cos.S: New file.
3170         * sysdeps/ia64/fpu/s_cosf.S: New file.
3171         * sysdeps/ia64/fpu/s_cosl.S: New file.
3172         * sysdeps/ia64/fpu/s_expm1.S: New file.
3173         * sysdeps/ia64/fpu/s_expm1f.S: New file.
3174         * sysdeps/ia64/fpu/s_expm1l.S: New file.
3175         * sysdeps/ia64/fpu/s_floor.S: New file.
3176         * sysdeps/ia64/fpu/s_floorf.S: New file.
3177         * sysdeps/ia64/fpu/s_floorl.S: New file.
3178         * sysdeps/ia64/fpu/s_frexp.c: New file.
3179         * sysdeps/ia64/fpu/s_frexpf.c: New file.
3180         * sysdeps/ia64/fpu/s_frexpl.c: New file.
3181         * sysdeps/ia64/fpu/s_ilogb.S: New file.
3182         * sysdeps/ia64/fpu/s_ilogbf.S: New file.
3183         * sysdeps/ia64/fpu/s_ilogbl.S: New file.
3184         * sysdeps/ia64/fpu/s_ldexp.S: New file.
3185         * sysdeps/ia64/fpu/s_ldexpf.S: New file.
3186         * sysdeps/ia64/fpu/s_ldexpl.S: New file.
3187         * sysdeps/ia64/fpu/s_log1p.S: New file.
3188         * sysdeps/ia64/fpu/s_log1pf.S: New file.
3189         * sysdeps/ia64/fpu/s_log1pl.S: New file.
3190         * sysdeps/ia64/fpu/s_logb.S: New file.
3191         * sysdeps/ia64/fpu/s_logbf.S: New file.
3192         * sysdeps/ia64/fpu/s_logbl.S: New file.
3193         * sysdeps/ia64/fpu/s_matherrf.c: New file.
3194         * sysdeps/ia64/fpu/s_matherrl.c: New file.
3195         * sysdeps/ia64/fpu/s_modf.S: New file.
3196         * sysdeps/ia64/fpu/s_modff.S: New file.
3197         * sysdeps/ia64/fpu/s_modfl.S: New file.
3198         * sysdeps/ia64/fpu/s_nearbyint.S: New file.
3199         * sysdeps/ia64/fpu/s_nearbyintf.S: New file.
3200         * sysdeps/ia64/fpu/s_nearbyintl.S: New file.
3201         * sysdeps/ia64/fpu/s_rint.S: New file.
3202         * sysdeps/ia64/fpu/s_rintf.S: New file.
3203         * sysdeps/ia64/fpu/s_rintl.S: New file.
3204         * sysdeps/ia64/fpu/s_round.S: New file.
3205         * sysdeps/ia64/fpu/s_roundf.S: New file.
3206         * sysdeps/ia64/fpu/s_roundl.S: New file.
3207         * sysdeps/ia64/fpu/s_scalbn.S: New file.
3208         * sysdeps/ia64/fpu/s_scalbnf.S: New file.
3209         * sysdeps/ia64/fpu/s_scalbnl.S: New file.
3210         * sysdeps/ia64/fpu/s_significand.S: New file.
3211         * sysdeps/ia64/fpu/s_significandf.S: New file.
3212         * sysdeps/ia64/fpu/s_significandl.S: New file.
3213         * sysdeps/ia64/fpu/s_sin.c: New file.
3214         * sysdeps/ia64/fpu/s_sincos.c: New file.
3215         * sysdeps/ia64/fpu/s_sincosf.c: New file.
3216         * sysdeps/ia64/fpu/s_sincosl.c: New file.
3217         * sysdeps/ia64/fpu/s_sinf.c: New file.
3218         * sysdeps/ia64/fpu/s_sinl.c: New file.
3219         * sysdeps/ia64/fpu/s_tan.S: New file.
3220         * sysdeps/ia64/fpu/s_tanf.S: New file.
3221         * sysdeps/ia64/fpu/s_tanl.S: New file.
3222         * sysdeps/ia64/fpu/s_trunc.S: New file.
3223         * sysdeps/ia64/fpu/s_truncf.S: New file.
3224         * sysdeps/ia64/fpu/s_truncl.S: New file.
3225         * sysdeps/ia64/fpu/w_acos.c: New file.
3226         * sysdeps/ia64/fpu/w_acosf.c: New file.
3227         * sysdeps/ia64/fpu/w_acosl.c: New file.
3228         * sysdeps/ia64/fpu/w_asin.c: New file.
3229         * sysdeps/ia64/fpu/w_asinf.c: New file.
3230         * sysdeps/ia64/fpu/w_asinl.c: New file.
3231         * sysdeps/ia64/fpu/w_atan2.c: New file.
3232         * sysdeps/ia64/fpu/w_atan2f.c: New file.
3233         * sysdeps/ia64/fpu/w_atan2l.c: New file.
3234         * sysdeps/ia64/fpu/w_cosh.c: New file.
3235         * sysdeps/ia64/fpu/w_coshf.c: New file.
3236         * sysdeps/ia64/fpu/w_coshl.c: New file.
3237         * sysdeps/ia64/fpu/w_exp.c: New file.
3238         * sysdeps/ia64/fpu/w_expf.c: New file.
3239         * sysdeps/ia64/fpu/w_fmod.c: New file.
3240         * sysdeps/ia64/fpu/w_fmodf.c: New file.
3241         * sysdeps/ia64/fpu/w_fmodl.c: New file.
3242         * sysdeps/ia64/fpu/w_hypot.c: New file.
3243         * sysdeps/ia64/fpu/w_hypotf.c: New file.
3244         * sysdeps/ia64/fpu/w_hypotl.c: New file.
3245         * sysdeps/ia64/fpu/w_log.c: New file.
3246         * sysdeps/ia64/fpu/w_log10.c: New file.
3247         * sysdeps/ia64/fpu/w_log10f.c: New file.
3248         * sysdeps/ia64/fpu/w_log10l.c: New file.
3249         * sysdeps/ia64/fpu/w_logf.c: New file.
3250         * sysdeps/ia64/fpu/w_logl.c: New file.
3251         * sysdeps/ia64/fpu/w_pow.c: New file.
3252         * sysdeps/ia64/fpu/w_powf.c: New file.
3253         * sysdeps/ia64/fpu/w_powl.c: New file.
3254         * sysdeps/ia64/fpu/w_remainder.c: New file.
3255         * sysdeps/ia64/fpu/w_remainderf.c: New file.
3256         * sysdeps/ia64/fpu/w_remainderl.c: New file.
3257         * sysdeps/ia64/fpu/w_scalb.c: New file.
3258         * sysdeps/ia64/fpu/w_scalbf.c: New file.
3259         * sysdeps/ia64/fpu/w_scalbl.c: New file.
3260         * sysdeps/ia64/fpu/w_sqrt.c: New file.
3261         * sysdeps/ia64/fpu/w_sqrtf.c: New file.
3262         * sysdeps/ia64/fpu/w_sqrtl.c: New file.
3263         * sysdeps/ia64/fpu/libm-test-ulps: Adjust for long double
3264         implementation.
3265         * sysdeps/ia64/fpu/bits/mathdef.h: Correct float_t and double_t types.
3266         Change FP_ILOGBNAN for new implementation.
3267         * Verions.def: Add 2.2.3 versions.
3269 2001-02-18  Ulrich Drepper  <drepper@redhat.com>
3271         * math/libm-test.inc (scalb_test): Require invalid exception being
3272         raised for invalid parameters.
3273         * sysdeps/i386/fpu/e_scalb.S: Raise invalid exception if necessary.
3274         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3275         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3277 2001-02-18  Mark Kettenis  <kettenis@gnu.org>
3279         * sysdeps/mach/getsysstats.c (__get_phys_pages): Change return
3280         value to long int.
3281         (__get_avphys_pages): Likewise.
3283 2001-02-18  Ulrich Drepper  <drepper@redhat.com>
3285         * math/libm-test.inc (pow_test): Correct expected results for x == +-1.
3286         * sysdeps/i386/fpu/e_pow.S: Handle x == +-1 correctly.
3287         * sysdeps/i386/fpu/e_powf.S: Likewise.
3288         * sysdeps/i386/fpu/e_powl.S: Likewise.
3290         * sysdeps/i386/fpu/bits/mathinline.h: Remove pow inline code.
3292 2001-02-17  Ulrich Drepper  <drepper@redhat.com>
3294         * math/Makefile (libm-calls): It's e_exp2 not s_exp2.
3296         * sysdeps/generic/s_exp2l.c: Renamed to...
3297         * sysdeps/generic/e_exp2l.c: ...this.   New file.
3298         * sysdeps/i386/fpu/s_exp2.S: Renamed to...
3299         * sysdeps/i386/fpu/e_exp2.S: ...this.   New file.
3300         * sysdeps/i386/fpu/s_exp2f.S: Renamed to...
3301         * sysdeps/i386/fpu/e_exp2f.S: ...this.   New file.
3302         * sysdeps/i386/fpu/s_exp2l.S: Renamed to...
3303         * sysdeps/i386/fpu/e_exp2l.S: ...this.   New file.
3304         * sysdeps/ieee754/flt-32/s_exp2f.c: Renamed to...
3305         * sysdeps/ieee754/flt-32/e_exp2f.c: ...this.   New file.
3306         * sysdeps/ieee754/dbl-64/s_exp2.c: Renamed to...
3307         * sysdeps/ieee754/dbl-64/e_exp2.c: ...this.   New file.
3308         * sysdeps/m68k/fpu/s_exp2.c: Renamed to...
3309         * sysdeps/m68k/fpu/e_exp2.c: ...this.   New file.
3310         * sysdeps/m68k/fpu/s_exp2f.c: Renamed to...
3311         * sysdeps/m68k/fpu/e_exp2f.c: ...this.   New file.
3312         * sysdeps/m68k/fpu/s_exp2l.c: Renamed to...
3313         * sysdeps/m68k/fpu/e_exp2l.c: ...this.   New file.
3315 2001-02-17  Andreas Jaeger  <aj@suse.de>
3317         * configure.in: Allow gcc 3.
3319 2001-02-16  Ulrich Drepper  <drepper@redhat.com>
3321         * math/w_acos.c: Move to ...
3322         * sysdeps/generic/w_acos.c: ...here.  New file.
3323         * math/w_acosf.c: Move to ...
3324         * sysdeps/generic/w_acosf.c: ...here.  New file.
3325         * math/w_acosh.c: Move to ...
3326         * sysdeps/generic/w_acosh.c: ...here.  New file.
3327         * math/w_acoshf.c: Move to ...
3328         * sysdeps/generic/w_acoshf.c: ...here.  New file.
3329         * math/w_acoshl.c: Move to ...
3330         * sysdeps/generic/w_acoshl.c: ...here.  New file.
3331         * math/w_acosl.c: Move to ...
3332         * sysdeps/generic/w_acosl.c: ...here.  New file.
3333         * math/w_asin.c: Move to ...
3334         * sysdeps/generic/w_asin.c: ...here.  New file.
3335         * math/w_asinf.c: Move to ...
3336         * sysdeps/generic/w_asinf.c: ...here.  New file.
3337         * math/w_asinl.c: Move to ...
3338         * sysdeps/generic/w_asinl.c: ...here.  New file.
3339         * math/w_atan2.c: Move to ...
3340         * sysdeps/generic/w_atan2.c: ...here.  New file.
3341         * math/w_atan2f.c: Move to ...
3342         * sysdeps/generic/w_atan2f.c: ...here.  New file.
3343         * math/w_atan2l.c: Move to ...
3344         * sysdeps/generic/w_atan2l.c: ...here.  New file.
3345         * math/w_atanh.c: Move to ...
3346         * sysdeps/generic/w_atanh.c: ...here.  New file.
3347         * math/w_atanhf.c: Move to ...
3348         * sysdeps/generic/w_atanhf.c: ...here.  New file.
3349         * math/w_atanhl.c: Move to ...
3350         * sysdeps/generic/w_atanhl.c: ...here.  New file.
3351         * math/w_cosh.c: Move to ...
3352         * sysdeps/generic/w_cosh.c: ...here.  New file.
3353         * math/w_coshf.c: Move to ...
3354         * sysdeps/generic/w_coshf.c: ...here.  New file.
3355         * math/w_coshl.c: Move to ...
3356         * sysdeps/generic/w_coshl.c: ...here.  New file.
3357         * math/w_drem.c: Move to ...
3358         * sysdeps/generic/w_drem.c: ...here.  New file.
3359         * math/w_dremf.c: Move to ...
3360         * sysdeps/generic/w_dremf.c: ...here.  New file.
3361         * math/w_dreml.c: Move to ...
3362         * sysdeps/generic/w_dreml.c: ...here.  New file.
3363         * math/w_exp10.c: Move to ...
3364         * sysdeps/generic/w_exp10.c: ...here.  New file.
3365         * math/w_exp10f.c: Move to ...
3366         * sysdeps/generic/w_exp10f.c: ...here.  New file.
3367         * math/w_exp10l.c: Move to ...
3368         * sysdeps/generic/w_exp10l.c: ...here.  New file.
3369         * math/w_exp2.c: Move to ...
3370         * sysdeps/generic/w_exp2.c: ...here.  New file.
3371         * math/w_exp2f.c: Move to ...
3372         * sysdeps/generic/w_exp2f.c: ...here.  New file.
3373         * math/w_exp2l.c: Move to ...
3374         * sysdeps/generic/w_exp2l.c: ...here.  New file.
3375         * math/w_fmod.c: Move to ...
3376         * sysdeps/generic/w_fmod.c: ...here.  New file.
3377         * math/w_fmodf.c: Move to ...
3378         * sysdeps/generic/w_fmodf.c: ...here.  New file.
3379         * math/w_fmodl.c: Move to ...
3380         * sysdeps/generic/w_fmodl.c: ...here.  New file.
3381         * math/w_hypot.c: Move to ...
3382         * sysdeps/generic/w_hypot.c: ...here.  New file.
3383         * math/w_hypotf.c: Move to ...
3384         * sysdeps/generic/w_hypotf.c: ...here.  New file.
3385         * math/w_hypotl.c: Move to ...
3386         * sysdeps/generic/w_hypotl.c: ...here.  New file.
3387         * math/w_j0.c: Move to ...
3388         * sysdeps/generic/w_j0.c: ...here.  New file.
3389         * math/w_j0f.c: Move to ...
3390         * sysdeps/generic/w_j0f.c: ...here.  New file.
3391         * math/w_j0l.c: Move to ...
3392         * sysdeps/generic/w_j0l.c: ...here.  New file.
3393         * math/w_j1.c: Move to ...
3394         * sysdeps/generic/w_j1.c: ...here.  New file.
3395         * math/w_j1f.c: Move to ...
3396         * sysdeps/generic/w_j1f.c: ...here.  New file.
3397         * math/w_j1l.c: Move to ...
3398         * sysdeps/generic/w_j1l.c: ...here.  New file.
3399         * math/w_jn.c: Move to ...
3400         * sysdeps/generic/w_jn.c: ...here.  New file.
3401         * math/w_jnf.c: Move to ...
3402         * sysdeps/generic/w_jnf.c: ...here.  New file.
3403         * math/w_jnl.c: Move to ...
3404         * sysdeps/generic/w_jnl.c: ...here.  New file.
3405         * math/w_lgamma.c: Move to ...
3406         * sysdeps/generic/w_lgamma.c: ...here.  New file.
3407         * math/w_lgammaf.c: Move to ...
3408         * sysdeps/generic/w_lgammaf.c: ...here.  New file.
3409         * math/w_lgammaf_r.c: Move to ...
3410         * sysdeps/generic/w_lgammaf_r.c: ...here.  New file.
3411         * math/w_lgammal.c: Move to ...
3412         * sysdeps/generic/w_lgammal.c: ...here.  New file.
3413         * math/w_lgammal_r.c: Move to ...
3414         * sysdeps/generic/w_lgammal_r.c: ...here.  New file.
3415         * math/w_lgamma_r.c: Move to ...
3416         * sysdeps/generic/w_lgamma_r.c: ...here.  New file.
3417         * math/w_log10.c: Move to ...
3418         * sysdeps/generic/w_log10.c: ...here.  New file.
3419         * math/w_log10f.c: Move to ...
3420         * sysdeps/generic/w_log10f.c: ...here.  New file.
3421         * math/w_log10l.c: Move to ...
3422         * sysdeps/generic/w_log10l.c: ...here.  New file.
3423         * math/w_log.c: Move to ...
3424         * sysdeps/generic/w_log.c: ...here.  New file.
3425         * math/w_logf.c: Move to ...
3426         * sysdeps/generic/w_logf.c: ...here.  New file.
3427         * math/w_logl.c: Move to ...
3428         * sysdeps/generic/w_logl.c: ...here.  New file.
3429         * math/w_pow.c: Move to ...
3430         * sysdeps/generic/w_pow.c: ...here.  New file.
3431         * math/w_powf.c: Move to ...
3432         * sysdeps/generic/w_powf.c: ...here.  New file.
3433         * math/w_powl.c: Move to ...
3434         * sysdeps/generic/w_powl.c: ...here.  New file.
3435         * math/w_remainder.c: Move to ...
3436         * sysdeps/generic/w_remainder.c: ...here.  New file.
3437         * math/w_remainderf.c: Move to ...
3438         * sysdeps/generic/w_remainderf.c: ...here.  New file.
3439         * math/w_remainderl.c: Move to ...
3440         * sysdeps/generic/w_remainderl.c: ...here.  New file.
3441         * math/w_scalb.c: Move to ...
3442         * sysdeps/generic/w_scalb.c: ...here.  New file.
3443         * math/w_scalbf.c: Move to ...
3444         * sysdeps/generic/w_scalbf.c: ...here.  New file.
3445         * math/w_scalbl.c: Move to ...
3446         * sysdeps/generic/w_scalbl.c: ...here.  New file.
3447         * math/w_sinh.c: Move to ...
3448         * sysdeps/generic/w_sinh.c: ...here.  New file.
3449         * math/w_sinhf.c: Move to ...
3450         * sysdeps/generic/w_sinhf.c: ...here.  New file.
3451         * math/w_sinhl.c: Move to ...
3452         * sysdeps/generic/w_sinhl.c: ...here.  New file.
3453         * math/w_sqrtl.c: Move to ...
3454         * sysdeps/generic/w_sqrtl.c: ...here.  New file.
3455         * math/w_tgamma.c: Move to ...
3456         * sysdeps/generic/w_tgamma.c: ...here.  New file.
3457         * math/w_tgammaf.c: Move to ...
3458         * sysdeps/generic/w_tgammaf.c: ...here.  New file.
3459         * math/w_tgammal.c: Move to ...
3460         * sysdeps/generic/w_tgammal.c: ...here.  New file.
3462         * locale/programs/ld-address.c (address_finish): Add 'S' to allow
3463         formats for postal_fmt.
3465 2001-02-16  Jakub Jelinek  <jakub@redhat.com>
3467         * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Add
3468         __ftruncate64 alias.
3469         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (ftruncate):
3470         Likewise.
3472 2001-02-15  David Mosberger  <davidm@hpl.hp.com>
3474         * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): No need to
3475         do "loadrs".  Writing to bspstore already takes care of
3476         invalidating the "clean" partition.
3478 2001-02-16  Andreas Schwab  <schwab@suse.de>
3480         * sysdeps/m68k/fpu/s_nextafterl.c: New file.
3481         * sysdeps/m68k/fpu/s_fpclassifyl.c: New file.
3483 2001-02-15  Jakub Jelinek  <jakub@redhat.com>
3485         * posix/regex.c (init_syntax_once): Add prototype.
3486         (TRANSLATE): If MBS_SUPPORT, translate all characters up to '\xff'.
3487         (re_search_2): Avoid warning.
3488         (count_mbs_length): Add prototype.
3489         * posix/tst-regex3.c: New file.
3490         * posix/Makefile (tests): Add bug-regex3.
3492 2001-02-15  Ulrich Drepper  <drepper@redhat.com>
3494         * stdio-common/Makefile (tests): Add tst-gets.
3495         * stdio-common/tst-gets.c: New file.
3496         * stdio-common/tst-gets.input: New file.
3498         * elf/elf.h (DT_CHECKSUM): Define.
3500         * sysdeps/generic/strtoll.c: Don't export __strto*_internal as
3501         default symbol.
3502         * sysdeps/generic/strtoull.c: Likewise.
3504 2001-02-14  Wolfram Gloger  <wg@malloc.de>
3506         * malloc/malloc.c (new_heap): When allocating large chunk aligned
3507         to HEAP_MAX_SIZE, prefer one with lower address, to avoid `holes'
3508         between the heaps.
3510 2001-02-14  Ulrich Drepper  <drepper@redhat.com>
3512         * math/libm-test.inc (j0_test): Check whether sincos is available.
3513         (j1_test): Likewise.
3514         (jn_test): Likewise.
3515         (y0_test): Likewise.
3516         (y1_test): Likewise.
3517         (yn_test): Likewise.
3519         * posix/tst-gnuglob.c: Make a few entries DT_UNKNOWN and teach
3520         fake filesystem routines to handle this.
3522         * time/sys/time.h: Make settimeofday and adjtime available if
3523         _BSD_SOURCE.
3525         * time/sys/time.h: Make timer* macros available for BSD.
3527         * iconvdata/gb18030.c: Update for Dec 2000 re-release of GB18030.
3528         Patch by Yong Li <rigel863@yahoo.com>.
3530         * sysdeps/generic/glob.c (CONVERT_DIRENT_DIRENT64): Fix copying of
3531         name.
3533         * posix/Makefile (tests): Add tst-gnuglob.
3534         * posix/tst-gnuglob.c: New file.
3536 2001-02-13  H.J. Lu  <hjl@gnu.org>
3538         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __ftruncate64.
3540 2001-02-13  Ulrich Drepper  <drepper@redhat.com>
3542         * locale/programs/ld-paper.c (paper_output): Pretty printing.
3544         * iconvdata/Makefile (modules): Add GBBIG5.
3545         (distribute): Add gbbig5.c.
3546         * iconvdata/gconv-modules: Add entries for GBBIG5 module.
3548         * iconvdata/gbbig5.c: New file.
3549         Contributed by Yong Li <rigel863@yahoo.com>.
3551 2001-02-13  Philip Blundell  <pb@futuretv.com>
3553         * manual/crypt.texi: Remove outdated references to crypt add-on.
3555         * manual/creature.texi: Improve wording slightly.
3557 2001-02-13  Ulrich Drepper  <drepper@redhat.com>
3559         * io/ftw.c: Always use readdir64.
3560         * io/ftw64.c: Likewise.
3561         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3562         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3563         * sysdeps/generic/glob.c: Likewise.  Convert results of gl_readdir
3564         callback to dirent.  Still allow compiling outside glibc.
3565         * sysdeps/gnu/glob64.c: Define COMPILE_GLOB64.
3566         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
3568         * malloc/mtrace.c: Use fopen64.
3569         * posix/spawni.c: Use __open64.
3570         * sysdeps/unix/opendir.c: Likewise.
3571         * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
3573         * sysdeps/generic/ftruncate64.c: Define __ftruncate64 and make old
3574         name a weak alias.
3575         * sysdeps/unix/sysv/aix/ftruncate64.c: Likewise.
3576         * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise.
3577         * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
3578         * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Likewise.
3580         * resolv/res_data.c: Add cast to avoid warning.
3582         * include/unistd.h: Declare __ftruncate64.
3584         * sysdeps/generic/utmp_file.c: Use LFS functions and types.
3586         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use __lseek64
3587         instead of __lseek.
3589 2001-02-13  Andreas Jaeger  <aj@suse.de>
3591         * login/getutent_r.c: Include <stdlib.h> for NULL.
3592         * login/getutid_r.c: Likewise.
3594 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
3596         * sysdeps/dbl-64/e_j0.c: Little optimization, use sincos.
3597         * sysdeps/dbl-64/e_j1.c: Likewise.
3598         * sysdeps/dbl-64/e_jn.c: Likewise.
3599         * sysdeps/flt-32/e_j0f.c: Likewise.
3600         * sysdeps/flt-32/e_j1f.c: Likewise.
3601         * sysdeps/ldbl-96/e_j0l.c: Likewise.
3603 2000-12-02  H.J. Lu  <hjl@gnu.org>
3605         * resolv/res_libc.c (res_init): Don't make it default.
3607 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
3609         * manual/debug.texi: Improved the wording.
3610         Patch by Philip Blundell <pb@futuretv.com>.
3612 2001-02-12  Andreas Jaeger  <aj@suse.de>
3614         * posix/Makefile (tests): Don't run bug-regex2 when
3615         cross-compiling.
3617         * libio/Makefile (tests): Don't run test-freopen when
3618         cross-compiling.
3620         * manual/stdio.texi (Streams and I18N): Fix typos.
3622 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
3624         * sysdeps/i386/fpu/libm-test-ulps: Adjust for errors in y0l.
3626         * math/libm-test.inc (j0_test): Make expected results long double
3627         constants.
3628         (y0_test): Likewise.
3630         * sysdeps/ieee754/ldbl-96/e_j0l.c: New file.
3631         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
3633 2001-02-11  Jakub Jelinek  <jakub@redhat.com>
3635         * sysdeps/generic/strtoll.c (__strtoq_internal): Ressurect alias
3636         which was exported from libc.
3637         * sysdeps/generic/strtoull.c (__strtouq_internal): Likewise.
3639 2001-02-12  Andreas Jaeger  <aj@suse.de>
3641         * manual/arith.texi (Parsing of Integers): Fix some wordings.
3643 2001-02-11  Ulrich Drepper  <drepper@redhat.com>
3645         * sysdeps/generic/getsysstat.c: Change return value of get_phys_pages
3646         and get_avphys_page to long int.
3647         * sysdeps/unix/sysv/linux/getsysstat.c: Likewise.
3648         * include/sys/sysinfo.h: Likewise.
3649         * sysdeps/generic/sys/sysinfo.h: Likewise.
3650         * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
3652         * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Fail if we
3653         cannot return as many values as the user asked for.
3655 2001-02-11  Andreas Jaeger  <aj@suse.de>
3657         * manual/resource.texi (Memory Resources): Fix typo.
3659         * libio/Makefile ($(objpfx)test-freopen.out): Pass
3660         run-program-prefix.
3662         * libio/test-freopen.sh: Use run_program_prefix.
3664 2001-02-10  Andreas Jaeger  <aj@suse.de>
3666         * stdlib/Makefile (tests): Don't run tst-fmtmsg when
3667         cross-compiling.
3668         ($(objpfx)tst-fmtmsg.out): Pass run-program-prefix.
3670         * stdlib/tst-fmtmsg.sh (test): Use run_program_prefix for static
3671         only builds.
3673         * elf/Makefile (tests): Only run tst-pathopt with shared libs.
3675         * posix/Makefile: Fix typo, it's build-static-nss.
3677         * iconv/Makefile (extra-objs): New.
3679 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
3681         * sysdeps/unix/stime.c: Include <time.h>.
3683         * sysdeps/mach/hurd/setitimer.c: Include <time.h>.
3685 2001-02-10  Andreas Jaeger  <aj@suse.de>
3687         * manual/string.texi (Search Functions): Fix typo.
3689 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
3691         * sysdeps/unix/bsd/times.c: Reorder includes and add <time.h>.
3692         (timeval_to_clock_t): Add clk_tck argument and use that instead of
3693         CLK_TCK.
3694         (__times): Use __getclktck to get the number of clock ticks per
3695         second and use its return value instead of CLK_TCK.
3697 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
3699         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (_HAVE_SA_LEN): Define.
3701 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
3703         * sysdeps/mach/gettimeofday.c: Include <stddef.h>.
3705 2001-02-10  Andreas Jaeger  <aj@suse.de>
3707         * wctype/wcfuncs.c (func): Add prototype declarations to avoid
3708         warning.
3710 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
3712         * posix/Makefile: Add rules to build and run bug-regex2.
3713         * posix/bug-regex2.c: New file.
3715 2001-02-10  Jakub Jelinek  <jakub@redhat.com>
3717         * posix/regex.c (convert_mbs_to_wcs): Change is_binary to char *.
3718         (regex_compile): Likewise.
3719         (FREE_VARIABLES): Don't free is_binary1 and is_binary2.
3720         (re_match_2_internal): Use just is_binary instead of two variables.
3721         Use REGEX_TALLOC to allocate it and FREE_VAR to free on failure.
3723 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
3725         * version.h (VERSION): Bump to 2.2.2.
3727         * iconv/Makefile (distribute): Add iconv_charmap.c and
3728         dummy-repertoire.c.
3729         * elf/Makefile (distribute): Add firstobj.c.
3730         * Makefile (distribute): Add include/pthread.h.
3732         * configure.in: Require makeinfo version 4.
3734         * libio/tst_wscanf.c (main): Add cast to avoid warning.
3735         * libio/tst_swscanf.c (main): Likewise..
3737 2001-02-09  Jakub Jelinek  <jakub@redhat.com>
3739         * sysdeps/generic/setenv.c (unsetenv): Remove const from len.
3740         * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, fdim): Don't define if
3741         __NO_MATH_INLINES.
3742         * sysdeps/i386/dl-machine.h (elf_machine_rel): Only declare refsym
3743         if not RTLD_BOOTSTRAP.
3744         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
3745         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
3747 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
3749         * locale/programs/linereader.c (get_ident): Stop loop if EOF.  Use
3750         lr_ungetc to push back last read character.
3751         * locale/programs/linereader.h (lr_ungetc): Don't push back is
3752         character is EOF.
3753         (lr_ignore_rest): Don't warn about garbage if it is really the end
3754         of the file.
3756         * manual/Makefile: Use ifnottext and not ifinfo to protect Top node
3757         definition.
3759 2001-02-08  Ulrich Drepper  <drepper@redhat.com>
3761         * Makerules (build-shlib): Work around different order of
3762         processing of -B option in different gcc versions.
3764         * posix/regex.c: Fix alignment problem.
3765         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
3767         * sysdeps/alpha/strrchr.S: Little optimization.
3768         Patch by Richard Henderson <rth@redhat.com>.
3770         * sysdeps/alpha/alphaev67/strrchr.S: New file.
3771         Contributed by Rick Gorton <rick.gorton@alpha-processor.com>.
3773 2001-02-08  kaz Kojima  <kkojima@rr.iij4u.or.jp>
3775         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Correct function name
3776         in the assembler end directive.
3778 2001-02-08  Andreas Jaeger  <aj@suse.de>
3780         * manual/stdio.texi (Closing Streams): Fix typos.
3782 2001-02-07  Ulrich Drepper  <drepper@redhat.com>
3784         * sysdeps/alpha/alphaev67/strncat.S: Align last write address.
3785         Patch by Richard Henderson <rth@redhat.com>.
3786         Reported by Claus-Justus Heine <heine@instmath.rwth-aachen.de>.
3788         * stdlib/strfmon.c [USE_IN_LIBIO]: Define lock variable and store
3789         pointer in FILE structure before calling _IO_init.
3790         * stdlib/Makefile: Add -D_IO_MTSAFE_IO to CFLAGS for strfmon and
3791         strfmon_l if necessary.
3792         Reported by Jury Gerold <gjury@grips.com>.
3794         * sysdeps/gnu/netinet/tcp.h: Correct values of TCP_ macros.
3795         Patch by Pekka.Pietikainen@cern.ch.
3797         * posix/regex.c: Correct several problems with 64-bit architectures
3798         introduced in the MBS changes.
3799         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
3801 2001-02-07  Jakub Jelinek  <jakub@redhat.com>
3803         * math/tgmath.h: Only add l suffixes if __NO_LONG_DOUBLE_MATH is
3804         not defined.
3805         * sysdeps/alpha/fpu/bits/mathinline.h: Honour __NO_MATH_INLINES.
3807 2001-02-07  Andreas Jaeger  <aj@suse.de>
3809         * manual/install.texi (Tools for Compilation): Fix typo.
3810         Reported by Pavel Machek <pavel@bug.ucw.cz>.
3812 2001-02-07  Ulrich Drepper  <drepper@redhat.com>
3814         * stdlib/strtod.c: Never stop prematurely reading digits before the
3815         decimal point is found.  Compute exponent limit for negative exponents
3816         correctly.  For numbers ending in all zeros eat the zeros even before
3817         the decimal point if the exponent is negative [PR libc/2072].
3818         * stdlib/Makefile (tests): Add bug-strtod.
3819         * stdlib/bug-strtod.c: New file.
3821 2001-02-07  Andreas Jaeger  <aj@suse.de>
3823         * posix/bug-regex1.c: Include <wchar.h> for fwide.
3825 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
3827         * posix/regex.c (regex_compile): Don't store pointer in wchar_t array.
3828         Store index.
3829         (compile_range): Handle index being passed, not pointer.
3830         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
3832         * posix/regex.c: Fix a cast in the code for bracket handling which
3833         caused 8-bit uncleanliness.
3834         Patch by Michal Jaegermann <michal@ellpspace.math.ualberta.ca>.
3836         * posix/Makefile (tests): Add bug-regex1.
3837         * posix/bug-regex1.c: New file.
3838         Contributed by Jim Meyering <jim@meyering.net>.
3840         * posix/regex.c: Many cleanups for incorrect format strings.
3842 2001-02-06  Andreas Jaeger  <aj@suse.de>
3844         * time/time.h (CLK_TCK): Check for !__STRICT_ANSI.
3846 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
3848         * locale/programs/locale.c (write_locales): Use scandir to read
3849         directory so that the entries are sorted.
3851 2001-02-06  Andreas Jaeger  <aj@suse.de>
3853         * include/pthread.h: New file.
3855         * wctype/wctype.h: Move internal interfaces from here to...
3856         * include/wctype.h: ...here.
3858         * wcsmbs/wchar.h: Move __wcslen from here to...
3859         * include/wchar.h: ...here.
3861         * posix/sys/wait.h: Move __wait from here to...
3862         * include/sys/wait.h: ...here.
3864         * string/string.h: Move __ffs and __strerror_r from here to...
3865         * include/string.h: ...here.
3867         * stdlib/stdlib.h: Move __on_exit from here to...
3868         * include/stdlib.h: ...here.
3870         * libio/stdio.h: Move __vsnprintf from here to...
3871         * include/stdio.h: ...here.
3873 2001-02-06  Andreas Schwab  <schwab@suse.de>
3875         * sysdeps/unix/sysv/linux/ia64/ioperm.c: Don't include kernel
3876         headers.
3878         * timezone/Makefile: Don't assume that $(inst_zonedir) is a subdir
3879         of $(inst_datadir).
3881 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
3883         * iconvdata/Makefile: Add dependency for bug-iconv2.out.
3885 2001-02-06  Andreas Jaeger  <aj@suse.de>
3887         * elf/firstobj.c: Add prototype.
3889         * posix/regex.c (convert_mbs_to_wcs): Make static, add prototype
3890         (truncate_wchar): Likewise.
3892 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
3894         * locale/programs/locale.c: Implement --verbose option for -a
3895         which prints detailed information about the locales.
3897 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
3899         * sunrpc/xdr_rec.c (set_input_fragment): Change type of header
3900         variable to uint32_t.
3901         Reported by Ulrich Weigand <weigand@immd1.informatik.uni-erlangen.de>.
3903 2001-02-04  Bruno Haible  <haible@clisp.cons.org>
3905         * locale/C-translit.h.in: Add transliterations for CJK units of
3906         measurement.
3908 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
3910         * elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf
3911         string.  Include <inttypes.h> instead of <stdint.h>.
3913         * localedata/Makefile (tests): Add bug-iconv-trans.
3914         Define bug-iconv-trans-ENV.
3915         * localedata/bug-iconv-trans.c: New file.
3917 2001-02-04  Bruno Haible  <haible@clisp.cons.org>
3919         * iconv/gconv_trans.c (__gconv_transliterate): Use a temporary output
3920         pointer, to avoid accumulating output from incomplete (unsuccessful)
3921         transliteration attempts.
3923 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
3925         * elf/ldconfig.c (search_dir): Use PRIx64 instead of Lx in printf
3926         string.  Include <inttypes.h> instead of <stdint.h>.
3928         * configure.in: Add check for bison.
3929         * config.make.in: Define BISON variable.
3930         * intl/Makefile: Use BISON instead of YACC when generating plural.c.
3931         Rename YFLAGS to BISONFLAGS.
3933 2001-02-05  Andreas Jaeger  <aj@suse.de>
3935         * io/test-lfs.c (do_test): Test lseek64 return value, call
3936         test_ftello.
3937         (test_ftello): New function to test ftello64 and fseeko64.
3939         * signal/signal.h: Move __sigaction from here to...
3940         * include/signal.h: ...here.
3942         * io/fcntl.h: Move __fcntl and __open to...
3943         * include/fcntl.h: ...here.
3945 2001-02-04  Philip Blundell  <philb@gnu.org>
3947         * configure.in: Distinguish ARM from Thumb.
3949 2001-02-04  Philip Blundell  <philb@gnu.org>
3951         * sysdeps/arm/dl-machine.h (elf_machine_rel): Correct handling of
3952         PC24 relocs with negative value.
3954 2001-02-04  Ulrich Drepper  <drepper@redhat.com>
3956         * iconv/Makefile (iconv_prog-modules): Define.  Add vpath to find
3957         files in locale/programs.  Add CFLAGS definition to allow compiling
3958         localedef files.
3959         * iconv/dummy-repertoire.c: New file.
3960         * iconv/iconv_charmap.c: New file.
3961         * iconv/iconv_prog.h: New file.
3962         * iconv/iconv_prog.c: Make verbose and omit_invalid global.
3963         (main): If parameter for -f and -t contain slashes try first to resolve
3964         the strings as filenames of charmap files.  Use them for conversion
3965         in this case.
3966         * iconvdata/run-iconv-test.sh: If charmaps exist also run tests with
3967         iconv getting charmap names as parameters.
3968         * locale/programs/linereader.c (lr_token): Take extra parameters
3969         verbose and pass it to get_string.
3970         (get_string): Take extra parameters verbose.
3971         * locale/programs/charmap.c (parse_charmap): Take extra parameters
3972         verbose and be_quiet.  Change all callers of lr_token and
3973         parse_charmap.
3974         * locale/programs/charmap.h: Likewise.
3975         * locale/programs/ld-address.c: Likewise.
3976         * locale/programs/ld-collate.c: Likewise.
3977         * locale/programs/ld-ctype.c: Likewise.
3978         * locale/programs/ld-identification.c: Likewise.
3979         * locale/programs/ld-measurement.c: Likewise.
3980         * locale/programs/ld-messages.c: Likewise.
3981         * locale/programs/ld-monetary.c: Likewise.
3982         * locale/programs/ld-name.c: Likewise.
3983         * locale/programs/ld-numeric.c: Likewise.
3984         * locale/programs/ld-paper.c: Likewise.
3985         * locale/programs/ld-telephone.c: Likewise.
3986         * locale/programs/ld-time.c: Likewise.
3987         * locale/programs/linereader.c: Likewise.
3988         * locale/programs/linereader.h: Likewise.
3989         * locale/programs/localedef.c: Likewise.
3990         * locale/programs/locfile.c: Likewise.
3991         * locale/programs/locfile.h: Likewise.
3992         * locale/programs/repertoire.c: Likewise.
3994 2001-02-03  Ulrich Drepper  <drepper@redhat.com>
3996         * iconv/iconv_prog.c (main): If output file name is "-" write to
3997         stdout.
3998         (main): If -f or -t argument is missing use charset of the current
3999         locale.
4001 2001-02-03  Andreas Jaeger  <aj@suse.de>
4003         * sysdeps/i386/elf/start.S (_start): Align stack to 16-byte
4004         boundary for SSE/SSE-2 alignment.
4006         * posix/Makefile ($(objpfx)annexc.out): Also pass sysincludes to
4007         annexc.
4009 2001-02-03  Ulrich Drepper  <drepper@redhat.com>
4011         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: File was using crlf.
4012         Remove comma at end of enum.
4014         * elf/dl-init.c: Add a few __builtin_expect.
4016         * hesiod/hesiod.c: Remove unnecessary code.  Remove all uses of strcat.
4018 2001-02-02  Ulrich Drepper  <drepper@redhat.com>
4020         * hesiod/hesiod.c (hesiod_resolve): Also search HS records if
4021         errno is ECONNREFUSED.
4023         * posix/Makefile: Define MBS_SUPPORT for regex.c.
4024         * posix/regex.c: Implement multibyte character handling.
4025         Patch by Isamu Hasegawa <isamu@yamato.ibm.co.jp>.
4027         * string/tst-svc.input: Add two more test cases.
4028         * string/tst-svc.expect: Modify to reflect new test cases.
4030 2001-02-01  Jakub Jelinek  <jakub@redhat.com>
4032         * sysdeps/posix/getaddrinfo.c (gaih_local, gaih_inet): Replace all
4033         tp->name tests with tp->name[0] tests.
4035 2001-01-29  Ben Collins  <bcollins@debian.org>
4037         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r):
4038         Fix check for name == NULL.
4040 2001-02-01  Ulrich Drepper  <drepper@redhat.com>
4042         * elf/Makefile: Add rules to build and run initfirst test.
4043         * elf/initfirst.c: New file.
4044         * elf/firstobj.c: New file.
4046         * Makerules (build-shlib): Add $(extra-B-$(@F:lib%.so=%).so).
4047         * configure.in: Test for -z initfirst linker option.
4048         * config.make.in: Add have-z-initfirst.
4049         * elf/dl-init.c (_dl_init): Split out actual initialization code in
4050         new function call_init.  If _dl_initfirst is non-NULL initialize first.
4051         * elf/dl-load.c (_dl_map_from_fd): If DF_1_INITFIRST flag is set
4052         remember object in _dl_initfirst.
4053         * elf/soinit.c: Remove special support for calling
4054         __pthread_initialize_minimal.
4056         * conform/conformtest.pl: Add missing $prepend in type test.
4058 2001-01-31  Ulrich Drepper  <drepper@redhat.com>
4060         * elf/elf.h (SHT_CHECKSUM): New definition.
4062         * posix/fnmatch_loop.c: Remove incorrect reverse condition in
4063         [. .] matching.  Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
4064         * posix/tst-fnmatch.input: Add tests for [. .] in locales.
4066 2001-01-31  Mark Kettenis  <kettenis@gnu.org>
4068         * misc/sys/select.h: Include <bits/time.h> instead of <sys/time.h>
4069         to get definition of `struct timeval'.
4071 2001-01-31  Ulrich Drepper  <drepper@redhat.com>
4073         * posix/tst-fnmatch.input: Add test cases for de_DE.UTF-8 locale.
4074         * posix/fnmatch_loop.c: Fix handling of [= =] for multibyte charsets.
4076 2001-01-30  Ulrich Drepper  <drepper@redhat.com>
4078         * iconv/gconv_open.c (__gconv_open): Set conv_flags if IGNORE is
4079         seen, not flags.
4081         * nis/nis_findserv.c: Include <time.h>.
4083 2001-01-30  Yong Li  <yong.li@asu.edu>
4085         * iconv/iconv_prog.c (main): Correct error handling method name.
4087 2001-01-29  Ben Collins  <bcollins@debian.org>
4089         * sysdeps/sparc/fpu/fraiseexcpt.c: Include <float.h>.
4090         * sysdeps/hppa/fpu/fraiseexcpt.c: Likewise.
4091         * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
4092         * sysdeps/s390/fpu/fraiseexcpt.c: Likewise.
4094 2001-01-30  Ulrich Drepper  <drepper@redhat.com>
4096         * locale/programs/ld-measurement.c (measurement_finish): Fix a typo.
4097         Patch by Marko Myllynen <myllynen@lut.fi>.
4099         * string/bits/string2.h (__strpbrk_c2): Correct parameter types
4100         (int instead of char).
4101         (__strpbrk_c3): Likewise.
4102         Reported by GOTO Masanori <gotom@debian.or.jp>.
4104         * sysdeps/generic/bits/sockaddr.h: Remove SA_LEN macro.
4105         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Likewise.
4106         * include/sys/socket.h: Add SA_LEN here for internal use.
4107         Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
4109 2001-01-29  Ulrich Drepper  <drepper@redhat.com>
4111         * malloc/Makefile: Don't build memusagestat if cross-compiling.
4113         * sysdeps/generic/dl-sysdep.c (set_seen): Fix typo.
4115         * math/libm-test.inc (rint_test): Add a few more tests for round
4116         to even rounding.
4118 2001-01-28  Ulrich Drepper  <drepper@redhat.com>
4120         * conform/data/pthread.h-data: Correct return type of pthread_exit.
4122         * conform/conformtest.pl: Add -fno-builtin to CFLAGS.
4124         * conform/data/stdlib.h-data: Add _Exit.
4126         * inet/arpa/inet.h: Don't include <sys/types.h>.  Define socklen_t
4127         if not already happened.
4128         * inet/netinet/in.h: Don't include <sys/types.h>, use <bits/types.h>.
4129         Don't include <limits.h> and <bits/sockaddr.h>.
4131         * conform/data/netinet/in.h-data: Allow all of <inttypes.h>.
4133         * conform/data/spawn.h-data: Allow all of <sched.h>.
4135         * sysdeps/ia64/fpu/fraiseexcpt.c: Include <float.h>.  Removed
4136         unused variable.
4138         * sunrpc/xdr_rec.c (xdrrec_getpos): Add cast to long to avoid warning.
4139         * sunrpc/xdr_sizeof.c (x_inline): Likewise.
4141         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include <float.h>.
4143         * conform/conformtest.pl: Define $mustprepend{"stdio.h"}.
4144         * libio/stdio.h: Define va_list correctly.
4146         * conform/data/pthread.h-data: Make priority protocol related
4147         functions optional.  Fix typos.
4149         * posix/sched.h: Define sched_priority as __sched_priority.
4150         * sysdeps/generic/bits/sched.h (struct sched_param): Rename element
4151         to __sched_priority.
4152         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4154 2001-01-27  Ulrich Drepper  <drepper@redhat.com>
4156         * sysdeps/generic/clock_getcpuclockid.c: Include <time.h> instead
4157         of <sys/time.h>.
4159         * sysdeps/unix/stime.c: Include <stddef.h> for NULL.
4160         * sysdeps/unix/time.c: Likewise.
4162         * conform/data/time.h-data: CLK_TCK is not in XPG6.  Fix tzname entry.
4163         * sysdeps/mach/hurd/bits/time.h: Don't define CLK_TCK for XPG6.
4164         * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
4165         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
4166         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
4167         * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
4168         * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
4169         * time/time.h: Likewise.
4171         * conform/conformtest.pl (@headers): Add complex.h and tgmath.h.
4172         * conform/data/complex.h-data: New file.
4173         * conform/data/tgmath.h-data: New file.
4175         * conform/data/wchar.h-data: Add missing functions.
4177         * sysdeps/gnu/bits/utmpx.h: Define RUN_LVL only if __USE_GNU.
4179         * conform/data/termios.h-data: Add missing const in tcsetattr()
4180         prototype.
4182         * posix/sys/wait.h: Include <signal.h> and <sys/resource.h>.
4183         Don't define pid_t here.
4185         * conform/data/sys/utsname.h-data: Don't provide fixed array sizes.
4187         * conform/data/sys/time.h-data: Allow sys/select.h.
4188         * conform/data/sys/un.h-data: Fix typo.
4189         * time/sys/time.h: Don't include all of <time.h>, just struct timeval.
4190         * sysdeps/posix/clock_getres.c: Include <time.h> instead of
4191         <sys/time.h>.
4192         * sysdeps/unix/clock_nanosleep.c: Likewise.
4193         * sysdeps/unix/i386/clock_getcpuclockid.c: Likewise.
4194         * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
4195         * sysdeps/unix/clock_gettime.c: Also include <time.h>.
4196         * sysdeps/unix/clock_settime.c: Likewise.
4198         * sysdeps/generic/pselect.c: Include <stddef.h> for NULL.
4199         * login/getutent.c: Likewise.
4200         * login/getutid.c: Likewise.
4201         * login/getutline.c: Likewise.
4203         * socket/sys/un.h: Define SUN_LEN only if __USE_MISC.
4205         * sysdeps/unix/sysv/linux/bits/statvfs.h: Change type of f_fsid field
4206         to unsigned long.  Add __f_unused.  Define _STATVFSBUF_F_UNUSED.
4207         * sysdeps/unix/sysv/linux/internal_statvfs.c: Adjust initialization of
4208         f_fsid field after change in struct statvfs.
4209         * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: New file.
4210         * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: New file.
4211         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: New file.
4213         * conform/data/sys/stat.h-data: Remove isfdtype.  Use
4214         optional-macro.
4216         * conform/data/sys/socket.h-data: Fix typos.  Correct getsockopt,
4217         recvfrom, send, and socketpair prototypes.  Add allow lines.
4218         * socket/sys/socket.h: Include <sys/uio.h>.
4219         Don't use fancy __SOCKADDR_ARG definition unless __USE_GNU.
4220         Fix type of second parameter of listen.
4221         Don't declare isfdtype unless __USE_MISC.
4222         * sysdeps/generic/listen.c: Fix type of second parameter of listen.
4223         * sysdeps/mach/hurd/listen.c: Likewise.
4224         * sysdeps/generic/bits/socket.h (struct sockaddr_storage): Define
4225         ss_family and __ss_family.
4226         * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
4227         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4228         (struct msghdr): Change type of msg_iovlen to int and type of
4229         msg_controllen to socklen_t.
4230         * sysdeps/unix/sysv/linux/alpha/bits/socket.h: New file.
4231         * sysdeps/unix/sysv/linux/ia64/bits/socket.h: New file.
4232         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: New file.
4233         * inet/rcmd.c (rcmd_af): __ss_family is now ss_family.
4234         (rresvport_af): Likewise.
4236         * conform/data/sys/shm.h-data: SHMLBA is not required to by a constant.
4237         * conform/conformtest.pl: Implement handling of symbol.
4239         * signal/signal.h: Fix handling of __need_* symbols.
4240         * misc/sys/select.c: Define fd_set here.  Remove __fd_set.  Define
4241         fd_mask only if __USE_MISC.  Declare pselect for __USE_XOPEN2K.
4242         * include/sys/select.h: Use fd_set not __fd_set.
4243         * sysdeps/generic/bits/select.h: Likewise.
4244         * sysdeps/i386/bits/select.h: Likewise.
4245         * sysdeps/generic/bits/types.h: Don't define __fd_mask, __NFDBITS,
4246         __FDELT, __FDMASK, and __fd_set here.
4247         * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
4248         * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
4249         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
4250         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
4251         * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
4252         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
4253         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
4254         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
4255         * time/sys/time.h: Define struct timeval before including <time.h>
4256         and <sys/select.h>.
4258         * conform/data/sys/time.h-data: fd_set is a typedef.
4259         * conform/data/sys/select.h-data: New file.
4260         * conform/data/sys/mman.h-data: Make typed mem stuff optional.
4261         * conform/conformtest.pl (@headers): Add sys/select.h.
4262         (type, optional-type): Unless testing a typedef instantiate object.
4263         Implement optional-function.
4265         * math/test-misc.c: Include <float.h>.
4267 2001-01-27  Andreas Jaeger  <aj@suse.de>
4269         * misc/efgcvt_r.c: Include <float.h>.
4271 2001-01-26  Ulrich Drepper  <drepper@redhat.com>
4273         * conform/data/stdlib.h-data: Account for XPG6 changes.
4274         * stdlib/stdlib.h (__random): Change return value type to long.
4275         (posix_memalign): Cleanup parameter names.
4276         (setenv, unsetenv): Make available for __USE_XOPEN2K.
4277         Change return type of unsetenv to int.
4278         (qecvt, qgcvt, qfcvt): Declare only if __USE_MISC.
4279         * include/stdlib.h: Change return type of unsetenv to int.
4280         Change return type of random to long int.
4281         * sysdeps/generic/setenv.c (unsetenv): Change return type to int.
4282         Return -1 and set errno if parameter is invalid.
4283         * stdlib/random.c (__random): Change return value type to long.
4285         * conform/data/stdio.h-data: Account for changes in XPG6.
4287         * conform/data/spawn.h-data: Correct posix_spawnattr_setflags
4288         prototype.
4290         * conform/conformtest.pl: Define $mustprepend{"signal.h"}.
4291         * conform/data/signal.h-data: Fix sigev_notify_function entry.
4292         Fix typo (SIGVALRM -> SIGVTALRM).
4293         * sysdeps/unix/sysv/linux/bits/siginfo.h: Define sigev_notify_attr
4294         with real type.
4295         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
4296         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
4297         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
4298         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4299         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
4301         * conform/conformtest.pl: Implement optional-element.  Define
4302         $mustprepend{"sched.h"}.
4303         * conform/data/sched.h-data: Make sporadic scheduler definitions
4304         optional.
4306         * pwd/pwd.h: Don't define getpwent_r for XPG.
4308         * io/sys/poll.h: Define nfds_t and use it in poll prototype.
4309         * sysdeps/generic/poll.c: Use nfds_t type in function definition.
4310         * sysdeps/mach/hurd/poll.c: Likewise.
4311         * sysdeps/unix/bsd/poll.c: Likewise.
4312         * sysdeps/unix/sysv/linux/poll.c: Likewise.
4313         * sysdeps/unix/sysv/aix/poll.c: Likewise.
4314         * sysdeps/generic/bits/poll.h: Define NPOLLFILE only if __USE_MISC.
4315         * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
4316         * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
4317         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
4318         * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
4319         * conform/data/poll.h-data: Fix typo in poll prototype.
4321         * sysdeps/gnu/netinet/tcp.h: Define everything but TCP_ macros
4322         only if __USE_MISC.
4323         * conform/data/netinet/tcp.h-data: Reserved prefix TCP_.
4325         * sysdeps/gnu/net/if.h: Cleanup namespace.  Define IF_NAMESIZE.
4327         * inet/netinet/in.h: Make IPPROTO_ constants also macros.
4329         * conform/conformtest.pl: Implement optional-type.
4331         * resolv/netdb.h: Include <netinet/in.h> not <sys/socket.h>.  Include
4332         <rpc/netdb.h> only if __USE_MISC.  Include <stdint.h> instead of
4333         defining uint32_t here.  Define IPPORT_RESERVED.
4334         (struct hostent): Type of h_length element is int.
4335         (getnameinfo): Type of flags parameter is unsigned int.
4336         * inet/getnameinfo.c (getnameinfo): flags argument is unsigned.
4337         * conform/data/netdb.h-data: Add many missing definitions.
4339         * conform/conformtest.pl: Implement optional-macro.
4340         * conform/data/math.h-data: Update for XPG6.
4342         * math/math.h (HUGE): Define as FLT_MAX value but don't use
4343         FLT_MAX.  Don't include <float.h>.
4344         (MAXFLOAT): Likewise.
4346         * math/math.h: Define MATH_ERRNO and MATH_ERREXCEPT.
4348         * include/bits/xopen_lim.h: Don't define FOPEN_MAX here.
4350         * conform/data/limits.h-data: Mark constants as optional wherever
4351         appropriate.
4353         * posix/bits/posix2_lim.h: Set correct values for
4354         _POSIX2_COLL_WEIGHTS_MAX and _POSIX2_CHARCLASS_NAME_MAX.  Remove
4355         EQUIV_CLASS_MAX.
4357         * posix/bits/posix1_lim.h: Define _POSIX_TZNAME_MAX as 6.
4358         Required by POSIX.
4360         * intl/loadmsgcat.c: Include <locale.h.> for _LIBC.
4362         * conform/data/netinet/in.h-data: Add reserved prefixes.
4364         * conform/data/arpa/inet.h-data: Fix a few typos.
4366 2001-01-26  Andreas Jaeger  <aj@suse.de>
4368         * sysdeps/generic/strtol.c: Include <locale.h>
4369         * stdlib/strtod.c: Likewise
4370         * stdlib/strfmon.c: Likewise.
4371         * string/strcoll.c: Likewise.
4372         * string/strxfrm.c: Likewise.
4373         * wctype/wcfuncs_l.c: Likewise.
4374         * wctype/wctype_l.c: Likewise.
4375         * wctype/wctrans_l.c: Likewise.
4377         * include/bits/locale.h: New file.
4379 2001-01-26  Ulrich Drepper  <drepper@redhat.com>
4381         * locale/langinfo.h: Correct logic in #ifs when defining YESSTR
4382         and NOSTR.
4384         * locale/Makefile (headers): Add bits/locale.h.
4385         * locale/langinfo.h: Don't include <locale.h>.  Include <bits/locale.h>
4386         and use __LC_ constants instead of LC_.
4387         * locale/locale.h: Include <bits/locale.h> and define LC_ constants
4388         using __LC_ constants.
4389         * locale/bits/locale.h: New file.
4390         * locale/loadlocale.c: Include <locale.h>.
4391         * locale/nl_langinfo.h: Likewise.
4393         * posix/glob.h: Cleanup namespace for non-_GNU_SOURCE case.
4395         * io/sys/stat.h: Define S_IFSOCK for XPG6.
4397         * conform/data/fcntl.h-data: posix_madvise is not expected here.
4399         * conform/conformtest.pl: Fix handling of macro-str.
4401         * conform/data/inttypes.h-data: Add missing definition and all of
4402         stdint.h-data.
4404         * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Bump to 20.
4406 2001-01-25  Ulrich Drepper  <drepper@redhat.com>
4408         * conform/conformtest.pl (@headers): Add stdint.h.
4409         * conform/data/stdint.h-data: New file.
4411         * conform/conformtest.pl: Recognize options --headers and
4412         --dialect.  Add dialect-specific CFLAGS.
4414         * conform/conformtest.pl: Implement handling of recursive
4415         allow-header.
4417         * conform/data/locale.h-data: Add new struct lconv members.
4419         * posix/wordexp.h: Correct definition of wordexp_t.
4420         * posix/wordexp.c: Moved to ...
4421         * sysdeps/generic/wordexp.c: ...here.  New file.
4422         * sysdeps/unix/sysv/linux/alpha/wordexp.c: New file.
4423         * sysdeps/unix/sysv/linux/ia64/wordexp.c: New file.
4424         * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: New file.
4425         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.2.2): Add
4426         wordexp.
4427         * sysdeps/unix/sysv/linux/ia64/Versions: Likewise.
4428         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
4430         * math/tgmath.h: Pretty printing.
4432         * math/Makefile (tests): Add test-tgmath.
4433         (CFLAGS-test-tgmath.c): New variable.
4434         * math/test-tgmath.c: New file.  Contributed by Jakub Jelinek.
4436         * conform/conformtest.pl: Handle allow-header in secondary headers
4437         correctly.
4439         * conform/data/fcntl.h-data: Mark symbols introduced in XPG6 with
4440         #ifdef.
4442         * conform/data/netinet/in.h-data: Use correct comment character.
4443         * conform/data/sys/stat.h-data: Likewise.
4445 2001-01-25  Jakub Jelinek  <jakub@redhat.com>
4447         * math/tgmath.h (__TGMATH_BINARY_FIRST_REAL_ONLY,
4448         __TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY,
4449         __TGMATH_TERNARY_REAL_ONLY): Use proper arguments to
4450         __builtin_classify_type, add ##f suffixes where appropriate.
4451         (__TGMATH_UNARY_REAL_IMAG): Remove extraneous left parenthesis.
4452         (__TGMATH_BINARY_REAL_IMAG): Likewise, use proper arguments to
4453         __builtin_classify_type.
4454         (fma): Fix spelling of first argument.
4456 2001-01-25  Ulrich Drepper  <drepper@redhat.com>
4458         * conform/data/unistd.h-data: Mark functions removed in XPG6
4459         correctly.
4461         * posix/unistd.h: Don't make functions removed in XPG6 available if
4462         __USE_XOPEN2K.
4464         * conform/conformtest.pl: Implement optional-constant.
4465         * conform/data/unistd.h-data: Use optional-constant wherever
4466         appropriate.
4468         * sysdeps/generic/bits/confname.h: Correct names of _SC_PBS
4469         constants and add _SC_STREAMS.
4470         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
4472         * sysdeps/unix/sysv/linux/statvfs64.c: Rename to __statvfs64 and
4473         make old name weak alias.
4474         * sysdeps/generic/statvfs64.c: Likewise.
4475         * sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and
4476         make old name weak alias.
4477         * sysdeps/generic/fstatvfs64.c: Likewise.
4478         * include/sys/statvfs.h: New file.
4480         * sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE,
4481         _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and
4482         _PC_REC_XFER_ALIGN.
4483         * sysdeps/posix/pathconf.c (__pathconf): Implement handling of
4484         _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
4485         _PC_REC_MIN_XFER_SIZE, and _PC_REC_XFER_ALIGN.
4486         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
4488         * conform/conformtest.pl: Run Unix tests for XPG6.
4489         Implement handling of known namespace violations.
4490         Improve printing of results.
4492         * posix/unistd.h (usleep): Correct return type.
4493         * sysdeps/unix/sysv/linux/usleep.c: Correct return type.
4494         * sysdeps/unix/bsd/usleep.c: Correct return type.
4495         * sysdeps/mach/usleep.c: Correct return type.
4496         * sysdeps/generic/usleep.c: Correct return type.
4498         * posix/unistd.h (sync): Correct return type.
4499         * sysdeps/generic/sync.c: Likewise.
4500         * sysdeps/mach/hurd/sync.c: Likewise.
4502         * sysdeps/generic/bits/confname.h (_SC_IOV_MAX): New definition.
4504         * posix/unistd.h: Make seteuid and setegid available for XPG6.
4506         * wcsmbs/wchar.h: Get FILE definition for XPG5.
4508         * conform/data/ctype.h-data: Use correct comment form.
4509         * conform/data/errno.h-data: Likewise.
4510         * conform/data/math.h-data: Likewise.
4511         * conform/data/mqueue.h-data: Likewise.
4512         * conform/data/netdb.h-data: Likewise.
4513         * conform/data/pthread.h-data: Likewise.
4515 2001-01-24  Ulrich Drepper  <drepper@redhat.com>
4517         * conform/data/wordexp.h-data: Fix typo.
4519         * conform/conformtest.pl: Handle allow-header correctly.
4521         * conform/data/time.h-data: Use correct comment form.
4523         * conform/conformtest.pl (checknamespace): Ignore #undef lines.
4525         * configure.in: Comment out binutils version test.
4527         * stdlib/strtod.c (str_to_mpn): Correct parsing of thousands
4528         separators.
4529         Reported by Lagardere Jean-Francois <LAGARDEREJ@thmulti.com>.
4531         * stdlib/tst-strtod.c (locale_test): New function.
4532         (main): Call locale_test.
4533         * stdlib/Makefile (tst-strtod-ENV): New variable.
4535 2001-01-24  Mark Kettenis  <kettenis@gnu.org>
4537         * hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost
4538         declaration of value such that we actually return the value of the
4539         environment variable.
4541 2001-01-24  Andreas Jaeger  <aj@suse.de>
4543         * sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl
4544         prototype.
4545         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
4547         * include/sys/sysctl.h: New file.
4549 2001-01-23  Andreas Jaeger  <aj@suse.de>
4551         * stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to
4552         isomac.
4554         * elf/dl-load.c (_dl_init_paths): Don't use strdupa in function
4555         arguments.  Reported by Jiri Kubicek <kubicek@bitsmart.com>,
4556         closes PR libc/2039.
4558         * manual/install.texi (Tools for Compilation): Change required
4559         binutils version.
4561 2001-01-22  Andreas Jaeger  <aj@suse.de>
4563         * configure.in: Add test for new enough binutils version, move
4564         compiler/binutils test up.
4566         * Versions.def: Add version GLIBC_2.2.2.
4568 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
4570         * iconvdata/TESTS: UTF-8 test data for IBM932 and IBM943 are now
4571         available.
4572         * iconvdata/testdata/IBM932: New file.
4573         * iconvdata/testdata/IBM932..UTF8: New file.
4574         * iconvdata/testdata/IBM943: New file.
4575         * iconvdata/testdata/IBM943..UTF8: New file.
4576         Contributed by Masahide Washizawa <washi@jp.ibm.com>.
4578 2001-01-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
4580         * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset.
4582 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
4584         * malloc/malloc.c: Remove a few unnecessary initializers of global
4585         variables.
4587 2000-12-09  H.J. Lu  <hjl@gnu.org>
4589         * nss/Makefile (routines): Add digits_dots.
4590         * nss/Versions (libc): Add __nss_hostname_digits_dots to GLIBC_2.2.2.
4591         * nss/digits_dots.c (__nss_hostname_digits_dots): Turn template
4592         into a function.
4593         * nss/nsswitch.h (__nss_hostname_digits_dots): New internal NSS
4594         function.
4595         * nss/getXXbyYY.c (H_ERRNO_VAR_P): New definition.
4596         (TYPE_VAR_P): Likewise.
4597         (FLAGS_VAR): Likewise.
4598         (AF_VAR_P): Likewise.
4599         (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
4600         instead of including digits_dots.c.
4601         * nss/getXXbyYY_r.c (H_ERRNO_VAR_P): New definition.
4602         (TYPE_VAR_P): Likewise.
4603         (FLAGS_VAR): Likewise.
4604         (AF_VAR_P): Likewise.
4605         (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
4606         instead of including digits_dots.c.
4608 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
4610         * sysdeps/posix/getaddrinfo.c: Reduce .data size.
4612 2001-01-21  Andreas Jaeger  <aj@suse.de>
4614         * elf/constload2.c: Add prototype for init.
4616 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
4618         * stdlib/stdlib.h (drand48_data): Make available only for
4619         __USE_MISC.  Rename elements to protect namespace.  Change type
4620         and position of a and init element.
4621         * stdlib/drand48-iter.c: Don't handle unsigned short > 16 bit
4622         differently.  Adjust for drand48_data change.  Don't compute a here,
4623         it comes from drand48_data.
4624         * stdlib/lcong48_r.c: Don't handle unsigned short > 16 bit
4625         differently.  Adjust for drand48_data change.  Compute a here.
4626         * stdlib/srand48_r.c: Likewise.
4627         * stdlib/drand48.c: Adjust for drand48_data change.
4628         * stdlib/lrand48.c: Likewise.
4629         * stdlib/mrand48.c: Likewise.
4630         * stdlib/seek48.c: Likewise.
4631         * stdlib/drand48_r.c: Likewise.
4632         * stdlib/lrand48_r.c: Likewise.
4633         * stdlib/mrand48_r.c: Likewise.
4634         * stdlib/seed48_r.c: Likewise.  Don't handle unsigned short > 16 bit
4635         differently.
4636         * stdlib/erand48_r.c: Don't handle unsigned short > 16 bit differently.
4637         * stdlib/jrand48_r.c: Likewise.
4639         * po/sv.po: Update from translation team.
4641 2001-01-21  Andreas Jaeger  <aj@suse.de>
4643         * stdio-common/vfprintf.c (vfprintf): Add casts.
4645 2001-01-20  Ulrich Drepper  <drepper@redhat.com>
4647         * iconvdata/run-iconv-test.sh: Reorgnize a bit to allow running only
4648         the ASCII test.
4649         * iconvdata/TESTS: Add entries for IBM932 and IBM943.
4651         * iconvdata/Makefile (modules): Add IBM932 and IBM943.
4652         * iconvdata/gconv-modules: Add entries for IBM932 and IBM943.
4653         * iconvdata/ibm932.c: New file.
4654         * iconvdata/ibm932.h: New file.
4655         * iconvdata/ibm943.c: New file.
4656         * iconvdata/ibm943.h: New file.
4657         Patches by Masahide Washizawa <washi@jp.ibm.com>.
4659         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo
4660         preventing optimization from being done.  Set the correct type bit
4661         in seen.  Don't define and use _dl_base_addr unless
4662         NEED_DL_BASE_ADDR is defined.
4664         * io/ftw.c (ftw_dir): Add slash after directory name if there
4665         wasn't any.  Reported by loris <loris@iol.it>.
4666         * io/Makefile (tests): Add bug-ftw2.
4667         * io/bug-ftw2.c: New file.
4669 2001-01-19  Ulrich Drepper  <drepper@redhat.com>
4671         * stdlib/jrand48_r.c (__jrand48_r): Correct constructing of
4672         results.  Reported by Jeff Higham <jhigham@algorithmics.com>.
4673         * stdlib/tst-rand48.c: New file.
4674         * stdlib/Makefile (tests): Add tst-rand48.
4676         * locale/newlocale.c (__newlocale): Fix test for setting all
4677         categories.
4679 2001-01-19  Mark Kettenis  <kettenis@gnu.org>
4681         * sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes,
4682         but change looking up the initial directory port in a similar way
4683         as done by _hurd_change_directory_port_from_name.
4684         * hurd/fchroot.c (fchroot): Likewise.
4686 2001-01-18  Ulrich Drepper  <drepper@redhat.com>
4688         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If HAVE_AUX_XID is
4689         defined don't look whether the AT_*ID values were set.
4690         If HAVE_AUX_PAGESIZE is defined don't look whether the pagesize is set.
4691         (_dl_show_auxv): Rewrite to avoid switch statement.
4692         * sysdeps/unix/sysv/linux/kernel-features.h: Define
4693         __ASSUME_AT_PAGESIZE for kernel >= 2.4.1.
4694         * sysdeps/unix/sysv/linux/ldsodefs.h: Define HAVE_AUX_XID.
4695         Define HAVE_AUX_PAGESIZE if __ASSUME_AT_PAGESIZE is defined.
4697         * sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect.
4698         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
4699         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
4701         * elf/rtld.c (process_envvars): Call __strtoul_internal instead of
4702         strtoul.
4703         * elf/dl-minimal.c (strtol, __strtol_internal, strtoul): Removed.
4704         (__sigjmp_save): Set __mask_was_saved to zero since we don't save
4705         anything.
4706         * dlfcn/eval.c (__strtol_internal): Define here.
4707         (eval): Use __strtol_internal instead of strtol.
4709         * elf/elf.h: Add a few more EF_MIPS_* constants.
4711 2001-01-17  Ulrich Drepper  <drepper@redhat.com>
4713         * manual/Makefile (chapters): Add debug.
4714         * manual/debug.texi: New file.
4715         * manual/examples/execinfo.c: New file.
4716         Patch by suckfish@ihug.co.nz.
4718 2001-01-17  Andreas Schwab  <schwab@suse.de>
4720         * sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid
4721         invalid asm.
4723 2001-01-17  Andreas Jaeger  <aj@suse.de>
4725         * nscd/connections.c (nscd_run): Use proper format specifier.
4727 2001-01-16  Ulrich Drepper  <drepper@redhat.com>
4729         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Move x86_cap_flags and
4730         x86_platforms data into new file after prepending _dl_.  Change
4731         users.
4732         * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: New file.
4733         * sysdeps/unix/sysv/linux/i386/Dist: Add dl-procinfo.c.
4734         * sysdeps/unix/sysv/linux/i386/Makefile: Add rules to build
4735         dl-procinfo.c.
4737         * setjmp/setjmp.h: Cleanup definition of setjmp macro.
4739         * sysdeps/i386/elf/bsd-setjmp.S: Real implementation.
4740         * sysdeps/i386/elf/bsd-_setjmp.S: Removed.
4741         * sysdeps/i386/elf/setjmp.S (setjmp): Removed here.
4742         (_setjmp): Likewise.
4743         * sysdeps/i386/bsd-_setjmp.S: Real implementation.
4744         * sysdeps/i386/bsd-setjmp.S: Real implementation.
4745         * sysdeps/i386/bits/setjmp.h: Remove PUSH_SIGNAL_MASK definition.
4746         * sysdeps/i386/setjmp.S: Remove PIC support.  This is the non-ELF
4747         version.
4749 2001-01-16  Andreas Jaeger  <aj@suse.de>
4751         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix
4752         misapplied last patch.
4754 2001-01-15  Ulrich Drepper  <drepper@redhat.com>
4756         * stdlib/random.c (__initstate): Clean up a cast.
4757         (__setstate): Likewise.
4759         * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove select
4760         syscall handling.  The generic Linux version should work.
4762 2001-01-15  Andreas Jaeger  <aj@suse.de>
4764         * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
4766         * stdio-common/tstscanf.c (main): Add two testcases for '*' modifier.
4768 2001-01-14  Jakub Jelinek  <jakub@redhat.com>
4770         * nss/getent.c (print_aliases, aliases_keys, ethers_keys,
4771         netgroup_keys, print_rpc, rpc_keys, print_shadow, shadow_keys):
4772         New functions.
4773         (group_keys, hosts_keys, network_keys, passwd_keys, protocols_keys):
4774         If number is 0, list all.
4775         (services_keys): Likewise.  Lookup aliases as well.
4776         (databases): New table.
4777         (build_doc): Prepare argp doc text with list of supported databases.
4778         (main): Change to table driven processing.
4780 2001-01-14  Thorsten Kukuk <kukuk@suse.de>
4782         * sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about these
4783         functions.
4785 2001-01-03  Jakub Jelinek  <jakub@redhat.com>
4787         * sunrpc/xdr.c (xdr_long, xdr_u_long): Return FALSE if trying to
4788         encode value which does not fit in the 32bit type.
4790 2001-01-15  Hiroyuki Machida <machida@sm.sony.co.jp>
4792         * sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
4793         Change type of CTX to (struct sigcontext *).
4794         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise.
4795         (GET_FRAME): Likewise.
4796         (GET_STACK): Likewise.
4797         (SIGCONTEXT): Likewise. Add 2nd arg _code.
4798         (SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.
4800 2001-01-13  Ulrich Drepper  <drepper@redhat.com>
4802         * manual/texinfo.tex: Update from upstream version.
4804 2001-01-13  Jakub Jelinek  <jakub@redhat.com>
4806         * inet/ether_ntoh.c (lookup_function): Change arguments to match
4807         _nss_*_getntohost_r prototype.
4808         (ether_ntohost): Pass errno pointer to NSS function.
4810 2001-01-12  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
4812         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value.
4813         (MAP_LOCKED): New definition.
4814         (MAP_NORESERVE): New definition.
4816 2001-01-12  Ulrich Drepper  <drepper@redhat.com>
4818         * assert/assert.h: Use static_cast instead of C-style cast for C++.
4819         Patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>.
4821 2001-01-12  Ben Collins  <bcollins@debian.org>
4823         * sysdeps/generic/segfault.c (install_handler): Use access, not
4824         __access.
4826 2001-01-12  Andreas Jaeger  <aj@suse.de>
4828         * posix/fnmatch_loop.c (FCT): Remove signed warnings.
4829         * posix/wordexp.c (do_parse_glob): Likewise.
4830         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
4831         * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
4832         * elf/dl-open.c (_dl_open): Likewise.
4833         * elf/dl-close.c (_dl_close): Likewise.
4834         * elf/dl-load.c (_dl_map_object): Likewise.
4835         * iconv/iconv_prog.c (process_fd): Likewise.
4836         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
4838         * locale/localeinfo.h (struct locale_data): Use __flexarr instead
4839         of a zero-length array.
4841 2001-01-11  Jakub Jelinek  <jakub@redhat.com>
4843         * stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func.
4844         * stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument.
4845         * stdlib/cxa_on_exit.c: Remove.
4846         * stdlib/Makefile: Revert last patch.
4847         * stdlib/Versions: Likewise.
4848         * include/stdlib.h: Likewise.
4849         * stdlib/exit.h: Revert last patch.
4850         (struct exit_function): Add second argument to cxa fn.
4851         * stdlib/exit.c: Revert last patch.
4852         (exit): Add hidden second argument.
4854 2001-01-11  H.J. Lu  <hjl@gnu.org>
4856         * elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ...
4857         * elf/dl-open.c (_dl_open): Here.
4858         * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock):
4859         Make it static.
4860         (_dl_static_init): Initialize the variables every time when possible.
4861         * sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT):
4862         Undefine it first.
4864 2001-01-11  Ulrich Drepper  <drepper@redhat.com>
4866         * stdlib/Makefile (routines): Add cxa_on_exit.
4867         * stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit.
4868         * stdlib/cxa_on_exit.c: New file.
4869         * include/stdlib.h: Add prototype for __cxa_on_exit.
4870         * stdlib/exit.c: Handle ef_cxa2.
4871         * stdlib/exit.h (enum): Add ef_cxa2.
4872         (struct exit_function): Add cxa2.
4874         * Versions.def [ld]: Add GLIBC_2.2.1.
4876 2001-01-10  H.J. Lu  <hjl@gnu.org>
4878         * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries.
4879         * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add
4880         dl-static.
4881         * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init.
4882         * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined.
4883         * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file.
4884         * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file.
4885         * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
4887 2001-01-11  Ulrich Drepper  <drepper@redhat.com>
4889         * libio/stdio.h: Remove definition of off_t.
4891 2001-01-11  Andreas Jaeger  <aj@suse.de>
4893         * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
4894         <mkuhn@acm.org>.
4896 2001-01-10  Ulrich Drepper  <drepper@redhat.com>
4898         * sunrpc/Makefile (distribute): Add errqueue.h.
4900 2001-01-10  H.J. Lu  <hjl@gnu.org>
4902         * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve
4903         r9, r10 and r11 for language specific registers.
4905 2001-01-10  Jakub Jelinek  <jakub@redhat.com>
4907         * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the
4908         UDP socket.
4909         (clntudp_call): Handle MSG_ERRQUEUE.
4910         * sysdeps/generic/errqueue.h: New file.
4911         * sysdeps/unix/sysv/linux/errqueue.h: New file.
4913 2001-01-10  H.J. Lu  <hjl@gnu.org>
4915         * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
4917 2001-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
4919         * CONFORMANCE: Update.
4921 2001-01-09  Ulrich Drepper  <drepper@redhat.com>
4923         * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
4924         Minimal cleanups.  Add assert to ensure memory handling is correct.
4926         * manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value.
4927         Reported by Ben Collins <bcollins@debian.org>.
4929         * time/strftime.c (my_strftime): Mark previous GNU extensions
4930         which are now in C99 as such.
4932 2001-01-08  Ulrich Drepper  <drepper@redhat.com>
4934         * elf/rtld.c (process_envvars): Place output files for profiling
4935         in SUID binaries in /var/profile.
4937         * elf/dl-load.c (_dl_map_object): Don't look in cache for
4938         preloading in SUID binaries.
4940         * elf/dl-profile.c (_dl_start_profile): Open the output file with
4941         O_NOFOLLOW if possible.
4943         * include/stdlib.h: Add __posix_openpt declaration.
4944         * stdlib/stdlib.h: Add posix_openpt declaration.
4945         * login/Versions: Add posix_openpt for GLIBC_2.2.1.
4946         * sysdeps/generic/getpt.c: Define posix_openpt.
4947         * sysdeps/unix/bsd/getpt.c: Likewise.
4948         * sysdeps/unix/sysv/linux/getpt.c: Likewise.
4950         * time/Makefile (tests): Add tst-mktime.
4951         * time/tst-mktime.c: New file.
4953         * posix/tst-dir.c (main): One more mkdir() test.
4955         * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
4956         Remove getpagesize syscall.  We assume that the pagesize is always
4957         determined from the auxiliary vector.
4959         * intl/dcigettext.c: Fix a few warnings.
4960         Patch by Bruno Haible <haible@ilog.fr>.
4962 2001-01-08  Andreas Jaeger  <aj@suse.de>
4964         * io/test-lfs.c (do_test): Check lseek64 return for EINVAL.
4965         Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
4967 2001-01-08  Ulrich Drepper  <drepper@redhat.com>
4969         * sysdeps/generic/segfault.c (install_handler): Check output file
4970         name with access().
4972         * resolv/res_query.c: Use simply getenv() for HOSTALIASES.
4973         * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
4975         * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
4977         * malloc/memusage.c (me): Use access() to determine whether we
4978         should write the output file or not.
4980         * libio/bits/stdio.h (printf): Define macro to map printf call to
4981         fprintf which gcc can optimize.
4982         * stdio-common/printf.c: Undefine printf.
4984 2001-01-07  Ulrich Drepper  <drepper@redhat.com>
4986         * sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last
4987         patch.  We must use unsigned int for l member of union.
4989         * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call
4990         _dl_aux_init for shared libraries.
4992         * sysdeps/unix/sysv/linux/glob64.c: Moved to ...
4993         * sysdeps/gnu/glob64.c: ...here.  New file.
4995 2001-01-07  Ben Collins  <bcollins@debian.org>
4997         * manual/examples/longopt.c: Make the "struct option" a little
4998         more like it should be, adding usage of required_argument,
4999         noargument and such, and also setting the options string right.
5001         * manual/sysinfo.texi (Load Average): New section, documents
5002         getloadavg().
5004 2001-01-06  Ulrich Drepper  <drepper@redhat.com>
5006         * version.h (VERSION): Bump to 2.2.1.
5008         * sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
5009         * sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S.
5010         * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S.
5011         * dlfcn/Makefile (distribute): Add errmsg1mod.c.
5012         * Makefile (distribute): Add include/libc-internal.h.
5013         * libio/Makefile (distribute): Avoid overwriting.
5015         * iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in
5016         buffer and table handling.
5018 2001-01-05  H.J. Lu  <hjl@gnu.org>
5020         * elf/dl-support.c (non_dynamic_init): Move the auxiliary
5021         vector checking to ...
5022         (_dl_aux_init): Here. New function. Defined only if
5023         HAVE_AUX_VECTOR is defined.
5025         * sysdeps/generic/libc-start.c (__libc_start_main): Call
5026         _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined.
5028         * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call
5029         _dl_aux_init.
5031         * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed.
5032         (HAVE_AUX_VECTOR): Defined.
5033         (_dl_aux_init): Declared.
5035 2001-01-05  Ben Collins  <bcollins@debian.org>
5037         * manual/string.texi (Finding Tokens in a String): Document XPG
5038         basename() and dirname(), as well as GNU basename().
5040 2001-01-05  Jakub Jelinek  <jakub@redhat.com>
5042         * Makeconfig (preprocess-version): Replace -traditional with
5043         -x assembler-with-cpp.
5045 2001-01-05  Joseph S. Myers  <jsm28@cam.ac.uk>
5047         * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj
5048         for GCC 2.97 or later.
5050 2001-01-05  Ben Collins  <bcollins@debian.org>
5052         * manual/stdio.texi (getline): Clarify the return value in the
5053         case of EOF being reached before a newline.
5055 2001-01-04  Jakub Jelinek  <jakub@redhat.com>
5057         * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful,
5058         FALSE otherwise.
5059         (pmap_set, pmap_unset): Check __get_myaddress return value.
5061 2001-01-05  Mark Kettenis  <kettenis@gnu.org>
5063         * sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>.
5064         (struct ether_addr): Declare ether_addr_octet member as
5065         `u_int8_t'.  Add __attribute__ ((__packed__)).
5067 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
5069         * sysdeps/mach/hurd/readdir64.c: New file.
5070         * sysdeps/mach/hurd/readdir64_r.c: New file.
5072 2001-01-07  Mark Kettenis  <kettenis@gnu.org>
5074         * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about
5075         `struct statfs' and `struct statvfs' being identical.
5076         * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
5078 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
5080         * sysdeps/mach/hurd/fstatfs64.c: New file.
5081         * sysdeps/mach/hurd/fstatvfs64.c: New file.
5082         * sysdeps/mach/hurd/statfs64.c: New file.
5083         * sysdeps/mach/hurd/statvfs64.c: New file.
5084         * sysdeps/mach/hurd/statfsconv.c: New file.
5085         * sysdeps/mach/hurd/Dist: Add statfsconv.c.
5087 2001-01-06  Ulrich Drepper  <drepper@redhat.com>
5089         * iconv/skeleton.c: Reset outbuf for next round of the loop.
5090         Reported by Owen Taylor <otaylor@redhat.com>.
5091         * iconv/Makefile (tests): Add tst-iconv3.
5092         * iconv/tst-iconv3.c: New file.
5094         * iconvdata/ibm930.c: Fix handling of state.  Optimize a bit.
5095         * iconvdata/ibm933.c: Likewise.
5096         * iconvdata/ibm935.c: Likewise.
5097         * iconvdata/ibm937.c: Likewise.
5098         * iconvdata/ibm939.c: Likewise.
5099         * iconvdata/ibm930.h: Adjust single byte table for optimization.
5100         * iconvdata/ibm933.h: Likewise.
5101         * iconvdata/ibm935.h: Likewise.
5102         * iconvdata/ibm939.h: Likewise.
5104         * iconvdata/testdata/IBM930: Add misssing SI.
5105         * iconvdata/testdata/IBM933: Likewise.
5106         * iconvdata/testdata/IBM935: Likewise.
5107         * iconvdata/testdata/IBM937: Likewise.
5108         * iconvdata/testdata/IBM939: Likewise.
5110 2001-01-06  Andreas Jaeger  <aj@suse.de>
5112         * configure.in: Check for old add-ons that shouldn't be used with
5113         current glibc anymore.
5115 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
5117         * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number
5118         instead of -1 on failure.  Don't forget to copy file name into
5119         *ENTRY if successful.  Set *RESULT to NULL upon reaching the end
5120         of the directory.
5122 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
5124         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
5125         copy st_atime member.
5127 2001-01-05  Ulrich Drepper  <drepper@redhat.com>
5129         * io/ftw.c (ftw_dir): Don't add a second slash at the beginning
5130         for searches from the root directory.
5131         Reported by loris <loris@iol.it> [PR libc/1991].
5132         * io/Makefile (tests): Add bug-ftw1.
5133         * io/bug-ftw1.c: New file.
5135         * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
5136         if it is not available.  Instead use it only if it is available.
5137         * sysdeps/unix/sysv/linux/ldsodefs.h: New file.
5139         * iconv/gconv_simple.c (internal_ics4_loop): Correct test for
5140         overflowing output buffer.
5141         (internal_ucs4_loop_unaligned): Likewise.
5142         (ucs4_internal_loop): Likewise.
5143         (ucs4_internal_loop_unaligned): Likewise.
5144         (internal_ucs4le_loop): Likewise.
5145         (internal_ucs4le_loop_unaligned): Likewise.
5146         (ucs4le_internal_loop): Likewise.
5147         (ucs4le_internal_loop_unaligned): Likewise.
5148         Reported by Owen Taylor <otaylor@redhat.com>.
5149         * iconv/Makefile (tests): Add tst-iconv2.
5150         * iconv/tst-iconv2.c: New file.
5152 2001-01-04  H.J. Lu  <hjl@gnu.org>
5154         * elf/dl-support.c (DL_FIND_AUXV): New.  Defined if not defined.
5155         (_dl_clktck): Declared.
5156         (non_dynamic_init): Take 3 arguments.
5157         Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.
5159 2001-01-01  Bruno Haible  <haible@clisp.cons.org>
5161         Finish implementation of plural form handling.
5162         * intl/dcigettext.c (known_translation_t): Rename 'domain' field to
5163         'domainname'.  Remove 'plindex' field. Add 'domain' and
5164         'translation_length' fields.
5165         (transcmp): Don't compare 'plindex' fields.
5166         (plural_lookup): New function.
5167         (DCIGETTEXT): Change cache handing in the plural case.  Don't call
5168         plural_eval before the translation and its catalog file have been
5169         found. Remove plindex from cache key.  Add 'translation_length' and
5170         'domain' to cache result.
5171         (_nl_find_msg): Remove index argument, return length of translation
5172         to the caller instead.  Weaken comparison of string lengths, to account
5173         for plural entries.  Call iconv() on the entire result string, not
5174         only on the portion needed so far.
5175         * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
5176         argument.
5177         * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
5179 2001-01-04  Ulrich Drepper  <drepper@redhat.com>
5181         * intl/plural.y (yylex): Minimal improvement in number scanner.
5183 2000-07-31  Bruno Haible  <haible@clisp.cons.org>
5185         * intl/plural.y: Include config.h. Needed to define 'inline' away for
5186         C compilers that don't support it.
5187         (yylex): Don't use gcc specific case range syntax.
5188         * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
5189         compilers.
5191 2000-10-12  Bruno Haible  <haible@clisp.cons.org>
5193         * intl/finddomain.c: Remove unneeded includes.
5195 2000-10-12  Bruno Haible  <haible@clisp.cons.org>
5197         * intl/localealias.c (memcpy): Return first argument, just like the
5198         real memcpy function does.
5199         * intl/bindtextdom.c (memcpy): Likewise.
5200         * intl/finddomain.c (memcpy): Likewise.
5201         * intl/l10nflist.c (memcpy): Likewise.
5202         * intl/textdomain.c (memcpy): Likewise.
5203         From Paul Eggert <eggert@twinsun.com>.
5205 2001-01-03  Jakub Jelinek  <jakub@redhat.com>
5207         * resolv/resolv.h (struct __res_state): Add nsinit field.
5208         * resolv/res_send.c (res_nsend): Use it instead of nscount.
5209         * resolv/res_init.c (__res_vinit): Initialize it.
5210         (res_nclose): Clear it instead of nscount.
5212 2001-01-04  Ulrich Drepper  <drepper@redhat.com>
5214         * malloc/mtrace.pl: Fix matching of addresses.
5215         Patch by Aharon Robbins <arnold@skeeve.com>.
5217         * Versions.def (ld): Add GLIBC_2.2.
5219         * catgets/gencat.c: Copyright 2001.
5220         * csu/version.c: Likewise.
5221         * debug/catchsegv.sh: Likewise.
5222         * debug/xtrace.sh: Likewise.
5223         * elf/ldconfig.c: Likewise.
5224         * elf/sprof.c: Likewise.
5225         * iconv/iconv_prog.c: Likewise.
5226         * locale/locale.c: Likewise.
5227         * locale/localedef.c: Likewise.
5228         * malloc/memusage.sh: Likewise.
5229         * malloc/mtrace.pl: Likewise.
5230         * nscd/nscd.c: Likewise.
5231         * posix/getconf.c: Likewise.
5233 2001-01-04  Mark Kettenis  <kettenis@gnu.org>
5235         * include/stdio.h: Only provide __getwc_unlocked prototype if
5236         USE_IN_LIBIO is defined.
5238 2001-01-04  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5240         * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code
5241         handling.
5243 2001-01-03  Andreas Schwab  <schwab@suse.de>
5245         * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias.
5246         * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias.
5248         * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias.
5249         * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix
5250         strtoull alias.
5251         * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias.
5252         * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix
5253         wcstoull alias.
5255         * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this
5256         directory.
5257         * sysdeps/generic/strtol_l.c: Likewise.
5258         * sysdeps/generic/strtoul_l.c: Likewise.
5259         * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c.
5261         * sysdeps/wordsize-64/strtol_l.c: Fix alias.
5262         * sysdeps/wordsize-64/strtoul_l.c: Likewise.
5263         * sysdeps/wordsize-64/wcstol_l.c: Fix alias.
5264         * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
5266 2001-01-04  Andreas Jaeger  <aj@suse.de>
5268         * nss/nsswitch.c: Include files for missing prototypes, remove
5269         buggy declaration of prototypes.
5271 2001-01-03  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
5273         * resolv/Versions: Fix bracing.
5274         * sysdeps/powerpc/soft-fp/Versions: Likewise.
5275         * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
5277 2001-01-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
5279         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
5281 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
5283         * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
5284         Suggested by Minko Markov <mmarkov@home.com>.
5286 2001-01-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
5288         * sysdeps/powerpc/elf/start.S (__data_start): Make it global.
5289         * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
5290         the failing symbol.
5291         (__process_machine_rela): Pass symbol to dl_reloc_overflow().
5293 2001-01-02  Ben Collins  <bcollins@debian.org>
5295         * time/tzset.c (tzset_internal): Make sure we fall back to UTC
5296         if TZ is not set and TZDEFAULT is not present.
5298 2001-01-01  Ben Collins  <bcollins@debian.org>
5300         * string/strings.h: Make sure we declare our functions even if
5301         string.h is already included, based on whether or not __USE_BSD is
5302         defined.
5304 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
5306         * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
5307         other dlopen() and dlsym().
5308         Based on a patch by Ben Collins <bcollins@debian.org>.
5310 2001-01-02  Andreas Jaeger  <aj@suse.de>
5312         * dlfcn/errmsg1.c (main): Call dlerror initially.
5313         Reported by Ben Collins <bcollins@debian.org>.
5315 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
5317         * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
5318         value is ignored if the selected locale is the C locale.
5319         * intl/tst-gettext.c: Set locale for above change.
5320         * intl/tst-translit.c: Likewise.
5322 2001-01-02  Andreas Jaeger  <aj@suse.de>
5324         * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
5325         (_IO_switch_to_wget_mode): Likewise.
5326         (_IO_sputbackwc): Likewise.
5327         (_IO_sungetwc): Use wint_t for result.
5329         * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done.
5331         * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct
5332         signedness.
5334         * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked
5335         to (int) to avoid warnings.
5336         * stdio-common/printf_fp.c (putc): Likewise.
5337         * stdio-common/printf_size.c (putc): Likewise.
5339         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make
5340         constant unsigned.
5342 2001-01-01  Andreas Jaeger  <aj@suse.de>
5344         * inet/rcmd.c (rcmd_af): Use socklen_t for len.
5346 2000-12-31  Andreas Jaeger  <aj@suse.de>
5348         * include/libc-internal.h: Add prototype for __libc_freeres.
5350         * sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
5351         for prototypes, remove redundant prototypes.
5352         * gmon/gmon.c: Likewise.
5353         * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
5354         * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
5355         * malloc/mtrace.c: Likewise.
5357         * sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
5358         prototypes.
5359         * elf/soinit.c: Likewise.
5360         * sysdeps/generic/prof-freq.c: Likewise.
5361         * sysdeps/mach/hurd/profil.c: Likewise.
5362         * debug/noophooks.c: Likewise.
5363         * debug/pcprofile.c: Likewise.
5364         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
5365         * sysdeps/generic/get_clockfreq.c: Likewise.
5366         * malloc/set-freeres.c: Likewise.
5368         * locale/localeinfo.h: Add internal prototypes.
5370         * elf/rtld.c (dl_main): Fix prototype.
5372         * iconvdata/tst-table-to.c (main): Use return instead of exit to
5373         avoid warning.
5375         * nis/rpcsvc/yp_prot.h: Remove __P.
5376         * nis/rpcsvc/ypupd.h: Likewise.
5377         * nis/rpcsvc/yp.h: Likewise.
5379         * sunrpc/rpc_main.c: Add noreturn attributes.
5380         * sunrpc/rpc_scan.h: Likewise.
5382         * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.
5384         * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.
5386         * sunrpc/proto.h: Add noreturn attributes to error and crash.
5388         * posix/bsd-getpgrp.c: Add prototype to avoid warning.
5390         * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.
5392         * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.
5394         * include/rpc/rpc_msg.h: Add prototypes for some functions.
5395         * include/rpc/auth.h: Likewise.
5396         * include/rpc/auth_des.h: Likewise.
5397         * include/rpc/clnt.h: Likewise.
5398         * include/rpc/rpc.h: Likewise.
5399         * include/rpc/svc.h: Likewise.
5400         * include/rpc/svc_auth.h: Likewise.
5402         * include/rpc/des_crypt.h: New file.
5404         * malloc/memusagestat.c (main): Use return instead of exit to
5405         avoid warning.
5406         * io/pwd.c (main): Likewise.
5407         * iconvdata/tst-table-from.c (main): Likewise.
5408         * ctype/test_ctype.c (main): Likewise.
5409         * setjmp/tst-setjmp.c (main): Likewise.
5410         * signal/tst-signal.c (main): Likewise.
5411         * stdlib/tst-strtol.c (main): Likewise.
5412         * stdlib/tst-strtod.c (main): Likewise.
5413         * stdlib/tst-strtoll.c (main): Likewise.
5414         * stdlib/tst-xpg-basename.c (main): Likewise.
5415         * dirent/tst-seekdir.c (main): Likewise.
5416         * grp/testgrp.c (main): Likewise.
5417         * inet/test_ifindex.c (main): Likewise.
5418         * io/test-utime.c (main): Likewise.
5419         * posix/test-vfork.c (main): Likewise.
5420         * posix/testfnm.c (main): Likewise.
5421         * stdio-common/temptest.c (main): Likewise.
5422         * stdio-common/test_rdwr.c (main): Likewise.
5423         * stdio-common/tst-fileno.c (main): Likewise.
5424         * stdio-common/tst-sscanf.c (main): Likewise.
5425         * stdio-common/tstscanf.c (main): Likewise.
5426         * string/bug-strncat1.c (main): Likewise.
5427         * string/bug-strpbrk1.c (main): Likewise.
5428         * string/bug-strspn1.c (main): Likewise.
5429         * string/test-ffs.c (main): Likewise.
5430         * string/tst-inlcall.c (main): Likewise.
5431         * string/tst-svc.c (main): Likewise.
5432         * timezone/test-tz.c (main): Likewise.
5433         * wctype/test_wcfuncs.c (main): Likewise.
5434         * wctype/test_wctype.c (main): Likewise.
5436         * stdlib/tst-random.c: Add attribute noreturn to fail.
5438 2000-12-28  Wolfram Gloger  <wg@malloc.de>
5440         * malloc/malloc.c (MALLOC_COPY): Handle case if source and
5441         destination overlap.  Assume dest is always below source if
5442         overlapping.
5444 2000-12-30  Ulrich Drepper  <drepper@redhat.com>
5446         * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
5447         object was not yet initialized.
5449 2000-12-28  H.J. Lu  <hjl@gnu.org>
5451         * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
5452         is always consistent even if its dependency is failed.
5454         * elf/dl-open.c (_dl_open): Increment the open count before
5455         calling _dl_close () in case of failure.
5457         * elf/neededtest4.c: New file.
5458         * elf/neededobj5.c: New file.
5459         * elf/neededobj6.c: New file.
5461         * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
5462         (tests): Add neededtest4.
5463         (modules-names): Add neededobj5 and neededobj6.
5464         ($(objpfx)neededobj6.so): New target.
5465         ($(objpfx)neededtest4): New target.
5466         ($(objpfx)neededtest4.out): New target.
5468 2000-12-28  Joseph S. Myers  <jsm28@cam.ac.uk>
5470         * misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
5471         * stdlib/monetary.h: Add strfmon format attributes.
5473 2000-12-28  Roland McGrath  <roland@frob.com>
5475         * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
5476         __mempcpy does it for us.
5478 2000-12-28  Andreas Jaeger  <aj@suse.de>
5480         * sysdeps/generic/dl-environ.c: Add prototype for unsetenv.
5482         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
5483         __new_setrlimit.
5485         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
5486         __old_getrlimit64.
5488         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
5489         __new_getrlimit.
5491         * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
5492         __chown_is_lchown and __real_chown.
5494         * sysdeps/generic/ldsodefs.h: Add noreturn attribute to
5495         _dl_reloc_bad_type.
5497         * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
5498         up GCC's warning about "deprecated use of label at end of compound
5499         statement."
5500         * sunrpc/rpc_cout.c (emit_inline): Likewise.
5502         * gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
5503         prototypes.
5504         Remove struct bb and __bb_head since those are declared by
5505         sys/gmon.h.
5507 2000-12-22  Ben Collins  <bcollins@debian.org>
5509         * manual/charset.texi: Fix typo in description of WCHAR_MAX.
5511         * manual/argp.texi: Document argp_domain as part of struct argp.
5513 2000-12-28  Andreas Jaeger  <aj@suse.de>
5515         * catgets/Makefile (generated): Add sample.SJIS.cat.
5517         * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
5519         * elf/dl-minimal.c: Add prototypes.
5521         * include/locale.h: Add internal prototypes.
5522         * include/sys/gmon.h: Likewise.
5524         * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
5526 2000-12-27  Ben Collins  <bcollins@debian.org>
5528         * elf/dl-open.c (_dl_open): Correctly set the new objname pointer
5529         when reallocating the error strings.
5530         Reported by Kalle Olavi Niemitalo <kon@iki.fi>
5532 2000-12-27  Ulrich Drepper  <drepper@redhat.com>
5534         * dlfcn/Makefile (tests): Add errmsg1.
5535         (modules-names): Add errmsg1mod.
5536         Add rules to run errmsg1.
5537         * dlfcn/errmsg1.c: New file.
5538         * dlfcn/errmsg1mod.c: New file.
5540         * dlfcn/dlerror.c (dlerror): Always create output string which
5541         includes object file name.
5543         * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
5544         if we would go through it only once.
5545         Patch by Rick Gorton <rick.gorton@api-networks.com>.
5547         * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
5548         Patch by Richard Henderson <rth@redhat.com>.
5550 2000-12-27  Jakub Jelinek  <jakub@redhat.com>
5552         * malloc/malloc.c (memmove): Add prototypes.
5553         (MALLOC_MEMMOVE): Define.
5554         (chunk_realloc): Use it instead of MALLOC_COPY if source and
5555         destination might overlap.
5557 2000-12-27  Andreas Jaeger  <aj@suse.de>
5559         * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
5560         function.
5561         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
5562         * locale/programs/locale.c (show_locale_vars): Likewise.
5563         (show_info): Likewise.
5564         * locale/programs/ld-collate.c (collate_output): Likewise.
5565         * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
5566         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
5567         * stdlib/rpmatch.c (rpmatch): Likewise.
5569         * setjmp/tst-setjmp.c: Make local functions static.
5570         * setjmp/jmpbug.c: Likewise.
5571         * signal/tst-signal.c: Likewise.
5572         * stdio-common/tfformat.c: Likewise.
5573         * string/tst-svc.c: Likewise.
5574         * time/clocktest.c: Likewise.
5575         * time/tst-getdate.c: Likewise.
5576         * dirent/list.c: Likewise.
5577         * dirent/opendir-tst1.c: Likewise.
5578         * posix/runtests.c: Likewise.
5579         * posix/tst-getaddrinfo.c: Likewise.
5580         * posix/tst-chmod.c: Likewise.
5581         * posix/wordexp-test.c: Likewise.
5582         * misc/tst-efgcvt.c: Likewise.
5583         * timezone/tst-timezone.c: Likewise.
5584         * rt/tst-clock.c: Likewise.
5585         * rt/tst-shm.c: Likewise.
5586         * rt/tst-aio2.c: Likewise.
5587         * rt/tst-aio3.c: Likewise.
5588         * rt/tst-aio4.c: Likewise.
5589         * rt/tst-aio5.c: Likewise.
5591         * dlfcn/failtest.c: Add prototype for foo.
5593         * dlfcn/glrefmain.c: Add prototype for do_test.
5595         * dlfcn/tst-dladdr.c: Add prototype for do_test.
5597         * string/test-ffs.c (main): Add prototype for nested function.
5599         * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
5601         * nss/XXX-lookup.c: Add prototype to shut up GCC.
5603         * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
5604         setetherent prototype.
5605         Add internal interfaces.
5607         * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
5608         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
5610         * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
5612         * nis/nis_intern.h: Add prototype for __pmap_getnisport.
5614         * nss/nss_files/files-ethers.c: Include netinet/ether.h to get
5615         prototypes, remove struct etherent since it's declared in ether.h.
5616         Fix ntohost declaration.
5618         * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
5620         * include/getopt.h: Add internal interfaces.
5621         * include/termios.h: Likewise.
5622         * include/resolv.h: Likewise.
5623         * include/netdb.h: Likewise.
5624         * include/grp.h: Likewise.
5625         * include/pwd.h: Likewise.
5626         * include/shadow.h: Likewise.
5627         * include/rpc/netdb.h: Likewise.
5628         * include/setjmp.h: Likewise.
5630         * include/stdio.h: Add prototypes for compatibility functions.
5631         * include/grp.h: Likewise.
5632         * include/pwd.h: Likewise.
5633         * include/shadow.h: Likewise.
5635         * include/fenv.h: Define internal interfaces.
5637 2000-12-27  Ulrich Drepper  <drepper@redhat.com>
5639         * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
5640         argument case separately.
5641         * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
5643 2000-12-27  Andreas Jaeger  <aj@suse.de>
5645         * include/sys/wait.h: Add some prototypes.
5646         * Rules (dummy.c): Create also prototype to shut up GCC.
5648 2000-12-27  Andreas Jaeger  <aj@suse.de>
5650         * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
5651         it's not needed at the moment.
5652         * sysdeps/generic/if_index.c (__protocol_available): Likewise.
5653         * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
5655 2000-12-26  Andreas Jaeger  <aj@suse.de>
5657         * libio/getc_u.c: Include stdio.h via system path to get internal
5658         prototypes.
5659         * libio/getwc_u.c: Likewise.
5661         * stdlib/strfmon.c: Fix prototype of __printf_fp.
5663         * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
5664         __printf_fp prototypes to ...
5665         * include/printf.h: ...here.
5667         * include/stdio.h: Add some internal prototypes to shut up GCC.
5668         * include/stdlib.h: Likewise.
5670         * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
5671         declaration.
5673         * include/signal.h: Add prototypes for internal sigpause
5674         interfaces.
5676 2000-12-26  Ulrich Drepper  <drepper@redhat.com>
5678         * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
5679         64bit platforms.  Reported by Dave Gilbert <gilbertd@treblig.org>.
5681         * string/Makefile (tests): Add tst-bswap.
5682         * string/tst-bswap.c: New file.
5684 2000-12-11  Bruno Haible  <haible@clisp.cons.org>
5686         * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
5688 2000-12-26  Ulrich Drepper  <drepper@redhat.com>
5690         * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
5691         Patch by Ed Connell <Ed.Connell@sas.com>.
5693 2000-12-24  Ulrich Drepper  <drepper@redhat.com>
5695         * locale/iso-639.def: Correct one entry.  Add two missing entries.
5697         * locale/iso-4217.def: Change entry for Eritrea.
5698         Reported by Daniel Yacob <yacob@geez.org>.
5700 2000-12-23  Ben Collins  <bcollins@debian.org>
5702         * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
5703         description.
5705         * manual/stdio.texi (Dynamic Output): Document the return value of
5706         asprintf.  Also make the asprintf/snprintf examples a little
5707         better (check for some error returns).
5709 2000-12-22  Andreas Jaeger  <aj@suse.de>
5711         * include/stdio.h: Add __ftrylockfile prototype.
5713 2000-12-21  H.J. Lu  <hjl@gnu.org>
5715         * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
5716         Make sign_exponent element signed.
5718         * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
5719         Fix a typo.
5721         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
5723 2000-12-21  Andreas Jaeger  <aj@suse.de>
5725         * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
5726         * inet/ether_hton.c: Likewise
5727         * inet/ether_ntoh.c: Likewise.
5729         * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
5730         declaration to match prototype.
5732         * include/netinet/ether.h (struct etherent): Declare here so that
5733         all implementations use the same struct.
5735         * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
5736         prototypes.
5737         (struct ether): Removed.
5738         Use struct etherent instead of ether everywhere.
5740         * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
5742         * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
5744         * sunrpc/publickey.c: Include auth_des.h for prototypes.
5746 2000-12-20  Ulrich Drepper  <drepper@redhat.com>
5748         * math/test-misc.c: Add more tests for nextafter functions.
5750         * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
5751         normal correctly.  Correct test for sign.
5752         Based on a patch by HJ Lu.
5754 2000-12-19  Ulrich Drepper  <drepper@redhat.com>
5756         * Makeconfig (preprocess-version): Add -traditional to gcc call.
5757         Cleanup sed calls.
5759 2000-12-19  Andreas Jaeger  <aj@suse.de>
5761         * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
5763         * nis/nis_intern.h: Add prototype for __do_niscall3.
5765         * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
5766         match prototype.
5768         * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
5770         * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
5772         * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
5774 2000-12-18  Ulrich Drepper  <drepper@redhat.com>
5776         * math/test-misc.c: Add more tests for nextafter.
5777         * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
5778         * sysdeps/ieee754/ldbl-96/math_ldbl.h
5779         (ieee_long_double_shape_type): Make sign_exponent element signed.
5781         * manual/message.texi: Add Estonian to plural overview list.
5782         Correct rule for Slavic languages.
5783         Patch by Stanislav Brabec <utx@penguin.cz>.
5785         * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
5787 2000-12-18  Andreas Jaeger  <aj@suse.de>
5789         * test-skeleton.c: Use temp_name_list instead of name_list to
5790         avoid collision with name_list from inet/netgroup.h.
5792         * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
5794         * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
5795         * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
5796         * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
5797         * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
5799         * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
5800         declaration to match prototype.
5801         * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
5802         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
5803         * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
5804         Likewise.
5805         * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
5806         * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
5807         * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
5808         * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
5809         (_nss_nis_getservbyport_r): Likewise.
5810         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
5811         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
5812         * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
5813         (_nss_nis_setnetent): Likewise
5814         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
5815         (_nss_nis_endnetgrent): Likewise.
5816         * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
5817         Likewise.
5818         (_nss_nisplus_setnetgrent): Likewise.
5819         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
5820         * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
5821         * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
5822         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
5823         Likewise.
5824         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
5825         Likewise.
5826         * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
5827         Likewise.
5828         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
5829         Likewise.
5830         * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
5831         * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
5832         * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
5833         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
5834         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
5835         (_nss_dns_getnetbyaddr_r): Likewise.
5837 2000-12-17  Andreas Jaeger  <aj@suse.de>
5839         * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
5840         parameter.
5842         * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
5843         unused attribute to shut up gcc warnings.
5845         * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
5846         * sysdeps/generic/k_tanl.c: Likewise.
5847         * sysdeps/generic/k_cosl.c: Likewise.
5848         * sysdeps/generic/e_j0l.c: Likewise.
5849         * sysdeps/generic/e_j1l.c: Likewise.
5850         * sysdeps/generic/e_jnl.c: Likewise.
5851         * sysdeps/generic/e_lgammal_r.c: Likewise.
5853         * elf/vismain.c: Move prototypes for functions in vismod*.c to
5854         vismod.h.
5855         * elf/vismod.h: New file.
5856         * elf/Makefile (distribute): Add vismod.h.
5857         * elf/vismod1.c: Include vismod.h.
5858         * elf/vismod2.c: Likewise.
5859         * elf/vismod3.c: Likewise.
5861         * elf/constload3.c: Add prototype declarations to shut up gcc.
5862         * elf/failobj.c: Likewise.
5863         * elf/nodelmod3.c: Likewise.
5864         * elf/filtmod1.c: Likewise.
5865         * elf/filtmod2.c: Likewise.
5866         * elf/reldepmod1.c: Likewise.
5867         * elf/reldepmod2.c: Likewise.
5868         * elf/reldepmod3.c: Likewise.
5869         * elf/reldepmod4.c: Likewise.
5870         * elf/unload2dep.c: Likewise.
5871         * elf/unload2mod.c: Likewise.
5872         * elf/ltglobmod1.c: Likewise.
5873         * elf/pathoptobj.c: Likewise.
5874         * elf/neededobj1.c: Likewise.
5875         * elf/neededobj2.c: Likewise.
5876         * elf/neededobj3.c: Likewise.
5877         * elf/neededobj4.c: Likewise.
5878         * elf/nextmod1.c: Likewise.
5879         * elf/nextmod2.c: Likewise.
5881         * locale/programs/ld-collate.c (collate_finish): Don't use labels
5882         at end of compound statement.
5883         * locale/programs/locale.c (show_info): Likewise.
5884         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
5886 2000-12-16  Jakub Jelinek  <jakub@redhat.com>
5888         * catgets/gencat.c (read_input_file): Avoid calling obstack_free
5889         with a pointer not returned by obstack_ functions.
5891 2000-12-16  Ulrich Drepper  <drepper@redhat.com>
5893         * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
5894         version.
5895         (struct stat64): Likewise.
5896         Reported by Michael Keezer <mkeezer@redhat.com>.
5898         * timezone/asia: Update from tzdata2000h.
5899         * timezone/australasia: Likewise.
5900         * timezone/backward: Likewise.
5901         * timezone/europe: Likewise.
5902         * timezone/northamerica: Likewise.
5903         * timezone/southamerica: Likewise.
5904         * timezone/zone.tab: Likewise.
5906 2000-12-14  Jakub Jelinek  <jakub@redhat.com>
5908         * io/ftw.c (ftw_dir): If process_entry returned non-zero result
5909         and dir.stream is NULL, only free dir.content.
5910         * io/ftwtest.c (cb, main): Add --early-exit option to test it.
5911         * io/ftwtest-sh: Test with --early-exit.
5913 2000-12-13  Jakub Jelinek  <jakub@redhat.com>
5915         * misc/efgcvt.c (FCVT_MAXDIG): Define.
5916         (FCVT_BUFPTR): New variable.
5917         (fcvt): If fcvt_r returns -1 on the static short buffer,
5918         try to malloc a sufficiently large one and retry.
5919         (free_mem): New function.
5920         * misc/qefgcvt.c (FCVT_MAXDIG): Define.
5921         * misc/tst-efgcvt.c (fcvt_tests): Add new test.
5923 2000-12-15  Ulrich Drepper  <drepper@redhat.com>
5925         * misc/dirname.c (dirname): Fix search for second to last slash.
5927 2000-12-13  Andreas Jaeger  <aj@suse.de>
5929         * misc/tst-dirname.c (main): Fix typo in test to really use
5930         the examples from Unix98.
5931         Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
5933 2000-12-09  H.J. Lu  <hjl@gnu.org>
5935         * sysdeps/ia64/fpu/s_fabs.S: New file.
5936         * sysdeps/ia64/fpu/s_fabsf.S: New file.
5937         * sysdeps/ia64/fpu/s_fabsl.S: New file.
5939 2000-12-15  Andreas Jaeger  <aj@suse.de>
5941         * stdio-common/scanf9.c (main): Reformat and change to avoid
5942         warnings.
5944         * stdio-common/tstdiomisc.c: Make local functions static.
5945         * stdio-common/tst-printf.c: Likewise.
5947         * elf/constload2.c: Add prototype declarations to shut up gcc.
5948         * elf/dep1.c: Likewise.
5949         * elf/dep2.c: Likewise.
5950         * elf/dep3.c: Likewise.
5951         * elf/dep4.c: Likewise.
5952         * elf/ltglobmod2.c: Likewise.
5954         * libio/fmemopen.c: Make local functions static.
5956         * elf/Makefile (distribute): Added testobj.h.
5958         * elf/testobj.h: New file.
5960         * elf/testobj1.c: Include testobj.h and move prototype
5961         declarations to testobj.h.
5962         * elf/testobj2.c: Likewise.
5963         * elf/testobj3.c: Likewise.
5964         * elf/testobj4.c: Likewise.
5965         * elf/testobj5.c: Likewise.
5966         * elf/testobj6.c: Likewise.
5967         * elf/testobj1_1.c: Likewise.
5968         * elf/preloadtest.c: Likewise.
5970 2000-12-15  Ben Collins  <bcollins@debian.org>
5972         * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
5973         Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
5975 2000-12-14  H.J. Lu  <hjl@gnu.org>
5977         * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
5978         field in a float is 8 bits, not 11 bits.
5980 2000-12-13  Jakub Jelinek  <jakub@redhat.com>
5982         * math/test-misc.c (main): Adjust m for IEEE quad long double.
5984 2000-12-13  Andreas Jaeger  <aj@suse.de>
5986         * manual/message.texi (Using gettextized software): Fix typo.
5988         * manual/charset.texi (Converting a Character): Fix mbstouwcs
5989         program to compile.
5990         Patch by Martin Buchholz <martin@xemacs.org>.
5992         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
5993         Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
5995 2000-12-11  Andreas Jaeger  <aj@suse.de>
5997         * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
5998         kernel_sigset_t and use it.
5999         Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
6001 2000-12-10  Richard Henderson  <rth@redhat.com>
6003         * sysdeps/alpha/alphaev67/fpu/Implies: New file.
6004         * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
6005         * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
6007 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
6009         * sysdeps/alpha/htonl.S: Fix a typo.
6011 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
6013         * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
6015 2000-12-10  Andreas Jaeger  <aj@suse.de>
6017         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
6018         cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
6019         Drepper <drepper@redhat.com>.
6021 2000-12-09  Andreas Jaeger  <aj@suse.de>
6023         * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
6025         * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
6026         generic version.
6027         Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
6029         * locale/programs/ld-collate.c (handle_ellipsis): Fix format
6030         string.
6032         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
6033         format string.
6035         * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
6036         * nscd/connections.c (handle_request): Likewise.
6037         * nscd/pwdcache.c (addpwbyname): Likewise.
6038         * nscd/grpcache.c (addgrbyname): Likewise.
6040         * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
6042 2000-12-09  Ulrich Drepper  <drepper@redhat.com>
6044         * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
6046         * Makeconfig (default_cflags): Make -O2 the default for stable
6047         releases.
6049 2000-12-08  H.J. Lu  <hjl@gnu.org>
6051         * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
6052         * sysdeps/ia64/fpu/s_isinf.S: This.
6053         Add a .pred.rel.mutex note to avoid false report.
6055         * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
6056         * sysdeps/ia64/fpu/s_isnan.S: This.
6058         * sysdeps/ia64/fpu/s_fpclassify.S: New file.
6059         * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
6060         * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
6061         * sysdeps/ia64/fpu/s_isinff.S: New file.
6062         * sysdeps/ia64/fpu/s_isinfl.S: New file.
6063         * sysdeps/ia64/fpu/s_isnanf.S: New file.
6064         * sysdeps/ia64/fpu/s_isnanl.S: New file.
6065         * sysdeps/ia64/fpu/s_finite.S: New file.
6066         * sysdeps/ia64/fpu/s_finitef.S: New file.
6067         * sysdeps/ia64/fpu/s_finitel.S: New file.
6068         * sysdeps/ia64/fpu/s_signbit.S: New file.
6069         * sysdeps/ia64/fpu/s_signbitf.S: New file.
6070         * sysdeps/ia64/fpu/s_signbitl.S: New file.
6071         * sysdeps/ia64/fpu/s_copysign.S: New file.
6072         * sysdeps/ia64/fpu/s_copysignf.S: New file.
6073         * sysdeps/ia64/fpu/s_copysignl.S: New file.
6075 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
6077         * math/libm-test.inc (main): Fix typos in messages.
6079         * string/stratcliff.c: Add test for rawmemchr.
6081 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
6083         * elf/dl-open.c (_dl_open): If objname points right after errstring,
6084         allocate it together with errstring using alloca.
6085         * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
6086         to "", because it might point to local stack.
6088 2000-12-05  H.J. Lu  <hjl@gnu.org>
6090         * nss/Makefile (routines): Add getnssent and getnssent_r.
6091         * nss/nsswitch.h (__nss_setent): New internal NSS function.
6092         (__nss_endent): Likewise.
6093         (__nss_getent_r): Likewise.
6094         (__nss_getent): Likewise.
6095         * nss/getnssent_r.c: New file.
6096         * nss/getnssent.c: New file.
6097         * nss/getXXent.c (H_ERRNO_VAR): Updated.
6098         (GETFUNC_NAME): Updated to call __nss_getent ().
6099         * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
6100         (STAYOPEN_TMPVAR): Updated.
6101         (STAYOPEN_VAR): Updated.
6102         (SETFUNC_NAME): Updated to call __nss_setent ().
6103         (ENDFUNC_NAME): Updated to call __nss_endent ().
6104         (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
6106 2000-12-08  Andreas Jaeger  <aj@suse.de>
6108         * nscd/dbg_log.h (dbg_log): Correct attribute.
6110 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
6112         * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
6113         cp + len.  Compute where from dirname.
6114         Reported by <jreiser@BitWagon.com>.
6116 2000-12-08  Richard Henderson  <rth@twiddle.net>
6118         * sysdeps/alpha/_mcount.S: Fix typo.
6119         * sysdeps/alpha/strncpy.S: Likewise.
6121         * sysdeps/alpha/alphaev6/Implies: New file.
6122         * sysdeps/alpha/alphaev67/Implies: New file.
6123         * sysdeps/alpha/alphaev67/ffs.S: New file.
6124         * sysdeps/alpha/alphaev67/ffsll.S: New file.
6125         * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
6126         * sysdeps/alpha/alphaev67/stpcpy.S: New file.
6127         * sysdeps/alpha/alphaev67/stpncpy.S: New file.
6128         * sysdeps/alpha/rawmemchr.S: New file.
6129         * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
6130         * sysdeps/alpha/strcpy.S: Likewise.
6132         From GMP 3.1.1:
6133         * sysdeps/alpha/alphaev6/addmul_1.s: New file.
6135         From rick.gorton@alpha-processor.com:
6136         * sysdeps/alpha/alphaev6/memchr.S: New file.
6137         * sysdeps/alpha/alphaev6/memcpy.S: New file.
6138         * sysdeps/alpha/alphaev6/memset.S: New file.
6139         * sysdeps/alpha/alphaev6/stxcpy.S: New file.
6140         * sysdeps/alpha/alphaev6/stxncpy.S: New file.
6141         * sysdeps/alpha/alphaev67/strcat.S: New file.
6142         * sysdeps/alpha/alphaev67/strchr.S: New file.
6143         * sysdeps/alpha/alphaev67/strlen.S: New file.
6144         * sysdeps/alpha/alphaev67/strncat.S: New file.
6145         * sysdeps/alpha/htonl.S: Use a shorter sequence.
6147 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
6149         * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
6150         Reported by <pspencer@fields.utoronto.ca>.
6152 2000-12-07  Jes Sorensen  <jes@linuxcare.com>
6154         * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
6155         Pointed out by Hans Boehm.
6157 2000-12-07  H.J. Lu  <hjl@gnu.org>
6159         * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
6161 2000-12-07  Andreas Jaeger  <aj@suse.de>
6163         * misc/error.c: Add format attributes for __error and __error_at_line.
6165         * nscd/dbg_log.h: Add format attribute.
6167 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
6169         * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
6170         Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
6172 2000-12-07  Dan Pop  <Dan.Pop@cern.ch>
6174         * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
6176 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
6178         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
6179         (sysdep_routines): Add uitrunc.
6180         * sysdeps/unix/sysv/aix/uitrunc.c: New file.
6181         Patches by Michael Keezer <mkeezer@redhat.com>.
6183 2000-12-06  Roland McGrath  <roland@frob.com>
6185         * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
6186         argument data, since it will be used to copy out too (for INOUT).
6187         Reported by Marcus Brinkmann <marcus@gnu.org>.
6189         * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
6190         (__ioctl): Use uintptr_t instead of unsigned long int.
6192 2000-12-06  Jim Wilson  <wilson@redhat.com>
6194         * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
6196 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
6198         * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
6199         x.5 rounding correctly.
6201 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
6203         * stdio-common/perror.c (perror): Conditionalize code dealing with
6204         wide-oriented streams on USE_IN_LIBIO.
6206 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
6208         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
6209         as internal_function.
6211 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
6213         * sysdeps/alpha/elf/start.S (__data_start): Define.
6215 2000-12-05  H.J. Lu  <hjl@gnu.org>
6217         * nss/getXXent_r.c (setup): Change the return type to int.
6219 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
6221         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
6222         (sysdep_routines): Add restf and savef.
6223         * sysdeps/unix/sysv/aix/restf.c: New file.
6224         * sysdeps/unix/sysv/aix/savef.c: New file.
6225         Patches by Michael Keezer <mkeezer@redhat.com>.
6227         * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
6228         if O_DIRECTORY is not defined.
6229         Patch by Michael Keezer <mkeezer@redhat.com>.
6231         * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
6232         Patch by Michael Keezer <mkeezer@redhat.com>.
6234         * locale/programs/linereader.c (get_toplvl_escape): Recognize more
6235         than 4 bytes in escape sequence.
6236         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
6238 2000-12-05  Andreas Jaeger  <aj@suse.de>
6240         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
6241         set mips2.
6243         * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
6245         * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
6247         * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
6248         Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
6250         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
6251         internal_function.
6252         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
6253         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
6255         * sysdeps/generic/dl-cache.c: Remove declaration of
6256         _dl_sysdep_read_whole_file.
6258         * elf/dl-load.c (_dl_map_object): Remove declaration of
6259         _dl_load_cache_lookup.
6261         * sysdeps/generic/ldsodefs.h: Add declarations of
6262         _dl_load_cache_lookup, _dl_unload_cache,
6263         _dl_sysdep_read_whole_file, _dl_sysdep_start and
6264         _dl_sysdep_start_cleanup.
6266         * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
6267         now.
6269         * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
6270         * sysdeps/generic/dl-environ.c: Likewise.
6272         * stdio-common/printf_fp.c: Include <gmp.h> instead of
6273         <stdlib/gmp.h>.
6274         * math/atest-exp.c: Likewise.
6275         * math/atest-exp2.c: Likewise.
6276         * math/atest-sincos.c: Likewise.
6277         * stdio-common/_itoa.c: Likewise.
6278         * stdio-common/_itowa.c: Likewise.
6280         * include/gmp.h: New file with internal prototypes.
6282         * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
6283         here to...
6284         * include/setjmp.h: ...here.
6286         * locale/Makefile (routines): Remove codeset_name since it's not
6287         needed anywhere.
6289         * locale/codeset_name.c: Removed.
6291 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
6293         * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
6295 2000-12-05  Andreas Jaeger  <aj@suse.de>
6297         * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
6299 2000-12-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
6301         * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
6302         available.
6304 2000-12-05  Andreas Jaeger  <aj@suse.de>
6306         * nss/test-netdb.c: Mark local functions as static to avoid
6307         warnings.
6308         (main): Use return to silence warning.
6310         * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
6312         * stdio-common/test-popen.c: Mark local functions as static to
6313         avoid warnings.
6314         (main): Use return to silence warning.
6316         * stdlib/testsort.c (compare): Mark as static to avoid warning.
6318         * assert/test-assert.c: Mark local functions as static to avoid
6319         warnings.
6320         * assert/test-assert-perr.c: Likewise.
6322         * math/libm-test.inc (main): Use return to silence warnings.
6324 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
6326         * math/fenv.h: Fix typo in comment.
6328         * math/test-misc.c (main): Add a few more over and underflow tests
6329         for scalb.
6331         * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
6332         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6333         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6334         * math/w_scalb.c: Don't use matherr except in SVID mode.
6335         * math/w_scalbf.c: Likewise.
6336         * math/w_scalbl.c: Likewise.
6337         * math/test-misc.c: Add test for NaN and scalbl.
6338         Reported by Fred J. Tydeman <tydeman@tybor.com>.
6340 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
6342         * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
6343         * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
6344         * include/libc-symbols.h (strong_alias): Define special version
6345         for HAVE_ASM_GLOBAL_DOT_NAME.
6346         (weak_alias): Likewise.
6347         * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
6348         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
6349         (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
6350         getutxline, pututxline, and utmpxname.
6351         * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
6352         * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
6353         * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
6354         * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
6355         * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
6356         * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
6357         * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
6358         * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup.  Add comments.
6359         * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
6360         Patches by Michael Keezer <mkeezer@redhat.com>.
6362 2000-12-04  H.J. Lu  <hjl@gnu.org>
6364         * configure.in: Change --with-oldest-abi=ABI to
6365         --enable-oldest-abi=ABI.
6367 2000-12-02  Bruno Haible  <haible@clisp.cons.org>
6369         * stdio-common/perror.c (perror): If stderr is wide-oriented, use
6370         fwprintf instead of fprintf.
6372 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
6374         * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
6375         DECIMAL_DIG definitions.
6376         * sysdeps/arm/fpu/bits/mathdef.h: Likewise
6377         * sysdeps/generic/bits/mathdef.h: Likewise
6378         * sysdeps/i386/fpu/bits/mathdef.h: Likewise
6379         * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
6380         * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
6381         * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
6382         * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
6383         * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
6385 2000-12-03  Ulrich Drepper  <drepper@redhat.com>
6387         * math/test-fenv.c (main): Use return instead of exit to avoid warning.
6389         * math/atest-exp.c: Mark local functions as static to avoid warnings.
6390         * math/atest-exp2.c: Likewise.
6391         * math/atest-sincos.c: Likewise.
6393         * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
6394         Reported by Fred J. Tydeman <tydeman@tybor.com>.
6396         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
6397         the handling of denormalized numbers.
6399         * math/test-misc.c (main): Test for fpclassify and pseudo denormal
6400         numbers on x86.
6401         * sysdeps/i386/fpu/fpclassifyl.c: New file.
6403         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
6404         pseudo denormal representation of LDBL_MIN.
6406         * iconvdata/SJIS.irreversible: Remove unnecessary entries.
6407         * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
6409         * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
6410         * iconvdata/jis0208.c: Likewise.
6411         * iconvdata/jis0212.c: Likewise.
6412         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
6414         * math/test-misc.c (main): More tests for frexp and some for
6415         fpclassify and isnormal.
6417         * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
6418         test for subnormal.
6419         Reported by Fred J. Tydeman <tydeman@tybor.com>.
6421         * math/test-misc.c (main): Add tests for frexp.
6422         Reported by Fred J. Tydeman <tydeman@tybor.com>.
6423         * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
6425 2000-12-02  H.J. Lu  <hjl@gnu.org>
6427         * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
6428         '\0' to wcschr.
6430 2000-12-02  Ulrich Drepper  <drepper@redhat.com>
6432         * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
6433         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6434         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6436         * sysdeps/generic/glob.c: Adjust types of several variables to
6437         avoid warnings.
6439 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
6441         * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
6443 2000-11-30  Roland McGrath  <roland@frob.com>
6445         * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
6446         (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
6447         allow multiple instances using the same function name in one file.
6449 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
6451         * configure.in: Correct test for pserver CVS access.
6453 2000-11-28  H.J. Lu  <hjl@gnu.org>
6455         * libio/libio.h: Remove extra "#if ... #endif".
6457 2000-11-29  H.J. Lu  <hjl@gnu.org>
6459         * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
6461 2000-12-01  H.J. Lu  <hjl@gnu.org>
6463         * nss/getXXbyYY_r.c: Fix verioned symbol handling.
6464         * nss/getXXent_r.c: Likewise.
6465         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6467 2000-11-30  H.J. Lu  <hjl@gnu.org>
6469         * scripts/abi-versions.awk (oldest_abi): New variable.
6470         Handle the oldest ABI supported.
6472         * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
6473         for scripts/abi-versions.awk.
6475         * configure.in: Add --with-oldest-abi=ABI.
6476         * configure: Rebuild.
6478         * config.make.in (oldest-abi): New.
6480         * config.h.in (GLIBC_OLDEST_ABI): New.
6482         * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
6484 2000-11-30  Jakub Jelinek  <jakub@redhat.com>
6486         * locale/setlocale.c (setname): Free for all categories, not just
6487         LC_ALL.
6488         (setlocale): Store a copy of string passed by user, not the string
6489         itself.
6491 2000-11-30  Roland McGrath  <roland@frob.com>
6493         * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
6494         rather than _hurd_fd_subinit, so it happens after it's safe to use
6495         libc facilities like malloc.
6497 2000-11-28  Andreas Jaeger  <aj@suse.de>
6499         * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
6500         declaration, adjust declaration of __syscall_getdents to match
6501         kernel.
6503 2000-11-29  H.J. Lu  <hjl@gnu.org>
6505         * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
6507 2000-11-29  Andreas Jaeger  <aj@suse.de>
6509         * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
6511 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
6513         * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
6514         * dlfcn/defaultmod2.c: Likewise.
6515         * dlfcn/dlopen.c: Likewise.
6516         * dlfcn/dlopenold.c: Likewise.
6517         * dlfcn/failtestmod.c: Likewise.
6518         * dlfcn/glreflib1.c: Likewise.
6519         * dlfcn/glreflib2.c: Likewise.
6520         * dlfcn/eval.c: Likewise.  Add attributes.
6522         * ctype/ctype-extn.c: Define isblank and not __isblank.
6524         * time/strftime.c: Add const where necessary to avoid warnings.
6525         * time/strptime.c (strptime_internal): Add casts to avoid warnings.
6527 2000-11-22  Paul Eggert  <eggert@twinsun.com>
6529         * time/strftime.c (my_strftime): Do not invoke mbrlen with a
6530         size of (size_t) -1; it's not portable.
6532 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
6534         * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
6535         crappy i486 FPU.
6536         Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
6538 2000-11-14  Jes Sorensen  <jes@linuxcare.com>
6540         * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
6542         * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
6543         _mcount is required by profiled binaries.
6545         * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
6546         * sysdeps/ia64/machine-gmon.h: ...here.
6548 2000-11-28  Masahide Washizawa  <washi@jp.ibm.com>
6550         * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
6551         (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
6552         and ibm1129.h.
6553         * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
6554         IBM1129.
6555         * iconvdata/ibm922.c: New file.
6556         * iconvdata/ibm922.h: New file.
6557         * iconvdata/ibm1124.c: New file.
6558         * iconvdata/ibm1124.h: New file.
6559         * iconvdata/ibm1129.c: New file.
6560         * iconvdata/ibm1129.h: New file.
6561         * iconvdata/testdata/IBM922: New file.
6562         * iconvdata/testdata/IBM922..UTF8: New file.
6563         * iconvdata/testdata/IBM1124: New file.
6564         * iconvdata/testdata/IBM1124..UTF8: New file.
6565         * iconvdata/testdata/IBM1129: New file.
6566         * iconvdata/testdata/IBM1129..UTF8: New file.
6568 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
6570         * catgets/gencat.c (normalize_line): Take extra parameter with escape
6571         character.  Change callers.
6572         (open_conversion): Determine mapping of 0x5c as wchar_t value.
6573         * catgets/Makefile: Add rules to build and run test-gencat.
6574         * catgets/sample.SJIS: New file.
6575         * catgets/test-gencat.c: New file.
6576         * catgets/test-gencat.sh: New file.
6577         Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
6579 2000-11-28  Andreas Jaeger  <aj@suse.de>
6581         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
6582         Linux version.
6584 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
6586         * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
6588 2000-11-28  Andreas Jaeger  <aj@suse.de>
6590         * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
6591         __flexarr.
6592         * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
6593         Likewise.
6595 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
6597         * misc/getusershell.c: Make strings in okshells array const.
6598         * misc/regexp.c: Add const to cast to avoid warnings.
6599         * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
6600         * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
6601         __setresuid.
6602         * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
6603         setresgid.
6604         * misc/error.c: Add prototypes for __error and __error_at_line.
6605         * misc/mntent_r.c (__getmntent_r): Add break at end of switch
6606         statement to avoid warning.
6607         * test-skeleton.c: Mark timeout_handler with noreturn.
6608         * iconv/skeleton.c (get16u): Add const to cast.
6609         (get32u): Likewise.
6610         * iconvdata/gb18030.c: Likewise.
6611         * iconvdata/iso-2022-cn-ext.c: Likewise.
6612         * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
6613         * iconvdata/big5.c: Likewise.
6614         * iconvdata/big5hkscs.c: Likewise.
6615         * iconvdata/iso_6937.c: Likewise.
6616         * iconvdata/iso_6937-2.c: Likewise.
6617         * iconvdata/t.61.c: Likewise.
6618         * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
6619         * iconvdata/unicode.c: Likewise.
6620         * iconvdata/utf-16.c: Likewise.
6621         * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
6622         * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
6623         with little code shuffling.
6625         * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
6626         the problems introduced when the user selects -O3.
6628         * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
6629         * misc/sys/cdefs.h: Define __flexarr.
6630         Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
6632         * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
6633         * iconv/skeleton.c: Likewise.
6634         * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
6635         * iconv/loop.c (get16): Add const to cast.
6636         (get32): Likewise.
6638 2000-11-27  Andreas Jaeger  <aj@suse.de>
6640         * login/programs/pt_chown.c (do_pt_chown): Mark function as static
6641         to avoid warning.
6642         * login/programs/utmpdump.c (print_entry): Likewise.
6644 2000-11-25  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
6646         * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
6647         in a single asm as they may be used to access other stored
6648         registers.
6649         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
6651 2000-11-27  Andreas Jaeger  <aj@suse.de>
6653         * rt/tst-aio.c: Mark test functions as static to avoid warnings.
6654         * rt/tst-aio64.c: Likewise.
6656 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
6658         * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
6659         for gencat run.
6660         (libc.cat): Likewise.
6661         * catgets/gencat.c: Implement handling of message catalogs encoded
6662         with stateful character sets.
6663         Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
6665 2000-11-26  Ulrich Drepper  <drepper@redhat.com>
6667         * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
6669         * inet/getnameinfo.c: Adjust casts to avoid warnings.
6670         * inet/rcmd.c: Likewise.
6671         * inet/ruserpass.c: Likewise.
6672         * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
6673         IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
6674         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
6675         IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
6676         IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
6677         IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
6678         * include/aliases.h: Add prototypes for internal __getalias* functions.
6679         * include/netdb.h: Add prototypes for __old_gethostent_r,
6680         __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
6681         __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
6682         __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
6683         __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
6684         * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
6685         __old_getrpcbynumber_r, __old_getrpcent_r.
6687         * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
6688         __getrpcent_r prototypes.
6690 2000-11-25  Ulrich Drepper  <drepper@redhat.com>
6692         * string/strcoll.c: Add casts to avoid warnings.
6693         * string/strnlen.c: Likewise.
6694         * string/strxfrm.c: Likewise.
6695         * sysdeps/generic/_strerror.c: Likewise.
6696         * sysdeps/generic/memrchr.c: Likewise.
6697         * sysdeps/generic/strcasestr.c: Likewise.
6698         * sysdeps/generic/strstr.c: Likewise.
6700         * locale/weight.h (findidx): Add const to cast to avoid warning.
6702         * elf/loadfail.c: Little cosmetic changes to avoid warnings.
6703         * elf/loadtest.c: Likewise.
6704         * elf/multiload.c: Likewise.
6705         * elf/next.c: Likewise.
6706         * elf/nodelete.c: Likewise.
6707         * elf/noload.c: Likewise.
6708         * elf/order.c: Likewise.
6709         * elf/origtest.c: Likewise.
6710         * elf/preloadtest.c: Likewise.
6711         * elf/restest1.c: Likewise.
6713         * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
6714         parameter of asm must be in %ecx.
6716         * string/tester.c: Mark test functions as static to avoid warnings.
6718         * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
6719         preserve value over different gconv-modules files.
6721 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
6723         * locale/findlocale.c: Add casts to avoid warnings.
6724         * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
6725         * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
6726         to avoid warnings.
6727         * misc/tsearch.c (const_node): New type.
6728         (trecurse): Correct casts to avoid warnings.
6729         (__twalk): Likewise.
6730         * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
6731         LONG_BIT.
6733         * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
6735         * test-skeleton.c: Mark local functions as static to avoid warnings.
6737 2000-11-23  H.J. Lu  <hjl@gnu.org>
6739         * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
6740         support the background job.
6741         Fix a typo.
6743 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
6745         * iconv/gconv_conf.c (insert_module): Replace old entry if new one
6746         has same names but lower cost.
6748 2000-11-23  Jakub Jelinek  <jakub@redhat.com>
6750         * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
6751         which never occur during bootstrap.
6752         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6754 2000-11-23  Andreas Jaeger  <aj@suse.de>
6756         * nss/nss_files/files-hosts.c: Remove getipnodebyname.
6758         * nss/Versions: Remove _nss_files_getipnodebyname_r.
6760         * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
6762 2000-11-18  Martin Buchholz  <martin@xemacs.org>
6764         * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
6765         (called++) return;'
6767 2000-11-21  Alan Modra  <alan@linuxcare.com.au>
6769         * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
6771         * csu/abi-note.S: Correct comment for operating system number.
6773 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
6775         * Versions.def: Add GLIBC_2.2.1 for glibc.
6777 2000-11-22  Andreas Schwab  <schwab@suse.de>
6779         * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
6780         * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
6782 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
6784         * rt/aio_suspend.c (aio_suspend): Convert timeout value to
6785         absolute time for pthread_cond_timedwait call.
6786         Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
6788         * rt/Makefile (tests): Add tst-aio6.
6789         * rt/tst-aio6.c: New file.
6791 2000-11-23  Andreas Jaeger  <aj@suse.de>
6793         * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
6795 2000-11-22  Andreas Jaeger  <aj@suse.de>
6797         * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
6799 2000-11-21  Martin Schwidefsky  <schwidefsky@de.ibm.com>
6801         * sysdeps/s390/bits/string.h: Make strncat always add a \0.
6803 2000-11-21  Andreas Schwab  <schwab@suse.de>
6805         * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
6806         * sysdeps/arm/setjmp.S: Likewise.
6807         * sysdeps/arm/fpu/setjmp.S: Likewise.
6808         * sysdeps/i386/setjmp.S: Likewise.
6809         * sysdeps/i386/elf/setjmp.S: Likewise.
6810         * sysdeps/s390/setjmp.S: Likewise.
6811         * sysdeps/s390/elf/setjmp.S: Likewise.
6812         * sysdeps/sh/sh3/setjmp.S: Likewise.
6813         * sysdeps/sh/sh4/setjmp.S: Likewise.
6814         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
6815         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
6816         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
6817         * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
6819 2000-11-21  Andreas Jaeger  <aj@suse.de>
6821         * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
6822         NORETURN, fix parameter list.
6824         * string/bug-strncat1.c (main): Fix typo.
6825         Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
6827 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
6829         * configure.in: Add --enable-all-warnings.
6830         * config.make.in (all-warnings): New variable.
6831         * Makeconfig (+gccwarn): Define with many more warnings if
6832         all-warnings is yes.
6834 2000-11-20  Jakub Jelinek  <jakub@redhat.com>
6836         * iconvdata/bug-iconv2.c (main): Use %zd in format string.
6837         * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
6838         * malloc/tst-valloc.c (main): Cast valloc return value to long.
6839         * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
6840         * math/test-fpucw.c (main): Use %lx in format string, cast
6841         control words to long.
6842         * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
6843         * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
6844         large that it is unsigned warning.
6846         * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
6847         it to long on sparc64.
6849 2000-11-20  Andreas Jaeger  <aj@suse.de>
6851         * nscd/nscd.h (termination_handler): Add noreturn attribute.
6852         (receiv_print_stats): Likewise.
6854         * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
6856 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
6858         * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
6860         * csu/gmon-start.c: Always have prototype for __gmon_start.
6861         * csu/version.c: Add prototypes for __libc_print_version and
6862         __libc_main.
6863         * iconv/gconv.c: Include gconv_int.h and gconv.h.
6864         * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
6865         and __to_name.
6866         * iconv/gconv_builtin.h: Add ASCII module definitions.
6867         * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
6868         (add_module): Add cast to avoid warning.  Rework construction of
6869         strings for new module.
6870         * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
6871         (derivation_compare): Likewise.
6872         * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
6873         (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
6874         * iconv/gconv_int.h (__gconv_path_elem): Remove const.
6875         (struct gconv_alias): Remove const from fromname and toname.
6876         * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
6877         for loop functions.
6878         (internal_ucs4_loop): Use correct const-ness.
6879         (ucs4_internal_loop): Likewise.
6880         (internal_ucs4le_loop): Likewise.
6881         (ucs4le_internal_loop_single): Likewise.
6882         * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
6883         to_idx, to_tbl, winbuf, winbufend const.  Change casts in
6884         assignments appropriately.
6885         (struct known_trans): Remove const from fname.
6886         (trans_compare): Make s1 and s2 const.
6887         * iconv/loop.c (LOOPFC): Make outend parameter const.  Add cast to
6888         avoid warning.
6889         * iconv/skeleton.c: Remove cast in calls of loop functions.
6890         * iconvdata/gconv-modules: Remove US-ASCII definitions.
6891         * iconvdata/iso646.c: Remove US_ASCII support.
6892         * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
6893         * include/unistd.h: Add __libc_check_standard_fds prototype.
6894         * string/bits/string2.h (__mempcpy_args): Add const to casts.
6895         * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
6896         _fini.
6897         * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
6898         * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
6899         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
6900         warning.
6901         * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
6902         __libc_init_first and _dl_start.
6903         * intl/dcigettext.c (transcmp): Make s1 and s2 const.
6904         (DCIGETTEXT): Make domaindata variable const.
6905         * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
6906         to avoid warning.
6908 2000-11-20  Hiroyuki Machida  <machida@sm.sony.co.jp>
6910         * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
6912         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
6913         time_t to 'long int' not, 'unsigned int'.  Use 'long int' for
6914         __unused? members.
6916         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
6917         value defined in /usr/include/asm-mips/fcntl.h.
6919 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
6921         * stdio-common/Makefile (tests): Add test-vfprintf.
6922         (test-vfprintf-ENV): New variable.
6923         * stdio-common/test-vfprintf.c: New file.
6925         * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
6927         * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
6928         (tst-mbrtowc-ENV): New variable.
6929         (tst-wcrtomb-ENV): New variable.
6930         * wcsmbs/tst-mbrtowc.c: New file.
6931         * wcsmbs/tst-wcrtomb.c: New file.
6933 2000-11-16  Andreas Jaeger  <aj@suse.de>
6935         * manual/install.texi (Tools for Compilation): Update
6936         documentation for GCC 2.95.2.
6938 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
6940         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
6941         if IPv4 and IPv6 requests timed out.
6943 2000-11-18  Akim Demaille  <akim@epita.fr>
6945         * malloc/obstack.h: Formatting changes.
6946         (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
6947         prevents type checking.
6948         (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
6949         cast the value to (void *): assigning a `foo *' to a `void *'
6950         variable is valid.
6951         (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
6953 2000-11-17  Ulrich Drepper  <drepper@redhat.com>
6955         * scripts/config.guess: Update from upstream maintainer.
6956         * scripts/config.sub: Likewise.
6958 2000-11-16  Ulrich Drepper  <drepper@redhat.com>
6960         * libio/freopen.c (freopen): Reset _mode after succesful reopening.
6961         * libio/freopen64.c (freopen64): Likewise.
6962         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
6964         * libio/Makefile: Add rules to build and run test-freopen.
6965         * libio/test-freopen.c: New file.
6966         * libio/test-freopen.sh: New file.
6968 2000-11-15  H.J. Lu  <hjl@gnu.org>
6970         * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
6971         ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
6972         (DL_DT_FINI_ADDRESS): Likewise.
6974         * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
6975         return type to ElfW(Addr).
6976         (_dl_function_address): New prototype.
6977         (DL_FUNCTION_ADDRESS): Defined.
6978         (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
6979         (DL_DT_FINI_ADDRESS): Likewise.
6981         * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
6983         * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
6984         (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
6986         * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
6987         (_dl_function_address): This.
6989         * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
6990         function pointer for DT_FINI.
6991         * elf/dl-close.c (_dl_close): Likewise.
6993         * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
6994         function pointer for DT_INIT.
6996 2000-11-16  Jakub Jelinek  <jakub@redhat.com>
6998         * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
6999         end of wexpbuf buffer.
7001 2000-11-16  Andreas Jaeger  <aj@suse.de>
7003         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
7004         definition of F_GETLK, F_SETLK, F_SETLKW.
7006 2000-11-16  Andreas Jaeger  <aj@suse.de>
7008         * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
7009         it's not defined.
7011 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
7013         * dlfcn/default.c (main): Add test for dladdr of main returning
7014         argv[0] in dli_fname field.
7016 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
7018         * Makeconfig (run-program-prefix): Move test-static test into the
7019         variable.
7021         * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
7022         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
7023         schedule instructions.
7024         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
7025         schedule instructions, fix a bug in copying auxiliary data.
7027 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
7029         * manual/startup.texi (Program Arguments): Fix type of main's envp
7030         parameter.
7031         Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
7033         * iconvdata/gconv-modules: Add CP950 alias.
7035 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
7037         * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
7038         syscall-list.h goal.
7039         * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
7041 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
7043         * intl/Makefile: tst-gettext2.sh does not need a third parameter.
7045         * intl/tst-gettext2.sh: Copy locale data.  Adjust LOCPATH.  Verify
7046         output of program.
7048         * intl/tst-gettext2.c: Set C locale if setting other locale
7049         failed.  Use gettext() not _().
7051         * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
7052         successfully loaded a new locale.
7054 2000-11-13  Andreas Jaeger  <aj@suse.de>
7056         * configure.in: Require gcc 2.95 or newer.
7058 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
7060         * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
7061         Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
7063 2000-11-11  Jim Meyering  <meyering@lucent.com>
7065         * string/strndup.c (strndup): Cast return value to `char *'.
7067 2000-11-15  Jim Meyering  <meyering@ascend.com>
7069         * sysdeps/generic/memchr.c: Remove some useless parentheses.
7070         [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
7071         [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
7072         [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
7073         Also #undef __memchr.
7074         Use `weak_alias' only if it's defined.
7076 2000-11-10  H.J. Lu  <hjl@gnu.org>
7078         * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
7080 2000-11-15  Andreas Jaeger  <aj@suse.de>
7082         * elf/chroot_canon.c: Include <stdint.h>.
7084         * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
7085         (print_entry): Likewise.
7086         (add_to_cache): Likewise.
7088         * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
7090         * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
7091         (path_hwcap): Likewise.
7092         (search_dir): Likewise.
7094         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
7096         * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
7098         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
7099         (_dl_platform_string): New.
7100         (_DL_HWCAP_PLATFORM): New.
7101         (_dl_string_platform): New.
7102         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
7104         * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
7105         (_dl_string_platform): New.
7106         (_DL_HWCAP_PLATFORM): New.
7107         (_dl_platform_string): New.
7109         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
7110         recognition.
7111         (_DL_HWCAP_COUNT): New.
7112         (_dl_string_platform): New.
7113         (_DL_HWCAP_PLATFORM): New.
7114         (_dl_platform_string): New.
7116 2000-11-14  Ulrich Drepper  <drepper@redhat.com>
7118         * iconvdata/gconv-modules: Add CP936 as alias for GBK.
7120 2000-11-14  Andreas Jaeger  <aj@suse.de>
7122         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
7124 2000-11-13  Roland McGrath  <roland@frob.com>
7126         * hurd/get-host.c (_hurd_get_host_config): Fix last change.
7128 2000-11-13  Marcus Brinkmann <marcus@gnu.org>
7130         * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
7131         underrun and make sure the result is null terminated even if there
7132         is no trailing newline.
7134 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
7136         * sysdeps/alpha/fpu/libm-test-ulps: Update.
7138 2000-11-10  H.J. Lu  <hjl@gnu.org>
7140         * sysdeps/ia64/fpu/libm-test-ulps: Updated.
7142 2000-11-10  Andreas Jaeger  <aj@suse.de>
7144         * elf/ldconfig.c (create_links): Fix alloca calculation.
7145         Patch by Ben Collins <bcollins@debian.org>.
7147 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
7149         * inet/getnameinfo.c (getnameinfo): Use correct destination
7150         parameter for if_indextoname.
7151         Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
7153 2000-11-09  H.J. Lu  <hjl@gnu.org>
7155         * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
7156         xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
7157         xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
7158         xdr_keystatus.
7160         * time/Versions (GLIBC_2.1): Move getitimer to...
7161         * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
7163 2000-11-03  Bruno Haible  <haible@clisp.cons.org>
7165         * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
7166         "make install", to work around a binary incompatibility between
7167         glibc 2.1 and glibc 2.2 gconv modules.
7169 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
7171         * intl/locale.alias: Add thai.
7172         Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
7174 2000-11-07  Akim Demaille  <akim@epita.fr>
7176         * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
7177         argument `data' for consistency with the prototypes.
7178         Qualify it `const'.
7179         (obstack_copy, obstack_copy0): Rename the second argument as
7180         `address' for consistency.  Qualify it `const'.
7181         * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
7182         (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
7183         `const' their input argument (`data' or `address').
7184         Adjust the corresponding macros to include `const' in casts.
7186 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
7188         * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
7189         target family.
7191 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
7193         * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
7194         socket creation.
7196 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
7198         * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
7199         ai_protocol by internal table if service was not given.
7201 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
7203         * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
7204         numerical port was specified with protocol without socktype.
7206 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
7208         * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
7210 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
7212         * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
7214 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
7216         * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
7217         sin6_scope_id field.
7219 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
7221         * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
7223 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
7225         * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
7227 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
7229         * inet/getnameinfo.c: Wake-up sin6_scope_id support in
7230         getnameinfo(): check for whether sin6_socpe_id exist was wrong.
7232 2000-11-09  Martin Schwidefsky  <mschwide@nc.boeblingen.de.ibm.com>
7234         * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
7235         * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
7237 2000-11-09  H.J. Lu  <hjl@gnu.org>
7239         * io/Versions (GLIBC_2.1.1): Remove lockf64.
7242 See ChangeLog.11 for earlier changes.