Update.
[glibc.git] / ChangeLog
blobfef0e67c6f2f8dc021d5a9bb29bf67bcb46c5120
1 2001-05-07  H.J. Lu  <hjl@gnu.org>
3         * elf/ldconfig.c (dir_entry): Add ino and dev.
4         (add_single_dir): Compare ino and dev to check if 2 directory
5         paths are the same or not. Free entry->path for duplicates.
6         (add_dir): Initialize ino and dev for entry.
7         (search_dir): Handle symlink to directory.
9 2001-05-07  Andreas Jaeger  <aj@suse.de>
11         * sysdeps/i386/fpu/libm-test-ulps: Add ulps for new exp tests.
13         * math/libm-test.inc (exp_test): Add some more tests.
14         (pow_test): Run double only test also for long double.
16         * math/test-ldouble.c (TEST_LDOUBLE): Define.
17         * math/test-ildoubl.c (TEST_LDOUBLE): Likewise.
19         * sysdeps/generic/bits/confname.h: Remove extra comma at end of
20         enumeration.
21         Closes PR libc/2240.
23         * scripts/config.guess: Imported from gnu.org.
24         * scripts/config.sub: Likewise.
26 2001-05-05  Jakub Jelinek  <jakub@redhat.com>
28         * include/features.h (__USE_EXTERN_INLINES): Don't define if
29         __NO_INLINE__ is defined.
30         * ctype/ctype.h (tolower, toupper): Change the guard condition to
31         __USE_EXTERN_INLINES check only.
32         * stdlib/stdlib.h (strtod, ...): Likewise.
33         * wcsmbs/wchar.h (mbrlen): Likewise.
34         * string/string.h: Only include bits/string.h and bits/string2.h
35         if __NO_INLINE__ is not defined.
37 2001-05-07  Andreas Jaeger  <aj@suse.de>
39         * debug/Makefile ($(objpfx)xtrace): Substitute @SLIBDIR@ instead
40         of @LIBDIR@.
42 2001-05-04  H.J. Lu  <hjl@gnu.org>
44         * malloc/Makefile ($(objpfx)memusage): Substitute @SLIBDIR@
45         not @LIBDIR@.
47 2001-05-06  Andreas Jaeger  <aj@suse.de>
49         * sysdeps/i386/fpu/e_fmodl.c: New, rewrite of e_fmodl.S.
50         * sysdeps/i386/fpu/e_fmodl.S: Removed.
51         * sysdeps/i386/fpu/e_atan2l.c: New, rewrite of e_atan2l.S.
52         * sysdeps/i386/fpu/e_atan2l.S: Removed.
53         * sysdeps/i386/fpu/e_acosl.c: New, rewrite of e_acos.S.
54         * sysdeps/i386/fpu/s_atanl.c: New, rewrite of e_atanl.S.
55         * sysdeps/i386/fpu/e_sqrtl.c: New, rewrite of e_sqrt.S.
56         * sysdeps/i386/fpu/e_acosl.S: Removed.
57         * sysdeps/i386/fpu/s_atanl.S: Removed.
58         * sysdeps/i386/fpu/e_sqrtl.S: Removed.
60 2001-05-05  Mark Kettenis  <kettenis@gnu.org>
62         * sysdeps/mach/hurd/bits/environments.h: Add comment from
63         sysdeps/generic/bits/environments.h.  Define _POSIX_V6_* values.
65 2001-04-30  Jakub Jelinek  <jakub@redhat.com>
67         * posix/confstr.c (confstr) [_CS_V6_WIDTH_RESTRICTED_ENVS]: Move so
68         that _CS_LFS_CFLAGS can fall through to the empty returned string
69         case.  Add FALLTHROUGH comment.
71 2001-04-29  Ralf Baechle  <ralf@gnu.org>
73         * sysdeps/unix/sysv/linux/mips/bits/sem.h: Make structure
74         definitions match the kernel definitions.
75         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
76         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
78 2001-04-29  Ben Collins  <bcollins@debian.org>
80         * sysdeps/sparc/sparc64/dl-machine.h: Fix multiline strings
81         warnings.
82         * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Likewise.
83         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
84         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
85         * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Likewise.
86         * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Likewise.
87         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
88         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
89         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
90         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
91         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
92         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
93         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
94         * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Likewise.
95         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
96         * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Likewise.
97         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
98         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
99         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
100         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
101         * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Likewise.
102         * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Likewise.
103         * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Likewise.
104         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
106 2001-04-29  Andreas Schwab  <schwab@suse.de>
108         * sysdeps/unix/sysv/linux/kernel-features.h: Fix missing backslash
109         in last change.
111 2001-04-29  Andreas Jaeger  <aj@suse.de>
113         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
114         Define for Arm, PowerPC and SH if kernel is 2.4.4 or newer.
116         * sysdeps/unix/sysv/linux/bits/socket.h (PF_WANPIPE): New, from
117         Linux 2.4.4.
118         (AF_WANPIPE): Likewise.
119         (MSG_MORE): New.
121         * sysdeps/unix/sysv/linux/alpha/bits/socket.h: Add same changes as
122         for Linux generic version.
123         * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Likewise.
124         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
125         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
126         * sysdeps/unix/sysv/linux/ia64/bits/socket.h: Likewise.
128         * sysdeps/gnu/netinet/tcp.h (TCP_QUICKACK): New.
130 2001-04-27  Ulrich Drepper  <drepper@redhat.com>
132         * nis/nss-nis.h: Correct test for invalid error number.
133         * nis/nss-nisplus.h: Likewise.
135         * nis/Makefile (libnss_compat-rountines): Add nss-nisplus.
137 2001-04-26  Ulrich Drepper  <drepper@redhat.com>
139         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getunwind.
141         * string/strcoll.c: Fix two memory allocation problems.
142         * string/Makefile (tests): Add bug-strcoll1.
143         * string/bug-strcoll1.c: New file.
145         * malloc/mcheck.c (mcheck): Call malloc once before setting the
146         hooks to allow the internal check hooks to be set up if necessary.
148         * nis/nss-nis.h: Move yperr2nss_tab definition into separate file
149         and rename to __yperr2nss_tab.  Change YPERR_COUNT into variable
150         __yperr2nss_count.
151         * nis/nss-nis.c: New file.
152         * nis/nss-nisplus.h: Move niserr2nss_tab definition into separate file
153         and rename to __niserr2nss_tab.  Change NISERR_COUNT into variable
154         __niserr2nss_count.
155         * nis/nss-nisplus.c: New file.
156         * nis/Makefile (libnss_compat-routines): Add nss-nis.
157         (libnss_nis-routines): Likewise.
158         (libnss_nisplus-routines): Add nss-nisplus.
160         * nis/nss_nisplus/nisplus-alias.c: Remove unnecessary initializations.
161         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
162         * nis/nss_nisplus/nisplus-grp.c: Likewise.
163         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
164         * nis/nss_nisplus/nisplus-network.c: Likewise.
165         * nis/nss_nisplus/nisplus-proto.c: Likewise.
166         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
167         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
168         * nis/nss_nisplus/nisplus-service.c: Likewise.
169         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
170         * nis/nss_nis/nis-alias.c: Likewise.
171         * nis/nss_nis/nis-ethers.c: Likewise.
172         * nis/nss_nis/nis-grp.c: Likewise.
173         * nis/nss_nis/nis-network.c: Likewise.
174         * nis/nss_nis/nis-proto.c: Likewise.
175         * nis/nss_nis/nis-pwd.c: Likewise.
176         * nis/nss_nis/nis-spwd.c: Likewise.
177         * nis/nss_compat/compat-grp.c: Likewise.
178         * nis/nss_compat/compat-initgroups.c: Likewise.
179         * nis/nss_compat/compat-pwd.c: Likewise.
180         * nis/nss_compat/compat-spwd.c: Likewise.
182         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Some more
183         optimizations.  Patch by Jakub Jelinek <jakub@redhat.com>.
185 2001-04-26  Andreas Jaeger  <aj@suse.de>
187         * po/zh_TW.po: Update.
188         Patch by Tung-Han Hsieh <thhsieh@tlug.sinica.edu.tw>.
190 2001-04-25  Ulrich Drepper  <drepper@redhat.com>
192         * malloc/malloc.c: Allow MALLOC_ALIGNMENT to be defined on the
193         compiler command line.
194         * sysdeps/hppa/Makefile: Add -DMALLOC_ALIGNMENT=16 to compiler
195         command line for malloc.c.
197 2001-04-25  Jakub Jelinek  <jakub@redhat.com>
199         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: Move to...
200         * sysdeps/unix/sysv/linux/sparc/bits/time.h: ...here.
201         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: Remove.
202         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: Move to...
203         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: ...here.  Adjust
204         struct msghdr for __WORDSIZE == 32.
205         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: Move to...
206         * sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: ...here. Adjust
207         for __WORDSIZE == 32.
208         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Remove.
209         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c: New
210         file.
211         * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_siglongjmp):
212         Rename from longjmp, make longjmp weak alias to it.
214 2001-04-24  David S. Miller  <davem@redhat.com>
216         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: New file.
218 2001-04-25  Matthew Wilcox  <willy@ldl.fc.hp.com>
220         * sysdeps/hppa/stackinfo.h: New file.
221         * sysdeps/unix/sysv/linux/hppa/getdents64.c: New file.
222         * sysdeps/unix/sysv/linux/hppa/mmap64.c: New file.
223         * sysdeps/unix/sysv/linux/hppa/bits/resource.h: New file.
224         * sysdeps/unix/sysv/linux/kernel-features.h: Add descriptions
225         of PA kernel features.
227 2001-04-25  Ulrich Drepper  <drepper@redhat.com>
229         * locale/programs/localedef.c (main): Always set a file name for
230         the initial locale.
231         * locale/programs/locfile.c (locfile_read): filename is allowed to
232         be NULL.
234 2001-04-12  Paul Bame  <paul_bame@hp.com>
236         * sysdeps/hppa/fpu/fclrexcpt.c: Clear the exception flags, not the
237         enable flags.
239 2001-04-24  Ulrich Drepper  <drepper@redhat.com>
241         * sysdeps/generic/bits/environments.h (_POSIX_V6_LPBIG_OFFBIG,
242         _XBS5_LPBIG_OFFBIG): Define to -1.
243         Fix typos.
245         * sysdeps/generic/bits/confname.h: Add _CS_V6_WIDTH_RESTRICTED_ENVS.
246         * posix/confstr.c: Handle _CS_V6_WIDTH_RESTRICTED_ENVS.
247         * posix/getconf.c: Handle _POSIX_V6_WIDTH_RESTRICTED_ENVS.
248         * posix/tst-getconf.sh: Add _POSIX_V6_WIDTH_RESTRICTED_ENVS.
250         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/Implies: New file.
251         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: Removed.
253 2001-03-21  Alan Modra  <alan@one.net.au>
255         * sysdeps/hppa/dl-machine.h (RTLD_START): Set up dp with DT_PLTGOT
256         value from application so that constructors in non-PIC libs work.
258 2000-12-13  Jes Sorensen  <jes@linuxcare.com>
260         * sysdeps/hppa/dl-machine.h (RTLD_START): _dl_init now returns a
261         function pointer, hence load the jump address and gp from the
262         function pointer before jumping.
264 2001-04-24  Andreas Jaeger  <aj@suse.de>
266         * sysdeps/generic/send.c (__send): Return ssize_t.
267         * sysdeps/mach/hurd/send.c (__send): Likewise.
268         * sysdeps/mach/hurd/recv.c (recv): Likewise.
269         * sysdeps/mach/hurd/sendto.c (sendto): Likewise.
270         * sysdeps/generic/sendto.c (sendto): Likewise.
271         * sysdeps/generic/recvmsg.c (recvmsg): Likewise.
272         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
273         * sysdeps/generic/recvfrom.c (recvfrom): Likewise.
274         * sysdeps/generic/sendmsg.c (sendmsg): Likewise.
276         * socket/sys/socket.h: send* and recv* return ssize_t.
278         * include/sys/socket.h: send returns ssize_t.
280         * sysdeps/i386/fpu_control.h: Fix comments.
282 2001-04-24  Ulrich Drepper  <drepper@redhat.com>
284         * sysdeps/ia64/Dist: Add hp-timing.c.
285         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add ucontext_i.h.
286         * posix/Makefile (distribute): Add tst-getconf.sh.
287         * po/Makefile (distribute): Add $(BROKEN_LINGUAS:=.po).
289 2001-04-23  Ulrich Drepper  <drepper@redhat.com>
291         * sysdeps/ia64/Makefile [subdir=csu] (sysdep_routines): Add hp-timing.
292         * sysdeps/ia64/Versions: Add _dl_cpuclock_offset for ld in 2.2.3.
293         * sysdeps/ia64/hp-timing.c: New file.
294         * sysdeps/ia64/hp-timing.h: New file.
295         * sysdeps/unix/sysv/linux/ia64/bits/time.h: Add definitions for
296         CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
298         * sysdeps/generic/clock_getcpuclockid.c: Make function generic, test
299         using #ifdef whether the clock is available.
300         * sysdeps/unix/i386/clock_getcpuclockid.c: Not needed anymore.
302         * sysdeps/generic/dl-sysdep.c: Initialize _dl_cpuclock_offset to move
303         it into data section.
305         * sysdeps/unix/i386/i586/clock_getres.c: Removed.
306         * sysdeps/unix/i386/i586/clock_gettime.c: Removed.
307         * sysdeps/unix/i386/i586/clock_nanosleep.c: Removed.
308         * sysdeps/unix/i386/i586/clock_settime.c: Removed.
309         * sysdeps/unix/i386/i586/cpuclock-init.h: Removed.
310         * sysdeps/generic/cpuclock-init.h: Removed.
311         * sysdeps/unix/i386/i686/Implies: Removed.
312         * sysdeps/unix/i386/i686/tempname.c: Removed.
313         * sysdeps/i386/i686/Versions: New file.
314         * sysdeps/unix/i386/i586/Versions: Removed.
316         * sysdeps/posix/clock_getres.c: If HP_TIMING_AVAIL is nonzero handle
317         CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
318         * sysdeps/unix/clock_gettime.c: Likewise.
319         * sysdeps/unix/clock_nanosleep.c: Likewise.
320         * sysdeps/unix/clock_settime.c: Likewise.
321         * sysdeps/posix/tempname.c: Is HP_TIMING_AVAIL is nonzero define
322         RANDOM_BITS use CPU clock.
324         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: New file.
325         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: New file.
326         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: New file.
327         * sysdeps/sparc/Versions: New file.
329         * elf/dl-support.c: Don't use cpuclock-init.h definitions, use
330         hp-timing.h definitions.
331         * sysdeps/generic/dl-sysdep.c: Likewise.
333         * include/libc-internal.h: Include hp-timing.h.  Use hp_timing_t in
334         __get_clockfreq prototype.
336         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
337         Use hp_timing_t type.
338         * sysdeps/generic/get_clockfreq.c (__get_clockfreq): Likewise.
340         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: New file.
342         * sysdeps/posix/pathconf.c (__pathconf): For _PC_ASYNC_IO test
343         whether named file is a regular file or a block device.
344         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
346 2001-04-23  Andreas Jaeger  <aj@suse.de>
348         * nscd/nscd.h: Add noreturn attribute for start_threads.
350 2001-04-22  Ulrich Drepper  <drepper@redhat.com>
352         * posix/getconf.c: Fix names of XBS5 LFS test variables.
353         Add missing configuration variables from XPG6.
354         * posix/tst-getconf.c: New file.
355         * posix/Makefile (generated): Add tst-getconf.out.
356         (tests): Add ($objpfx)tst-getconf.out.
357         Add rule to run tst-getconf.sh.
358         * sysdeps/generic/bits/confname.h: Add missing _PC_ and _SC_ values
359         from XPG6.
360         * sysdeps/posix/fpathconf.c: Add handling of _PC_ALLOC_SIZE_MIN and
361         _PC_SYMLINK_MAX.
362         * sysdeps/posix/pathconf.c: Likewise.
363         * sysdeps/posix/sysconf.c: Correct spelling of _SC_MULTI_PROCESS
364         and _SC_SYMLOOP_MAX.
366 2001-04-22  Philip Blundell  <philb@gnu.org>
368         * sysdeps/arm/fpu/feenablxcpt.c: New file.
369         * sysdeps/arm/fpu/fedisablxcpt.c: New file.
370         * sysdeps/arm/fpu/fegetexcpt.c: New file.
372 2001-04-22  Philip Blundell  <philb@gnu.org>
374         * sysdeps/unix/sysv/linux/arm/sys/user.h (struct user_fpregs):
375         Renamed from struct user_fp.
376         (struct user_regs): New.
377         (struct user): Use struct user_regs rather than struct pt_regs to
378         avoid dependency on asm/ptrace.h.  Use struct user_fpregs in place
379         of struct user_fp and struct user_fp_struct.
380         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Include sys/procfs.h
381         not sys/elf.h.
383 2001-04-22  Philip Blundell  <philb@gnu.org>
385         * sysdeps/unix/sysv/linux/arm/sys/elf.h: Move contents to
386         sys/procfs.h, and tell the user to include that file instead.
387         * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove old cruft
388         surrounded with #if 0.
389         (elf_greg_t, ELF_NGREG, elf_gregset_t, elf_fpregset_t): Moved here
390         from sys/elf.h.
391         (prgregset_t, prfpregset_t): Define in terms of elf_gregset_t and
392         elf_fpregset_t respectively.
394 2001-04-22  Philip Blundell  <philb@gnu.org>
396         * sysdeps/unix/sysv/linux/arm/register-dump.h: Also print the
397         address that faulted.
399 2001-04-21  Ulrich Drepper  <drepper@redhat.com>
401         * sysdeps/generic/bits/confname.h: Add _SC_V6_* and _CS_POSIX_V6_*
402         values.
403         * sysdeps/generic/bits/environments.h: Define _POSIX_V6_* values.
404         * posix/confstr.c: Handle _CS_POSIX_V6_* values.
405         * posix/getconf.c: Handle _CS_POSIX_V6_* and _SC_V6_* values.
406         * sysdeps/posix/sysconf.c: Handle _SC_V6_* values.
408         * sysdeps/powerpc/fpu/libm-test-ulps: Add deltas for atan2f.
409         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
410         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
411         * sysdeps/mips/fpu/libm-test-ulps: Likewise.
413 2001-04-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
415         * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correct check for invalid
416         offset.
418 2001-04-21  Ulrich Drepper  <drepper@redhat.com>
420         * posix/getopt.h: Treat __cplusplus like __STDC__.
422 2001-04-20  John S. Marvin  <jsm@fc.hp.com>
424         * sysdeps/unix/sysv/linux/hppa/clone.S: Fix clone system call
425         entry point stub.
427 2001-04-20  Richard Hirst  <rhirst@linuxcare.com>
429         * elf/elf.h: Corrected R_PARISC_DIR14R (should be 6, not 5),
430         and added R_PARISC_DPREL21L and R_PARISC_DPREL14R for modutils.
432         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Removed ptrace
433         entry so the ptrace.c wrapper is used.
435 2001-04-20  Alan Modra  <amodra@one.net.au>
437         * sysdeps/hppa/dl-lookupcfg.h (_dl_function_address): Prototype.
438         (DL_FUNCTION_ADDRESS): Define.
439         (DL_DT_INIT_ADDRESS): Define.
440         (DL_DT_FINI_ADDRESS): Define.
441         * sysdeps/hppa/Versions: Add _dl_function_address.
442         * sysdeps/hppa/dl-machine.h (ELF_MACHINE_START_ADDRESS): Define.
443         * sysdeps/hppa/dl-symaddr.c (_dl_start_address): Rename to
444         _dl_function_address.
446 2001-04-21  Andreas Jaeger  <aj@suse.de>
448         * rt/aio_misc.c (handle_fildes_io): Add noreturn attribute.
449         * resolv/gai_misc.c (handle_requests): Likewise.
450         * malloc/obstack.c (print_and_abort): Likewise.
451         * malloc/mcheck.c (mabort): Likewise.
453         * sysdeps/unix/i386/i586/clock_settime.c: Include
454         "libc-internal.h" for __get_clockfreq declaration.
456 2001-04-21  Ulrich Drepper  <drepper@redhat.com>
458         * elf/dl-support.c: Include cpuclock-init.h.  Use CPUCLOCK_VARDEF and
459         CPUCLOCK_INIT if defined.
460         * sysdeps/generic/dl-sysdep.c: Likewise.
461         * sysdeps/generic/cpuclock-init.h: New file.
462         * sysdeps/unix/i386/i586/cpuclock-init.h: New file.
463         * sysdeps/unix/i386/i586/Versions: New file.
464         * sysdeps/unix/i386/i586/clock_settime.c: New file.
465         * sysdeps/unix/i386/i586/clock_gettime.c: Handle thread CPU clock
466         separately by calling __pthread_clock_gettime if this function is
467         available.  Subtract offset from tsc value before computing time value.
469 2001-04-20  Ulrich Drepper  <drepper@redhat.com>
471         * iconv/iconv_prog.c (print_known_names): If printing goes not to
472         a tty print in a more machine-friendly way.
474         * sysdeps/ieee754/ldbl-128/e_asinl.c: New file.
475         Contributed by Stephen L Moshier <moshier@mediaone.net>.
477 2001-04-20  Andreas Jaeger  <aj@suse.de>
479         * intl/Makefile (tests): Reorder conditions, tst-gettext needs msgfmt.
481 2001-04-20  Andreas Schwab  <schwab@suse.de>
483         * sysdeps/m68k/fpu/libm-test-ulps: Update.
485 2001-04-19  Alan Modra  <amodra@one.net.au>
487         * Makerules (libc_pic.os): Add $(LDFLAGS-c_pic.os).
488         * sysdeps/hppa/Makefile (LDFLAGS-c_pic.os): Define.
489         (CFLAGS-.os): Remove.
491         * sysdeps/unix/sysv/linux/hppa/sysdep.h (CALL_MCOUNT): Update comment.
493         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG, NFPREG,
494         gregset): Correct for new kernel definitions.
496 2001-04-19  Alan Modra  <alan@linuxcare.com.au>
498         * sysdeps/hppa/elf/initfini.c: Change dlt reg save to r3 and
499         generate unwind info by hand.
501 2001-04-19  Ulrich Drepper  <drepper@redhat.com>
503         * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Optimize a bit.
505         * configure.in: Correct regular expression for msgfmt.
506         Patch by Bruno Haible <haible@ilog.fr>.
508 2001-04-19  Andreas Jaeger  <aj@suse.de>
510         * po/el.po: Add comment explaining what's broken.
512         * po/Makefile (BROKEN_LINGUAS): New.
513         (ALL_LINGUAS): Don't add broken languages.
515 2001-04-19  Roland McGrath  <roland@frob.com>
517         * sysdeps/mach/hurd/mlock.c: New file.
518         * sysdeps/mach/hurd/munlock.c: New file.
519         * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK_RANGE): Define it.
521         * misc/Makefile (routines): Add mlock munlock mlockall munlockall.
522         * sysdeps/generic/mlock.c: New file.
523         * sysdeps/generic/munlock.c: New file.
524         * sysdeps/generic/mlockall.c: New file.
525         * sysdeps/generic/munlockall.c: New file.
526         * sysdeps/generic/bits/mman.h (MCL_CURRENT, MCL_FUTURE): New macros.
527         * sysdeps/unix/sysv/linux/syscalls.list (mlock, munlock,
528         mlockall, munlockall): Change caller field to - from EXTRA.
529         Don't use __ names; not used (and not declared in include/sys/mman.h).
531         * hurd/privports.c (__get_privileged_ports): Renamed with __.
532         Use __ names for calls we make.
533         (get_privileged_ports): Add alias.
534         * hurd/hurd.h: Declare it with the __ name.
535         * sysdeps/mach/hurd/reboot.c (reboot): Use __get_privileged_ports.
536         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
537         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
539         * hurd/hurdsig.c (write_corefile): Check RLIMIT_CORE limit and do
540         nothing if it's zero.
542 2001-04-19  Matthew Wilcox  <willy@ldl.fc.hp.com>
544         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL):
545         Change to return a signed result for compatibility with other
546         architectures, and correctness.
548 2001-04-19  Ulrich Drepper  <drepper@redhat.com>
550         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_32BITUIDS):
551         HPPA always had them.  Patch by Matthew Wilcox <matthew@wil.cx>.
553 2001-04-19  Andreas Jaeger  <aj@suse.de>
555         * configure.in: Require gettext 0.10.36 or newer.
557         * manual/install.texi (Tools for Compilation): Mention gettext 0.10.36.
559         * po/zh_TW.po: Remove extraneous backslashes.
561         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove unused
562         variables b and n.
564 2001-04-18  Jakub Jelinek  <jakub@redhat.com>
566         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
567         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c: New file.
568         * sysdeps/unix/sysv/linux/sparc/sparc64/swapcontext.c: New file.
569         * sysdeps/unix/sysv/linux/sparc/sparc64/setcontext.S (__setcontext):
570         Copy first word of uc_sigmask into __uc_sigmask.
571         * sysdeps/unix/sysv/linux/sparc/sparc64/getcontext.S (__getcontext):
572         Save uc_link around trap. Copy __uc_sigmask into first word of
573         uc_sigmask, clear the rest. Make sure setcontext to the created
574         context doesn't do this though.
575         * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext_i.h: New file.
576         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Add
577         uc_stack and uc_sigmask, rename old uc_sigmask to __uc_sigmask in the
578         64bit version, make uc_sigmask __sigset_t in the 32bit version.
580 2001-04-19  Andreas Jaeger  <aj@suse.de>
582         * sysdeps/unix/sysv/linux/hppa/umount.c: Fix typos in last patch.
584         * rt/Makefile (otherlibs): Added for static NSS.
586         * glibcbug.in (BUGGLIBC): Send to new alias.
588 2001-04-02  Andreas Schwab  <schwab@suse.de>
590         * Makerules (build-module): Make sure exit codes get checked
591         properly and remove unnecessary slashes.
593 2001-04-17  Ulrich Drepper  <drepper@redhat.com>
595         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
596         Handle kernels which report only three digits after the decimal point.
597         Reported by Van Okamura <van.okamura@oracle.com>.
599         * sysdeps/alpha/fpu/libm-test-ulps: Adjust error values for atan2f.
601 2001-04-17  David S. Miller  <davem@redhat.com>
603         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update for new atan2 tests.
604         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
606 2001-04-17  Jakub Jelinek  <jakub@redhat.com>
608         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Make sure
609         desired exceptions are raised for exceptional values.
610         * math/libm-test.inc (acosh_test, atan_test, atan2_test, cacos_test,
611         cacosh_test, casin_test, casinh_test, catan_test, catanh_test,
612         clog_test, log_test, log1p_test, tan_test): Increase precision of
613         expected values to satisfy ldbl-128.
614         * sysdeps/alpha/fpu/libm-test-ulps: Adjust accordingly.
615         * sysdeps/arm/libm-test-ulps: Likewise.
616         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
617         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
618         * sysdeps/m68k/fpu/libm-test-ulps: Likewise.
619         * sysdeps/mips/fpu/libm-test-ulps: Likewise.
620         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
621         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
622         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
623         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
624         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
626 2001-04-17  Andreas Jaeger  <aj@suse.de>
628         * configure.in: Move test for critical programs up.
630 2001-04-16  Stephen L Moshier  <moshier@mediaone.net>
632         * sysdeps/ieee754/flt-32/e_asinf.c (pio2_hi, pio2_lo, pio4_hi):
633         Correct the values. (pSx, qSx): Replace by shorter approximation.
634         Use f suffix on float constants.
636 2001-04-16  Ulrich Drepper  <drepper@redhat.com>
638         * sysdeps/ieee754/ldbl-128/k_tanl.c: New file.
639         Contributed by Stephen L Moshier <moshier@mediaone.net>.
641         * string/string.h: Replace const in attribute list with __const__.
643 2001-04-16  Roland McGrath  <roland@frob.com>
645         * grp/initgroups.c (initgroups) [NGROUPS_MAX != 0]: Always use sysconf
646         instead of the constant NGROUPS_MAX.  That way, the limit can be
647         raised in the kernel configuration without having to recompile libc.
649         * sysdeps/posix/euidaccess.c: Don't #include <limits.h> or try to
650         define NGROUPS_MAX; we don't use it here.
652 2001-04-16  Andreas Jaeger  <aj@suse.de>
654         * math/libm-test.inc (atan2_test): Add more testcases.
656         * iconv/gconv_db.c: Include gconv_charset.h for
657         __gconv_lookup_alias prototype.
659 2001-04-13  Ulrich Drepper  <drepper@redhat.com>
661         * sysdeps/ieee754/ldbl-128/s_atanl.c: New file.
662         Contributed by Stephen L Moshier <moshier@mediaone.net>.
664 2001-04-13  Jes Sorensen  <jes@linuxcare.com>
666         * intl/tst-codeset.c: Include string.h to get prototype for strcmp().
668 2001-04-13  Jes Sorensen  <jes@linuxcare.com>
670         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add __pad0 to
671         explicitly pad struct siginfo instead of relying on compiler padding.
673 2001-04-12  Ulrich Drepper  <drepper@redhat.com>
675         * sysdeps/ia64/Dist: Add elf/entry.h.
677         * iconvdata/Makefile (distribute): Add TESTS2.
679 2001-04-13  Jakub Jelinek  <jakub@redhat.com>
681         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_load_address):
682         Calculate load address differently.
684 2001-04-12  Bruno Haible  <haible@clisp.cons.org>
686         * iconvdata/TESTS2: New file.
687         * iconvdata/run-iconv-test.sh: Also run tests from TESTS2.
688         * iconvdata/testdata/alfabeta..UTF-8: New file.
689         * iconvdata/testdata/alfabeta..UTF-16.BE: New file.
690         * iconvdata/testdata/alfabeta..UTF-16.LE: New file.
691         * iconvdata/testdata/alfabeta..UTF-32.BE: New file.
692         * iconvdata/testdata/alfabeta..UTF-32.LE: New file.
694 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
696         * iconvdata/utf-32.c: New file.
697         * iconvdata/gconv-modules: Add entries for UTF-32, UTF-32LE, UTF-32BE.
698         * iconvdata/Makefile (modules): Add UTF-32.
699         (distribute): Add utf-32.c.
701 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
703         * iconvdata/utf-16.c (PREPARE_LOOP): Initialize 'swap' after possibly
704         changing it in the state. After incrementing 'inptr', store it back.
705         * iconvdata/unicode.c (PREPARE_LOOP): After incrementing 'inptr',
706         store it back.
708 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
710         * iconvdata/utf-16.c (gconv_init): Use MAX_NEEDED_FROM, not
711         MIN_NEEDED_FROM.
713 2001-04-11  David Mosberger  <davidm@hpl.hp.com>
715         * sysdeps/ia64/htonl.S: Drop superfluous "alloc".
716         * sysdeps/ia64/htons.S: Likewise.
718         * sysdeps/ia64/memset.S: Add unwind directives.
719         * sysdeps/ia64/strncpy.S: Likewise.
720         * sysdeps/ia64/strcat.S: Likewise.
722         * sysdeps/ia64/memccpy.S: Add unwind directives.  Drop superfluous
723         restore of ar.pfs.
724         * sysdeps/ia64/strchr.S: Likewise.
725         * sysdeps/ia64/memmove.S: Likewise.
726         * sysdeps/ia64/memcpy.S: Likewise.
727         * sysdeps/ia64/memcmp.S: Likewise.
728         * sysdeps/ia64/memchr.S: Likewise.
729         * sysdeps/ia64/strcmp.S: Likewise.
730         * sysdeps/ia64/strlen.S: Likewise.
731         * sysdeps/ia64/strcpy.S: Likewise.
732         * sysdeps/ia64/strncmp.S: Likewise.
734 2001-04-11  Jakub Jelinek  <jakub@redhat.com>
736         * wcsmbs/wchar.h (fgetwc, getwc, getwchar, fputwc, putwc, putwchar,
737         fgetws, fputws, ungetwc, getwc_unlocked, getwchar_unlocked,
738         fgetwc_unlocked, fputwc_unlocked, putwc_unlocked, putwchar_unlocked,
739         fgetws_unlocked, fputws_unlocked, wcsftime): Add __THROW.
741 2001-04-11  Andreas Jaeger  <aj@suse.de>
743         * sysdeps/mips/elf/start.S [__ASSEMBLY__]: Define it.
745 2001-04-11  Andreas Schwab  <schwab@suse.de>
747         * sysdeps/m68k/fpu/libm-test-ulps: Adjusted.
749 2001-04-11  Ulrich Drepper  <drepper@redhat.com>
751         * sysdeps/arm/stackinfo.h: New file.
753 2001-04-08  Thorsten Kukuk  <kukuk@suse.de>
755         * sunrpc/rpc_main.c: If we compile RPC thread safe, allow
756         rpcgen to generate thread safe code.
758 2001-04-10  Andreas Jaeger  <aj@suse.de>
760         * math/test-fenv.c (initial_tests): Protect FE_TONEAREST declaration.
762 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
764         * elf/dl-minimal.c (__assert_fail): Change error string.  It's
765         most of the time no bug in ld.so.
766         (__assert_perror_fail): Likewise.
768 2001-04-11  Hans-Peter Nilsson  <hp@axis.com>
770         * sysdeps/generic/bits/fenv.h (fexcept_t): Change default type
771         from struct to unsigned int.
773 2001-04-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
775         * elf/elf.h (AT_DCACHEBSIZE, AT_ICACHEBSIZE, AT_UCACHEBSIZE,
776         AT_IGNOREPPC): New defines.
777         * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Print them.
778         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
779         Define for newer powerpc kernels.
780         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Use the standard
781         DL_FIND_ARG_COMPONENTS if __ASSUME_STD_AUXV is defined.
783 2000-4-10  kaz Kojima  <kkojima@rr.iij4u.or.jp>
785         * sysdeps/sh/stackinfo.h: New file.
787 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
789         * locale/tst-C-locale.c (run_test): Add tests for locale objects.
790         * locale/newlocale.c (__newlocale): Correct setting __ctype_b,
791         __ctype_tolower, and __ctype_toupper elements.
793         * ctype/ctype_l.c: Fix definitions of __tolower_l and __toupper_l.
794         Reported by Konstantin Osipov <rabid@spylog.ru>.
796         * sysdeps/i386/fpu/libm-test-ulps: Add deltas for tgamma to help
797         the lousy AMD FPU.
799 2001-04-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
801         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: New file.
802         * sysdeps/unix/sysv/linux/powerpc/Dist: Add sys/ptrace.h.
803         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Delete wrong stuff.
804         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Correct typedefs.
806 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
808         * elf/dl-deps.c (_dl_map_object_deps): Provide complete error
809         message.  Based on a patch by HJ Lu.
811 2001-04-10  Andreas Schwab  <schwab@suse.de>
813         * math/libm-test.inc (csinh_test): Don't require the invalid
814         exception for csinh (x + iNaN), but make it optional.
816 2001-04-09  David Mosberger  <davidm@hpl.hp.com>
818         * sysdeps/ia64/elf/start.S (_start): Add unwind directives.
820         * sysdeps/generic/entry.h [!__ASSEMBLY__]: Declare _start.
821         * sysdeps/ia64/elf/entry.h: New file.
822         * sysdeps/unix/sysv/linux/mips/entry.h [!__ASSEMBLY__]: Declare
823         __start.
824         * elf/rtld.c: Don't declare ENTRY_POINT.  Use ENTRY_POINT instead
825         of &ENTRY_POINT.
826         * sysdeps/generic/dl-sysdep.c: Likewise.
827         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
828         * sysdeps/ia64/elf/start.S: Save base address of register backing
829         store in __libc_ia64_register_backing_store_base.
831 2001-04-10  Martin Schwidefsky  <schwidefsky@de.ibm.com>
833         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Fix return
834         value of getcontext.
835         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
836         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Fix return
837         value of setcontext.
838         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
839         * sysdeps/unix/sysv/linux/s390/swapcontext.c: Skip setcontext
840         call by changing the saved context.
842 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
844         * sysdeps/alpha/stackinfo.h: New file.
845         * sysdeps/ia64/stackinfo.h: New file.
847 2001-04-10  Andreas Schwab  <schwab@suse.de>
849         * sysdeps/m68k/fpu/e_pow.c: Correct handling of some exceptional
850         values.
851         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
853 2001-04-09  Ulrich Drepper  <drepper@redhat.com>
855         * sysdeps/sparc/sparc32/sparcv9/Dist: Add hp-timing.c.
856         * sysdeps/sparc/sparc64/Dist: Add hp-timing.c.
858         * libio/Makefile (distribute): Add fd_to_filename.h.
860 2001-04-05  David S. Miller  <davem@redhat.com>
862         Add hp-timing support for sparcv9/sparc64 targets.
863         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: New file
864         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: New file
865         * sysdeps/sparc/sparc64/hp-timing.c: New file
866         * sysdeps/sparc/sparc64/hp-timing.h: New file
867         * sysdeps/sparc/sparc32/sparcv9/Makefile: Build hp-timing.
868         * sysdeps/sparc/sparc64/Makefile: Likewise.
870 2001-04-09  Jakub Jelinek  <jakub@redhat.com>
872         * sysdeps/generic/fd_to_filename.h: New file.
873         * sysdeps/unix/sysv/linux/fd_to_filename.h: New file.
874         * libio/freopen.c (freopen): If FILENAME is NULL, try to get
875         filename from the open file descriptor.
876         * libio/freopen64.c (freopen64): Likewise.
878 2001-04-09  Bruno Haible  <haible@clisp.cons.org>
880         * misc/error.c (error): fflush stdout also if
881         error_print_progname != NULL.
882         (error_at_line): Likewise.
884 2001-04-07  Bruno Haible  <haible@clisp.cons.org>
886         * intl/gettextP.h (struct loaded_domain): Add codeset_cntr field.
887         (struct binding): Add codeset_cntr field.
888         (_nl_load_domain): Add domainbinding argument.
889         (_nl_init_domain_conv, _nl_free_domain_conv): New declarations.
890         (_nl_find_msg): New declaration, moved here from loadinfo.h.
891         * intl/loadinfo.h (struct loaded_l10nfile): Remove domainbinding field.
892         (_nl_make_l10nflist): Remove domainbinding argument.
893         (_nl_find_msg): Move declaration to gettextP.h.
894         * intl/bindtextdom.c (set_binding_values): Initialize ->codeset_cntr
895         to 0.  Increment it when ->codeset is changed.
896         * intl/dcigettext.c (DCIGETTEXT): Pass binding to _nl_find_msg.
897         (_nl_find_msg): Add domainbinding argument.  Reinitialize the converter
898         if domainbinding->codeset_cntr has been incremented.
899         * intl/finddomain.c (_nl_find_domain): Don't pass domainbinding to
900         _nl_make_l10nflist().  Pass it to _nl_load_domain() instead.
901         * intl/l10nflist.c (_nl_make_l10nflist): Remove domainbinding argument.
902         * intl/loadmsgcat.c (_nl_init_domain_conv): New function, extracted
903          from _nl_load_domain.  Append //TRANSLIT also when using libiconv.
904         (_nl_free_domain_conv): New function, extracted from _nl_unload_domain.
905         (_nl_load_domain): Add domainbinding argument.  Call
906         _nl_init_domain_conv.
907         (_nl_unload_domain): Call _nl_free_domain_conv.
908         * intl/Makefile (distribute): Add tst-codeset.sh, tstcodeset.po.
909         (test-srcs): Add tst-codeset.
910         (tests): Depend on tst-codeset.out.
911         (tst-codeset.out): New rule.
912         (CFLAGS-tst-codeset.c): New variable.
913         * intl/tst-codeset.sh: New file.
914         * intl/tstcodeset.po: New file.
915         * intl/tst-codeset.c: New file.
916         * locale/findlocale.c (_nl_find_locale): Update _nl_make_l10nflist
917         calls.
919 2001-04-07  Roland McGrath  <roland@frob.com>
921         * mach/msgserver.c (__mach_msg_server_timeout): Add an assert.
923 2001-03-31  Roland McGrath  <roland@frob.com>
925         * sysdeps/mach/hurd/fork.c: Skip NEWPROC just like NEWTASK when
926         copying send rights into child.  When we hit our name for our proc
927         port, just copy NEWPROC directly instead of repeating proc_task2proc
928         to install the child's port.
930 2001-04-08  Roland McGrath  <roland@frob.com>
932         * Makeconfig ($(common-objpfx)soversions.i): Grok entries with DEFAULT
933         in second column, to provide default values for third column.
934         * shlib-versions: Add comments about using DEFAULT in second column.
935         (s390x-.*-linux.*): Replace individual entries with a DEFAULT entry.
936         (cris-.*-linux.*): Likewise.
938 2001-04-09  Ulrich Drepper  <drepper@redhat.com>
940         * Makefile (distribute): Add scripts/documented.sh.
941         * scripts/documented.sh: New file.
943 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
945         * sysdeps/unix/sysv/linux/cris/Dist: New file.
946         * sysdeps/unix/sysv/linux/cris/Makefile: New file.
947         * sysdeps/unix/sysv/linux/cris/_G_config.h: New file.
948         * sysdeps/unix/sysv/linux/cris/bits/fcntl.h: New file.
949         * sysdeps/unix/sysv/linux/cris/bits/mman.h: New file.
950         * sysdeps/unix/sysv/linux/cris/bits/resource.h: New file.
951         * sysdeps/unix/sysv/linux/cris/brk.c: New file.
952         * sysdeps/unix/sysv/linux/cris/chown.c: New file.
953         * sysdeps/unix/sysv/linux/cris/clone.S: New file.
954         * sysdeps/unix/sysv/linux/cris/fchown.c: New file.
955         * sysdeps/unix/sysv/linux/cris/fcntl.c: New file.
956         * sysdeps/unix/sysv/linux/cris/fxstat.c: New file.
957         * sysdeps/unix/sysv/linux/cris/getegid.c: New file.
958         * sysdeps/unix/sysv/linux/cris/geteuid.c: New file.
959         * sysdeps/unix/sysv/linux/cris/getgid.c: New file.
960         * sysdeps/unix/sysv/linux/cris/getgroups.c: New file.
961         * sysdeps/unix/sysv/linux/cris/getresgid.c: New file.
962         * sysdeps/unix/sysv/linux/cris/getresuid.c: New file.
963         * sysdeps/unix/sysv/linux/cris/getrlimit.c: New file.
964         * sysdeps/unix/sysv/linux/cris/getrlimit64.c: New file.
965         * sysdeps/unix/sysv/linux/cris/getuid.c: New file.
966         * sysdeps/unix/sysv/linux/cris/lchown.c: New file.
967         * sysdeps/unix/sysv/linux/cris/lockf64.c: New file.
968         * sysdeps/unix/sysv/linux/cris/lxstat.c: New file.
969         * sysdeps/unix/sysv/linux/cris/mmap.S: New file.
970         * sysdeps/unix/sysv/linux/cris/mmap64.S: New file.
971         * sysdeps/unix/sysv/linux/cris/msgctl.c: New file.
972         * sysdeps/unix/sysv/linux/cris/profil-counter.h: New file.
973         * sysdeps/unix/sysv/linux/cris/register-dump.h: New file.
974         * sysdeps/unix/sysv/linux/cris/semctl.c: New file.
975         * sysdeps/unix/sysv/linux/cris/setegid.c: New file.
976         * sysdeps/unix/sysv/linux/cris/seteuid.c: New file.
977         * sysdeps/unix/sysv/linux/cris/setfsgid.c: New file.
978         * sysdeps/unix/sysv/linux/cris/setfsuid.c: New file.
979         * sysdeps/unix/sysv/linux/cris/setgid.c: New file.
980         * sysdeps/unix/sysv/linux/cris/setgroups.c: New file.
981         * sysdeps/unix/sysv/linux/cris/setregid.c: New file.
982         * sysdeps/unix/sysv/linux/cris/setresgid.c: New file.
983         * sysdeps/unix/sysv/linux/cris/setresuid.c: New file.
984         * sysdeps/unix/sysv/linux/cris/setreuid.c: New file.
985         * sysdeps/unix/sysv/linux/cris/setrlimit.c: New file.
986         * sysdeps/unix/sysv/linux/cris/setuid.c: New file.
987         * sysdeps/unix/sysv/linux/cris/shmctl.c: New file.
988         * sysdeps/unix/sysv/linux/cris/socket.S: New file.
989         * sysdeps/unix/sysv/linux/cris/sys/ucontext.h: New file.
990         * sysdeps/unix/sysv/linux/cris/syscall.S: New file.
991         * sysdeps/unix/sysv/linux/cris/sysdep.S: New file.
992         * sysdeps/unix/sysv/linux/cris/sysdep.h: New file.
993         * sysdeps/unix/sysv/linux/cris/vfork.S: New file.
994         * sysdeps/unix/sysv/linux/cris/xstat.c: New file.
996 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
998         * sysdeps/cris/Dist: New file.
999         * sysdeps/cris/Implies: New file.
1000         * sysdeps/cris/Makefile: New file.
1001         * sysdeps/cris/__longjmp.S: New file.
1002         * sysdeps/cris/_mcount.S: New file.
1003         * sysdeps/cris/bits/endian.h: New file.
1004         * sysdeps/cris/bits/setjmp.h: New file.
1005         * sysdeps/cris/bits/string.h: New file.
1006         * sysdeps/cris/dl-machine.h: New file.
1007         * sysdeps/cris/elf/start.S: New file.
1008         * sysdeps/cris/machine-gmon.h: New file.
1009         * sysdeps/cris/memcopy.h: New file.
1010         * sysdeps/cris/memusage.h: New file.
1011         * sysdeps/cris/setjmp.S: New file.
1012         * sysdeps/cris/sysdep.h: New file.
1013         * sysdeps/cris/wordcopy.c: New file.
1015 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
1017         * elf/elf.h: Add new relocations for CRIS.
1019 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
1021         * shlib-versions: Add cases for Linux on CRIS.
1023 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
1025         * configure.in (ASM_LINE_SEP tests): Handle CRIS assembly, with
1026         ';' for comments and '@' for line separator.
1028 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
1030         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Fix
1031         typo; s/==/=/ for assignment.
1033 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
1035         * malloc/Makefile: Correct comment; mtrace is Perl, not AWK.
1037 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
1039         * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): Check for
1040         empty input before checking full output.
1042 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
1044         * iconv/gconv.c (__gconv): Don't derefer parameter cd before
1045         checking if == -1L.
1047 2001-04-08  Ulrich Drepper  <drepper@redhat.com>
1049         * inet/rexec.c (rexec_af): Avoid calling perror with errno being set.
1051 2001-04-07  Stephen L Moshier  <moshier@mediaone.net>
1053         * sysdeps/ieee754/ldbl-128/e_logl.c: Correct infinity and NaN
1054         return values.
1056 2001-04-07  Ulrich Drepper  <drepper@redhat.com>
1058         * stdlib/tst-setcontext.c (main): Add a test for setcontext.
1060         * sysdeps/unix/sysv/linux/i386/getcontext.S: New file.
1061         * sysdeps/unix/sysv/linux/i386/setcontext.S: New file.
1062         * sysdeps/unix/sysv/linux/i386/makecontext.S: New file.
1063         * sysdeps/unix/sysv/linux/i386/swapcontext.S: New file.
1064         * sysdeps/unix/sysv/linux/i386/ucontext_i.h: New file.
1065         * sysdeps/unix/sysv/linux/i386/Dist: Add ucontext_i.h.
1067 2001-04-07  Andreas Jaeger  <aj@suse.de>
1069         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Use sincos
1070         instead of separate sin and cos.
1071         (__ieee754_j1l): Likewise.
1073 2001-04-06  Ulrich Drepper  <drepper@redhat.com>
1075         * sysdeps/ia64/abort-instr.h: New file.  Code by David Mosberger.
1077         * sysdeps/ia64/atomicity.h: New file.  Copied from libstdc++.
1079         * sysdeps/i386/i486/atomicity.h: Clean up the asms.
1081         * sysdeps/generic/e_scalb.c: Don't use FE_INVALID unless it's
1082         available.
1083         * sysdeps/generic/e_scalbf.c: Likewise.
1084         * sysdeps/generic/e_scalbl.c: Likewise.
1085         Patch by Mark Hatle <fray@mvista.com>.
1087 2001-04-05  David S. Miller  <davem@redhat.com>
1089         * sysdeps/sparc/abort-instr.h: New file.
1091 2001-04-05  Matt Wilson  <msw@redhat.com>
1093         * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
1094         added code to parse new 2.4 format.
1095         (GET_NPROCS_CONF_PARSER): Likewise.
1097 2001-04-05  David S. Miller  <davem@redhat.com>
1099         * scripts/config.sub: Recognize sparcv9b like sparcv9.
1100         * configure.in: Add sparcv9b.
1101         * sysdeps/sparc/sparc32/sparcv9b/Implies: New file
1102         * sysdeps/sparc/sparc32/sparcv9b/memcpy.S: New file
1103         * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: New file
1105 2001-04-06  David Mosberger  <davidm@hpl.hp.com>
1107         * stdlib/tst-setcontext.c: Move st2[] to global scope.
1108         (f2): Verify that stack pointer is inside st2[].
1110         * sysdeps/unix/sysv/linux/ia64/getcontext.S: It helps to save r12.
1111         * sysdeps/unix/sysv/linux/ia64/setcontext.S: It helps to restore r12.
1113 2001-04-06  Ulrich Drepper  <drepper@redhat.com>
1115         * timezone/antarctica: Update from tzdata2001b.
1116         * timezone/asia: Likewise.
1117         * timezone/australasia: Likewise.
1118         * timezone/europe: Likewise.
1119         * timezone/northamerica: Likewise.
1121         * iconv/iconv_open.c: Move strip and upstr definitions...
1122         * iconv/gconv_charset.h: ...here.  New file.
1123         * iconv/gconv_db.c (once): Move to file level.
1124         (do_lookup_alias): Split out from __gconv_find_transform.
1125         (__gconv_find_transform): Call do_lookup_alias.
1126         (__gconv_loopup_alias): New function.
1127         * locale/langinfo.h: Define _NL_*_CODESET values for all categories
1128         but LC_CTYPE.
1129         * locale/categories.def: Add entries for new _NL_*_CODESET values.
1130         * locale/C-ctype.c: Use _nl_C_codeset to initialize CODESET entry.
1131         * locale/C-address.c: Initialize _NL_*_CODESET element.
1132         * locale/C-collate.c: Likewise.
1133         * locale/C-identification.c: Likewise.
1134         * locale/C-measurement.c: Likewise.
1135         * locale/C-messages.c: Likewise.
1136         * locale/C-monetary.c: Likewise.
1137         * locale/C-name.c: Likewise.
1138         * locale/C-numeric.c: Likewise.
1139         * locale/C-paper.c: Likewise.
1140         * locale/C-telephone.c: Likewise.
1141         * locale/C-time.c: Likewise.
1142         * locale/localeinfo.h: Declare _nl_C_codeset.
1143         * locale/C_name.c: Define _nl_C_codeset.
1144         * locale/findlocale.c: Before accepting locale check that the used
1145         charset does not conflict with what the locale name said.
1146         * locale/programs/ld-address.c: Emit codeset information.
1147         * locale/programs/ld-collate.c: Likewise.
1148         * locale/programs/ld-identification.c: Likewise.
1149         * locale/programs/ld-measurement.c: Likewise.
1150         * locale/programs/ld-messages.c: Likewise.
1151         * locale/programs/ld-monetary.c: Likewise.
1152         * locale/programs/ld-name.c: Likewise.
1153         * locale/programs/ld-numeric.c: Likewise.
1154         * locale/programs/ld-paper.c: Likewise.
1155         * locale/programs/ld-telephone.c: Likewise.
1156         * locale/programs/ld-time.c: Likewise.
1158         * localedata/tests-mbwc/tst_funcs.h (TST_HEAD_LOCALE): It is an error
1159         if the locale data couldn't be found.
1161         * string/Makefile: Define tst-strxfrm-ENV.
1163         * ysdeps/unix/sysv/linux/ia64/getcontext.S: Fix comment.
1165 2001-04-06  Andreas Jaeger  <aj@suse.de>
1167         * include/sys/profil.h: New file.
1169         * dlfcn/modatexit.c: Add prototypes to silence GCC.
1170         * dlfcn/modcxaatexit.c: Likewise.
1171         * elf/globalmod1.c: Likewise.
1173 2001-04-05  David S. Miller  <davem@redhat.com>
1175         * elf/elf.h (HWCAP_SPARC_ULTRA3): Define it.
1176         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Add it to
1177         capability flags table and HWCAP_IMPORTANT, increase
1178         _DL_HWCAP_COUNT to 6.
1179         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
1181 2001-04-04  David Mosberger  <davidm@hpl.hp.com>
1183         * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Fix
1184         initialization of stack_end (bug reported by Zheng Gengbin
1185         <gzheng@students.uiuc.edu>).
1187 2001-04-05  Ulrich Drepper  <drepper@redhat.com>
1189         * sysdeps/i386/fpu/libm-test-ulps: Relax errors for asinl.
1191 2001-04-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1193         * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: New file.
1195 2001-04-05  Ulrich Drepper  <drepper@redhat.com>
1197         * sysdeps/ieee754/ldbl-96/e_asinl.c: Correct handling of +-Inf.
1198         * sysdeps/i386/fpu/e_asinl.S: Removed.  Too inaccurate.
1200         * login/tst-utmp.c: Make file usable again in tst-utmpx.c.
1202 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
1204         * sysdeps/unix/sysv/aix/dl-libc.c: Don't use the ELF version,
1205         define simple replacements here.  Patch by Michael Keezer.
1207         * sysdeps/ieee754/ldbl-128/e_logl.c: New file.
1208         * sysdeps/ieee754/ldbl-96/e_asinl.c: New file.
1209         Contributed by Stephen L Moshier <moshier@mediaone.net>.
1211         * posix/fnmatch_loop.c: Undefine NEW_PATTERN when it is not used
1212         anymore.
1214 2001-04-01  Andreas Jaeger  <aj@suse.de>
1216         * sysdeps/generic/s_nextafter.c (NO_LONG_DOUBLE): Add nexttowardl
1217         alias.
1219         * sysdeps/generic/s_fma.c (NO_LONG_DOUBLE): Add fmal alias.
1221 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
1223         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Add ucontext_i.h.
1224         * sysdeps/unix/sysv/linux/s390/s390-32/Dist: Likewise.
1226 2001-04-04  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1228         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: New file.
1229         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: New file.
1230         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: New file.
1231         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: New file.
1232         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: New file.
1233         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: New file.
1234         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: New file.
1235         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: New file.
1236         * sysdeps/unix/sysv/linux/s390/swapcontext.c: New file.
1238 2001-04-04  Andreas Jaeger  <aj@suse.de>
1240         * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_NO_REL): Move to right
1241         place.
1243 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
1245         * sunrpc/rpc_scan.c (symbols): Add entry for HYPER.
1246         * sunrpc/rpc_scan.h (enum tok_kind): Add TOK_HYPER.
1247         * sunrpc/rpc_parse.c (get_type): Handle TOK_HYPER.
1248         (unsigned_dec): Likewise.
1249         Patch by atai@jezebel.dreamhost.com.
1251         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Pass
1252         pointer to int as last parameter of yp_match.
1253         Patch by kanazawa@flab.fujitsu.co.jp.
1255 2001-04-03  Ulrich Drepper  <drepper@redhat.com>
1257         * resolv/netdb.h (gai_strerror): Make return value const.
1258         * sysdeps/generic/gai_strerror.c (gai_strerror): Likewise.
1259         * sysdeps/posix/gai_strerror.c (gai_strerror): Likewise.
1260         Add strings for new error values.
1262 2001-03-29  Michael Keezer  <mkeezer@redhat.com>
1264         * posix/tst-gnuglob.c: Added ifdef _DIRENT_HAVE_D_TYPE.
1265         * login/tst-utmp.c: Handle case where ut_tv is not available but
1266         ut_time is.
1267         * sysdeps/unix/sysv/aix/utmpx.h: New file.
1268         * sysdeps/unix/sysv/aix/bits/utmpx.h: Added
1269         _HAVE_UT_TYPE/PID/ID/TV/HOST defines.
1270         * sysdeps/unix/sysv/aix/libc-start.c: Removed temp code and made stub.
1271         * sysdeps/unix/sysv/aix/gettimeofday.c: New file added routines
1272         to access RTCU timer reg.
1273         * sysdeps/unix/sysv/aix/Makefile: Remove /usr/lib/crt0.o
1274         added dl-libc, dl-open,dl-sym, dl-close to misc.
1275         * sysdeps/unix/sysv/aix/start.c: New file.  Start code.
1276         * sysdeps/unix/sysv/aix/dlldr.h: New file.  AIX __loadx defines.
1277         * sysdeps/unix/sysv/aix/dl-close.c: New file.  AIX dl-close.
1278         * sysdeps/unix/sysv/aix/dl-open.c: New file.  AIX dl-open.
1279         * sysdeps/unix/sysv/aix/dl-sym.c: New file.  AIX dl-sym.
1280         * sysdeps/unix/sysv/aix/dl-libc.c: New file.  libc_dl-xxx support.
1281         * sysdeps/generic/strtoll.c: Added SHLIB_COMPAT(libc,GLIBC_2_0,
1282         GLIBC_2_2).
1283         * sysdeps/generic/strtoull.c: Likewise.
1284         * sysdeps/powerpc/ppc-mcount.S: Added nop after bl instruction.
1285         * sysdeps/unix/sysv/aix/powerpc/memset.c: New file to include
1286         sysdeps/generic/memset.c.
1287         * sysdeps/unix/sysv/aix/getpeername.c: Define __getpeername.
1289 2001-04-03  Ulrich Drepper  <drepper@redhat.com>
1291         * iconv/Makefile (CFLAGS-charmap.c): Add -DNEED_NULL_POINTER.
1292         * locale/programs/charmap.c: Define null_pointer if
1293         NEED_NULL_POINTER is defined.
1295         * misc/dirname.c (dirname): Handle multiple slashes correctly.
1297 2001-04-03  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1299         * sysdeps/s390/s390-64/initfini.c: Fix __gmon_start__ GOT access.
1301 2001-04-03  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1303         * sysdeps/s390/s390-32/bcopy.S: Optimize for speed.
1304         * sysdeps/s390/s390-64/bcopy.S: Likewise.
1305         * sysdeps/s390/s390-32/mempcy.S: Likewise.
1306         * sysdeps/s390/s390-64/memcpy.S: Likewise.
1308 2001-04-02  Bruno Haible  <haible@clisp.cons.org>
1310         * manual/message.texi (Advanced gettext functions): More specific
1311         syntax in the plural formula examples.
1313 2001-04-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1315         * sysdeps/powerpc/atomicity.h: Silence warnings.
1316         * sysdeps/powerpc/dl-machine.h: Likewise.
1317         * sysdeps/powerpc/register-dump.h: Likewise.
1318         * sysdeps/powerpc/fpu/s_lrint.c: Likewise.
1320 2001-04-02  Andreas Jaeger  <aj@suse.de>
1322         * misc/tst-dirname.c (main): Add more tests, derived from a bug
1323         report by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
1325 2001-04-01  Andreas Jaeger  <aj@suse.de>
1327         * debug/xtrace.sh (pcprofileso): Use SLIBDIR since libpcprofile.so
1328         is installed there.
1329         * malloc/memusage.sh (memusageso): Likewise for libmemusage.so.
1331 2001-04-01  H.J. Lu  <hjl@gnu.org>
1333         * posix/annexc.c (macrofile): Renamed from TMPFILE and set to
1334         tmpnam (NULL).
1335         * stdlib/isomac.c (macrofile): Likewise.
1337 2001-03-30  Thorsten Kukuk  <kukuk@suse.de>
1339         * inet/rcmd.c: Allow AF_UNSPEC as parameter.
1340         * nis/ypclnt.c (yp_all): Print error message only at last try,
1341         check for protocoll error only if we don't have a network error.
1343 2001-04-02  Andreas Schwab  <schwab@suse.de>
1345         * resolv/res_data.c (res_isourserver): Fix cast.
1347 2001-04-02  Andreas Jaeger  <aj@suse.de>
1349         * sysdeps/unix/sysv/linux/hppa/umount.c: Add prototype for
1350         __umount2.
1352         * sysdeps/i386/dl-machine.h (RTLD_START): Don't use multi-line
1353         strings.
1354         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
1356         * sysdeps/ieee754/dbl-64/uroot.h: Add missing braces arount
1357         initializers.
1358         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Likewise.
1360         * elf/rtld.c (print_statistics)[!HP_TIMING_NONAVAIL]: Avoid
1361         warning about unused variable.
1363         * string/string.h (strndupa): Add cast for C++ conformance.
1364         (strdupa): Likewise.
1365         Fixes PR libc/2173, reported by tbrowder@home.com.
1367 2001-03-30  Roland McGrath  <roland@frob.com>
1369         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't append
1370         options after $(build-module), which is no longer a single command.
1371         (LDFLAGS-link-rpcuserlibs): New variable to hold those options.
1372         (LDFLAGS-libmachuser-link.so, LDFLAGS-libhurduser-link.so): New
1373         variables using it.  Reported by Mark Kettenis <kettenis@gnu.org>.
1375 2001-03-11  Roland McGrath  <roland@frob.com>
1377         * elf/rtld.c (dl_main): Add cast to quiet warning.
1378         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1379         * iconv/gconv_conf.c (__gconv_get_path): Likewise.
1380         (__gconv_read_conf): Likewise.
1381         * iconv/gconv_db.c (gen_steps): Likewise.
1382         (__gconv_find_transform): Likewise.
1383         * locale/programs/charmap-dir.c (fopen_uncompressed): Likewise.
1384         (fopen_uncompressed): Use const in second argument's type.
1386 2001-03-11  Roland McGrath  <roland@frob.com>
1388         * sysdeps/mach/hurd/dl-sysdep.c (__writev): New function.
1390         * mach/mach_error.h: Fix ancient #endif syntax.
1391         * hurd/hurdmalloc.c: Likewise.
1393         * sysdeps/generic/atomicity.h (exchange_and_add, atomic_add,
1394         compare_and_swap): Add volatile qualifier to first arg, to bring
1395         these prototypes in line with all the other implementations.
1396         Add a #warning to remind the builder that these are not atomic.
1398 2001-03-04  Roland McGrath  <roland@frob.com>
1400         * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Use innermore first
1401         member of TEMP_F so its type is _IO_FILE * as expected.
1403         * hurd/fopenport.c (seekio): Conditionalize type of POS argument
1404         on [USE_IN_LIBIO].  Check the value for overflow, since for libio
1405         it might exceed off_t's range.
1407 2001-02-25  Roland McGrath  <roland@frob.com>
1409         * sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): Use prototype.
1410         * sysdeps/unix/bsd/getpt.c (__posix_openpt): Likewise.
1412         * sysdeps/mach/hurd/i386/intr-msg.h (SYSCALL_EXAMINE): Make this a
1413         macro instead of an inline function,
1414         (MSG_EXAMINE): Likewise.
1416         * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): Remove extraneous ##.
1418         * hurd/get-host.c: Include <string.h> for decls of built-ins.
1419         * hurd/hurdchdir.c: Likewise.
1420         * sysdeps/mach/hurd/i386/sigreturn.c: Likweise.
1421         * sysdeps/mach/hurd/opendir.c: Likewise.
1423         * mach/mach_init.c: Include <unistd.h> for _exit decl.
1425         * mach/errsystems.awk: Give output file a trailing newline.
1427         * mach/Machrules (MIG): Prepend CC='${CC}' to the mig command, so that
1428         the script will use our compiler for the cpp stage.
1430         With --enable-all-warnings we get a whole bunch of warnings,
1431         and these are just a few fixes; there are more needed to silence it.
1432         * mach/mach/mig_support.h (__mig_strncpy, mig_strncpy): Add extern
1433         decls before extern inline defns to quiet gcc warning.
1434         * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp): Likewise.
1435         * sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Likewise.
1437 2001-03-31  Andreas Jaeger  <aj@suse.de>
1439         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWHDLC): Added.
1440         (ARPHRD_HDLC): Define as alias for ARPHRD_CISCO.
1441         (ARPHRD_CISCO): New.
1442         Changes from Linux 2.4.3.
1444 2001-03-30  Isamu Hasegawa  <isamu@yamato.ibm.com>
1446         * posix/regex.c: Avoid an access violation if malloc failes.
1448 2001-03-30  Andreas Jaeger  <aj@suse.de>
1450         * sysdeps/alpha/ldiv.S (ldiv): Add alias for imaxdiv.
1452 2001-03-29  Ulrich Drepper  <drepper@redhat.com>
1454         * posix/regex.c: Remove unnecessary ifs.
1456         * math/bits/mathcalls.h: Remove infnan declaration.
1458 2001-03-29  H.J. Lu  <hjl@gnu.org>
1460         * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF,
1461         and LOW_HALF only if _LIBC is defined and _ISOMAC is not defined.
1462         * stdlib/isomac.c (fmt): Define _LIBC and _ISOMAC.
1463         .
1464 2001-03-29  Isamu Hasegawa  <isamu@yamato.ibm.com>
1466         * posix/regex.c: Fix typo and add a sentinel.
1468 2001-03-29  Ulrich Drepper  <drepper@redhat.com>
1470         * sysdeps/unix/sysv/linux/shm_open.c: Open new file always with
1471         O_NOFOLLOW.  Suggested by Christoph Roland.
1473 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1475         * sysdeps/s390/bits/string.h: New unified 31/64 bit string.h.
1476         * sysdeps/s390/s390-32/bits/string.h: Remove.
1477         * sysdeps/s390/s390-64/bits/string.h: Remove.
1478         * sysdeps/s390/s390-32/strcmp.S: New file.
1479         * sysdeps/s390/s390-64/strcmp.S: New file.
1481 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1483         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix typo.
1484         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
1486 2001-03-27  Ulrich Drepper  <drepper@redhat.com>
1488         * version.h (VERSION): Bump to 2.2.3.
1490         * stdlib/isomac.c (fmt): Don't define _LIBC.
1491         * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF, and
1492         LOW_HALF only if _LIBC is defined.
1494         * sysdeps/i386/fpu/libm-test-ulps: Slight adjustment of yn() error.
1496         * posix/fnmatch_loop.c (FCT): Handle !() after * special like @()
1497         and +().
1498         * posix/tst-fnmatch.input: Add test cases for matching empty strings.
1500         * sysdeps/ieee754/dbl-64/endian.h: Removed.  Move definitions...
1501         * include/endian.h: ...to here.
1503 2001-03-27  kaz Kojima  <kkojima@rr.iij4u.or.jp>
1505         * sysdeps/sh/sys/ucontext.h (NFREG): Rename to NFPREG.
1506         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NFREG): Likewise.
1508 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1510         * sysdeps/unix/sysv/linux/s390/ldconfig.h: Fix typo.
1512 2001-03-26  Ulrich Drepper  <drepper@redhat.com>
1514         * sysdeps/ia64/fpu/Dist: Add new files to distribute.
1515         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Likewise.
1516         * sysdeps/unix/sysv/linux/ia64/Dist: Likewise.
1518         * gmon/Makefile (headers): Add sys/profil.h.
1520 2001-03-18  Andreas Jaeger  <aj@suse.de>
1522         * manual/install.texi (Tools for Compilation): Advise to use GCC
1523         2.95.3.
1524         (Supported Configurations): Mention s390x.
1526 2001-03-26  Ben Collins  <bcollins@debian.org>
1528         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Add MAP_* and MADV_*
1529         defines to match other architectures.
1531 2001-03-26  Ulrich Drepper  <drepper@redhat.com>
1533         * libio/Makefile (tests): Add tst-ext.
1534         * libio/tst-ext.c: New file.
1536         * libio/iosetvbuf.c (_IO_setvbuf): Clear line buffer flag for _IONBF.
1538 2001-03-25  Ulrich Drepper  <drepper@redhat.com>
1540         Add changes which were in this form in the original patch by
1541         Eric Norum <eric.norum@usask.ca>.
1542         * include/rpc/rpc.h: Remove svc_fdset, rpc_createerr, svc_pollfd, and
1543         svc_max_pollfd.
1544         * sunrpc/rpc/rpc.h: Declare __rpc_thread_svc_fdset,
1545         __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
1546         __rpc_thread_svc_max_pollfd.
1547         Define svc_fdset, get_rpc_createerr, svc_pollfd, and
1548         svc_max_pollfd.
1549         * sunrpc/rpc_thread.c: Handle first thread special, it uses the
1550         global variables.
1551         Define __rpc_thread_svc_fdset, __rpc_thread_createerr,
1552         __rpc_thread_svc_pollfd, and __rpc_thread_svc_max_pollfd.
1553         * sunrpc/Versions [libc] (GLIBC_2.2.3): Export  __rpc_thread_svc_fdset,
1554         __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
1555         __rpc_thread_svc_max_pollfd.
1556         * sunrpc/clnt_gen.c: Replace use of rpc_createerr by call to
1557         get_rpc_createerr.
1558         * sunrpc/clnt_perr.c: Likewise.
1559         * sunrpc/clnt_simp.c: Likewise.
1560         * sunrpc/clnt_tcp.c: Likewise.
1561         * sunrpc/clnt_udp.c: Likewise.
1562         * sunrpc/clnt_unix.c: Likewise.
1563         * sunrpc/pm_getport.c: Likewise.
1565         * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): getgroups32
1566         syscall checks for negative n so don't test here as well.
1568 2001-03-23  Jes Sorensen  <jes@linuxcare.com>
1570         * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Moved to ...
1571         * sysdeps/ia64/sysdep.h: ...here.
1573         * sysdeps/ia64/sysdep.h (LOCAL_ENTRY): Define.
1574         * sysdeps/ia64/sysdep.h (LOCAL_LEAF): Define.
1576         * sysdeps/ia64/_mcount.S (_mcount_ret_helper): Use LOCAL_LEAF() to
1577         declare instead of LEAF().  Suggestion from David Mosberger.
1579 2001-03-21  David Mosberger  <davidm@hpl.hp.com>
1581         * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Add unwind
1582         directives.
1583         (PSEUDO): Drop .psr and .lsb directives.
1585         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Ditto.  Add unwind
1586         directives.
1587         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Ditto.
1589         * sysdeps/ia64/elf/start.S: Misc cleanup: remove .psr and .lsb
1590         directives etc.
1591         * sysdeps/unix/sysv/linux/ia64/brk.S: Ditto.
1592         * sysdeps/unix/sysv/linux/ia64/__longjmp.S: Ditto.
1593         * sysdeps/ia64/_mcount.S: Remove .psr and .lsb directives (no
1594         longer needed).  Add unwind directives.
1596         * sysdeps/ia64/sysdep.h: Define ASM_UNW_PRLG_RP, ASM_UNW_PRLG_PFS,
1597         ASM_UNW_PRLG_PSP, ASM_UNW_PRLG_PR, and ASM_UNW_PRLG_GRSAVE.
1599 2001-03-21  Paul Eggert  <eggert@twinsun.com>
1601         * posix/regex.h (RE_INVALID_INTERVAL_ORD): New macro.
1602         (RE_SYNTAX_POSIX_EGREP): Use it.
1603         * posix/regex.c (regex_compile): Implement it.
1605 2001-03-21  Paul Eggert  <eggert@twinsun.com>
1607         * posix/regex.c (GET_UNSIGNED_NUMBER): Check for overflow.
1608         Rewrite to avoid duplicate code.
1610 2001-03-21  H.J. Lu  <hjl@gnu.org>
1612         * elf/Makefile (tests): Don't depend on $(objpfx)tst-pathopt.out
1613         for cross-compiling.
1614         ($(objpfx)tst-pathopt.out): Undo the last change.
1616 2001-03-24  Mark Kettenis  <kettenis@gnu.org>
1618         * sysdeps/mach/hurd/i386/bits/sigcontext.h (sc_sp, sc_fp, sc_pc,
1619         sc_ps): Define as aliases for sc_uesp, sc_ebl, sc_eip and sc_efl.
1621         * sysdeps/mach/hurd/i386/init-first.c: Include <assert.h>.
1622         (_dl_argv): Declare.
1623         (init) [SHARED]: Readjust _dl_argv if we switched to a new stack.
1625 2001-03-22  Andreas Jaeger  <aj@suse.de>
1627         * iconvdata/Makefile (generated): Add iconv-test.xxx.
1629         * posix/Makefile (generated): Add bug-regex2.mtrace and
1630         bug-regex2-mem.
1632 2001-03-21  Ulrich Drepper  <drepper@redhat.com>
1634         * csu/version.c (__gnu_get_libc_release): Add prototype.
1635         (__gnu_get_libc_version): Likewise.
1636         * include/gnu/libc-version.h: Remove prototypes for not exported
1637         functions.
1639 2001-03-21  Jes Sorensen  <jes@linuxcare.com>
1641         * sysdeps/unix/sysv/linux/ia64/makecontext.c: Include libintl.h
1642         for internationalized printfs to work.
1644 2001-03-09  Bruno Haible  <haible@clisp.cons.org>
1646         * intl/dcigettext.c (transmem_block_t): Change to unsigned char, to
1647         avoid compiler warning.
1648         (_nl_find_msg): Add casts to avoid compiler warnings.
1650 2001-03-21  Ulrich Drepper  <drepper@redhat.com>
1652         * gmon/Makefile (routines): Add sprofil.
1653         (tests): Add tst-sprofil.
1654         (noprof): Add sprofil.
1655         * gmon/Versions [libc] (GLIBC_2.2.3): Add sprofil.
1657 2001-03-20  David Mosberger  <davidm@hpl.hp.com>
1659         * sysdeps/generic/sprofil.c: New file.
1660         * sysdeps/posix/sprofil.c: New file.
1661         * gmon/tst-sprofil.c: New file.
1662         * gmon/sys/profil.h: New file.
1664 2001-03-20  Andreas Schwab  <schwab@suse.de>
1666         * include/unistd.h: Adjust prototype of __gethostname.
1668 2001-03-20  Jakub Jelinek  <jakub@redhat.com>
1670         * sysdeps/sparc/stackinfo.h: New file.
1672 2001-03-21  Andreas Jaeger  <aj@suse.de>
1674         * elf/global.c (main): Use proper prototype.
1676 2001-03-20  Ulrich Drepper  <drepper@redhat.com>
1678         * sunrpc/Makefile (routines): Add rpc_thread.
1679         (CPPFLAGS): Add -D_RPC_THREAD_SAFE.
1680         * sunrpc/rpc_thread.c: New file.
1681         * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_destroy.
1682         * sunrpc/auth_none.c: Don't use global variables.  Access state in
1683         thread-local storage.
1684         * sunrpc/clnt_perr.c: Likewise.
1685         * sunrpc/clnt_raw.c: Likewise.
1686         * sunrpc/clnt_simp.c: Likewise.
1687         * sunrpc/key_call.c: Likewise.
1688         * sunrpc/rpc_common.c: Likewise.
1689         * sunrpc/svc.c: Likewise.
1690         * sunrpc/svc_raw.c: Likewise.
1691         * sunrpc/svc_simple.c: Likewise.
1692         * sunrpc/svcauth_des.c: Likewise.
1693         * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
1694         _HURD_THREADVAR_RPC_VARS.
1695         * sysdeps/generic/bits/libc-tsd.h: Mention _LIBC_TSD_KEY_RPC_VARS.
1696         * include/rpc/rpc.h: Define data structures for internal thread-local
1697         "global" variables.
1698         Based on patches by Eric Norum <eric.norum@usask.ca>.
1700         * elf/dl-load.c: Various little optimizations.
1702         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Return
1703         LINUX_LINK_MAX only if the statfs function is not implemented for
1704         the filesystem.
1706         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Return
1707         LINUX_LINK_MAX only if the fstatfs function is not implemented for
1708         the filesystem.
1710 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
1712         * elf/dl-dst.h (DL_DST_COUNT): Add __builtin_expect.
1714         * elf/dl-load.c (_dl_dst_count): Make DST recognition more robust.
1715         (_dl_dst_substitute): Likewise.
1717 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
1719         * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC]: Use fstat, not fstat64.
1721 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
1723         * intl/gettextP.h (struct expression): Add operators lnot, less_than,
1724         greater_than, less_or_equal, greater_or_equal. Replace args2/args3
1725         union by a 'nargs' counter and an 'args[]' array.
1726         * intl/plural.y: Don't include stdarg.h.
1727         (new_exp): Take an array of arguments instead of varargs.
1728         (new_exp_0, new_exp_1, new_exp_2, new_exp_3): New functions.
1729         ('?' ':'): Make right-associative.
1730         (EQUOP2): New token, replaces '=' and '!'.
1731         (CMPOP2): New token.
1732         (ADDOP2): New token, replaces '+' and '-'.
1733         (MULOP2): New token, replaces '*', '/' and '%'.
1734         ('!'): New token.
1735         (exp): Add rules for CMPOP2 and '!'. Don't call YYABORT.
1736         (start): Call YYABORT here.
1737         (FREE_EXPRESSION): Update.
1738         (yylex): Don't skip "\\n". Recognize comparison and '!' operators.
1739         Update for new token symbols.
1740         * intl/loadmsgcat.c (plvar, plone, germanic_plural,
1741         init_germanic_plural): Update.
1742         * intl/dcigettext.c (_nl_find_msg): Optimize for space.
1743         (plural_eval): Recognize comparison and '!' operators. Optimize for
1744         space.
1746 2001-03-10  Bruno Haible  <haible@clisp.cons.org>
1748         * intl/loadmsgcat.c (_nl_load_domain): locale_charset() doesn't return
1749         NULL any more.
1751 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
1753         * intl/loadmsgcat.c: Include headers needed for alloca().
1754         (freea): New macro.
1755         (_nl_load_domain): Add fallback code for platforms lacking alloca.
1756         * intl/localealias.c: (ADD_BLOCK, FREE_BLOCK): Remove macros.
1757         (freea): New macro.
1758         (read_alias_file): Simplify fallback code for platforms lacking
1759         alloca.
1761 2001-01-07  Bruno Haible  <haible@clisp.cons.org>
1763         * intl/gettextP.h (__gettextdebug): Remove declaration.
1764         (__gettext_free_exp, __gettextparse): Convert prototype to K&R C
1765         syntax.
1766         (gettext_free_exp__, gettextparse__): New non-libc declarations.
1767         * intl/plural.y [!_LIBC]: Define gettextparse__, gettext_free_exp__,
1768         not __gettextparse, __gettext_free_exp.
1769         * intl/loadmsgcat.c [!_LIBC]: Use gettextparse__, not __gettextparse.
1771 2001-02-24  Bruno Haible  <haible@clisp.cons.org>
1773         * intl/dcigettext.c: Update comment about HAVE_LOCALE_NULL.
1775 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
1777         * intl/loadmsgcat.c (_nl_load_domain): Add fallback code for platforms
1778         lacking strtoul, like SunOS4.
1780 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
1782         * intl/l10nflist.c (_nl_normalize_codeset): Use tolower, not _tolower.
1784 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
1786         * intl/bindtextdom.c (set_binding_values): Convert prototype to K&R C
1787         syntax.
1788         * intl/dcigettext.c (transcmp): Convert to K&R C syntax.
1789         * intl/explodename.c (_nl_find_language): Convert to K&R C syntax.
1790         * intl/plural.y (__gettext_free_exp, yylex, yyerror): Convert to K&R C
1791         syntax.
1793 2001-01-07  Bruno Haible  <haible@clisp.cons.org>
1795         * intl/gettextP.h (gettext__, dgettext__, dcgettext__, textdomain__,
1796         bindtextdomain__, bind_textdomain_codeset__): New declarations, from
1797         old libgettext.h.
1798         * intl/bindtextdom.c: Include libgnuintl.h instead of libgettext.h.
1799         * intl/dcgettext.c: Likewise.
1800         * intl/dcigettext.c: Likewise.
1801         * intl/dcngettext.c: Likewise.
1802         * intl/dngettext.c: Likewise.
1803         * intl/finddomain.c: Likewise.
1804         * intl/ngettext.c: Likewise.
1805         * intl/textdomain.c: Likewise.
1806         * intl/dgettext.c: Include libgnuintl.h instead of libgettext.h.
1807         Include gettextP.h.
1808         * intl/gettext.c: Likewise.  Don't include locale.h.
1810 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
1812         * intl/gettextP.h (ZERO): New macro.
1813         (struct binding): Always use ZERO.
1814         * intl/bindtextdom.c (offsetof): Provide fallback for platforms that
1815         lack it, like SunOS4.
1816         (set_binding_values): Use offsetof, not sizeof.
1817         * intl/dcigettext.c (offsetof): Provide fallback for platforms that
1818         lack it, like SunOS4.
1819         (ZERO): Remove macro.
1820         (struct transmem_list): Use ZERO.
1821         (DCIGETTEXT): Use offsetof, not sizeof.
1823 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
1825         * intl/gettextP.h: Include <stddef.h>. Include gettext.h, for
1826         nls_uint32.
1827         * intl/bindtextdom.c: Don't include gettext.h.
1828         * intl/dcgettext.c: Likewise.
1829         * intl/dcigettext.c: Likewise.
1830         * intl/dcngettext.c: Likewise.
1831         * intl/dngettext.c: Likewise.
1832         * intl/finddomain.c: Likewise.
1833         * intl/localealias.c: Likewise.
1834         * intl/ngettext.c: Likewise.
1835         * intl/plural.y: Likewise.
1836         * intl/textdomain.c: Likewise.
1838 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
1840         * intl/gettext.h: Don't include <stdio.h>.
1842 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
1844         * intl/Makefile (CPPFLAGS): Set LOCALEDIR instead of GNULOCALEDIR.
1845         * intl/dcigettext.c (_nl_default_dirname): Initialize with LOCALEDIR.
1847 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
1849         * sysdeps/unix/i386/i686/tempname.c: New file.
1851         * sysdeps/posix/tempname.c (__gen_tempname): If RANDOM_BITS is
1852         defined use this macro to get some bits of randomness instead of
1853         the usual gettimeofday or time calls.
1855 2001-03-16  Paul Eggert  <eggert@twinsun.com>
1857         * sysdeps/posix/tempname.c (uint64_t): Define to uintmax_t if
1858         not defined, and if UINT64_MAX is not defined.
1860 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
1862         * elf/cache.c: Mark and have translated a few more messages.
1864 2001-03-19  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1866         * elf/cache.c: Add case for FLAG_S390_LIB64.
1867         * sysdeps/generic/ldconfig.h: Add define for FLAG_S390_LIB64.
1868         * sysdeps/unix/sysv/linux/s390/ldconfig.h: New file.
1869         * sysdeps/unix/sysv/linux/s390/readelflib.c: New file.
1871 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
1873         * string/Makefile (tests): Add tst-strxfrm.
1874         * string/tst-strxfrm.c: New file.  Based on a test case by Paul Eggert.
1875         * string/Depend: New file.
1877 2001-03-19  Paul Eggert  <eggert@twinsun.com>
1879         * string/strxfrm.c (strxfrm): strxfrm should return 0, not 1,
1880         when given the empty string in nontrivial locales.
1882 2001-03-17  H.J. Lu  <hjl@gnu.org>
1884         * manual/Makefile (install): Use $(INSTALL_DATA) instead of
1885         cp to install `dir'.
1887 2001-03-19  Andreas Schwab  <schwab@suse.de>
1889         * Makerules (build-shlib): Make sure exit codes get checked
1890         properly.
1892 2001-03-18  Ulrich Drepper  <drepper@redhat.com>
1894         * Makerules (build-shlib): Remove unnecessary slashes introduced in
1895         last change.
1897         * configure.in: Test for -Bgroup option of linker.
1898         * config.make.in: Define have-Bgroup.
1900         * conform/data/unistd.h-data: Require gethostname.
1901         * posix/unistd.h: Make gethostname prototype available for
1902         __USE_XOPEN2K.
1904         * crypt/Makefile: When generating DSO link with libc_nonshared.a.
1905         * debug/Makefile: Likewise.
1906         * dlfcn/Makefile: Likewise.
1907         * hesiod/Makefile: Likewise.
1908         * iconvdata/extra-module.mk: Likewise.
1909         * locale/Makefile: Likewise.
1910         * login/Makefile: Likewise.
1911         * math/Makefile: Likewise.
1912         * nis/Makefile: Likewise.
1913         * nss/Makefile: Likewise.
1914         * resolv/Makefile: Likewise.
1915         * rt/Makefile: Likewise.
1917 2001-03-17  Ulrich Drepper  <drepper@redhat.com>
1919         * inet/Makefile (tests): Remove left-over comment.
1921         * posix/unistd.h (gethostname): Change type of second parameter
1922         back to size_t as per upcoming XPG6.
1923         * sysdeps/unix/sysv/aix/gethostname.c: Change type of second
1924         parameter back to size_t as per upcoming XPG6.
1925         * sysdeps/unix/sysv/sysv4/gethostname.c: Likewise.
1926         * sysdeps/unix/sysv/gethostname.c: Likewise.
1927         * sysdeps/mach/hurd/gethostname.c: Likewise.
1928         * sysdeps/generic/gethostname.c: Likewise.
1930 2001-03-16  Ulrich Drepper  <drepper@redhat.com>
1932         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
1933         Handle NaN here.
1935         * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext):
1936         Internationalize.
1938 2001-02-06  Jakub Jelinek  <jakub@redhat.com>
1940         * elf/dl-load.c (_dl_map_object): Don't test l_opencount when
1941         looking for name matches.
1943 2001-02-26  Jakub Jelinek  <jakub@redhat.com>
1945         * sysdeps/generic/sigcontextinfo.h (CALL_SIGHANDLER): Define.
1946         * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
1947         * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
1948         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
1949         * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
1950         * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
1951         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
1952         * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
1953         * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
1954         * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
1955         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
1956         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
1958 2001-03-16  Ulrich Drepper  <drepper@redhat.com>
1960         * sysdeps/ieee754/ldbl-96/s_erfl.c: New file.
1961         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
1963         * sysdeps/i386/fpu/libm-test-ulps: Adjust for addition of erfl and
1964         erfcl.
1965         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
1967 2001-03-16  David Mosberger  <davidm@hpl.hp.com>
1969         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
1970         Drop hack that was needed for 2.1.1 kernel headers.
1972         * sysdeps/unix/sysv/linux/ia64/ucontext_i.h: New file.
1974         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Rewrite to make it
1975         overlay with kernel's "struct sigcontext".
1977         * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep_headers): Add
1978         sys/rse.h for "misc" subdir.
1979         (sysdep_routines): Add __start_context for "stdlib" subdir.
1981         * sysdeps/unix/sysv/linux/ia64/sys/rse.h: New file (based on
1982         kernel file of the same name).
1984         * stdlib/Makefile (tests): Add tst-setcontext.
1985         * stdlib/tst-setcontext.c: New file (based on a sample program by
1986         Uli Drepper).
1988         * sysdeps/unix/sysv/linux/ia64/setcontext.S: New file.
1989         * sysdeps/unix/sysv/linux/ia64/getcontext.S: New file.
1990         * sysdeps/unix/sysv/linux/ia64/__start_context.S: New file.
1991         * sysdeps/unix/sysv/linux/ia64/makecontext.c: New file.
1992         * sysdeps/unix/sysv/linux/ia64/swapcontext.c: New file.
1994         * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): Use extr.u
1995         instead of shift & and.
1997 2001-03-16  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1999         * sysdeps/s390/s390-64/bits/huge_val.h: Move to...
2000         * sysdeps/s390/bits/huge_val.h: ...here.
2001         * sysdeps/s390/s390-32/bit/huge_val.h: Remove.
2002         * sysdeps/s390/s390-64/ffs.c: Move to...
2003         * sysdeps/s390/ffs.c: ...here.
2004         * sysdeps/s390/s390-32/ffs.c: Remove.
2006 2001-03-16  Jakub Jelinek  <jakub@redhat.com>
2008         * elf/ldconfig.c (search_dir): Remove bogus diagnostic, instead
2009         update osversion from more recent library.
2011 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2013         * sysdeps/unix/sysv/linux/s390/Dist: Move to...
2014         * sysdeps/unix/sysv/linux/s390/s390-32/Dist: ...here.
2015         * sysdeps/unix/sysv/linux/s390/Makefile: Move to...
2016         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: ...here.
2017         * sysdeps/unix/sysv/linux/s390/Versions: Move to...
2018         * sysdeps/unix/sysv/linux/s390/s390-32/Versions: ...here.
2019         * sysdeps/unix/sysv/linux/s390/alphasort64.c: Move to...
2020         * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: ...here.
2021         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Move to...
2022         * sysdeps/unix/sysv/linux/s390/s390-32/bits/fcntl.h: ...here.
2023         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Move to...
2024         * sysdeps/unix/sysv/linux/s390/s390-32/bits/mman.h: ...here.
2025         * sysdeps/unix/sysv/linux/s390/bits/resource.h: Move to...
2026         * sysdeps/unix/sysv/linux/s390/s390-32/bits/resource.h: ...here.
2027         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Move to...
2028         * sysdeps/unix/sysv/linux/s390/s390-32/bits/stat.h: ...here.
2029         * sysdeps/unix/sysv/linux/s390/chown.c: Move to...
2030         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: ...here.
2031         * sysdeps/unix/sysv/linux/s390/clone.S: Move to...
2032         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: ...here.
2033         * sysdeps/unix/sysv/linux/s390/fchown.c: Move to...
2034         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: ...here.
2035         * sysdeps/unix/sysv/linux/s390/fcntl.c: Move to...
2036         * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: ...here.
2037         * sysdeps/unix/sysv/linux/s390/fxstat.c: Move to...
2038         * sysdeps/unix/sysv/linux/s390/s390-32/fxstat.c: ...here.
2039         * sysdeps/unix/sysv/linux/s390/getdents64.c: Move to...
2040         * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: ...here.
2041         * sysdeps/unix/sysv/linux/s390/getegid.c: Move to...
2042         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: ...here.
2043         * sysdeps/unix/sysv/linux/s390/geteuid.c: Move to...
2044         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: ...here.
2045         * sysdeps/unix/sysv/linux/s390/getgid.c: Move to...
2046         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: ...here.
2047         * sysdeps/unix/sysv/linux/s390/getgroups.c: Move to...
2048         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: ...here.
2049         * sysdeps/unix/sysv/linux/s390/getresgid.c: Move to...
2050         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: ...here.
2051         * sysdeps/unix/sysv/linux/s390/getresuid.c: Move to...
2052         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: ...here.
2053         * sysdeps/unix/sysv/linux/s390/getrlimit.c: Move to...
2054         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: ...here.
2055         * sysdeps/unix/sysv/linux/s390/getrlimit64.c: Move to...
2056         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: ...here.
2057         * sysdeps/unix/sysv/linux/s390/getuid.c: Move to...
2058         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: ...here.
2059         * sysdeps/unix/sysv/linux/s390/lchown.c: Move to...
2060         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: ...here.
2061         * sysdeps/unix/sysv/linux/s390/lockf64.c: Move to...
2062         * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: ...here.
2063         * sysdeps/unix/sysv/linux/s390/lxstat.c: Move to...
2064         * sysdeps/unix/sysv/linux/s390/s390-32/lxstat.c: ...here.
2065         * sysdeps/unix/sysv/linux/s390/mmap.S: Move to...
2066         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: ...here.
2067         * sysdeps/unix/sysv/linux/s390/mmap64.S: Move to...
2068         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: ...here.
2069         * sysdeps/unix/sysv/linux/s390/msgctl.c: Move to...
2070         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: ...here.
2071         * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: Move to...
2072         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: ...here.
2073         * sysdeps/unix/sysv/linux/s390/readdir64.c: Move to...
2074         * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: ...here.
2075         * sysdeps/unix/sysv/linux/s390/readdir64_r.c: Move to...
2076         * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: ...here.
2077         * sysdeps/unix/sysv/linux/s390/register-dump.h: Move to...
2078         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: ...here.
2079         * sysdeps/unix/sysv/linux/s390/scandir64.c: Move to...
2080         * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: ...here.
2081         * sysdeps/unix/sysv/linux/s390/semctl.c: Move to...
2082         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: ...here.
2083         * sysdeps/unix/sysv/linux/s390/setegid.c: Move to...
2084         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: ...here.
2085         * sysdeps/unix/sysv/linux/s390/seteuid.c: Move to...
2086         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: ...here.
2087         * sysdeps/unix/sysv/linux/s390/setfsgid.c: Move to...
2088         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: ...here.
2089         * sysdeps/unix/sysv/linux/s390/setfsuid.c: Move to...
2090         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: ...here.
2091         * sysdeps/unix/sysv/linux/s390/setgid.c: Move to...
2092         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: ...here.
2093         * sysdeps/unix/sysv/linux/s390/setgroups.c: Move to...
2094         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: ...here.
2095         * sysdeps/unix/sysv/linux/s390/setregid.c: Move to...
2096         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: ...here.
2097         * sysdeps/unix/sysv/linux/s390/setresgid.c: Move to...
2098         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: ...here.
2099         * sysdeps/unix/sysv/linux/s390/setresuid.c: Move to...
2100         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: ...here.
2101         * sysdeps/unix/sysv/linux/s390/setreuid.c: Move to...
2102         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: ...here.
2103         * sysdeps/unix/sysv/linux/s390/setrlimit.c: Move to...
2104         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: ...here.
2105         * sysdeps/unix/sysv/linux/s390/setuid.c: Move to...
2106         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: ...here.
2107         * sysdeps/unix/sysv/linux/s390/shmctl.c: Move to...
2108         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: ...here.
2109         * sysdeps/unix/sysv/linux/s390/socket.S: Move to...
2110         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: ...here.
2111         * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Move to...
2112         * sysdeps/unix/sysv/linux/s390/s390-32/sys/procfs.h: ...here.
2113         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Move to...
2114         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: ...here.
2115         * sysdeps/unix/sysv/linux/s390/syscall.S: Move to...
2116         * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: ...here.
2117         * sysdeps/unix/sysv/linux/s390/syscalls.list: Move to...
2118         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: ...here.
2119         * sysdeps/unix/sysv/linux/s390/sysdep.S: Move to...
2120         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: ...here.
2121         * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
2122         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here.
2123         * sysdeps/unix/sysv/linux/s390/versionsort64.c: Move to...
2124         * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: ...here.
2125         * sysdeps/unix/sysv/linux/s390/xstat.c: Move to...
2126         * sysdeps/unix/sysv/linux/s390/s390-32/xstat.c: ...here.
2128 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2130         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: New file.
2131         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: New file.
2132         * sysdeps/unix/sysv/linux/s390/s390-64/bits/elfclass.h: New file.
2133         * sysdeps/unix/sysv/linux/s390/s390-64/bits/fcntl.h: New file.
2134         * sysdeps/unix/sysv/linux/s390/s390-64/bits/ipc.h: New file.
2135         * sysdeps/unix/sysv/linux/s390/s390-64/bits/mman.h: New file.
2136         * sysdeps/unix/sysv/linux/s390/s390-64/bits/msq.h: New file.
2137         * sysdeps/unix/sysv/linux/s390/s390-64/bits/resource.h: New file.
2138         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sem.h: New file.
2139         * sysdeps/unix/sysv/linux/s390/s390-64/bits/shm.h: New file.
2140         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: New file.
2141         * sysdeps/unix/sysv/linux/s390/s390-64/bits/siginfo.h: New file.
2142         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigstack.h: New file.
2143         * sysdeps/unix/sysv/linux/s390/s390-64/bits/stat.h: New file.
2144         * sysdeps/unix/sysv/linux/s390/s390-64/bits/types.h: New file.
2145         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: New file.
2146         * sysdeps/unix/sysv/linux/s390/s390-64/fstatfs64.c: New file.
2147         * sysdeps/unix/sysv/linux/s390/s390-64/ftruncate64.c: New file.
2148         * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: New file.
2149         * sysdeps/unix/sysv/linux/s390/s390-64/fxstat64.c: New file.
2150         * sysdeps/unix/sysv/linux/s390/s390-64/getdents.c: New file.
2151         * sysdeps/unix/sysv/linux/s390/s390-64/getdents64.c: New file.
2152         * sysdeps/unix/sysv/linux/s390/s390-64/getrlimit64.c: New file.
2153         * sysdeps/unix/sysv/linux/s390/s390-64/glob.c: New file.
2154         * sysdeps/unix/sysv/linux/s390/s390-64/glob64.c: New file.
2155         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: New file.
2156         * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: New file.
2157         * sysdeps/unix/sysv/linux/s390/s390-64/lxstat64.c: New file.
2158         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: New file.
2159         * sysdeps/unix/sysv/linux/s390/s390-64/mmap64.c: New file.
2160         * sysdeps/unix/sysv/linux/s390/s390-64/pread64.c: New file.
2161         * sysdeps/unix/sysv/linux/s390/s390-64/pwrite64.c: New file.
2162         * sysdeps/unix/sysv/linux/s390/s390-64/readdir.c: New file.
2163         * sysdeps/unix/sysv/linux/s390/s390-64/readdir64.c: New file.
2164         * sysdeps/unix/sysv/linux/s390/s390-64/readdir64_r.c: New file.
2165         * sysdeps/unix/sysv/linux/s390/s390-64/readdir_r.c : New file.
2166         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: New file.
2167         * sysdeps/unix/sysv/linux/s390/s390-64/setrlimit64.c: New file.
2168         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: New file.
2169         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: New file.
2170         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c: New file.
2171         * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: New file.
2172         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: New file.
2173         * sysdeps/unix/sysv/linux/s390/s390-64/statfs64.c: New file.
2174         * sysdeps/unix/sysv/linux/s390/s390-64/sys/procfs.h: New file.
2175         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: New file.
2176         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: New file.
2177         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: New file.
2178         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: New file.
2179         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: New file.
2180         * sysdeps/unix/sysv/linux/s390/s390-64/truncate64.c: New file.
2181         * sysdeps/unix/sysv/linux/s390/s390-64/xstat.c: New file.
2182         * sysdeps/unix/sysv/linux/s390/s390-64/xstat64.c: New file.
2184 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2186         * sysdeps/s390/Dist: Move to...
2187         * sysdeps/s390/390-32/Dist: ...here.
2188         * sysdeps/s390/Implies: Move to...
2189         * sysdeps/s390/s390-32/Implies: ...here.
2190         * sysdeps/s390/Makefile: Move to...
2191         * sysdeps/s390/s390-32/Makefile: ...here.
2192         * sysdeps/s390/Versions: Move to...
2193         * sysdeps/s390-32/s390/Versions: ...here.
2194         * sysdeps/s390/add_n.S: Move to...
2195         * sysdeps/s390/s390-32/add_n.S: ...here.
2196         * sysdeps/s390/addmul_1.S: Move to...
2197         * sysdeps/s390/s390-32/addmul_1.S: ...here.
2198         * sysdeps/s390/atomicity.h: Move to...
2199         * sysdeps/s390/s390-32/atomicity.h: ...here.
2200         * sysdeps/s390/backtrace.c: Move to...
2201         * sysdeps/s390/s390-32/backtrace.c: ...here.
2202         * sysdeps/s390/bcopy.S: Move to...
2203         * sysdeps/s390/s390-32/bcopy.S: ...here.
2204         * sysdeps/s390/bits/byteswap.h: Move to...
2205         * sysdeps/s390/s390-32/bits/byteswap.h: ...here.
2206         * sysdeps/s390/bits/huge_val.h: Move to...
2207         * sysdeps/s390/s390-32/bits/huge_val.h: ...here.
2208         * sysdeps/s390/bsd-_setjmp.S: Move to...
2209         * sysdeps/s390/s390-32/bsd-_setjmp.S: ...here.
2210         * sysdeps/s390/bsd-setjmp.S: Move to...
2211         * sysdeps/s390/s390-32/bsd-setjmp.S: ...here.
2212         * sysdeps/s390/bzero.S: Move to...
2213         * sysdeps/s390/s390-32/bzero.S: ...here.
2214         * sysdeps/s390/elf/bsd-_setjmp.S: Move to...
2215         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: ...here.
2216         * sysdeps/s390/elf/bsd-setjmp.S: Move to...
2217         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: ...here.
2218         * sysdeps/s390/elf/start.S: Move to...
2219         * sysdeps/s390/s390-32/elf/start.S: ...here.
2220         * sysdeps/s390/ffs.c: Move to...
2221         * sysdeps/s390/s390-32/ffs.c: ...here.
2222         * sysdeps/s390/memchr.S: Move to...
2223         * sysdeps/s390/s390-32/memchr.S: ...here.
2224         * sysdeps/s390/memcpy.S: Move to...
2225         * sysdeps/s390/s390-32/memcpy.S: ...here.
2226         * sysdeps/s390/memset.S: Move to...
2227         * sysdeps/s390/s390-32/memset.S: ...here.
2228         * sysdeps/s390/mul_1.S: Move to...
2229         * sysdeps/s390/s390-32/mul_1.S: ...here.
2230         * sysdeps/s390/s390-mcount.S: Move to...
2231         * sysdeps/s390/s390-32/s390-mcount.S: ...here.
2232         * sysdeps/s390/strcpy.S: Move to...
2233         * sysdeps/s390/s390-32/strcpy.S: ...here.
2234         * sysdeps/s390/strncpy.S: Move to...
2235         * sysdeps/s390/s390-32/strncpy.S: ...here.
2236         * sysdeps/s390/sub_n.S: Move to...
2237         * sysdeps/s390/s390-32/sub_n.S: ...here.
2239 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2241         * sysdeps/s390/s390-64/Dist: New file.
2242         * sysdeps/s390/s390-64/Implies: New file.
2243         * sysdeps/s390/s390-64/Makefile: New file.
2244         * sysdeps/s390/s390-64/__longjmp.c: New file.
2245         * sysdeps/s390/s390-64/add_n.S: New file.
2246         * sysdeps/s390/s390-64/atomicity.h: New file.
2247         * sysdeps/s390/s390-64/backtrace.c: New file.
2248         * sysdeps/s390/s390-64/bcopy.S: New file.
2249         * sysdeps/s390/s390-64/bits/byteswap.h: New file.
2250         * sysdeps/s390/s390-64/bits/huge_val.h: New file.
2251         * sysdeps/s390/s390-64/bits/setjmp.h: New file.
2252         * sysdeps/s390/s390-64/bits/string.h: New file.
2253         * sysdeps/s390/s390-64/bsd-_setjmp.S: New file.
2254         * sysdeps/s390/s390-64/bsd-setjmp.S: New file.
2255         * sysdeps/s390/s390-64/bzero.S: New file.
2256         * sysdeps/s390/s390-64/dl-machine.h: New file.
2257         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: New file.
2258         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: New file.
2259         * sysdeps/s390/s390-64/elf/setjmp.S: New file.
2260         * sysdeps/s390/s390-64/elf/start.S: New file.
2261         * sysdeps/s390/s390-64/ffs.c: New file.
2262         * sysdeps/s390/s390-64/initfini.c: New file.
2263         * sysdeps/s390/s390-64/memchr.S: New file.
2264         * sysdeps/s390/s390-64/memcpy.S: New file.
2265         * sysdeps/s390/s390-64/memset.S: New file.
2266         * sysdeps/s390/s390-64/s390x-mcount.S: New file.
2267         * sysdeps/s390/s390-64/setjmp.S: New file.
2268         * sysdeps/s390/s390-64/strcpy.S: New file.
2269         * sysdeps/s390/s390-64/strncpy.S: New file.
2270         * sysdeps/s390/s390-64/sub_n.S: New file.
2271         * sysdeps/s390/s390-64/sysdep.h: New file.
2273 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2275         * scripts/config.guess: Add support for Linux on 64 bit S/390.
2276         * scripts/config.sub: Likewise.
2278 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2280         * configure.in: Add support for 64 bit S/390.
2282         * elf/elf.h: Add new relocations for 64 bit S/390.
2284         * shlib-versions: Add rules for Linux on 64 bit S/390.
2286 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2288         * sysdeps/s390/__longjmp.c: Move to...
2289         * sysdeps/s390/s390-32/__longjmp.c: ...here.  Add code
2290         to load the floating point registers that should be saved
2291         according to the ABI.
2293         * sysdeps/s390/bits/setjmp.h: Move to...
2294         * sysdeps/s390/s390-32/bits/setjmp.h: ...here.  Avoid
2295         the use of long long in the __jmp_buf type definition.
2297         * sysdeps/s390/bits/string.h: Move to...
2298         * sysdeps/s390/s390-32/bits/string.h: ...here.  Add several missing
2299         #ifndef _FORCE_INLINES.
2301         * sysdeps/s390/dl-machine.h: Move to...
2302         * sysdeps/s390/s390-32/dl-machine.h: ...here.  Add a check for the
2303         executables EI_CLASS in elf_machine_matches_host.
2305         * sysdeps/s390/elf/setjmp.S: Move to...
2306         * sysdeps/s390/s390-32/elf/setjmp.S: ...here.  Replace
2307         branches to globally defined symbol __sigsetjmp by branches to
2308         a local label (this avoids the generation of a R_390_PC16DBL
2309         relocation in -fpic code).
2311         * sysdeps/s390/gmp-mparam.h: Use defines from <bits/wordsize.h> to
2312         calculate BITS_PER_MP_LIMB, BYTES_PER_MP_LIMB and BITS_PER_LONGINT.
2314         * sysdeps/s390/initfini.c: Move to...
2315         * sysdeps/s390/s390-32/initfini.c: ...here.  Replace ALIGN with
2316         ".align 4,0x07".
2318         * sysdeps/s390/setjmp.S: Move to...
2319         * sysdeps/s390/s390-32/setjmp.S: ...here.  Add code to store the
2320         floating point registers that should be saved according to the ABI.
2322         * sysdeps/s390/sys/ucontext.h: Remove since it is unused.
2324         * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
2325         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here. Include
2326         sysdeps/s390/s390-32/sysdep.h instead of sysdeps/s390/sysdep.h.
2328 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2330         * configure.in: Change machine=s390 to machine=s390/s390-32.
2332         * elf/elf.h: Correct comment for R_390_PLT16DBL.
2334 2001-03-12  Jakub Jelinek  <jakub@redhat.com>
2336         * csu/Makefile (abi-tag.h): Define OS and version separately, allow
2337         version to be overriden from config.h.
2338         * csu/abi-note.S: Use OS and version separately, include config.h.
2339         * elf/dl-load.c (_dl_osversion): New.
2340         (_dl_map_object_from_fd): Kill some warnings.
2341         (open_verify): Check .note.ABI-tag of the library if present.
2342         * elf/Makefile (CPPFLAGS-dl-load.c): Add -I$(csu-objpfx).
2343         * elf/cache.c (struct cache_entry): Add osversion.
2344         (print_entry): Print osversion.
2345         (print_cache): Pass osversion to it.
2346         (compare): Sort according to osversion.
2347         (save_cache): Set osversion.
2348         (add_to_cache): Add osversion argument.
2349         * sysdeps/generic/ldconfig.h (add_to_cache, process_file,
2350         process_elf_file): Add osversion argument.
2351         * elf/readlib.c (process_file): Likewise.
2352         * sysdeps/generic/readelflib.c (process_elf_file): Likewise.
2353         * sysdeps/unix/sysv/linux/ia64/readelflib.c (process_elf_file,
2354         process_elf32_file, process_elf64_file): Likewise.
2355         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file,
2356         process_elf32_file, process_elf64_file): Likewise.
2357         * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file,
2358         process_elf32_file, process_elf64_file): Likewise.
2359         * elf/ldconfig.c (manual_link): Pass it.
2360         (search_dir): Issue diagnostic if two libs with the same soname in
2361         the same directory have different .note.ABI-tag.  Record osversion in
2362         dlib_entry and use it from there.
2363         (struct lib_entry): Remove.
2364         (struct dlib_entry): Add osversion.
2365         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Check
2366         osversion.
2367         * sysdeps/generic/dl-cache.h (struct file_entry_new): Replace __unused
2368         field with osversion.
2369         * sysdeps/generic/ldsodefs.h (_dl_osversion): Declare.
2370         * sysdeps/unix/sysv/linux/init-first.c: Include ldsodefs.h.
2371         * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Save kernel
2372         version in _dl_osversion.
2373         * sysdeps/unix/sysv/linux/configure.in: Define __ABI_TAG_VERSION.
2374         * Makerules (build-shlib-helper, build-module-helper): New.
2375         (build-shlib, build-module-helper): Make sure .note.ABI-tag comes
2376         early.
2377         * config.h.in (__ABI_TAG_VERSION): Add.
2378         * elf/dl-minimal.c (__strtoul_internal): Set endptr on return.
2379         * sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS):
2380         Handle LD_ASSUME_KERNEL.
2381         * sysdeps/unix/sysv/linux/dl-librecon.h: New.
2383 2001-03-15  Ulrich Drepper  <drepper@redhat.com>
2385         * timezone/antarctica: Update from tzdata2001a.
2386         * timezone/asia: Likewise.
2387         * timezone/australasia: Likewise.
2388         * timezone/backward: Likewise.
2389         * timezone/etcetera: Likewise.
2390         * timezone/europe: Likewise.
2391         * timezone/leapseconds: Likewise.
2392         * timezone/northamerica: Likewise.
2393         * timezone/southamerica: Likewise.
2394         * timezone/systemv: Likewise.
2395         * timezone/yearistype: Likewise.
2396         * timezone/zone.tab: Likewise.
2397         * timezone/tzdump.c: Update from tzcode2001a.
2399 2001-03-15  H.J. Lu  <hjl@gnu.org>
2401         * intl/Makefile: Fix a typo.
2403 2001-03-14  David Mosberger  <davidm@hpl.hp.com>
2405         * gmon/gmon.c (write_call_graph): Avoid unaligned accesses when
2406         writing arc structures.
2408 2001-03-15  H.J. Lu  <hjl@gnu.org>
2410         * elf/Makefile ($(objpfx)tst-pathopt.out): Protected against
2411         cross-compiling.
2413 2001-03-13  Andreas Schwab  <schwab@suse.de>
2415         * posix/PTESTS2C.sed: Replace literal CRs by `\r'.
2417 2001-03-15  Ulrich Drepper  <drepper@redhat.com>
2419         * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Fix test
2420         for control message fitting into message data.
2421         Patch by James Antill <james@and.org>.
2423         * posix/tst-fnmatch.input: Add test case for FNM_PERIOD handling with
2424         FNM_EXTMATCH.
2426         * posix/fnmatch_loop.c: Optimize handling of ?() and @().
2427         * posix/fnmatch.c: Define STRLEN and STRCAT appropriately.
2429         * posix/Versions [libc] (GLIBC_2.2.3): Add fnmatch.
2430         * posix/fnmatch.c: Define with new default version GLIBC_2.2.3 to
2431         avoid running binaries with libc versions without FNM_EXTMATCH support.
2433         * include/wchar.h: Add prototype for __wcscat.
2434         * wcsmbs/wcscat.c: Define __wcscat and make wcscat weak alias.
2436         * posix/fnmatch.h (FNM_EXTMATCH): Define.
2437         * posix/fnmatch.c (NO_LEADING_PERIOD): Define.
2438         (posixly_correct): Move global variable here.
2439         (INT, EXT, END): Name new functions defined in fnmatch_loop.c.
2440         (fnmatch): Pretty printing.
2441         * posix/fnmatch_loop.c: Add code to handle FNM_EXTMATCH.
2442         * posix/tst-fnmatch.c: Recognize EXTMATCH flag.
2443         * posix/tst-fnmatch.input: Add tests for extended matching.
2445         * posix/testfnm.c: Add test for patterns with multiple ** before /.
2446         * posix/fnmatch_loop.c: Fix problem with the test above.
2448 2001-03-14  Ulrich Drepper  <drepper@redhat.com>
2450         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove
2451         reference to usqrt.
2453         * resolv/res_data.c (fp_nquery): Call __res_ninit not __res_init.
2455 2001-03-12  Andreas Jaeger  <aj@suse.de>
2457         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
2458         Use EM_X86_64 instead of EM_X8664.
2460 2001-03-12  Ulrich Drepper  <drepper@redhat.com>
2462         * sysdeps/ieee754/dbl-64/upow.h: Define nZERO and nINF.
2464         * sysdeps/ieee754/dbl-64/e_remainder.c: Fix handling of boundary
2465         conditions.
2467         * sysdeps/ieee754/dbl-64/e_pow.c: Fix handling of boundary
2468         conditions.
2470         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Handle Inf and NaN
2471         correctly.
2472         (__cos): Likewise.
2474         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Handle NaN
2475         correctly.
2476         (__ieee754_acos): Likewise.
2478 2001-03-12  Andreas Jaeger  <aj@suse.de>
2480         * sysdeps/unix/sysv/linux/s390/sysdep.h (_LINUX_S390_SYSDEP_H):
2481         Fix typo.  Patch by Martin Schwidefsky  <schwidefsky@de.ibm.com>.
2483         * sysdeps/s390/bits/string.h: Protect __STRING_INLINE against
2484         redefinition.
2486 2001-03-11  Roland McGrath  <roland@frob.com>
2488         * sysdeps/mach/hurd/configure.in: Add a sanity check on $prefix.
2490 2001-03-11  Ulrich Drepper  <drepper@redhat.com>
2492         * sysdeps/ieee754/dbl-64/endian.h: Define also one of BIG_ENDI and
2493         LITTLE_ENDI.
2495         * sysdeps/ieee754/dbl-64/MathLib.h (Init_Lib): Use void as
2496         parameter list.
2498         Last-bit accurate math library implementation by IBM Haifa.
2499         Contributed by Abraham Ziv <ziv@il.ibm.com>, Moshe Olshansky
2500         <olshansk@il.ibm.com>, Ealan Henis <ealan@il.ibm.com>, and
2501         Anna Reitman <reitman@il.ibm.com>.
2502         * math/Makefile (dbl-only-routines): New variable.
2503         (libm-routines): Add $(dbl-only-routines).
2504         * sysdeps/ieee754/dbl-64/e_acos.c: Empty, definition is in e_asin.c.
2505         * sysdeps/ieee754/dbl-64/e_asin.c: Replaced with accurate asin
2506         implementation.
2507         * sysdeps/ieee754/dbl-64/e_atan2.c: Replaced with accurate atan2
2508         implementation.
2509         * sysdeps/ieee754/dbl-64/e_exp.c: Replaced with accurate exp
2510         implementation.
2511         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't use __kernel_sin and
2512         __kernel_cos.
2513         * sysdeps/ieee754/dbl-64/e_log.c: Replaced with accurate log
2514         implementation.
2515         * sysdeps/ieee754/dbl-64/e_remainder.c: Replaced with accurate
2516         remainder implementation.
2517         * sysdeps/ieee754/dbl-64/e_pow.c: Replaced with accurate pow
2518         implementation.
2519         * sysdeps/ieee754/dbl-64/e_sqrt.c: Replaced with accurate sqrt
2520         implementation.
2521         * sysdeps/ieee754/dbl-64/k_cos.c: Empty, definition is in s_sin.c.
2522         * sysdeps/ieee754/dbl-64/k_sin.c: Empty, definition is in s_sin.c.
2523         * sysdeps/ieee754/dbl-64/s_atan.c: Replaced with accurate atan
2524         implementation.
2525         * sysdeps/ieee754/dbl-64/s_cos.c: Empty, definition is in s_sin.c.
2526         * sysdeps/ieee754/dbl-64/s_sin.c: Replaced with accurate sin/cos
2527         implementation.
2528         * sysdeps/ieee754/dbl-64/s_sincos.c: Rewritten to not use __kernel_sin
2529         and __kernel_cos.
2530         * sysdeps/ieee754/dbl-64/s_tan.c: Replaced with accurate tan
2531         implementation.
2532         * sysdeps/ieee754/dbl-64/Dist: Add new non-code files.
2533         * sysdeps/ieee754/dbl-64/MathLib.h: New file.
2534         * sysdeps/ieee754/dbl-64/asincos.tbl: New file.
2535         * sysdeps/ieee754/dbl-64/atnat.h: New file.
2536         * sysdeps/ieee754/dbl-64/atnat2.h: New file.
2537         * sysdeps/ieee754/dbl-64/branred.c: New file.
2538         * sysdeps/ieee754/dbl-64/branred.h: New file.
2539         * sysdeps/ieee754/dbl-64/dla.h: New file.
2540         * sysdeps/ieee754/dbl-64/doasin.c: New file.
2541         * sysdeps/ieee754/dbl-64/doasin.h: New file.
2542         * sysdeps/ieee754/dbl-64/dosincos.c: New file.
2543         * sysdeps/ieee754/dbl-64/dosincos.h: New file.
2544         * sysdeps/ieee754/dbl-64/endian.h: New file.
2545         * sysdeps/ieee754/dbl-64/halfulp.c: New file.
2546         * sysdeps/ieee754/dbl-64/mpa.c: New file.
2547         * sysdeps/ieee754/dbl-64/mpa.h: New file.
2548         * sysdeps/ieee754/dbl-64/mpa2.h: New file.
2549         * sysdeps/ieee754/dbl-64/mpatan.c: New file.
2550         * sysdeps/ieee754/dbl-64/mpatan.h: New file.
2551         * sysdeps/ieee754/dbl-64/mpatan2.c: New file.
2552         * sysdeps/ieee754/dbl-64/mpexp.c: New file.
2553         * sysdeps/ieee754/dbl-64/mpexp.h: New file.
2554         * sysdeps/ieee754/dbl-64/mplog.c: New file.
2555         * sysdeps/ieee754/dbl-64/mplog.h: New file.
2556         * sysdeps/ieee754/dbl-64/mpsqrt.c: New file.
2557         * sysdeps/ieee754/dbl-64/mpsqrt.h: New file.
2558         * sysdeps/ieee754/dbl-64/mptan.c: New file.
2559         * sysdeps/ieee754/dbl-64/mydefs.h: New file.
2560         * sysdeps/ieee754/dbl-64/powtwo.tbl: New file.
2561         * sysdeps/ieee754/dbl-64/root.tbl: New file.
2562         * sysdeps/ieee754/dbl-64/sincos.tbl: New file.
2563         * sysdeps/ieee754/dbl-64/sincos32.c: New file.
2564         * sysdeps/ieee754/dbl-64/sincos32.h: New file.
2565         * sysdeps/ieee754/dbl-64/slowexp.c: New file.
2566         * sysdeps/ieee754/dbl-64/slowpow.c: New file.
2567         * sysdeps/ieee754/dbl-64/uasncs.h: New file.
2568         * sysdeps/ieee754/dbl-64/uatan.tbl: New file.
2569         * sysdeps/ieee754/dbl-64/uexp.h: New file.
2570         * sysdeps/ieee754/dbl-64/uexp.tbl: New file.
2571         * sysdeps/ieee754/dbl-64/ulog.h: New file.
2572         * sysdeps/ieee754/dbl-64/ulog.tbl: New file.
2573         * sysdeps/ieee754/dbl-64/upow.h: New file.
2574         * sysdeps/ieee754/dbl-64/upow.tbl: New file.
2575         * sysdeps/ieee754/dbl-64/urem.h: New file.
2576         * sysdeps/ieee754/dbl-64/uroot.h: New file.
2577         * sysdeps/ieee754/dbl-64/usncs.h: New file.
2578         * sysdeps/ieee754/dbl-64/utan.h: New file.
2579         * sysdeps/ieee754/dbl-64/utan.tbl: New file.
2580         * sysdeps/i386/fpu/branred.c: New file.
2581         * sysdeps/i386/fpu/doasin.c: New file.
2582         * sysdeps/i386/fpu/dosincos.c: New file.
2583         * sysdeps/i386/fpu/halfulp.c: New file.
2584         * sysdeps/i386/fpu/mpa.c: New file.
2585         * sysdeps/i386/fpu/mpatan.c: New file.
2586         * sysdeps/i386/fpu/mpatan2.c: New file.
2587         * sysdeps/i386/fpu/mpexp.c: New file.
2588         * sysdeps/i386/fpu/mplog.c: New file.
2589         * sysdeps/i386/fpu/mpsqrt.c: New file.
2590         * sysdeps/i386/fpu/mptan.c: New file.
2591         * sysdeps/i386/fpu/sincos32.c: New file.
2592         * sysdeps/i386/fpu/slowexp.c: New file.
2593         * sysdeps/i386/fpu/slowpow.c: New file.
2594         * sysdeps/ia64/fpu/branred.c: New file.
2595         * sysdeps/ia64/fpu/doasin.c: New file.
2596         * sysdeps/ia64/fpu/dosincos.c: New file.
2597         * sysdeps/ia64/fpu/halfulp.c: New file.
2598         * sysdeps/ia64/fpu/mpa.c: New file.
2599         * sysdeps/ia64/fpu/mpatan.c: New file.
2600         * sysdeps/ia64/fpu/mpatan2.c: New file.
2601         * sysdeps/ia64/fpu/mpexp.c: New file.
2602         * sysdeps/ia64/fpu/mplog.c: New file.
2603         * sysdeps/ia64/fpu/mpsqrt.c: New file.
2604         * sysdeps/ia64/fpu/mptan.c: New file.
2605         * sysdeps/ia64/fpu/sincos32.c: New file.
2606         * sysdeps/ia64/fpu/slowexp.c: New file.
2607         * sysdeps/ia64/fpu/slowpow.c: New file.
2608         * sysdeps/m68k/fpu/branred.c: New file.
2609         * sysdeps/m68k/fpu/doasin.c: New file.
2610         * sysdeps/m68k/fpu/dosincos.c: New file.
2611         * sysdeps/m68k/fpu/halfulp.c: New file.
2612         * sysdeps/m68k/fpu/mpa.c: New file.
2613         * sysdeps/m68k/fpu/mpatan.c: New file.
2614         * sysdeps/m68k/fpu/mpatan2.c: New file.
2615         * sysdeps/m68k/fpu/mpexp.c: New file.
2616         * sysdeps/m68k/fpu/mplog.c: New file.
2617         * sysdeps/m68k/fpu/mpsqrt.c: New file.
2618         * sysdeps/m68k/fpu/mptan.c: New file.
2619         * sysdeps/m68k/fpu/sincos32.c: New file.
2620         * sysdeps/m68k/fpu/slowexp.c: New file.
2621         * sysdeps/m68k/fpu/slowpow.c: New file.
2623         * iconvdata/gconv-modules: Add a number of alias, mostly for IBM
2624         codepages.
2626 2001-03-11  Andreas Jaeger  <aj@suse.de>
2628         * elf/elf.h (EM_*): Synch with official list.
2630 2001-03-07  David Mosberger  <davidm@hpl.hp.com>
2632         * sysdeps/ia64/bits/fenv.h (FE_NONIEEE_ENV): New macro.
2634 2001-03-07  Jes Sorensen  <jes@linuxcare.com>
2636         * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Remove unused
2637         variables addr & len.
2639 2001-02-22  Jes Sorensen  <jes@linuxcare.com>
2641         * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Remove
2642         punctuation in asm constraint.
2644 2001-03-07  Mark Kettenis  <kettenis@gnu.org>
2646         * resolv/netdb.h [__USE_GNU]: Define __need_timespec and include
2647         <time.h> to get definition of `struct timespec'.
2649 2001-03-08  Jakub Jelinek  <jakub@redhat.com>
2651         * elf/rtld.c (dl_main): If tracing, warn about undefined symbols if
2652         LD_WARN=1, not if LD_WARN is unset.
2654 2001-03-07  Andreas Schwab  <schwab@suse.de>
2656         * elf/ldconfig.h: Moved to ...
2657         * sysdeps/generic/ldconfig.h: ... here.
2658         * sysdeps/unix/sysv/linux/i386/ldconfig.h: New file.
2659         * sysdeps/unix/sysv/linux/m68k/ldconfig.h: New file.
2660         * sysdeps/unix/sysv/linux/ia64/ldconfig.h: New file.
2661         * elf/readlib.c (interpreters, known_libs): Use
2662         SYSDEP_KNOWN_INTERPRETER_NAMES and SYSDEP_KNOWN_LIBRARY_NAMES
2663         instead of hard coding old names.
2665 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
2667         * catgets/Makefile (generated): Add test-gencat.h.
2668         (sample.SJIS.cat): Also generate header.
2669         * catgets/sample.SJIS: Add new set and message, both with symbolic
2670         names.
2671         * catgets/test-gencat.sh: Also compare generated header with what
2672         we expect.
2674 2001-03-07  Jakub Jelinek  <jakub@redhat.com>
2676         * catgets/gencat.c (read_input_file): Preserve properly symbolic
2677         names.
2679 2001-03-06  Andreas Jaeger  <aj@suse.de>
2681         * sysdeps/s390/dl-machine.h (elf_machine_relplt): Removed, it's not
2682         needed.
2683         (elf_machine_pltrel_p): Likewise.
2684         * sysdeps/powerpc/dl-machine.h: Likewise.
2685         * sysdeps/generic/dl-machine.h (elf_machine_pltrel_p): Likewise.
2687 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
2689         * sysdeps/unix/sysv/linux/arm/Dist: Add dl-procinfo.c and
2690         dl-procinfo.h.
2692 2001-03-05  Philip Blundell  <philb@gnu.org>
2694         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c: New file.
2695         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h: New file.
2696         * sysdeps/unix/sysv/linux/arm/Makefile [subdir=elf]
2697         (sysdep-dl-routines, sysdep_routines, sysdep-rtld-routines): Add
2698         dl-procinfo.
2700 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
2702         * dlfcn/tstatexit.c (main): Don't perform the test if __dso_handle
2703         is not available.
2704         * dlfcn/tstcxaatexit.c (main): Likewise.
2706 2001-03-10  Andreas Jaeger  <aj@suse.de>
2708         * sysdeps/i386/fpu/libm-test-ulps: Revert last patch.
2710 2001-03-09  Andreas Jaeger  <aj@suse.de>
2712         * sysdeps/s390/dl-machine.h (elf_machine_matches_host): Handle
2713         both new and old EM_S390 values.
2714         (EM_S390_OLD): New constant.
2716         * elf/elf.h (EM_S390): Use official value.
2718 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
2720         * conform/data/sys/socket.h-data: Allow SO* symbols.
2722 2001-03-07  Andreas Schwab  <schwab@suse.de>
2724         * sysdeps/ia64/fpu/Makefile: Modify sysdep_routines instead of
2725         routines, and sysdep-CPPFLAGS instead of CPPFLAGS.
2727 2001-03-07  Andreas Jaeger  <aj@suse.de>
2729         * resolv/Makefile (routines): Only build gai_sigqueue when threads
2730         are available.
2732 2001-03-07  Jakub Jelinek  <jakub@redhat.com>
2734         * elf/ldconfig.c (_dl_sysdep_message): Remove.
2735         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Include
2736         ldsodefs.h.
2737         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
2739         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Use
2740         _dl_error_printf instead of _dl_sysdep_error.
2741         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
2742         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h (_dl_procinfo):
2743         Use _dl_printf instead of _dl_sysdep_message.
2744         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h (_dl_procinfo):
2745         Likewise.
2747 2001-03-06  Ben Collins  <bcollins@debian.org>
2749         * manual/arith.texi (Integers): Fix documentation of fast and
2750         least integer typedefs.
2752 2001-03-06  Jakub Jelinek  <jakub@redhat.com>
2754         * resolv/Depend: New file.
2755         * resolv/Makefile (extra-libs, tests): Build libanl and ga_test only
2756         when libpthread is built.
2758 2001-03-06  Andreas Jaeger  <aj@suse.de>
2760         * sysdeps/i386/fpu/libm-test-ulps: Add some deltas.
2762         * sysdeps/sh/dl-machine.h (elf_machine_rela): Add missing comma.
2763         Patch by kaz Kojima <kkojima@rr.iij4u.or.jp>.
2765 2001-03-05  Ulrich Drepper  <drepper@redhat.com>
2767         * stdlib/Versions: Remove __new_exitfn again.  Not needed.
2769 2001-03-05  Andreas Jaeger  <aj@suse.de>
2771         * stdlib/msort.c (qsort): Don't use alloca in a function call.
2773 2001-03-05  Ulrich Drepper  <drepper@redhat.com>
2775         * sysdeps/unix/sysv/linux/bits/stat.h (__S_TYPEISMQ, __S_TYPEISSEM,
2776         __S_TYPEISSHM): Rewrite to enforce correct use the macros.  They still
2777         always return zero.
2778         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
2779         * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
2780         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
2781         * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Likewise.
2782         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
2783         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
2784         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
2786 2001-03-04  Andreas Jaeger  <aj@suse.de>
2788         * stdlib/longlong.h: Don't use multi-line strings.
2789         * iconvdata/tst-loading.c: Likewise.
2791         * csu/Makefile ($(objpfx)version-info.h): Don't use multi-line
2792         string.
2794 2001-03-04  Ulrich Drepper  <drepper@redhat.com>
2796         * sysdeps/ia64/fpu/libm-test-ulps: Adjust for addition of lgammal.
2798         * rt/lio_listio.c: Add a few asserts.
2800         * elf/global.c: New file.
2801         * elf/globalmod1.c: New file.
2802         * elf/Makefile: Add rules to build and run global.
2804         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Define SI_ASYNCNL.
2805         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
2806         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
2807         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2808         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
2810         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: New file.
2811         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
2813         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Fix handling of boundary cases.
2815         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Always initialize sign variable.
2816         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
2818         * sysdeps/i386/fpu/libm-test-ulps: Adjust after addition of lgammal.
2820         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Fix typo in last change.
2822 2001-03-04  Andreas Jaeger  <aj@suse.de>
2824         * resolv/tst-aton.c: Add testcase for IP with four periods.
2826         * resolv/inet_addr.c: Don't recognize an IP with four periods.
2827         Patch by Andre' Breiler <A.Breiler@gmx.net>.
2829 2001-02-27  Philip Blundell  <pb@futuretv.com>
2831         * elf/elf.h: Add new ARM definitions from latest (B-01)
2832         specification.  Correct naming of EF_ARM_ALIGN8 et al.
2834 2001-03-04  Ulrich Drepper  <drepper@redhat.com>
2836         * stdio-common/tst-printf.sh: Remove bashisms.
2837         Patch by Matthew Clarke <Matthew_Clarke@mindlink.bc.ca>.
2839 2001-03-03  Ulrich Drepper  <drepper@redhat.com>
2841         * Versions.def: Add libanl definition.
2842         * shlib-versions: Add entry for libanl.
2843         * resolv/Makefile (distribute): Add gai_misc.h and ga_test.c.
2844         (routines): Add gai_sigqueue.
2845         (extra-libs): Add libanl.
2846         (libanl-routines): New variable.
2847         Add rules to build libanl and ga_test.
2848         * resolv/Versions [libc] (GLIBC_2.2.3): Add __gai_sigqueue.
2849         [libanl]: New library.
2850         * resolv/netdb.h: Add definitions for libanl.
2851         * resolv/getaddrinfo_a.c: New file.
2852         * resolv/gai_cancel.c: New file.
2853         * resolv/gai_error.c: New file.
2854         * resolv/gai_misc.c: New file.
2855         * resolv/gai_misc.h: New file.
2856         * resolv/gai_notify.c: New file.
2857         * resolv/gai_suspend.c: New file.
2858         * resolv/ga_test.c: New file.
2859         * sysdeps/generic/gai_sigqueue.c: New file.
2860         * sysdeps/unix/sysv/linux/gai_sigqueue.c: New file.
2861         * sysdeps/generic/bits/siginfo.h: Allow __need_sigevent_t being defined
2862         and provide only that definition.
2863         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
2864         * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
2865         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
2866         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
2867         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2868         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
2870         * rt/aio_misc.c: Fix typos in comments.
2871         * rt/lio_listio.c: Pretty printing.  Little optimization in request
2872         list handling.
2874         * elf/rtld.c: Remove commented out code.
2876         * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC):
2877         Update for real 2.4 kernels.
2879 2001-03-01  Ulrich Drepper  <drepper@redhat.com>
2881         * elf/dl-load.c: Pretty printing.
2883         * elf/dl-object.c (_dl_new_object): Don't add the loader's scope
2884         twice.
2886 2001-02-28  Ulrich Drepper  <drepper@redhat.com>
2888         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle
2889         relocations which are not in ld.so if RTLD_BOOTSTRAP is defined.
2891         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
2893         * elf/dl-misc.c (_dl_debug_vdprintf): Fix typo visible on 64-bit
2894         machines.
2896         * sysdeps/unix/sysv/linux/powerpc/sysdep.h (C_TEXT): Define.
2898 2001-02-27  Ulrich Drepper  <drepper@redhat.com>
2900         * sysdeps/powerpc/elf/libc-start.c: Use new output functions and
2901         _dl_debug_mask.
2903         * elf/Versions [ld]: Don't export _dl_debug_message anymore.  Export
2904         _dl_debug_printf.
2905         * elf/dl-misc.c: Remove definition of _dl_sysdep_output and
2906         _dl_debug_message.  Define _dl_debug_vdprintf, _dl_debug_printf,
2907         _dl_debug_printf_c, and _dl_printf.
2908         * sysdeps/generic/ldsodefs.h: Don't declare _dl_sysdep_output,
2909         _dl_debug_message, _dl_sysdep_message, _dl_sysdep_error, and
2910         _dl_sysdep_fatal.  Declare _dl_debug_printf, _dl_debug_printf_c,
2911         _dl_printf, _dl_error_printf, and _dl_fatal_printf.
2912         * elf/dl-close.c: Replace use of old output functions with the new
2913         ones.
2914         * elf/dl-deps.c: Likewise.
2915         * elf/dl-error.c: Likewise.
2916         * elf/dl-fini.c: Likewise.
2917         * elf/dl-init.c: Likewise.
2918         * elf/dl-load.c: Likewise.
2919         * elf/dl-lookup.c: Likewise.
2920         * elf/dl-minimal.c: Likewise.
2921         * elf/dl-open.c: Likewise.
2922         * elf/dl-profile.c: Likewise.
2923         * elf/dl-reloc.c: Likewise.
2924         * elf/dl-version.c: Likewise.
2925         * elf/do-lookup.h: Likewise.
2926         * elf/rtld.c: Likewise.
2927         * sysdeps/generic/dl-cache.c: Likewise.
2928         * sysdeps/generic/dl-sysdep.c: Likewise.
2929         * sysdeps/generic/libc-start.c: Likewise.
2930         * sysdeps/i386/dl-machine.h: Likewise.
2931         * sysdeps/arm/dl-machine.h: Likewise.
2932         * sysdeps/hppa/dl-machine.h: Likewise.
2933         * sysdeps/m68k/dl-machine.h: Likewise.
2934         * sysdeps/powerpc/dl-machine.h: Likewise.
2935         * sysdeps/s390/dl-machine.h: Likewise.
2936         * sysdeps/sh/dl-machine.h: Likewise.
2937         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
2938         * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
2939         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
2941         * sysdeps/generic/ldsodefs.h: Remove _dl_secure declaration.
2943         * dlfcn/Makefile: Don't run tstatexit test unless .hidden is
2944         supported by assembler.
2946         * sysdeps/generic/ldsodefs.h: Remove commented-out variable
2947         declaractions.
2949         * elf/rtld.c: Little optimizations in handling _dl_lazy.
2951         * elf/cache.c (save_cache): Portability changes.
2952         * elf/dl-profile.c (_dl_start_profile): Likewise.
2954         * elf/sln.c: Cleanups.  Remove arbitrary limits.
2956         * elf/dl-close.c: Replace _dl_debug_* variables with _dl_debug_mask.
2957         * elf/dl-deps.c: Likewise.
2958         * elf/dl-fini.c: Likewise.
2959         * elf/dl-init.c: Likewise.
2960         * elf/dl-load.c: Likewise.
2961         * elf/dl-lookup.c: Likewise.
2962         * elf/dl-open.c: Likewise.
2963         * elf/dl-reloc.c: Likewise.
2964         * elf/dl-support.c: Likewise.
2965         * elf/dl-version.c: Likewise.
2966         * elf/do-lookup.h: Likewise.
2967         * elf/rtld.c: Likewise.
2968         * sysdeps/generic/dl-cache.c: Likewise.
2969         * sysdeps/generic/ldsodefs.h: Likewise.
2970         * sysdeps/generic/libc-start.c: Likewise.
2971         * elf/Versions: Don't export _dl_debug_impcalls and _dl_debug_files.
2972         Export _dl_debug_mask.
2973         * Versions.def: Define GLIBC_2.2.3 for ld.
2975 2001-02-26  Greg McGary  <greg@mcgary.org>
2977         * sysdeps/unix/make-syscalls.sh (ptr): Handle `V' keyletter.
2979 2001-02-26  Paul Eggert  <eggert@twinsun.com>
2981         Modify mkstemp.c and tempname.c so that they can be used by
2982         GNU applications on non-glibc platforms.
2984         * misc/mkstemp.c (__GT_FILE): Define to zero if not defined.
2986         * sysdeps/posix/tempname.c: Include <config.h> if HAVE_CONFIG_H.
2987         Include <stddef.h>, <stdint.h>, <string.h> only if
2988         STDC_HEADERS || _LIBC.
2989         Include <fcntl.h> only if HAVE_FCNTL_H || _LIBC.
2990         Include <unistd.h> only if HAVE_UNISTD_H || _LIBC.
2991         Include <sys/time.h> only if HAVE_SYS_TIME_H || _LIBC.
2992         (__set_errno): Define this macro if <errno.h> doesn't.
2993         (P_tmpdir, TMP_MAX, __GT_FILE, __GT_BIGFILE, __GT_DIR, __GT_NOCREATE):
2994         Define these macros if <stdio.h> doesn't.
2995         (S_ISDIR, S_IRUSR, S_IWUSR, S_IXUSR):
2996         Define these macros if <sys/stat.h> doesn't.
2997         Ignore <sys/stat.h> S_ISDIR if STAT_MACROS_BROKEN.
2998         (stat64, __getpid, __gettimeofday, __mkdir, __open, __open64,
2999         lxstat64, __xstat64): Define if not _LIBC.
3000         (struct_stat64): New macro.
3001         (direxists, __gen_tempname): Use it, to avoid a
3002         portability problem with Solaris 8.
3003         (__secure_getenv): Define if ! (HAVE___SECURE_GETENV || _LIBC).
3004         (__gen_tempname): Invoke gettimeofday only if
3005         HAVE_GETTIMEOFDAY || _LIBC; otherwise, fall back on plain "time".
3006         Use portable macros like S_IRUSR | S_IWUSR rather than nonportable
3007         octal values like 0600.
3009 2001-02-26  Ulrich Drepper  <drepper@redhat.com>
3011         * sysdeps/ieee754/ldbl-96/e_jnl.c: New file.
3012         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
3014         * sysdeps/i386/fpu/libm-test-ulps: Update for jnl and ynl introduction.
3015         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3017         * posix/wordexp-test.c (testit): Remove warnings.
3019         * dlfcn/Makefile (distribute): Add modatexit.c and modcxaatexit.c.
3020         (tests): Add tstatexit and tstcxaatexit.
3021         (module-names): Add modatexit and modcxaatexit.
3022         Add rules to build and run tstatexit and tstcxaatexit.
3023         * dlfcn/modatexit.c: New file.
3024         * dlfcn/modcxaatexit.c: New file.
3025         * dlfcn/tstatexit.c: New file.
3026         * dlfcn/tstcxaatexit.c: New file.
3028         * io/Makefile: Pass -DHAVE_DOT_HIDDEN to stat and mknod functions if
3029         .hidden is available.
3030         * io/stat.c: If .hidden is available use it to avoid exporting
3031         functions.
3032         * io/fstat.c: Likewise.
3033         * io/lstat.c: Likewise.
3034         * io/stat64.c: Likewise.
3035         * io/fstat64.c: Likewise.
3036         * io/lstat64.c: Likewise.
3037         * sysdeps/generic/mknod.c: Likewise.
3039         * malloc/mtrace.c: Use __cxa_atexit and not atexit.
3040         * sysdeps/generic/bb_init_func.c: Likewise.
3041         * sysdeps/generic/libc-start.c: Likewise.
3043         * stdlib/atexit.c (__new_exitfn): Move to cxa_atexit.c.
3044         (atexit): Implement using __cxa_atexit.
3045         Use .hidden if availble to avoid exporting atexit.
3046         * stdlib/cxa_atexit.c (__new_exitfn): Moved to here from atexit.c.
3047         * stdlib/Versions: Export __new_exitfn for GLIBC_2.2.3.
3048         * stdlib/Makefile (routines): Add old_atexit.
3049         (static-only-routines): Add atexit.
3050         Pass -DHAVE_DOT_HIDDEN for atexit.c if .hidden is available.
3051         * stdlib/old_atexit.c: New file.
3053         * intl/Makefile: Remove bogus endif.
3055 2001-02-26  Andreas Jaeger  <aj@suse.de>
3057         * iconvdata/Makefile (tests): Fix typo in last patch.
3059         * intl/Makefile (tests): Run mtrace-tst-gettext only when perl is
3060         available.
3061         Reported by Achim Gottinger <achim@gentoo.org>.
3063 2001-02-25  Andreas Jaeger  <aj@suse.de>
3065         * intl/Makefile (plural.c): Reorder rules so that they work if
3066         BISON doesn't exist.
3068 2001-02-25  Ulrich Drepper  <drepper@redhat.com>
3070         * intl/locale.alias: Don't use nb_NO but define aliases for it.
3072 2001-02-23  Ulrich Drepper  <drepper@redhat.com>
3074         * sysdeps/i386/strtok.S: Continue to return NULL after the first
3075         time this happened.
3077 2001-02-23  Andreas Jaeger  <aj@suse.de>
3079         * string/tester.c (test_strtok_r): Add testcase.
3080         (test_strtok_r): Always initialize cp for proper checking.
3082         * sysdeps/generic/strtok.c (strtok): Handle case of first strtok
3083         returning NULL correctly.
3084         Patch by Fumitoshi UKAI <ukai@debian.or.jp>.
3085         * sysdeps/generic/strtok_r.c (__strtok_r): Likewise.
3087 2001-02-23  Ulrich Drepper  <drepper@redhat.com>
3089         * sysdeps/unix/sysv/aix/bits/types.h: Define __need_NULL before
3090         including <stddef.h>.
3091         * sysdeps/unix/sysv/aix/write.c: Define alias __libc_write.
3092         * include/libc-symbols.h (weak_alias): Don't use .weak if
3093         HAVE_ASM_GLOBAL_DOT_NAME is defined.
3094         Patches by Michael Keezer <mkeezer@redhat.com>.
3096         * sysdeps/generic/ftime.c: Don't include <sys/time.h> at all.
3097         Patch by Michael Keezer <mkeezer@redhat.com>.
3099         * sysdeps/unix/sysv/aix/Dist: Remove restf.S and savef.S.
3100         * sysdeps/unix/sysv/aix/Makefile [$(subdir) == misc]
3101         (sysdep_routines): Remove restf.S and savef.S.
3102         * sysdeps/unix/sysv/aix/restf.S. Removed.
3103         * sysdeps/unix/sysv/aix/savef.S. Removed.
3104         * sysdeps/powerpc/fprrest.S: Use C_TEXT to define label.  Also define
3105         alternative names used on some platforms.
3106         * sysdeps/powerpc/fprsave.S: Likewise.
3107         * sysdeps/powerpc/gprrest0.S: Likewise.
3108         * sysdeps/powerpc/gprrest1.S: Likewise.
3109         * sysdeps/powerpc/gprsave0.S: Likewise.
3110         * sysdeps/powerpc/gprsave1.S: Likewise.
3111         Patch by Michael Keezer <mkeezer@redhat.com>.
3113 2001-02-22  Ulrich Drepper  <drepper@redhat.com>
3115         * sysdeps/i386/elf/start.S (_fp_hw): Actually define label.
3117 2001-02-22  Andreas Jaeger  <aj@suse.de>
3119         * string/tst-strtok.c (main): Fix error messages.
3121 2001-02-22  Andreas Jaeger  <aj@suse.de>
3123         * math/Makefile: Remove omit-long-double-fcts.
3125 2001-02-18  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
3127         * sysdeps/mips/bsd-_setjmp.S (_setjmp): Reorder instructions to
3128         avoid problems on MIPS I.
3129         * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
3131         * sysdeps/mips/dl-machine.h (RTLD_START): Remove duplicate ".set
3132         noreorder".
3134 2001-02-21  Ulrich Drepper  <drepper@redhat.com>
3136         * posix/fnmatch_loop.c: Handle ranges outside glibc correctly.
3138         * sysdeps/generic/ftime.c: Include <time.h>.
3140         * configure.in: Don't check for libgd if user passed --without-gd.
3141         Patch by Achim Gottinger <achim@gentoo.org>.
3143         * sysdeps/i386/i686/strtok.S: Continue to return NULL after the
3144         first time this happened.
3145         * string/Makefile (tests): Add tst-strtok.
3147 2001-02-21  Andreas Jaeger  <aj@suse.de>
3149         * string/tst-strtok.c: New testcase, reported by
3150         Andrew Church <achurch@achurch.org>.
3152 2001-02-20  Ulrich Drepper  <drepper@redhat.com>
3154         * libio/iofwide.c: Remove fwide alias.
3156 2001-02-20  Andreas Jaeger  <aj@suse.de>
3158         * iconvdata/Makefile (tests): Only run mtrace-tst-loading if perl
3159         is available.
3160         Reported by Achim Gottinger <achim@gentoo.org>.
3162 2001-02-19  Ulrich Drepper  <drepper@redhat.com>
3164         * iconv/tst-iconv1.c (main): Remove debugging code.
3166         * sysdeps/ieee754/flt-32/e_powf.c: Handle x == +-1 correctly.
3167         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3169         * sysdeps/generic/e_scalb.c: Set invalid exception for invalid
3170         parameters.
3171         * sysdeps/generic/e_scalbf.c: Likewise.
3172         * sysdeps/generic/e_scalbl.c: Likewise.
3174         * sysdeps/ia64/fpu/Makefile (libm-sysdep-routines): Add libm_error,
3175         libm_frexp4, libm_frexp4f, libm_frexp4l, and all the functions also
3176         in libc.
3177         (routines): Replace libm_error with libc_libm_error.
3178         * sysdeps/ia64/fpu/Dist: Add libc_libm_error.c.
3179         * sysdeps/ia64/fpu/libc_libm_error.c: New file.
3181 2001-02-18  Mark Kettenis  <kettenis@gnu.org>
3183         * malloc/mtrace.c [USE_IN_LIBIO]: Define fopen as _IO_fopen64.
3184         (mtrace): Revert 2001-02-13 patch: use fopen instead of fopen64.
3186 2001-02-17  H.J. Lu  <hjl@gnu.org>
3188         * sysdeps/unix/sysv/linux/ia64/clone2.S: Use clone2 and don't use
3189         scratch registers across the system call.
3191 2001-02-19  Andreas Jaeger  <aj@suse.de>
3193         * malloc/Makefile (tests): Run mtrace only when perl is available.
3194         Reported by Achim Gottinger <achim@gentoo.org>.
3196 2001-02-19  Ulrich Drepper  <drepper@redhat.com>
3198         * sysdeps/ieee754/ldbl-96/e_j1l.c: New file.
3199         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
3201         * sysdeps/i386/fpu/libm-test-ulps: Adjust error values for j1 and y1.
3202         * sysdeps/ia64/fpu/libm-test-ulps: Adjust error values for y1.
3203         * math/libm-test.inc (j1_test): Mark constants as long double.
3204         (jn_test): Likewise.
3205         (y1_test): Likewise.
3206         (yn_test): Likewise.
3208         * libio/iogetline.c: Move return until after last statement.
3210         * localedata/show-ucs-data.c: Don't show < > for better readability.
3212         * sysdeps/ia64/fpu/Dist: New file.
3213         * sysdeps/ia64/fpu/Makefile: New file.
3214         * sysdeps/ia64/fpu/Versions: New file.
3215         * sysdeps/ia64/fpu/e_acos.S: New file.
3216         * sysdeps/ia64/fpu/e_acosf.S: New file.
3217         * sysdeps/ia64/fpu/e_acosl.S: New file.
3218         * sysdeps/ia64/fpu/e_asin.S: New file.
3219         * sysdeps/ia64/fpu/e_asinf.S: New file.
3220         * sysdeps/ia64/fpu/e_asinl.S: New file.
3221         * sysdeps/ia64/fpu/e_atan2.S: New file.
3222         * sysdeps/ia64/fpu/e_atan2f.S: New file.
3223         * sysdeps/ia64/fpu/e_atan2l.c: New file.
3224         * sysdeps/ia64/fpu/e_cosh.S: New file.
3225         * sysdeps/ia64/fpu/e_coshf.S: New file.
3226         * sysdeps/ia64/fpu/e_coshl.S: New file.
3227         * sysdeps/ia64/fpu/e_exp.S: New file.
3228         * sysdeps/ia64/fpu/e_expf.S: New file.
3229         * sysdeps/ia64/fpu/e_expl.c: New file.
3230         * sysdeps/ia64/fpu/e_fmod.S: New file.
3231         * sysdeps/ia64/fpu/e_fmodf.S: New file.
3232         * sysdeps/ia64/fpu/e_fmodl.S: New file.
3233         * sysdeps/ia64/fpu/e_hypot.S: New file.
3234         * sysdeps/ia64/fpu/e_hypotf.S: New file.
3235         * sysdeps/ia64/fpu/e_hypotl.S: New file.
3236         * sysdeps/ia64/fpu/e_log.S: New file.
3237         * sysdeps/ia64/fpu/e_log10.c: New file.
3238         * sysdeps/ia64/fpu/e_log10f.c: New file.
3239         * sysdeps/ia64/fpu/e_log10l.c: New file.
3240         * sysdeps/ia64/fpu/e_logf.S: New file.
3241         * sysdeps/ia64/fpu/e_logl.c: New file.
3242         * sysdeps/ia64/fpu/e_pow.S: New file.
3243         * sysdeps/ia64/fpu/e_powf.S: New file.
3244         * sysdeps/ia64/fpu/e_powl.S: New file.
3245         * sysdeps/ia64/fpu/e_rem_pio2.c: New file.
3246         * sysdeps/ia64/fpu/e_rem_pio2f.c: New file.
3247         * sysdeps/ia64/fpu/e_remainder.S: New file.
3248         * sysdeps/ia64/fpu/e_remainderf.S: New file.
3249         * sysdeps/ia64/fpu/e_remainderl.S: New file.
3250         * sysdeps/ia64/fpu/e_scalb.S: New file.
3251         * sysdeps/ia64/fpu/e_scalbf.S: New file.
3252         * sysdeps/ia64/fpu/e_scalbl.S: New file.
3253         * sysdeps/ia64/fpu/e_sinh.S: New file.
3254         * sysdeps/ia64/fpu/e_sinhf.S: New file.
3255         * sysdeps/ia64/fpu/e_sinhl.S: New file.
3256         * sysdeps/ia64/fpu/e_sqrt.S: New file.
3257         * sysdeps/ia64/fpu/e_sqrtf.S: New file.
3258         * sysdeps/ia64/fpu/e_sqrtl.S: New file.
3259         * sysdeps/ia64/fpu/k_rem_pio2.c: New file.
3260         * sysdeps/ia64/fpu/k_rem_pio2f.c: New file.
3261         * sysdeps/ia64/fpu/k_rem_pio2l.c: New file.
3262         * sysdeps/ia64/fpu/libm_atan2_reg.S: New file.
3263         * sysdeps/ia64/fpu/libm_error.c: New file.
3264         * sysdeps/ia64/fpu/libm_frexp4.S: New file.
3265         * sysdeps/ia64/fpu/libm_frexp4f.S: New file.
3266         * sysdeps/ia64/fpu/libm_frexp4l.S: New file.
3267         * sysdeps/ia64/fpu/libm_reduce.S: New file.
3268         * sysdeps/ia64/fpu/libm_support.h: New file.
3269         * sysdeps/ia64/fpu/libm_tan.S: New file.
3270         * sysdeps/ia64/fpu/s_atan.S: New file.
3271         * sysdeps/ia64/fpu/s_atanf.S: New file.
3272         * sysdeps/ia64/fpu/s_atanl.S: New file.
3273         * sysdeps/ia64/fpu/s_cbrt.S: New file.
3274         * sysdeps/ia64/fpu/s_cbrtf.S: New file.
3275         * sysdeps/ia64/fpu/s_cbrtl.S: New file.
3276         * sysdeps/ia64/fpu/s_ceil.S: New file.
3277         * sysdeps/ia64/fpu/s_ceilf.S: New file.
3278         * sysdeps/ia64/fpu/s_ceill.S: New file.
3279         * sysdeps/ia64/fpu/s_cos.S: New file.
3280         * sysdeps/ia64/fpu/s_cosf.S: New file.
3281         * sysdeps/ia64/fpu/s_cosl.S: New file.
3282         * sysdeps/ia64/fpu/s_expm1.S: New file.
3283         * sysdeps/ia64/fpu/s_expm1f.S: New file.
3284         * sysdeps/ia64/fpu/s_expm1l.S: New file.
3285         * sysdeps/ia64/fpu/s_floor.S: New file.
3286         * sysdeps/ia64/fpu/s_floorf.S: New file.
3287         * sysdeps/ia64/fpu/s_floorl.S: New file.
3288         * sysdeps/ia64/fpu/s_frexp.c: New file.
3289         * sysdeps/ia64/fpu/s_frexpf.c: New file.
3290         * sysdeps/ia64/fpu/s_frexpl.c: New file.
3291         * sysdeps/ia64/fpu/s_ilogb.S: New file.
3292         * sysdeps/ia64/fpu/s_ilogbf.S: New file.
3293         * sysdeps/ia64/fpu/s_ilogbl.S: New file.
3294         * sysdeps/ia64/fpu/s_ldexp.S: New file.
3295         * sysdeps/ia64/fpu/s_ldexpf.S: New file.
3296         * sysdeps/ia64/fpu/s_ldexpl.S: New file.
3297         * sysdeps/ia64/fpu/s_log1p.S: New file.
3298         * sysdeps/ia64/fpu/s_log1pf.S: New file.
3299         * sysdeps/ia64/fpu/s_log1pl.S: New file.
3300         * sysdeps/ia64/fpu/s_logb.S: New file.
3301         * sysdeps/ia64/fpu/s_logbf.S: New file.
3302         * sysdeps/ia64/fpu/s_logbl.S: New file.
3303         * sysdeps/ia64/fpu/s_matherrf.c: New file.
3304         * sysdeps/ia64/fpu/s_matherrl.c: New file.
3305         * sysdeps/ia64/fpu/s_modf.S: New file.
3306         * sysdeps/ia64/fpu/s_modff.S: New file.
3307         * sysdeps/ia64/fpu/s_modfl.S: New file.
3308         * sysdeps/ia64/fpu/s_nearbyint.S: New file.
3309         * sysdeps/ia64/fpu/s_nearbyintf.S: New file.
3310         * sysdeps/ia64/fpu/s_nearbyintl.S: New file.
3311         * sysdeps/ia64/fpu/s_rint.S: New file.
3312         * sysdeps/ia64/fpu/s_rintf.S: New file.
3313         * sysdeps/ia64/fpu/s_rintl.S: New file.
3314         * sysdeps/ia64/fpu/s_round.S: New file.
3315         * sysdeps/ia64/fpu/s_roundf.S: New file.
3316         * sysdeps/ia64/fpu/s_roundl.S: New file.
3317         * sysdeps/ia64/fpu/s_scalbn.S: New file.
3318         * sysdeps/ia64/fpu/s_scalbnf.S: New file.
3319         * sysdeps/ia64/fpu/s_scalbnl.S: New file.
3320         * sysdeps/ia64/fpu/s_significand.S: New file.
3321         * sysdeps/ia64/fpu/s_significandf.S: New file.
3322         * sysdeps/ia64/fpu/s_significandl.S: New file.
3323         * sysdeps/ia64/fpu/s_sin.c: New file.
3324         * sysdeps/ia64/fpu/s_sincos.c: New file.
3325         * sysdeps/ia64/fpu/s_sincosf.c: New file.
3326         * sysdeps/ia64/fpu/s_sincosl.c: New file.
3327         * sysdeps/ia64/fpu/s_sinf.c: New file.
3328         * sysdeps/ia64/fpu/s_sinl.c: New file.
3329         * sysdeps/ia64/fpu/s_tan.S: New file.
3330         * sysdeps/ia64/fpu/s_tanf.S: New file.
3331         * sysdeps/ia64/fpu/s_tanl.S: New file.
3332         * sysdeps/ia64/fpu/s_trunc.S: New file.
3333         * sysdeps/ia64/fpu/s_truncf.S: New file.
3334         * sysdeps/ia64/fpu/s_truncl.S: New file.
3335         * sysdeps/ia64/fpu/w_acos.c: New file.
3336         * sysdeps/ia64/fpu/w_acosf.c: New file.
3337         * sysdeps/ia64/fpu/w_acosl.c: New file.
3338         * sysdeps/ia64/fpu/w_asin.c: New file.
3339         * sysdeps/ia64/fpu/w_asinf.c: New file.
3340         * sysdeps/ia64/fpu/w_asinl.c: New file.
3341         * sysdeps/ia64/fpu/w_atan2.c: New file.
3342         * sysdeps/ia64/fpu/w_atan2f.c: New file.
3343         * sysdeps/ia64/fpu/w_atan2l.c: New file.
3344         * sysdeps/ia64/fpu/w_cosh.c: New file.
3345         * sysdeps/ia64/fpu/w_coshf.c: New file.
3346         * sysdeps/ia64/fpu/w_coshl.c: New file.
3347         * sysdeps/ia64/fpu/w_exp.c: New file.
3348         * sysdeps/ia64/fpu/w_expf.c: New file.
3349         * sysdeps/ia64/fpu/w_fmod.c: New file.
3350         * sysdeps/ia64/fpu/w_fmodf.c: New file.
3351         * sysdeps/ia64/fpu/w_fmodl.c: New file.
3352         * sysdeps/ia64/fpu/w_hypot.c: New file.
3353         * sysdeps/ia64/fpu/w_hypotf.c: New file.
3354         * sysdeps/ia64/fpu/w_hypotl.c: New file.
3355         * sysdeps/ia64/fpu/w_log.c: New file.
3356         * sysdeps/ia64/fpu/w_log10.c: New file.
3357         * sysdeps/ia64/fpu/w_log10f.c: New file.
3358         * sysdeps/ia64/fpu/w_log10l.c: New file.
3359         * sysdeps/ia64/fpu/w_logf.c: New file.
3360         * sysdeps/ia64/fpu/w_logl.c: New file.
3361         * sysdeps/ia64/fpu/w_pow.c: New file.
3362         * sysdeps/ia64/fpu/w_powf.c: New file.
3363         * sysdeps/ia64/fpu/w_powl.c: New file.
3364         * sysdeps/ia64/fpu/w_remainder.c: New file.
3365         * sysdeps/ia64/fpu/w_remainderf.c: New file.
3366         * sysdeps/ia64/fpu/w_remainderl.c: New file.
3367         * sysdeps/ia64/fpu/w_scalb.c: New file.
3368         * sysdeps/ia64/fpu/w_scalbf.c: New file.
3369         * sysdeps/ia64/fpu/w_scalbl.c: New file.
3370         * sysdeps/ia64/fpu/w_sqrt.c: New file.
3371         * sysdeps/ia64/fpu/w_sqrtf.c: New file.
3372         * sysdeps/ia64/fpu/w_sqrtl.c: New file.
3373         * sysdeps/ia64/fpu/libm-test-ulps: Adjust for long double
3374         implementation.
3375         * sysdeps/ia64/fpu/bits/mathdef.h: Correct float_t and double_t types.
3376         Change FP_ILOGBNAN for new implementation.
3377         * Verions.def: Add 2.2.3 versions.
3379 2001-02-18  Ulrich Drepper  <drepper@redhat.com>
3381         * math/libm-test.inc (scalb_test): Require invalid exception being
3382         raised for invalid parameters.
3383         * sysdeps/i386/fpu/e_scalb.S: Raise invalid exception if necessary.
3384         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3385         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3387 2001-02-18  Mark Kettenis  <kettenis@gnu.org>
3389         * sysdeps/mach/getsysstats.c (__get_phys_pages): Change return
3390         value to long int.
3391         (__get_avphys_pages): Likewise.
3393 2001-02-18  Ulrich Drepper  <drepper@redhat.com>
3395         * math/libm-test.inc (pow_test): Correct expected results for x == +-1.
3396         * sysdeps/i386/fpu/e_pow.S: Handle x == +-1 correctly.
3397         * sysdeps/i386/fpu/e_powf.S: Likewise.
3398         * sysdeps/i386/fpu/e_powl.S: Likewise.
3400         * sysdeps/i386/fpu/bits/mathinline.h: Remove pow inline code.
3402 2001-02-17  Ulrich Drepper  <drepper@redhat.com>
3404         * math/Makefile (libm-calls): It's e_exp2 not s_exp2.
3406         * sysdeps/generic/s_exp2l.c: Renamed to...
3407         * sysdeps/generic/e_exp2l.c: ...this.   New file.
3408         * sysdeps/i386/fpu/s_exp2.S: Renamed to...
3409         * sysdeps/i386/fpu/e_exp2.S: ...this.   New file.
3410         * sysdeps/i386/fpu/s_exp2f.S: Renamed to...
3411         * sysdeps/i386/fpu/e_exp2f.S: ...this.   New file.
3412         * sysdeps/i386/fpu/s_exp2l.S: Renamed to...
3413         * sysdeps/i386/fpu/e_exp2l.S: ...this.   New file.
3414         * sysdeps/ieee754/flt-32/s_exp2f.c: Renamed to...
3415         * sysdeps/ieee754/flt-32/e_exp2f.c: ...this.   New file.
3416         * sysdeps/ieee754/dbl-64/s_exp2.c: Renamed to...
3417         * sysdeps/ieee754/dbl-64/e_exp2.c: ...this.   New file.
3418         * sysdeps/m68k/fpu/s_exp2.c: Renamed to...
3419         * sysdeps/m68k/fpu/e_exp2.c: ...this.   New file.
3420         * sysdeps/m68k/fpu/s_exp2f.c: Renamed to...
3421         * sysdeps/m68k/fpu/e_exp2f.c: ...this.   New file.
3422         * sysdeps/m68k/fpu/s_exp2l.c: Renamed to...
3423         * sysdeps/m68k/fpu/e_exp2l.c: ...this.   New file.
3425 2001-02-17  Andreas Jaeger  <aj@suse.de>
3427         * configure.in: Allow gcc 3.
3429 2001-02-16  Ulrich Drepper  <drepper@redhat.com>
3431         * math/w_acos.c: Move to ...
3432         * sysdeps/generic/w_acos.c: ...here.  New file.
3433         * math/w_acosf.c: Move to ...
3434         * sysdeps/generic/w_acosf.c: ...here.  New file.
3435         * math/w_acosh.c: Move to ...
3436         * sysdeps/generic/w_acosh.c: ...here.  New file.
3437         * math/w_acoshf.c: Move to ...
3438         * sysdeps/generic/w_acoshf.c: ...here.  New file.
3439         * math/w_acoshl.c: Move to ...
3440         * sysdeps/generic/w_acoshl.c: ...here.  New file.
3441         * math/w_acosl.c: Move to ...
3442         * sysdeps/generic/w_acosl.c: ...here.  New file.
3443         * math/w_asin.c: Move to ...
3444         * sysdeps/generic/w_asin.c: ...here.  New file.
3445         * math/w_asinf.c: Move to ...
3446         * sysdeps/generic/w_asinf.c: ...here.  New file.
3447         * math/w_asinl.c: Move to ...
3448         * sysdeps/generic/w_asinl.c: ...here.  New file.
3449         * math/w_atan2.c: Move to ...
3450         * sysdeps/generic/w_atan2.c: ...here.  New file.
3451         * math/w_atan2f.c: Move to ...
3452         * sysdeps/generic/w_atan2f.c: ...here.  New file.
3453         * math/w_atan2l.c: Move to ...
3454         * sysdeps/generic/w_atan2l.c: ...here.  New file.
3455         * math/w_atanh.c: Move to ...
3456         * sysdeps/generic/w_atanh.c: ...here.  New file.
3457         * math/w_atanhf.c: Move to ...
3458         * sysdeps/generic/w_atanhf.c: ...here.  New file.
3459         * math/w_atanhl.c: Move to ...
3460         * sysdeps/generic/w_atanhl.c: ...here.  New file.
3461         * math/w_cosh.c: Move to ...
3462         * sysdeps/generic/w_cosh.c: ...here.  New file.
3463         * math/w_coshf.c: Move to ...
3464         * sysdeps/generic/w_coshf.c: ...here.  New file.
3465         * math/w_coshl.c: Move to ...
3466         * sysdeps/generic/w_coshl.c: ...here.  New file.
3467         * math/w_drem.c: Move to ...
3468         * sysdeps/generic/w_drem.c: ...here.  New file.
3469         * math/w_dremf.c: Move to ...
3470         * sysdeps/generic/w_dremf.c: ...here.  New file.
3471         * math/w_dreml.c: Move to ...
3472         * sysdeps/generic/w_dreml.c: ...here.  New file.
3473         * math/w_exp10.c: Move to ...
3474         * sysdeps/generic/w_exp10.c: ...here.  New file.
3475         * math/w_exp10f.c: Move to ...
3476         * sysdeps/generic/w_exp10f.c: ...here.  New file.
3477         * math/w_exp10l.c: Move to ...
3478         * sysdeps/generic/w_exp10l.c: ...here.  New file.
3479         * math/w_exp2.c: Move to ...
3480         * sysdeps/generic/w_exp2.c: ...here.  New file.
3481         * math/w_exp2f.c: Move to ...
3482         * sysdeps/generic/w_exp2f.c: ...here.  New file.
3483         * math/w_exp2l.c: Move to ...
3484         * sysdeps/generic/w_exp2l.c: ...here.  New file.
3485         * math/w_fmod.c: Move to ...
3486         * sysdeps/generic/w_fmod.c: ...here.  New file.
3487         * math/w_fmodf.c: Move to ...
3488         * sysdeps/generic/w_fmodf.c: ...here.  New file.
3489         * math/w_fmodl.c: Move to ...
3490         * sysdeps/generic/w_fmodl.c: ...here.  New file.
3491         * math/w_hypot.c: Move to ...
3492         * sysdeps/generic/w_hypot.c: ...here.  New file.
3493         * math/w_hypotf.c: Move to ...
3494         * sysdeps/generic/w_hypotf.c: ...here.  New file.
3495         * math/w_hypotl.c: Move to ...
3496         * sysdeps/generic/w_hypotl.c: ...here.  New file.
3497         * math/w_j0.c: Move to ...
3498         * sysdeps/generic/w_j0.c: ...here.  New file.
3499         * math/w_j0f.c: Move to ...
3500         * sysdeps/generic/w_j0f.c: ...here.  New file.
3501         * math/w_j0l.c: Move to ...
3502         * sysdeps/generic/w_j0l.c: ...here.  New file.
3503         * math/w_j1.c: Move to ...
3504         * sysdeps/generic/w_j1.c: ...here.  New file.
3505         * math/w_j1f.c: Move to ...
3506         * sysdeps/generic/w_j1f.c: ...here.  New file.
3507         * math/w_j1l.c: Move to ...
3508         * sysdeps/generic/w_j1l.c: ...here.  New file.
3509         * math/w_jn.c: Move to ...
3510         * sysdeps/generic/w_jn.c: ...here.  New file.
3511         * math/w_jnf.c: Move to ...
3512         * sysdeps/generic/w_jnf.c: ...here.  New file.
3513         * math/w_jnl.c: Move to ...
3514         * sysdeps/generic/w_jnl.c: ...here.  New file.
3515         * math/w_lgamma.c: Move to ...
3516         * sysdeps/generic/w_lgamma.c: ...here.  New file.
3517         * math/w_lgammaf.c: Move to ...
3518         * sysdeps/generic/w_lgammaf.c: ...here.  New file.
3519         * math/w_lgammaf_r.c: Move to ...
3520         * sysdeps/generic/w_lgammaf_r.c: ...here.  New file.
3521         * math/w_lgammal.c: Move to ...
3522         * sysdeps/generic/w_lgammal.c: ...here.  New file.
3523         * math/w_lgammal_r.c: Move to ...
3524         * sysdeps/generic/w_lgammal_r.c: ...here.  New file.
3525         * math/w_lgamma_r.c: Move to ...
3526         * sysdeps/generic/w_lgamma_r.c: ...here.  New file.
3527         * math/w_log10.c: Move to ...
3528         * sysdeps/generic/w_log10.c: ...here.  New file.
3529         * math/w_log10f.c: Move to ...
3530         * sysdeps/generic/w_log10f.c: ...here.  New file.
3531         * math/w_log10l.c: Move to ...
3532         * sysdeps/generic/w_log10l.c: ...here.  New file.
3533         * math/w_log.c: Move to ...
3534         * sysdeps/generic/w_log.c: ...here.  New file.
3535         * math/w_logf.c: Move to ...
3536         * sysdeps/generic/w_logf.c: ...here.  New file.
3537         * math/w_logl.c: Move to ...
3538         * sysdeps/generic/w_logl.c: ...here.  New file.
3539         * math/w_pow.c: Move to ...
3540         * sysdeps/generic/w_pow.c: ...here.  New file.
3541         * math/w_powf.c: Move to ...
3542         * sysdeps/generic/w_powf.c: ...here.  New file.
3543         * math/w_powl.c: Move to ...
3544         * sysdeps/generic/w_powl.c: ...here.  New file.
3545         * math/w_remainder.c: Move to ...
3546         * sysdeps/generic/w_remainder.c: ...here.  New file.
3547         * math/w_remainderf.c: Move to ...
3548         * sysdeps/generic/w_remainderf.c: ...here.  New file.
3549         * math/w_remainderl.c: Move to ...
3550         * sysdeps/generic/w_remainderl.c: ...here.  New file.
3551         * math/w_scalb.c: Move to ...
3552         * sysdeps/generic/w_scalb.c: ...here.  New file.
3553         * math/w_scalbf.c: Move to ...
3554         * sysdeps/generic/w_scalbf.c: ...here.  New file.
3555         * math/w_scalbl.c: Move to ...
3556         * sysdeps/generic/w_scalbl.c: ...here.  New file.
3557         * math/w_sinh.c: Move to ...
3558         * sysdeps/generic/w_sinh.c: ...here.  New file.
3559         * math/w_sinhf.c: Move to ...
3560         * sysdeps/generic/w_sinhf.c: ...here.  New file.
3561         * math/w_sinhl.c: Move to ...
3562         * sysdeps/generic/w_sinhl.c: ...here.  New file.
3563         * math/w_sqrtl.c: Move to ...
3564         * sysdeps/generic/w_sqrtl.c: ...here.  New file.
3565         * math/w_tgamma.c: Move to ...
3566         * sysdeps/generic/w_tgamma.c: ...here.  New file.
3567         * math/w_tgammaf.c: Move to ...
3568         * sysdeps/generic/w_tgammaf.c: ...here.  New file.
3569         * math/w_tgammal.c: Move to ...
3570         * sysdeps/generic/w_tgammal.c: ...here.  New file.
3572         * locale/programs/ld-address.c (address_finish): Add 'S' to allow
3573         formats for postal_fmt.
3575 2001-02-16  Jakub Jelinek  <jakub@redhat.com>
3577         * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Add
3578         __ftruncate64 alias.
3579         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (ftruncate):
3580         Likewise.
3582 2001-02-15  David Mosberger  <davidm@hpl.hp.com>
3584         * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): No need to
3585         do "loadrs".  Writing to bspstore already takes care of
3586         invalidating the "clean" partition.
3588 2001-02-16  Andreas Schwab  <schwab@suse.de>
3590         * sysdeps/m68k/fpu/s_nextafterl.c: New file.
3591         * sysdeps/m68k/fpu/s_fpclassifyl.c: New file.
3593 2001-02-15  Jakub Jelinek  <jakub@redhat.com>
3595         * posix/regex.c (init_syntax_once): Add prototype.
3596         (TRANSLATE): If MBS_SUPPORT, translate all characters up to '\xff'.
3597         (re_search_2): Avoid warning.
3598         (count_mbs_length): Add prototype.
3599         * posix/tst-regex3.c: New file.
3600         * posix/Makefile (tests): Add bug-regex3.
3602 2001-02-15  Ulrich Drepper  <drepper@redhat.com>
3604         * stdio-common/Makefile (tests): Add tst-gets.
3605         * stdio-common/tst-gets.c: New file.
3606         * stdio-common/tst-gets.input: New file.
3608         * elf/elf.h (DT_CHECKSUM): Define.
3610         * sysdeps/generic/strtoll.c: Don't export __strto*_internal as
3611         default symbol.
3612         * sysdeps/generic/strtoull.c: Likewise.
3614 2001-02-14  Wolfram Gloger  <wg@malloc.de>
3616         * malloc/malloc.c (new_heap): When allocating large chunk aligned
3617         to HEAP_MAX_SIZE, prefer one with lower address, to avoid `holes'
3618         between the heaps.
3620 2001-02-14  Ulrich Drepper  <drepper@redhat.com>
3622         * math/libm-test.inc (j0_test): Check whether sincos is available.
3623         (j1_test): Likewise.
3624         (jn_test): Likewise.
3625         (y0_test): Likewise.
3626         (y1_test): Likewise.
3627         (yn_test): Likewise.
3629         * posix/tst-gnuglob.c: Make a few entries DT_UNKNOWN and teach
3630         fake filesystem routines to handle this.
3632         * time/sys/time.h: Make settimeofday and adjtime available if
3633         _BSD_SOURCE.
3635         * time/sys/time.h: Make timer* macros available for BSD.
3637         * iconvdata/gb18030.c: Update for Dec 2000 re-release of GB18030.
3638         Patch by Yong Li <rigel863@yahoo.com>.
3640         * sysdeps/generic/glob.c (CONVERT_DIRENT_DIRENT64): Fix copying of
3641         name.
3643         * posix/Makefile (tests): Add tst-gnuglob.
3644         * posix/tst-gnuglob.c: New file.
3646 2001-02-13  H.J. Lu  <hjl@gnu.org>
3648         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __ftruncate64.
3650 2001-02-13  Ulrich Drepper  <drepper@redhat.com>
3652         * locale/programs/ld-paper.c (paper_output): Pretty printing.
3654         * iconvdata/Makefile (modules): Add GBBIG5.
3655         (distribute): Add gbbig5.c.
3656         * iconvdata/gconv-modules: Add entries for GBBIG5 module.
3658         * iconvdata/gbbig5.c: New file.
3659         Contributed by Yong Li <rigel863@yahoo.com>.
3661 2001-02-13  Philip Blundell  <pb@futuretv.com>
3663         * manual/crypt.texi: Remove outdated references to crypt add-on.
3665         * manual/creature.texi: Improve wording slightly.
3667 2001-02-13  Ulrich Drepper  <drepper@redhat.com>
3669         * io/ftw.c: Always use readdir64.
3670         * io/ftw64.c: Likewise.
3671         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3672         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3673         * sysdeps/generic/glob.c: Likewise.  Convert results of gl_readdir
3674         callback to dirent.  Still allow compiling outside glibc.
3675         * sysdeps/gnu/glob64.c: Define COMPILE_GLOB64.
3676         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
3678         * malloc/mtrace.c: Use fopen64.
3679         * posix/spawni.c: Use __open64.
3680         * sysdeps/unix/opendir.c: Likewise.
3681         * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
3683         * sysdeps/generic/ftruncate64.c: Define __ftruncate64 and make old
3684         name a weak alias.
3685         * sysdeps/unix/sysv/aix/ftruncate64.c: Likewise.
3686         * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise.
3687         * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
3688         * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Likewise.
3690         * resolv/res_data.c: Add cast to avoid warning.
3692         * include/unistd.h: Declare __ftruncate64.
3694         * sysdeps/generic/utmp_file.c: Use LFS functions and types.
3696         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use __lseek64
3697         instead of __lseek.
3699 2001-02-13  Andreas Jaeger  <aj@suse.de>
3701         * login/getutent_r.c: Include <stdlib.h> for NULL.
3702         * login/getutid_r.c: Likewise.
3704 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
3706         * sysdeps/dbl-64/e_j0.c: Little optimization, use sincos.
3707         * sysdeps/dbl-64/e_j1.c: Likewise.
3708         * sysdeps/dbl-64/e_jn.c: Likewise.
3709         * sysdeps/flt-32/e_j0f.c: Likewise.
3710         * sysdeps/flt-32/e_j1f.c: Likewise.
3711         * sysdeps/ldbl-96/e_j0l.c: Likewise.
3713 2000-12-02  H.J. Lu  <hjl@gnu.org>
3715         * resolv/res_libc.c (res_init): Don't make it default.
3717 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
3719         * manual/debug.texi: Improved the wording.
3720         Patch by Philip Blundell <pb@futuretv.com>.
3722 2001-02-12  Andreas Jaeger  <aj@suse.de>
3724         * posix/Makefile (tests): Don't run bug-regex2 when
3725         cross-compiling.
3727         * libio/Makefile (tests): Don't run test-freopen when
3728         cross-compiling.
3730         * manual/stdio.texi (Streams and I18N): Fix typos.
3732 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
3734         * sysdeps/i386/fpu/libm-test-ulps: Adjust for errors in y0l.
3736         * math/libm-test.inc (j0_test): Make expected results long double
3737         constants.
3738         (y0_test): Likewise.
3740         * sysdeps/ieee754/ldbl-96/e_j0l.c: New file.
3741         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
3743 2001-02-11  Jakub Jelinek  <jakub@redhat.com>
3745         * sysdeps/generic/strtoll.c (__strtoq_internal): Ressurect alias
3746         which was exported from libc.
3747         * sysdeps/generic/strtoull.c (__strtouq_internal): Likewise.
3749 2001-02-12  Andreas Jaeger  <aj@suse.de>
3751         * manual/arith.texi (Parsing of Integers): Fix some wordings.
3753 2001-02-11  Ulrich Drepper  <drepper@redhat.com>
3755         * sysdeps/generic/getsysstat.c: Change return value of get_phys_pages
3756         and get_avphys_page to long int.
3757         * sysdeps/unix/sysv/linux/getsysstat.c: Likewise.
3758         * include/sys/sysinfo.h: Likewise.
3759         * sysdeps/generic/sys/sysinfo.h: Likewise.
3760         * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
3762         * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Fail if we
3763         cannot return as many values as the user asked for.
3765 2001-02-11  Andreas Jaeger  <aj@suse.de>
3767         * manual/resource.texi (Memory Resources): Fix typo.
3769         * libio/Makefile ($(objpfx)test-freopen.out): Pass
3770         run-program-prefix.
3772         * libio/test-freopen.sh: Use run_program_prefix.
3774 2001-02-10  Andreas Jaeger  <aj@suse.de>
3776         * stdlib/Makefile (tests): Don't run tst-fmtmsg when
3777         cross-compiling.
3778         ($(objpfx)tst-fmtmsg.out): Pass run-program-prefix.
3780         * stdlib/tst-fmtmsg.sh (test): Use run_program_prefix for static
3781         only builds.
3783         * elf/Makefile (tests): Only run tst-pathopt with shared libs.
3785         * posix/Makefile: Fix typo, it's build-static-nss.
3787         * iconv/Makefile (extra-objs): New.
3789 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
3791         * sysdeps/unix/stime.c: Include <time.h>.
3793         * sysdeps/mach/hurd/setitimer.c: Include <time.h>.
3795 2001-02-10  Andreas Jaeger  <aj@suse.de>
3797         * manual/string.texi (Search Functions): Fix typo.
3799 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
3801         * sysdeps/unix/bsd/times.c: Reorder includes and add <time.h>.
3802         (timeval_to_clock_t): Add clk_tck argument and use that instead of
3803         CLK_TCK.
3804         (__times): Use __getclktck to get the number of clock ticks per
3805         second and use its return value instead of CLK_TCK.
3807 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
3809         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (_HAVE_SA_LEN): Define.
3811 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
3813         * sysdeps/mach/gettimeofday.c: Include <stddef.h>.
3815 2001-02-10  Andreas Jaeger  <aj@suse.de>
3817         * wctype/wcfuncs.c (func): Add prototype declarations to avoid
3818         warning.
3820 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
3822         * posix/Makefile: Add rules to build and run bug-regex2.
3823         * posix/bug-regex2.c: New file.
3825 2001-02-10  Jakub Jelinek  <jakub@redhat.com>
3827         * posix/regex.c (convert_mbs_to_wcs): Change is_binary to char *.
3828         (regex_compile): Likewise.
3829         (FREE_VARIABLES): Don't free is_binary1 and is_binary2.
3830         (re_match_2_internal): Use just is_binary instead of two variables.
3831         Use REGEX_TALLOC to allocate it and FREE_VAR to free on failure.
3833 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
3835         * version.h (VERSION): Bump to 2.2.2.
3837         * iconv/Makefile (distribute): Add iconv_charmap.c and
3838         dummy-repertoire.c.
3839         * elf/Makefile (distribute): Add firstobj.c.
3840         * Makefile (distribute): Add include/pthread.h.
3842         * configure.in: Require makeinfo version 4.
3844         * libio/tst_wscanf.c (main): Add cast to avoid warning.
3845         * libio/tst_swscanf.c (main): Likewise..
3847 2001-02-09  Jakub Jelinek  <jakub@redhat.com>
3849         * sysdeps/generic/setenv.c (unsetenv): Remove const from len.
3850         * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, fdim): Don't define if
3851         __NO_MATH_INLINES.
3852         * sysdeps/i386/dl-machine.h (elf_machine_rel): Only declare refsym
3853         if not RTLD_BOOTSTRAP.
3854         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
3855         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
3857 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
3859         * locale/programs/linereader.c (get_ident): Stop loop if EOF.  Use
3860         lr_ungetc to push back last read character.
3861         * locale/programs/linereader.h (lr_ungetc): Don't push back is
3862         character is EOF.
3863         (lr_ignore_rest): Don't warn about garbage if it is really the end
3864         of the file.
3866         * manual/Makefile: Use ifnottext and not ifinfo to protect Top node
3867         definition.
3869 2001-02-08  Ulrich Drepper  <drepper@redhat.com>
3871         * Makerules (build-shlib): Work around different order of
3872         processing of -B option in different gcc versions.
3874         * posix/regex.c: Fix alignment problem.
3875         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
3877         * sysdeps/alpha/strrchr.S: Little optimization.
3878         Patch by Richard Henderson <rth@redhat.com>.
3880         * sysdeps/alpha/alphaev67/strrchr.S: New file.
3881         Contributed by Rick Gorton <rick.gorton@alpha-processor.com>.
3883 2001-02-08  kaz Kojima  <kkojima@rr.iij4u.or.jp>
3885         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Correct function name
3886         in the assembler end directive.
3888 2001-02-08  Andreas Jaeger  <aj@suse.de>
3890         * manual/stdio.texi (Closing Streams): Fix typos.
3892 2001-02-07  Ulrich Drepper  <drepper@redhat.com>
3894         * sysdeps/alpha/alphaev67/strncat.S: Align last write address.
3895         Patch by Richard Henderson <rth@redhat.com>.
3896         Reported by Claus-Justus Heine <heine@instmath.rwth-aachen.de>.
3898         * stdlib/strfmon.c [USE_IN_LIBIO]: Define lock variable and store
3899         pointer in FILE structure before calling _IO_init.
3900         * stdlib/Makefile: Add -D_IO_MTSAFE_IO to CFLAGS for strfmon and
3901         strfmon_l if necessary.
3902         Reported by Jury Gerold <gjury@grips.com>.
3904         * sysdeps/gnu/netinet/tcp.h: Correct values of TCP_ macros.
3905         Patch by Pekka.Pietikainen@cern.ch.
3907         * posix/regex.c: Correct several problems with 64-bit architectures
3908         introduced in the MBS changes.
3909         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
3911 2001-02-07  Jakub Jelinek  <jakub@redhat.com>
3913         * math/tgmath.h: Only add l suffixes if __NO_LONG_DOUBLE_MATH is
3914         not defined.
3915         * sysdeps/alpha/fpu/bits/mathinline.h: Honour __NO_MATH_INLINES.
3917 2001-02-07  Andreas Jaeger  <aj@suse.de>
3919         * manual/install.texi (Tools for Compilation): Fix typo.
3920         Reported by Pavel Machek <pavel@bug.ucw.cz>.
3922 2001-02-07  Ulrich Drepper  <drepper@redhat.com>
3924         * stdlib/strtod.c: Never stop prematurely reading digits before the
3925         decimal point is found.  Compute exponent limit for negative exponents
3926         correctly.  For numbers ending in all zeros eat the zeros even before
3927         the decimal point if the exponent is negative [PR libc/2072].
3928         * stdlib/Makefile (tests): Add bug-strtod.
3929         * stdlib/bug-strtod.c: New file.
3931 2001-02-07  Andreas Jaeger  <aj@suse.de>
3933         * posix/bug-regex1.c: Include <wchar.h> for fwide.
3935 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
3937         * posix/regex.c (regex_compile): Don't store pointer in wchar_t array.
3938         Store index.
3939         (compile_range): Handle index being passed, not pointer.
3940         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
3942         * posix/regex.c: Fix a cast in the code for bracket handling which
3943         caused 8-bit uncleanliness.
3944         Patch by Michal Jaegermann <michal@ellpspace.math.ualberta.ca>.
3946         * posix/Makefile (tests): Add bug-regex1.
3947         * posix/bug-regex1.c: New file.
3948         Contributed by Jim Meyering <jim@meyering.net>.
3950         * posix/regex.c: Many cleanups for incorrect format strings.
3952 2001-02-06  Andreas Jaeger  <aj@suse.de>
3954         * time/time.h (CLK_TCK): Check for !__STRICT_ANSI.
3956 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
3958         * locale/programs/locale.c (write_locales): Use scandir to read
3959         directory so that the entries are sorted.
3961 2001-02-06  Andreas Jaeger  <aj@suse.de>
3963         * include/pthread.h: New file.
3965         * wctype/wctype.h: Move internal interfaces from here to...
3966         * include/wctype.h: ...here.
3968         * wcsmbs/wchar.h: Move __wcslen from here to...
3969         * include/wchar.h: ...here.
3971         * posix/sys/wait.h: Move __wait from here to...
3972         * include/sys/wait.h: ...here.
3974         * string/string.h: Move __ffs and __strerror_r from here to...
3975         * include/string.h: ...here.
3977         * stdlib/stdlib.h: Move __on_exit from here to...
3978         * include/stdlib.h: ...here.
3980         * libio/stdio.h: Move __vsnprintf from here to...
3981         * include/stdio.h: ...here.
3983 2001-02-06  Andreas Schwab  <schwab@suse.de>
3985         * sysdeps/unix/sysv/linux/ia64/ioperm.c: Don't include kernel
3986         headers.
3988         * timezone/Makefile: Don't assume that $(inst_zonedir) is a subdir
3989         of $(inst_datadir).
3991 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
3993         * iconvdata/Makefile: Add dependency for bug-iconv2.out.
3995 2001-02-06  Andreas Jaeger  <aj@suse.de>
3997         * elf/firstobj.c: Add prototype.
3999         * posix/regex.c (convert_mbs_to_wcs): Make static, add prototype
4000         (truncate_wchar): Likewise.
4002 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
4004         * locale/programs/locale.c: Implement --verbose option for -a
4005         which prints detailed information about the locales.
4007 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
4009         * sunrpc/xdr_rec.c (set_input_fragment): Change type of header
4010         variable to uint32_t.
4011         Reported by Ulrich Weigand <weigand@immd1.informatik.uni-erlangen.de>.
4013 2001-02-04  Bruno Haible  <haible@clisp.cons.org>
4015         * locale/C-translit.h.in: Add transliterations for CJK units of
4016         measurement.
4018 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
4020         * elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf
4021         string.  Include <inttypes.h> instead of <stdint.h>.
4023         * localedata/Makefile (tests): Add bug-iconv-trans.
4024         Define bug-iconv-trans-ENV.
4025         * localedata/bug-iconv-trans.c: New file.
4027 2001-02-04  Bruno Haible  <haible@clisp.cons.org>
4029         * iconv/gconv_trans.c (__gconv_transliterate): Use a temporary output
4030         pointer, to avoid accumulating output from incomplete (unsuccessful)
4031         transliteration attempts.
4033 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
4035         * elf/ldconfig.c (search_dir): Use PRIx64 instead of Lx in printf
4036         string.  Include <inttypes.h> instead of <stdint.h>.
4038         * configure.in: Add check for bison.
4039         * config.make.in: Define BISON variable.
4040         * intl/Makefile: Use BISON instead of YACC when generating plural.c.
4041         Rename YFLAGS to BISONFLAGS.
4043 2001-02-05  Andreas Jaeger  <aj@suse.de>
4045         * io/test-lfs.c (do_test): Test lseek64 return value, call
4046         test_ftello.
4047         (test_ftello): New function to test ftello64 and fseeko64.
4049         * signal/signal.h: Move __sigaction from here to...
4050         * include/signal.h: ...here.
4052         * io/fcntl.h: Move __fcntl and __open to...
4053         * include/fcntl.h: ...here.
4055 2001-02-04  Philip Blundell  <philb@gnu.org>
4057         * configure.in: Distinguish ARM from Thumb.
4059 2001-02-04  Philip Blundell  <philb@gnu.org>
4061         * sysdeps/arm/dl-machine.h (elf_machine_rel): Correct handling of
4062         PC24 relocs with negative value.
4064 2001-02-04  Ulrich Drepper  <drepper@redhat.com>
4066         * iconv/Makefile (iconv_prog-modules): Define.  Add vpath to find
4067         files in locale/programs.  Add CFLAGS definition to allow compiling
4068         localedef files.
4069         * iconv/dummy-repertoire.c: New file.
4070         * iconv/iconv_charmap.c: New file.
4071         * iconv/iconv_prog.h: New file.
4072         * iconv/iconv_prog.c: Make verbose and omit_invalid global.
4073         (main): If parameter for -f and -t contain slashes try first to resolve
4074         the strings as filenames of charmap files.  Use them for conversion
4075         in this case.
4076         * iconvdata/run-iconv-test.sh: If charmaps exist also run tests with
4077         iconv getting charmap names as parameters.
4078         * locale/programs/linereader.c (lr_token): Take extra parameters
4079         verbose and pass it to get_string.
4080         (get_string): Take extra parameters verbose.
4081         * locale/programs/charmap.c (parse_charmap): Take extra parameters
4082         verbose and be_quiet.  Change all callers of lr_token and
4083         parse_charmap.
4084         * locale/programs/charmap.h: Likewise.
4085         * locale/programs/ld-address.c: Likewise.
4086         * locale/programs/ld-collate.c: Likewise.
4087         * locale/programs/ld-ctype.c: Likewise.
4088         * locale/programs/ld-identification.c: Likewise.
4089         * locale/programs/ld-measurement.c: Likewise.
4090         * locale/programs/ld-messages.c: Likewise.
4091         * locale/programs/ld-monetary.c: Likewise.
4092         * locale/programs/ld-name.c: Likewise.
4093         * locale/programs/ld-numeric.c: Likewise.
4094         * locale/programs/ld-paper.c: Likewise.
4095         * locale/programs/ld-telephone.c: Likewise.
4096         * locale/programs/ld-time.c: Likewise.
4097         * locale/programs/linereader.c: Likewise.
4098         * locale/programs/linereader.h: Likewise.
4099         * locale/programs/localedef.c: Likewise.
4100         * locale/programs/locfile.c: Likewise.
4101         * locale/programs/locfile.h: Likewise.
4102         * locale/programs/repertoire.c: Likewise.
4104 2001-02-03  Ulrich Drepper  <drepper@redhat.com>
4106         * iconv/iconv_prog.c (main): If output file name is "-" write to
4107         stdout.
4108         (main): If -f or -t argument is missing use charset of the current
4109         locale.
4111 2001-02-03  Andreas Jaeger  <aj@suse.de>
4113         * sysdeps/i386/elf/start.S (_start): Align stack to 16-byte
4114         boundary for SSE/SSE-2 alignment.
4116         * posix/Makefile ($(objpfx)annexc.out): Also pass sysincludes to
4117         annexc.
4119 2001-02-03  Ulrich Drepper  <drepper@redhat.com>
4121         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: File was using crlf.
4122         Remove comma at end of enum.
4124         * elf/dl-init.c: Add a few __builtin_expect.
4126         * hesiod/hesiod.c: Remove unnecessary code.  Remove all uses of strcat.
4128 2001-02-02  Ulrich Drepper  <drepper@redhat.com>
4130         * hesiod/hesiod.c (hesiod_resolve): Also search HS records if
4131         errno is ECONNREFUSED.
4133         * posix/Makefile: Define MBS_SUPPORT for regex.c.
4134         * posix/regex.c: Implement multibyte character handling.
4135         Patch by Isamu Hasegawa <isamu@yamato.ibm.co.jp>.
4137         * string/tst-svc.input: Add two more test cases.
4138         * string/tst-svc.expect: Modify to reflect new test cases.
4140 2001-02-01  Jakub Jelinek  <jakub@redhat.com>
4142         * sysdeps/posix/getaddrinfo.c (gaih_local, gaih_inet): Replace all
4143         tp->name tests with tp->name[0] tests.
4145 2001-01-29  Ben Collins  <bcollins@debian.org>
4147         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r):
4148         Fix check for name == NULL.
4150 2001-02-01  Ulrich Drepper  <drepper@redhat.com>
4152         * elf/Makefile: Add rules to build and run initfirst test.
4153         * elf/initfirst.c: New file.
4154         * elf/firstobj.c: New file.
4156         * Makerules (build-shlib): Add $(extra-B-$(@F:lib%.so=%).so).
4157         * configure.in: Test for -z initfirst linker option.
4158         * config.make.in: Add have-z-initfirst.
4159         * elf/dl-init.c (_dl_init): Split out actual initialization code in
4160         new function call_init.  If _dl_initfirst is non-NULL initialize first.
4161         * elf/dl-load.c (_dl_map_from_fd): If DF_1_INITFIRST flag is set
4162         remember object in _dl_initfirst.
4163         * elf/soinit.c: Remove special support for calling
4164         __pthread_initialize_minimal.
4166         * conform/conformtest.pl: Add missing $prepend in type test.
4168 2001-01-31  Ulrich Drepper  <drepper@redhat.com>
4170         * elf/elf.h (SHT_CHECKSUM): New definition.
4172         * posix/fnmatch_loop.c: Remove incorrect reverse condition in
4173         [. .] matching.  Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
4174         * posix/tst-fnmatch.input: Add tests for [. .] in locales.
4176 2001-01-31  Mark Kettenis  <kettenis@gnu.org>
4178         * misc/sys/select.h: Include <bits/time.h> instead of <sys/time.h>
4179         to get definition of `struct timeval'.
4181 2001-01-31  Ulrich Drepper  <drepper@redhat.com>
4183         * posix/tst-fnmatch.input: Add test cases for de_DE.UTF-8 locale.
4184         * posix/fnmatch_loop.c: Fix handling of [= =] for multibyte charsets.
4186 2001-01-30  Ulrich Drepper  <drepper@redhat.com>
4188         * iconv/gconv_open.c (__gconv_open): Set conv_flags if IGNORE is
4189         seen, not flags.
4191         * nis/nis_findserv.c: Include <time.h>.
4193 2001-01-30  Yong Li  <yong.li@asu.edu>
4195         * iconv/iconv_prog.c (main): Correct error handling method name.
4197 2001-01-29  Ben Collins  <bcollins@debian.org>
4199         * sysdeps/sparc/fpu/fraiseexcpt.c: Include <float.h>.
4200         * sysdeps/hppa/fpu/fraiseexcpt.c: Likewise.
4201         * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
4202         * sysdeps/s390/fpu/fraiseexcpt.c: Likewise.
4204 2001-01-30  Ulrich Drepper  <drepper@redhat.com>
4206         * locale/programs/ld-measurement.c (measurement_finish): Fix a typo.
4207         Patch by Marko Myllynen <myllynen@lut.fi>.
4209         * string/bits/string2.h (__strpbrk_c2): Correct parameter types
4210         (int instead of char).
4211         (__strpbrk_c3): Likewise.
4212         Reported by GOTO Masanori <gotom@debian.or.jp>.
4214         * sysdeps/generic/bits/sockaddr.h: Remove SA_LEN macro.
4215         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Likewise.
4216         * include/sys/socket.h: Add SA_LEN here for internal use.
4217         Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
4219 2001-01-29  Ulrich Drepper  <drepper@redhat.com>
4221         * malloc/Makefile: Don't build memusagestat if cross-compiling.
4223         * sysdeps/generic/dl-sysdep.c (set_seen): Fix typo.
4225         * math/libm-test.inc (rint_test): Add a few more tests for round
4226         to even rounding.
4228 2001-01-28  Ulrich Drepper  <drepper@redhat.com>
4230         * conform/data/pthread.h-data: Correct return type of pthread_exit.
4232         * conform/conformtest.pl: Add -fno-builtin to CFLAGS.
4234         * conform/data/stdlib.h-data: Add _Exit.
4236         * inet/arpa/inet.h: Don't include <sys/types.h>.  Define socklen_t
4237         if not already happened.
4238         * inet/netinet/in.h: Don't include <sys/types.h>, use <bits/types.h>.
4239         Don't include <limits.h> and <bits/sockaddr.h>.
4241         * conform/data/netinet/in.h-data: Allow all of <inttypes.h>.
4243         * conform/data/spawn.h-data: Allow all of <sched.h>.
4245         * sysdeps/ia64/fpu/fraiseexcpt.c: Include <float.h>.  Removed
4246         unused variable.
4248         * sunrpc/xdr_rec.c (xdrrec_getpos): Add cast to long to avoid warning.
4249         * sunrpc/xdr_sizeof.c (x_inline): Likewise.
4251         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include <float.h>.
4253         * conform/conformtest.pl: Define $mustprepend{"stdio.h"}.
4254         * libio/stdio.h: Define va_list correctly.
4256         * conform/data/pthread.h-data: Make priority protocol related
4257         functions optional.  Fix typos.
4259         * posix/sched.h: Define sched_priority as __sched_priority.
4260         * sysdeps/generic/bits/sched.h (struct sched_param): Rename element
4261         to __sched_priority.
4262         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4264 2001-01-27  Ulrich Drepper  <drepper@redhat.com>
4266         * sysdeps/generic/clock_getcpuclockid.c: Include <time.h> instead
4267         of <sys/time.h>.
4269         * sysdeps/unix/stime.c: Include <stddef.h> for NULL.
4270         * sysdeps/unix/time.c: Likewise.
4272         * conform/data/time.h-data: CLK_TCK is not in XPG6.  Fix tzname entry.
4273         * sysdeps/mach/hurd/bits/time.h: Don't define CLK_TCK for XPG6.
4274         * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
4275         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
4276         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
4277         * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
4278         * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
4279         * time/time.h: Likewise.
4281         * conform/conformtest.pl (@headers): Add complex.h and tgmath.h.
4282         * conform/data/complex.h-data: New file.
4283         * conform/data/tgmath.h-data: New file.
4285         * conform/data/wchar.h-data: Add missing functions.
4287         * sysdeps/gnu/bits/utmpx.h: Define RUN_LVL only if __USE_GNU.
4289         * conform/data/termios.h-data: Add missing const in tcsetattr()
4290         prototype.
4292         * posix/sys/wait.h: Include <signal.h> and <sys/resource.h>.
4293         Don't define pid_t here.
4295         * conform/data/sys/utsname.h-data: Don't provide fixed array sizes.
4297         * conform/data/sys/time.h-data: Allow sys/select.h.
4298         * conform/data/sys/un.h-data: Fix typo.
4299         * time/sys/time.h: Don't include all of <time.h>, just struct timeval.
4300         * sysdeps/posix/clock_getres.c: Include <time.h> instead of
4301         <sys/time.h>.
4302         * sysdeps/unix/clock_nanosleep.c: Likewise.
4303         * sysdeps/unix/i386/clock_getcpuclockid.c: Likewise.
4304         * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
4305         * sysdeps/unix/clock_gettime.c: Also include <time.h>.
4306         * sysdeps/unix/clock_settime.c: Likewise.
4308         * sysdeps/generic/pselect.c: Include <stddef.h> for NULL.
4309         * login/getutent.c: Likewise.
4310         * login/getutid.c: Likewise.
4311         * login/getutline.c: Likewise.
4313         * socket/sys/un.h: Define SUN_LEN only if __USE_MISC.
4315         * sysdeps/unix/sysv/linux/bits/statvfs.h: Change type of f_fsid field
4316         to unsigned long.  Add __f_unused.  Define _STATVFSBUF_F_UNUSED.
4317         * sysdeps/unix/sysv/linux/internal_statvfs.c: Adjust initialization of
4318         f_fsid field after change in struct statvfs.
4319         * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: New file.
4320         * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: New file.
4321         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: New file.
4323         * conform/data/sys/stat.h-data: Remove isfdtype.  Use
4324         optional-macro.
4326         * conform/data/sys/socket.h-data: Fix typos.  Correct getsockopt,
4327         recvfrom, send, and socketpair prototypes.  Add allow lines.
4328         * socket/sys/socket.h: Include <sys/uio.h>.
4329         Don't use fancy __SOCKADDR_ARG definition unless __USE_GNU.
4330         Fix type of second parameter of listen.
4331         Don't declare isfdtype unless __USE_MISC.
4332         * sysdeps/generic/listen.c: Fix type of second parameter of listen.
4333         * sysdeps/mach/hurd/listen.c: Likewise.
4334         * sysdeps/generic/bits/socket.h (struct sockaddr_storage): Define
4335         ss_family and __ss_family.
4336         * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
4337         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4338         (struct msghdr): Change type of msg_iovlen to int and type of
4339         msg_controllen to socklen_t.
4340         * sysdeps/unix/sysv/linux/alpha/bits/socket.h: New file.
4341         * sysdeps/unix/sysv/linux/ia64/bits/socket.h: New file.
4342         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: New file.
4343         * inet/rcmd.c (rcmd_af): __ss_family is now ss_family.
4344         (rresvport_af): Likewise.
4346         * conform/data/sys/shm.h-data: SHMLBA is not required to by a constant.
4347         * conform/conformtest.pl: Implement handling of symbol.
4349         * signal/signal.h: Fix handling of __need_* symbols.
4350         * misc/sys/select.c: Define fd_set here.  Remove __fd_set.  Define
4351         fd_mask only if __USE_MISC.  Declare pselect for __USE_XOPEN2K.
4352         * include/sys/select.h: Use fd_set not __fd_set.
4353         * sysdeps/generic/bits/select.h: Likewise.
4354         * sysdeps/i386/bits/select.h: Likewise.
4355         * sysdeps/generic/bits/types.h: Don't define __fd_mask, __NFDBITS,
4356         __FDELT, __FDMASK, and __fd_set here.
4357         * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
4358         * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
4359         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
4360         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
4361         * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
4362         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
4363         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
4364         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
4365         * time/sys/time.h: Define struct timeval before including <time.h>
4366         and <sys/select.h>.
4368         * conform/data/sys/time.h-data: fd_set is a typedef.
4369         * conform/data/sys/select.h-data: New file.
4370         * conform/data/sys/mman.h-data: Make typed mem stuff optional.
4371         * conform/conformtest.pl (@headers): Add sys/select.h.
4372         (type, optional-type): Unless testing a typedef instantiate object.
4373         Implement optional-function.
4375         * math/test-misc.c: Include <float.h>.
4377 2001-01-27  Andreas Jaeger  <aj@suse.de>
4379         * misc/efgcvt_r.c: Include <float.h>.
4381 2001-01-26  Ulrich Drepper  <drepper@redhat.com>
4383         * conform/data/stdlib.h-data: Account for XPG6 changes.
4384         * stdlib/stdlib.h (__random): Change return value type to long.
4385         (posix_memalign): Cleanup parameter names.
4386         (setenv, unsetenv): Make available for __USE_XOPEN2K.
4387         Change return type of unsetenv to int.
4388         (qecvt, qgcvt, qfcvt): Declare only if __USE_MISC.
4389         * include/stdlib.h: Change return type of unsetenv to int.
4390         Change return type of random to long int.
4391         * sysdeps/generic/setenv.c (unsetenv): Change return type to int.
4392         Return -1 and set errno if parameter is invalid.
4393         * stdlib/random.c (__random): Change return value type to long.
4395         * conform/data/stdio.h-data: Account for changes in XPG6.
4397         * conform/data/spawn.h-data: Correct posix_spawnattr_setflags
4398         prototype.
4400         * conform/conformtest.pl: Define $mustprepend{"signal.h"}.
4401         * conform/data/signal.h-data: Fix sigev_notify_function entry.
4402         Fix typo (SIGVALRM -> SIGVTALRM).
4403         * sysdeps/unix/sysv/linux/bits/siginfo.h: Define sigev_notify_attr
4404         with real type.
4405         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
4406         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
4407         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
4408         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4409         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
4411         * conform/conformtest.pl: Implement optional-element.  Define
4412         $mustprepend{"sched.h"}.
4413         * conform/data/sched.h-data: Make sporadic scheduler definitions
4414         optional.
4416         * pwd/pwd.h: Don't define getpwent_r for XPG.
4418         * io/sys/poll.h: Define nfds_t and use it in poll prototype.
4419         * sysdeps/generic/poll.c: Use nfds_t type in function definition.
4420         * sysdeps/mach/hurd/poll.c: Likewise.
4421         * sysdeps/unix/bsd/poll.c: Likewise.
4422         * sysdeps/unix/sysv/linux/poll.c: Likewise.
4423         * sysdeps/unix/sysv/aix/poll.c: Likewise.
4424         * sysdeps/generic/bits/poll.h: Define NPOLLFILE only if __USE_MISC.
4425         * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
4426         * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
4427         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
4428         * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
4429         * conform/data/poll.h-data: Fix typo in poll prototype.
4431         * sysdeps/gnu/netinet/tcp.h: Define everything but TCP_ macros
4432         only if __USE_MISC.
4433         * conform/data/netinet/tcp.h-data: Reserved prefix TCP_.
4435         * sysdeps/gnu/net/if.h: Cleanup namespace.  Define IF_NAMESIZE.
4437         * inet/netinet/in.h: Make IPPROTO_ constants also macros.
4439         * conform/conformtest.pl: Implement optional-type.
4441         * resolv/netdb.h: Include <netinet/in.h> not <sys/socket.h>.  Include
4442         <rpc/netdb.h> only if __USE_MISC.  Include <stdint.h> instead of
4443         defining uint32_t here.  Define IPPORT_RESERVED.
4444         (struct hostent): Type of h_length element is int.
4445         (getnameinfo): Type of flags parameter is unsigned int.
4446         * inet/getnameinfo.c (getnameinfo): flags argument is unsigned.
4447         * conform/data/netdb.h-data: Add many missing definitions.
4449         * conform/conformtest.pl: Implement optional-macro.
4450         * conform/data/math.h-data: Update for XPG6.
4452         * math/math.h (HUGE): Define as FLT_MAX value but don't use
4453         FLT_MAX.  Don't include <float.h>.
4454         (MAXFLOAT): Likewise.
4456         * math/math.h: Define MATH_ERRNO and MATH_ERREXCEPT.
4458         * include/bits/xopen_lim.h: Don't define FOPEN_MAX here.
4460         * conform/data/limits.h-data: Mark constants as optional wherever
4461         appropriate.
4463         * posix/bits/posix2_lim.h: Set correct values for
4464         _POSIX2_COLL_WEIGHTS_MAX and _POSIX2_CHARCLASS_NAME_MAX.  Remove
4465         EQUIV_CLASS_MAX.
4467         * posix/bits/posix1_lim.h: Define _POSIX_TZNAME_MAX as 6.
4468         Required by POSIX.
4470         * intl/loadmsgcat.c: Include <locale.h.> for _LIBC.
4472         * conform/data/netinet/in.h-data: Add reserved prefixes.
4474         * conform/data/arpa/inet.h-data: Fix a few typos.
4476 2001-01-26  Andreas Jaeger  <aj@suse.de>
4478         * sysdeps/generic/strtol.c: Include <locale.h>
4479         * stdlib/strtod.c: Likewise
4480         * stdlib/strfmon.c: Likewise.
4481         * string/strcoll.c: Likewise.
4482         * string/strxfrm.c: Likewise.
4483         * wctype/wcfuncs_l.c: Likewise.
4484         * wctype/wctype_l.c: Likewise.
4485         * wctype/wctrans_l.c: Likewise.
4487         * include/bits/locale.h: New file.
4489 2001-01-26  Ulrich Drepper  <drepper@redhat.com>
4491         * locale/langinfo.h: Correct logic in #ifs when defining YESSTR
4492         and NOSTR.
4494         * locale/Makefile (headers): Add bits/locale.h.
4495         * locale/langinfo.h: Don't include <locale.h>.  Include <bits/locale.h>
4496         and use __LC_ constants instead of LC_.
4497         * locale/locale.h: Include <bits/locale.h> and define LC_ constants
4498         using __LC_ constants.
4499         * locale/bits/locale.h: New file.
4500         * locale/loadlocale.c: Include <locale.h>.
4501         * locale/nl_langinfo.h: Likewise.
4503         * posix/glob.h: Cleanup namespace for non-_GNU_SOURCE case.
4505         * io/sys/stat.h: Define S_IFSOCK for XPG6.
4507         * conform/data/fcntl.h-data: posix_madvise is not expected here.
4509         * conform/conformtest.pl: Fix handling of macro-str.
4511         * conform/data/inttypes.h-data: Add missing definition and all of
4512         stdint.h-data.
4514         * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Bump to 20.
4516 2001-01-25  Ulrich Drepper  <drepper@redhat.com>
4518         * conform/conformtest.pl (@headers): Add stdint.h.
4519         * conform/data/stdint.h-data: New file.
4521         * conform/conformtest.pl: Recognize options --headers and
4522         --dialect.  Add dialect-specific CFLAGS.
4524         * conform/conformtest.pl: Implement handling of recursive
4525         allow-header.
4527         * conform/data/locale.h-data: Add new struct lconv members.
4529         * posix/wordexp.h: Correct definition of wordexp_t.
4530         * posix/wordexp.c: Moved to ...
4531         * sysdeps/generic/wordexp.c: ...here.  New file.
4532         * sysdeps/unix/sysv/linux/alpha/wordexp.c: New file.
4533         * sysdeps/unix/sysv/linux/ia64/wordexp.c: New file.
4534         * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: New file.
4535         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.2.2): Add
4536         wordexp.
4537         * sysdeps/unix/sysv/linux/ia64/Versions: Likewise.
4538         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
4540         * math/tgmath.h: Pretty printing.
4542         * math/Makefile (tests): Add test-tgmath.
4543         (CFLAGS-test-tgmath.c): New variable.
4544         * math/test-tgmath.c: New file.  Contributed by Jakub Jelinek.
4546         * conform/conformtest.pl: Handle allow-header in secondary headers
4547         correctly.
4549         * conform/data/fcntl.h-data: Mark symbols introduced in XPG6 with
4550         #ifdef.
4552         * conform/data/netinet/in.h-data: Use correct comment character.
4553         * conform/data/sys/stat.h-data: Likewise.
4555 2001-01-25  Jakub Jelinek  <jakub@redhat.com>
4557         * math/tgmath.h (__TGMATH_BINARY_FIRST_REAL_ONLY,
4558         __TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY,
4559         __TGMATH_TERNARY_REAL_ONLY): Use proper arguments to
4560         __builtin_classify_type, add ##f suffixes where appropriate.
4561         (__TGMATH_UNARY_REAL_IMAG): Remove extraneous left parenthesis.
4562         (__TGMATH_BINARY_REAL_IMAG): Likewise, use proper arguments to
4563         __builtin_classify_type.
4564         (fma): Fix spelling of first argument.
4566 2001-01-25  Ulrich Drepper  <drepper@redhat.com>
4568         * conform/data/unistd.h-data: Mark functions removed in XPG6
4569         correctly.
4571         * posix/unistd.h: Don't make functions removed in XPG6 available if
4572         __USE_XOPEN2K.
4574         * conform/conformtest.pl: Implement optional-constant.
4575         * conform/data/unistd.h-data: Use optional-constant wherever
4576         appropriate.
4578         * sysdeps/generic/bits/confname.h: Correct names of _SC_PBS
4579         constants and add _SC_STREAMS.
4580         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
4582         * sysdeps/unix/sysv/linux/statvfs64.c: Rename to __statvfs64 and
4583         make old name weak alias.
4584         * sysdeps/generic/statvfs64.c: Likewise.
4585         * sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and
4586         make old name weak alias.
4587         * sysdeps/generic/fstatvfs64.c: Likewise.
4588         * include/sys/statvfs.h: New file.
4590         * sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE,
4591         _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and
4592         _PC_REC_XFER_ALIGN.
4593         * sysdeps/posix/pathconf.c (__pathconf): Implement handling of
4594         _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
4595         _PC_REC_MIN_XFER_SIZE, and _PC_REC_XFER_ALIGN.
4596         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
4598         * conform/conformtest.pl: Run Unix tests for XPG6.
4599         Implement handling of known namespace violations.
4600         Improve printing of results.
4602         * posix/unistd.h (usleep): Correct return type.
4603         * sysdeps/unix/sysv/linux/usleep.c: Correct return type.
4604         * sysdeps/unix/bsd/usleep.c: Correct return type.
4605         * sysdeps/mach/usleep.c: Correct return type.
4606         * sysdeps/generic/usleep.c: Correct return type.
4608         * posix/unistd.h (sync): Correct return type.
4609         * sysdeps/generic/sync.c: Likewise.
4610         * sysdeps/mach/hurd/sync.c: Likewise.
4612         * sysdeps/generic/bits/confname.h (_SC_IOV_MAX): New definition.
4614         * posix/unistd.h: Make seteuid and setegid available for XPG6.
4616         * wcsmbs/wchar.h: Get FILE definition for XPG5.
4618         * conform/data/ctype.h-data: Use correct comment form.
4619         * conform/data/errno.h-data: Likewise.
4620         * conform/data/math.h-data: Likewise.
4621         * conform/data/mqueue.h-data: Likewise.
4622         * conform/data/netdb.h-data: Likewise.
4623         * conform/data/pthread.h-data: Likewise.
4625 2001-01-24  Ulrich Drepper  <drepper@redhat.com>
4627         * conform/data/wordexp.h-data: Fix typo.
4629         * conform/conformtest.pl: Handle allow-header correctly.
4631         * conform/data/time.h-data: Use correct comment form.
4633         * conform/conformtest.pl (checknamespace): Ignore #undef lines.
4635         * configure.in: Comment out binutils version test.
4637         * stdlib/strtod.c (str_to_mpn): Correct parsing of thousands
4638         separators.
4639         Reported by Lagardere Jean-Francois <LAGARDEREJ@thmulti.com>.
4641         * stdlib/tst-strtod.c (locale_test): New function.
4642         (main): Call locale_test.
4643         * stdlib/Makefile (tst-strtod-ENV): New variable.
4645 2001-01-24  Mark Kettenis  <kettenis@gnu.org>
4647         * hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost
4648         declaration of value such that we actually return the value of the
4649         environment variable.
4651 2001-01-24  Andreas Jaeger  <aj@suse.de>
4653         * sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl
4654         prototype.
4655         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
4657         * include/sys/sysctl.h: New file.
4659 2001-01-23  Andreas Jaeger  <aj@suse.de>
4661         * stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to
4662         isomac.
4664         * elf/dl-load.c (_dl_init_paths): Don't use strdupa in function
4665         arguments.  Reported by Jiri Kubicek <kubicek@bitsmart.com>,
4666         closes PR libc/2039.
4668         * manual/install.texi (Tools for Compilation): Change required
4669         binutils version.
4671 2001-01-22  Andreas Jaeger  <aj@suse.de>
4673         * configure.in: Add test for new enough binutils version, move
4674         compiler/binutils test up.
4676         * Versions.def: Add version GLIBC_2.2.2.
4678 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
4680         * iconvdata/TESTS: UTF-8 test data for IBM932 and IBM943 are now
4681         available.
4682         * iconvdata/testdata/IBM932: New file.
4683         * iconvdata/testdata/IBM932..UTF8: New file.
4684         * iconvdata/testdata/IBM943: New file.
4685         * iconvdata/testdata/IBM943..UTF8: New file.
4686         Contributed by Masahide Washizawa <washi@jp.ibm.com>.
4688 2001-01-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
4690         * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset.
4692 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
4694         * malloc/malloc.c: Remove a few unnecessary initializers of global
4695         variables.
4697 2000-12-09  H.J. Lu  <hjl@gnu.org>
4699         * nss/Makefile (routines): Add digits_dots.
4700         * nss/Versions (libc): Add __nss_hostname_digits_dots to GLIBC_2.2.2.
4701         * nss/digits_dots.c (__nss_hostname_digits_dots): Turn template
4702         into a function.
4703         * nss/nsswitch.h (__nss_hostname_digits_dots): New internal NSS
4704         function.
4705         * nss/getXXbyYY.c (H_ERRNO_VAR_P): New definition.
4706         (TYPE_VAR_P): Likewise.
4707         (FLAGS_VAR): Likewise.
4708         (AF_VAR_P): Likewise.
4709         (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
4710         instead of including digits_dots.c.
4711         * nss/getXXbyYY_r.c (H_ERRNO_VAR_P): New definition.
4712         (TYPE_VAR_P): Likewise.
4713         (FLAGS_VAR): Likewise.
4714         (AF_VAR_P): Likewise.
4715         (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
4716         instead of including digits_dots.c.
4718 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
4720         * sysdeps/posix/getaddrinfo.c: Reduce .data size.
4722 2001-01-21  Andreas Jaeger  <aj@suse.de>
4724         * elf/constload2.c: Add prototype for init.
4726 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
4728         * stdlib/stdlib.h (drand48_data): Make available only for
4729         __USE_MISC.  Rename elements to protect namespace.  Change type
4730         and position of a and init element.
4731         * stdlib/drand48-iter.c: Don't handle unsigned short > 16 bit
4732         differently.  Adjust for drand48_data change.  Don't compute a here,
4733         it comes from drand48_data.
4734         * stdlib/lcong48_r.c: Don't handle unsigned short > 16 bit
4735         differently.  Adjust for drand48_data change.  Compute a here.
4736         * stdlib/srand48_r.c: Likewise.
4737         * stdlib/drand48.c: Adjust for drand48_data change.
4738         * stdlib/lrand48.c: Likewise.
4739         * stdlib/mrand48.c: Likewise.
4740         * stdlib/seek48.c: Likewise.
4741         * stdlib/drand48_r.c: Likewise.
4742         * stdlib/lrand48_r.c: Likewise.
4743         * stdlib/mrand48_r.c: Likewise.
4744         * stdlib/seed48_r.c: Likewise.  Don't handle unsigned short > 16 bit
4745         differently.
4746         * stdlib/erand48_r.c: Don't handle unsigned short > 16 bit differently.
4747         * stdlib/jrand48_r.c: Likewise.
4749         * po/sv.po: Update from translation team.
4751 2001-01-21  Andreas Jaeger  <aj@suse.de>
4753         * stdio-common/vfprintf.c (vfprintf): Add casts.
4755 2001-01-20  Ulrich Drepper  <drepper@redhat.com>
4757         * iconvdata/run-iconv-test.sh: Reorgnize a bit to allow running only
4758         the ASCII test.
4759         * iconvdata/TESTS: Add entries for IBM932 and IBM943.
4761         * iconvdata/Makefile (modules): Add IBM932 and IBM943.
4762         * iconvdata/gconv-modules: Add entries for IBM932 and IBM943.
4763         * iconvdata/ibm932.c: New file.
4764         * iconvdata/ibm932.h: New file.
4765         * iconvdata/ibm943.c: New file.
4766         * iconvdata/ibm943.h: New file.
4767         Patches by Masahide Washizawa <washi@jp.ibm.com>.
4769         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo
4770         preventing optimization from being done.  Set the correct type bit
4771         in seen.  Don't define and use _dl_base_addr unless
4772         NEED_DL_BASE_ADDR is defined.
4774         * io/ftw.c (ftw_dir): Add slash after directory name if there
4775         wasn't any.  Reported by loris <loris@iol.it>.
4776         * io/Makefile (tests): Add bug-ftw2.
4777         * io/bug-ftw2.c: New file.
4779 2001-01-19  Ulrich Drepper  <drepper@redhat.com>
4781         * stdlib/jrand48_r.c (__jrand48_r): Correct constructing of
4782         results.  Reported by Jeff Higham <jhigham@algorithmics.com>.
4783         * stdlib/tst-rand48.c: New file.
4784         * stdlib/Makefile (tests): Add tst-rand48.
4786         * locale/newlocale.c (__newlocale): Fix test for setting all
4787         categories.
4789 2001-01-19  Mark Kettenis  <kettenis@gnu.org>
4791         * sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes,
4792         but change looking up the initial directory port in a similar way
4793         as done by _hurd_change_directory_port_from_name.
4794         * hurd/fchroot.c (fchroot): Likewise.
4796 2001-01-18  Ulrich Drepper  <drepper@redhat.com>
4798         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If HAVE_AUX_XID is
4799         defined don't look whether the AT_*ID values were set.
4800         If HAVE_AUX_PAGESIZE is defined don't look whether the pagesize is set.
4801         (_dl_show_auxv): Rewrite to avoid switch statement.
4802         * sysdeps/unix/sysv/linux/kernel-features.h: Define
4803         __ASSUME_AT_PAGESIZE for kernel >= 2.4.1.
4804         * sysdeps/unix/sysv/linux/ldsodefs.h: Define HAVE_AUX_XID.
4805         Define HAVE_AUX_PAGESIZE if __ASSUME_AT_PAGESIZE is defined.
4807         * sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect.
4808         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
4809         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
4811         * elf/rtld.c (process_envvars): Call __strtoul_internal instead of
4812         strtoul.
4813         * elf/dl-minimal.c (strtol, __strtol_internal, strtoul): Removed.
4814         (__sigjmp_save): Set __mask_was_saved to zero since we don't save
4815         anything.
4816         * dlfcn/eval.c (__strtol_internal): Define here.
4817         (eval): Use __strtol_internal instead of strtol.
4819         * elf/elf.h: Add a few more EF_MIPS_* constants.
4821 2001-01-17  Ulrich Drepper  <drepper@redhat.com>
4823         * manual/Makefile (chapters): Add debug.
4824         * manual/debug.texi: New file.
4825         * manual/examples/execinfo.c: New file.
4826         Patch by suckfish@ihug.co.nz.
4828 2001-01-17  Andreas Schwab  <schwab@suse.de>
4830         * sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid
4831         invalid asm.
4833 2001-01-17  Andreas Jaeger  <aj@suse.de>
4835         * nscd/connections.c (nscd_run): Use proper format specifier.
4837 2001-01-16  Ulrich Drepper  <drepper@redhat.com>
4839         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Move x86_cap_flags and
4840         x86_platforms data into new file after prepending _dl_.  Change
4841         users.
4842         * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: New file.
4843         * sysdeps/unix/sysv/linux/i386/Dist: Add dl-procinfo.c.
4844         * sysdeps/unix/sysv/linux/i386/Makefile: Add rules to build
4845         dl-procinfo.c.
4847         * setjmp/setjmp.h: Cleanup definition of setjmp macro.
4849         * sysdeps/i386/elf/bsd-setjmp.S: Real implementation.
4850         * sysdeps/i386/elf/bsd-_setjmp.S: Removed.
4851         * sysdeps/i386/elf/setjmp.S (setjmp): Removed here.
4852         (_setjmp): Likewise.
4853         * sysdeps/i386/bsd-_setjmp.S: Real implementation.
4854         * sysdeps/i386/bsd-setjmp.S: Real implementation.
4855         * sysdeps/i386/bits/setjmp.h: Remove PUSH_SIGNAL_MASK definition.
4856         * sysdeps/i386/setjmp.S: Remove PIC support.  This is the non-ELF
4857         version.
4859 2001-01-16  Andreas Jaeger  <aj@suse.de>
4861         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix
4862         misapplied last patch.
4864 2001-01-15  Ulrich Drepper  <drepper@redhat.com>
4866         * stdlib/random.c (__initstate): Clean up a cast.
4867         (__setstate): Likewise.
4869         * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove select
4870         syscall handling.  The generic Linux version should work.
4872 2001-01-15  Andreas Jaeger  <aj@suse.de>
4874         * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
4876         * stdio-common/tstscanf.c (main): Add two testcases for '*' modifier.
4878 2001-01-14  Jakub Jelinek  <jakub@redhat.com>
4880         * nss/getent.c (print_aliases, aliases_keys, ethers_keys,
4881         netgroup_keys, print_rpc, rpc_keys, print_shadow, shadow_keys):
4882         New functions.
4883         (group_keys, hosts_keys, network_keys, passwd_keys, protocols_keys):
4884         If number is 0, list all.
4885         (services_keys): Likewise.  Lookup aliases as well.
4886         (databases): New table.
4887         (build_doc): Prepare argp doc text with list of supported databases.
4888         (main): Change to table driven processing.
4890 2001-01-14  Thorsten Kukuk <kukuk@suse.de>
4892         * sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about these
4893         functions.
4895 2001-01-03  Jakub Jelinek  <jakub@redhat.com>
4897         * sunrpc/xdr.c (xdr_long, xdr_u_long): Return FALSE if trying to
4898         encode value which does not fit in the 32bit type.
4900 2001-01-15  Hiroyuki Machida <machida@sm.sony.co.jp>
4902         * sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
4903         Change type of CTX to (struct sigcontext *).
4904         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise.
4905         (GET_FRAME): Likewise.
4906         (GET_STACK): Likewise.
4907         (SIGCONTEXT): Likewise. Add 2nd arg _code.
4908         (SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.
4910 2001-01-13  Ulrich Drepper  <drepper@redhat.com>
4912         * manual/texinfo.tex: Update from upstream version.
4914 2001-01-13  Jakub Jelinek  <jakub@redhat.com>
4916         * inet/ether_ntoh.c (lookup_function): Change arguments to match
4917         _nss_*_getntohost_r prototype.
4918         (ether_ntohost): Pass errno pointer to NSS function.
4920 2001-01-12  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
4922         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value.
4923         (MAP_LOCKED): New definition.
4924         (MAP_NORESERVE): New definition.
4926 2001-01-12  Ulrich Drepper  <drepper@redhat.com>
4928         * assert/assert.h: Use static_cast instead of C-style cast for C++.
4929         Patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>.
4931 2001-01-12  Ben Collins  <bcollins@debian.org>
4933         * sysdeps/generic/segfault.c (install_handler): Use access, not
4934         __access.
4936 2001-01-12  Andreas Jaeger  <aj@suse.de>
4938         * posix/fnmatch_loop.c (FCT): Remove signed warnings.
4939         * posix/wordexp.c (do_parse_glob): Likewise.
4940         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
4941         * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
4942         * elf/dl-open.c (_dl_open): Likewise.
4943         * elf/dl-close.c (_dl_close): Likewise.
4944         * elf/dl-load.c (_dl_map_object): Likewise.
4945         * iconv/iconv_prog.c (process_fd): Likewise.
4946         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
4948         * locale/localeinfo.h (struct locale_data): Use __flexarr instead
4949         of a zero-length array.
4951 2001-01-11  Jakub Jelinek  <jakub@redhat.com>
4953         * stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func.
4954         * stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument.
4955         * stdlib/cxa_on_exit.c: Remove.
4956         * stdlib/Makefile: Revert last patch.
4957         * stdlib/Versions: Likewise.
4958         * include/stdlib.h: Likewise.
4959         * stdlib/exit.h: Revert last patch.
4960         (struct exit_function): Add second argument to cxa fn.
4961         * stdlib/exit.c: Revert last patch.
4962         (exit): Add hidden second argument.
4964 2001-01-11  H.J. Lu  <hjl@gnu.org>
4966         * elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ...
4967         * elf/dl-open.c (_dl_open): Here.
4968         * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock):
4969         Make it static.
4970         (_dl_static_init): Initialize the variables every time when possible.
4971         * sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT):
4972         Undefine it first.
4974 2001-01-11  Ulrich Drepper  <drepper@redhat.com>
4976         * stdlib/Makefile (routines): Add cxa_on_exit.
4977         * stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit.
4978         * stdlib/cxa_on_exit.c: New file.
4979         * include/stdlib.h: Add prototype for __cxa_on_exit.
4980         * stdlib/exit.c: Handle ef_cxa2.
4981         * stdlib/exit.h (enum): Add ef_cxa2.
4982         (struct exit_function): Add cxa2.
4984         * Versions.def [ld]: Add GLIBC_2.2.1.
4986 2001-01-10  H.J. Lu  <hjl@gnu.org>
4988         * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries.
4989         * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add
4990         dl-static.
4991         * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init.
4992         * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined.
4993         * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file.
4994         * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file.
4995         * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
4997 2001-01-11  Ulrich Drepper  <drepper@redhat.com>
4999         * libio/stdio.h: Remove definition of off_t.
5001 2001-01-11  Andreas Jaeger  <aj@suse.de>
5003         * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
5004         <mkuhn@acm.org>.
5006 2001-01-10  Ulrich Drepper  <drepper@redhat.com>
5008         * sunrpc/Makefile (distribute): Add errqueue.h.
5010 2001-01-10  H.J. Lu  <hjl@gnu.org>
5012         * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve
5013         r9, r10 and r11 for language specific registers.
5015 2001-01-10  Jakub Jelinek  <jakub@redhat.com>
5017         * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the
5018         UDP socket.
5019         (clntudp_call): Handle MSG_ERRQUEUE.
5020         * sysdeps/generic/errqueue.h: New file.
5021         * sysdeps/unix/sysv/linux/errqueue.h: New file.
5023 2001-01-10  H.J. Lu  <hjl@gnu.org>
5025         * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
5027 2001-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
5029         * CONFORMANCE: Update.
5031 2001-01-09  Ulrich Drepper  <drepper@redhat.com>
5033         * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
5034         Minimal cleanups.  Add assert to ensure memory handling is correct.
5036         * manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value.
5037         Reported by Ben Collins <bcollins@debian.org>.
5039         * time/strftime.c (my_strftime): Mark previous GNU extensions
5040         which are now in C99 as such.
5042 2001-01-08  Ulrich Drepper  <drepper@redhat.com>
5044         * elf/rtld.c (process_envvars): Place output files for profiling
5045         in SUID binaries in /var/profile.
5047         * elf/dl-load.c (_dl_map_object): Don't look in cache for
5048         preloading in SUID binaries.
5050         * elf/dl-profile.c (_dl_start_profile): Open the output file with
5051         O_NOFOLLOW if possible.
5053         * include/stdlib.h: Add __posix_openpt declaration.
5054         * stdlib/stdlib.h: Add posix_openpt declaration.
5055         * login/Versions: Add posix_openpt for GLIBC_2.2.1.
5056         * sysdeps/generic/getpt.c: Define posix_openpt.
5057         * sysdeps/unix/bsd/getpt.c: Likewise.
5058         * sysdeps/unix/sysv/linux/getpt.c: Likewise.
5060         * time/Makefile (tests): Add tst-mktime.
5061         * time/tst-mktime.c: New file.
5063         * posix/tst-dir.c (main): One more mkdir() test.
5065         * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
5066         Remove getpagesize syscall.  We assume that the pagesize is always
5067         determined from the auxiliary vector.
5069         * intl/dcigettext.c: Fix a few warnings.
5070         Patch by Bruno Haible <haible@ilog.fr>.
5072 2001-01-08  Andreas Jaeger  <aj@suse.de>
5074         * io/test-lfs.c (do_test): Check lseek64 return for EINVAL.
5075         Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
5077 2001-01-08  Ulrich Drepper  <drepper@redhat.com>
5079         * sysdeps/generic/segfault.c (install_handler): Check output file
5080         name with access().
5082         * resolv/res_query.c: Use simply getenv() for HOSTALIASES.
5083         * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
5085         * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
5087         * malloc/memusage.c (me): Use access() to determine whether we
5088         should write the output file or not.
5090         * libio/bits/stdio.h (printf): Define macro to map printf call to
5091         fprintf which gcc can optimize.
5092         * stdio-common/printf.c: Undefine printf.
5094 2001-01-07  Ulrich Drepper  <drepper@redhat.com>
5096         * sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last
5097         patch.  We must use unsigned int for l member of union.
5099         * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call
5100         _dl_aux_init for shared libraries.
5102         * sysdeps/unix/sysv/linux/glob64.c: Moved to ...
5103         * sysdeps/gnu/glob64.c: ...here.  New file.
5105 2001-01-07  Ben Collins  <bcollins@debian.org>
5107         * manual/examples/longopt.c: Make the "struct option" a little
5108         more like it should be, adding usage of required_argument,
5109         noargument and such, and also setting the options string right.
5111         * manual/sysinfo.texi (Load Average): New section, documents
5112         getloadavg().
5114 2001-01-06  Ulrich Drepper  <drepper@redhat.com>
5116         * version.h (VERSION): Bump to 2.2.1.
5118         * sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
5119         * sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S.
5120         * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S.
5121         * dlfcn/Makefile (distribute): Add errmsg1mod.c.
5122         * Makefile (distribute): Add include/libc-internal.h.
5123         * libio/Makefile (distribute): Avoid overwriting.
5125         * iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in
5126         buffer and table handling.
5128 2001-01-05  H.J. Lu  <hjl@gnu.org>
5130         * elf/dl-support.c (non_dynamic_init): Move the auxiliary
5131         vector checking to ...
5132         (_dl_aux_init): Here. New function. Defined only if
5133         HAVE_AUX_VECTOR is defined.
5135         * sysdeps/generic/libc-start.c (__libc_start_main): Call
5136         _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined.
5138         * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call
5139         _dl_aux_init.
5141         * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed.
5142         (HAVE_AUX_VECTOR): Defined.
5143         (_dl_aux_init): Declared.
5145 2001-01-05  Ben Collins  <bcollins@debian.org>
5147         * manual/string.texi (Finding Tokens in a String): Document XPG
5148         basename() and dirname(), as well as GNU basename().
5150 2001-01-05  Jakub Jelinek  <jakub@redhat.com>
5152         * Makeconfig (preprocess-version): Replace -traditional with
5153         -x assembler-with-cpp.
5155 2001-01-05  Joseph S. Myers  <jsm28@cam.ac.uk>
5157         * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj
5158         for GCC 2.97 or later.
5160 2001-01-05  Ben Collins  <bcollins@debian.org>
5162         * manual/stdio.texi (getline): Clarify the return value in the
5163         case of EOF being reached before a newline.
5165 2001-01-04  Jakub Jelinek  <jakub@redhat.com>
5167         * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful,
5168         FALSE otherwise.
5169         (pmap_set, pmap_unset): Check __get_myaddress return value.
5171 2001-01-05  Mark Kettenis  <kettenis@gnu.org>
5173         * sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>.
5174         (struct ether_addr): Declare ether_addr_octet member as
5175         `u_int8_t'.  Add __attribute__ ((__packed__)).
5177 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
5179         * sysdeps/mach/hurd/readdir64.c: New file.
5180         * sysdeps/mach/hurd/readdir64_r.c: New file.
5182 2001-01-07  Mark Kettenis  <kettenis@gnu.org>
5184         * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about
5185         `struct statfs' and `struct statvfs' being identical.
5186         * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
5188 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
5190         * sysdeps/mach/hurd/fstatfs64.c: New file.
5191         * sysdeps/mach/hurd/fstatvfs64.c: New file.
5192         * sysdeps/mach/hurd/statfs64.c: New file.
5193         * sysdeps/mach/hurd/statvfs64.c: New file.
5194         * sysdeps/mach/hurd/statfsconv.c: New file.
5195         * sysdeps/mach/hurd/Dist: Add statfsconv.c.
5197 2001-01-06  Ulrich Drepper  <drepper@redhat.com>
5199         * iconv/skeleton.c: Reset outbuf for next round of the loop.
5200         Reported by Owen Taylor <otaylor@redhat.com>.
5201         * iconv/Makefile (tests): Add tst-iconv3.
5202         * iconv/tst-iconv3.c: New file.
5204         * iconvdata/ibm930.c: Fix handling of state.  Optimize a bit.
5205         * iconvdata/ibm933.c: Likewise.
5206         * iconvdata/ibm935.c: Likewise.
5207         * iconvdata/ibm937.c: Likewise.
5208         * iconvdata/ibm939.c: Likewise.
5209         * iconvdata/ibm930.h: Adjust single byte table for optimization.
5210         * iconvdata/ibm933.h: Likewise.
5211         * iconvdata/ibm935.h: Likewise.
5212         * iconvdata/ibm939.h: Likewise.
5214         * iconvdata/testdata/IBM930: Add misssing SI.
5215         * iconvdata/testdata/IBM933: Likewise.
5216         * iconvdata/testdata/IBM935: Likewise.
5217         * iconvdata/testdata/IBM937: Likewise.
5218         * iconvdata/testdata/IBM939: Likewise.
5220 2001-01-06  Andreas Jaeger  <aj@suse.de>
5222         * configure.in: Check for old add-ons that shouldn't be used with
5223         current glibc anymore.
5225 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
5227         * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number
5228         instead of -1 on failure.  Don't forget to copy file name into
5229         *ENTRY if successful.  Set *RESULT to NULL upon reaching the end
5230         of the directory.
5232 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
5234         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
5235         copy st_atime member.
5237 2001-01-05  Ulrich Drepper  <drepper@redhat.com>
5239         * io/ftw.c (ftw_dir): Don't add a second slash at the beginning
5240         for searches from the root directory.
5241         Reported by loris <loris@iol.it> [PR libc/1991].
5242         * io/Makefile (tests): Add bug-ftw1.
5243         * io/bug-ftw1.c: New file.
5245         * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
5246         if it is not available.  Instead use it only if it is available.
5247         * sysdeps/unix/sysv/linux/ldsodefs.h: New file.
5249         * iconv/gconv_simple.c (internal_ics4_loop): Correct test for
5250         overflowing output buffer.
5251         (internal_ucs4_loop_unaligned): Likewise.
5252         (ucs4_internal_loop): Likewise.
5253         (ucs4_internal_loop_unaligned): Likewise.
5254         (internal_ucs4le_loop): Likewise.
5255         (internal_ucs4le_loop_unaligned): Likewise.
5256         (ucs4le_internal_loop): Likewise.
5257         (ucs4le_internal_loop_unaligned): Likewise.
5258         Reported by Owen Taylor <otaylor@redhat.com>.
5259         * iconv/Makefile (tests): Add tst-iconv2.
5260         * iconv/tst-iconv2.c: New file.
5262 2001-01-04  H.J. Lu  <hjl@gnu.org>
5264         * elf/dl-support.c (DL_FIND_AUXV): New.  Defined if not defined.
5265         (_dl_clktck): Declared.
5266         (non_dynamic_init): Take 3 arguments.
5267         Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.
5269 2001-01-01  Bruno Haible  <haible@clisp.cons.org>
5271         Finish implementation of plural form handling.
5272         * intl/dcigettext.c (known_translation_t): Rename 'domain' field to
5273         'domainname'.  Remove 'plindex' field. Add 'domain' and
5274         'translation_length' fields.
5275         (transcmp): Don't compare 'plindex' fields.
5276         (plural_lookup): New function.
5277         (DCIGETTEXT): Change cache handing in the plural case.  Don't call
5278         plural_eval before the translation and its catalog file have been
5279         found. Remove plindex from cache key.  Add 'translation_length' and
5280         'domain' to cache result.
5281         (_nl_find_msg): Remove index argument, return length of translation
5282         to the caller instead.  Weaken comparison of string lengths, to account
5283         for plural entries.  Call iconv() on the entire result string, not
5284         only on the portion needed so far.
5285         * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
5286         argument.
5287         * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
5289 2001-01-04  Ulrich Drepper  <drepper@redhat.com>
5291         * intl/plural.y (yylex): Minimal improvement in number scanner.
5293 2000-07-31  Bruno Haible  <haible@clisp.cons.org>
5295         * intl/plural.y: Include config.h. Needed to define 'inline' away for
5296         C compilers that don't support it.
5297         (yylex): Don't use gcc specific case range syntax.
5298         * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
5299         compilers.
5301 2000-10-12  Bruno Haible  <haible@clisp.cons.org>
5303         * intl/finddomain.c: Remove unneeded includes.
5305 2000-10-12  Bruno Haible  <haible@clisp.cons.org>
5307         * intl/localealias.c (memcpy): Return first argument, just like the
5308         real memcpy function does.
5309         * intl/bindtextdom.c (memcpy): Likewise.
5310         * intl/finddomain.c (memcpy): Likewise.
5311         * intl/l10nflist.c (memcpy): Likewise.
5312         * intl/textdomain.c (memcpy): Likewise.
5313         From Paul Eggert <eggert@twinsun.com>.
5315 2001-01-03  Jakub Jelinek  <jakub@redhat.com>
5317         * resolv/resolv.h (struct __res_state): Add nsinit field.
5318         * resolv/res_send.c (res_nsend): Use it instead of nscount.
5319         * resolv/res_init.c (__res_vinit): Initialize it.
5320         (res_nclose): Clear it instead of nscount.
5322 2001-01-04  Ulrich Drepper  <drepper@redhat.com>
5324         * malloc/mtrace.pl: Fix matching of addresses.
5325         Patch by Aharon Robbins <arnold@skeeve.com>.
5327         * Versions.def (ld): Add GLIBC_2.2.
5329         * catgets/gencat.c: Copyright 2001.
5330         * csu/version.c: Likewise.
5331         * debug/catchsegv.sh: Likewise.
5332         * debug/xtrace.sh: Likewise.
5333         * elf/ldconfig.c: Likewise.
5334         * elf/sprof.c: Likewise.
5335         * iconv/iconv_prog.c: Likewise.
5336         * locale/locale.c: Likewise.
5337         * locale/localedef.c: Likewise.
5338         * malloc/memusage.sh: Likewise.
5339         * malloc/mtrace.pl: Likewise.
5340         * nscd/nscd.c: Likewise.
5341         * posix/getconf.c: Likewise.
5343 2001-01-04  Mark Kettenis  <kettenis@gnu.org>
5345         * include/stdio.h: Only provide __getwc_unlocked prototype if
5346         USE_IN_LIBIO is defined.
5348 2001-01-04  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5350         * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code
5351         handling.
5353 2001-01-03  Andreas Schwab  <schwab@suse.de>
5355         * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias.
5356         * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias.
5358         * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias.
5359         * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix
5360         strtoull alias.
5361         * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias.
5362         * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix
5363         wcstoull alias.
5365         * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this
5366         directory.
5367         * sysdeps/generic/strtol_l.c: Likewise.
5368         * sysdeps/generic/strtoul_l.c: Likewise.
5369         * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c.
5371         * sysdeps/wordsize-64/strtol_l.c: Fix alias.
5372         * sysdeps/wordsize-64/strtoul_l.c: Likewise.
5373         * sysdeps/wordsize-64/wcstol_l.c: Fix alias.
5374         * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
5376 2001-01-04  Andreas Jaeger  <aj@suse.de>
5378         * nss/nsswitch.c: Include files for missing prototypes, remove
5379         buggy declaration of prototypes.
5381 2001-01-03  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
5383         * resolv/Versions: Fix bracing.
5384         * sysdeps/powerpc/soft-fp/Versions: Likewise.
5385         * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
5387 2001-01-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
5389         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
5391 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
5393         * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
5394         Suggested by Minko Markov <mmarkov@home.com>.
5396 2001-01-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
5398         * sysdeps/powerpc/elf/start.S (__data_start): Make it global.
5399         * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
5400         the failing symbol.
5401         (__process_machine_rela): Pass symbol to dl_reloc_overflow().
5403 2001-01-02  Ben Collins  <bcollins@debian.org>
5405         * time/tzset.c (tzset_internal): Make sure we fall back to UTC
5406         if TZ is not set and TZDEFAULT is not present.
5408 2001-01-01  Ben Collins  <bcollins@debian.org>
5410         * string/strings.h: Make sure we declare our functions even if
5411         string.h is already included, based on whether or not __USE_BSD is
5412         defined.
5414 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
5416         * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
5417         other dlopen() and dlsym().
5418         Based on a patch by Ben Collins <bcollins@debian.org>.
5420 2001-01-02  Andreas Jaeger  <aj@suse.de>
5422         * dlfcn/errmsg1.c (main): Call dlerror initially.
5423         Reported by Ben Collins <bcollins@debian.org>.
5425 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
5427         * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
5428         value is ignored if the selected locale is the C locale.
5429         * intl/tst-gettext.c: Set locale for above change.
5430         * intl/tst-translit.c: Likewise.
5432 2001-01-02  Andreas Jaeger  <aj@suse.de>
5434         * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
5435         (_IO_switch_to_wget_mode): Likewise.
5436         (_IO_sputbackwc): Likewise.
5437         (_IO_sungetwc): Use wint_t for result.
5439         * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done.
5441         * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct
5442         signedness.
5444         * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked
5445         to (int) to avoid warnings.
5446         * stdio-common/printf_fp.c (putc): Likewise.
5447         * stdio-common/printf_size.c (putc): Likewise.
5449         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make
5450         constant unsigned.
5452 2001-01-01  Andreas Jaeger  <aj@suse.de>
5454         * inet/rcmd.c (rcmd_af): Use socklen_t for len.
5456 2000-12-31  Andreas Jaeger  <aj@suse.de>
5458         * include/libc-internal.h: Add prototype for __libc_freeres.
5460         * sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
5461         for prototypes, remove redundant prototypes.
5462         * gmon/gmon.c: Likewise.
5463         * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
5464         * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
5465         * malloc/mtrace.c: Likewise.
5467         * sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
5468         prototypes.
5469         * elf/soinit.c: Likewise.
5470         * sysdeps/generic/prof-freq.c: Likewise.
5471         * sysdeps/mach/hurd/profil.c: Likewise.
5472         * debug/noophooks.c: Likewise.
5473         * debug/pcprofile.c: Likewise.
5474         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
5475         * sysdeps/generic/get_clockfreq.c: Likewise.
5476         * malloc/set-freeres.c: Likewise.
5478         * locale/localeinfo.h: Add internal prototypes.
5480         * elf/rtld.c (dl_main): Fix prototype.
5482         * iconvdata/tst-table-to.c (main): Use return instead of exit to
5483         avoid warning.
5485         * nis/rpcsvc/yp_prot.h: Remove __P.
5486         * nis/rpcsvc/ypupd.h: Likewise.
5487         * nis/rpcsvc/yp.h: Likewise.
5489         * sunrpc/rpc_main.c: Add noreturn attributes.
5490         * sunrpc/rpc_scan.h: Likewise.
5492         * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.
5494         * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.
5496         * sunrpc/proto.h: Add noreturn attributes to error and crash.
5498         * posix/bsd-getpgrp.c: Add prototype to avoid warning.
5500         * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.
5502         * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.
5504         * include/rpc/rpc_msg.h: Add prototypes for some functions.
5505         * include/rpc/auth.h: Likewise.
5506         * include/rpc/auth_des.h: Likewise.
5507         * include/rpc/clnt.h: Likewise.
5508         * include/rpc/rpc.h: Likewise.
5509         * include/rpc/svc.h: Likewise.
5510         * include/rpc/svc_auth.h: Likewise.
5512         * include/rpc/des_crypt.h: New file.
5514         * malloc/memusagestat.c (main): Use return instead of exit to
5515         avoid warning.
5516         * io/pwd.c (main): Likewise.
5517         * iconvdata/tst-table-from.c (main): Likewise.
5518         * ctype/test_ctype.c (main): Likewise.
5519         * setjmp/tst-setjmp.c (main): Likewise.
5520         * signal/tst-signal.c (main): Likewise.
5521         * stdlib/tst-strtol.c (main): Likewise.
5522         * stdlib/tst-strtod.c (main): Likewise.
5523         * stdlib/tst-strtoll.c (main): Likewise.
5524         * stdlib/tst-xpg-basename.c (main): Likewise.
5525         * dirent/tst-seekdir.c (main): Likewise.
5526         * grp/testgrp.c (main): Likewise.
5527         * inet/test_ifindex.c (main): Likewise.
5528         * io/test-utime.c (main): Likewise.
5529         * posix/test-vfork.c (main): Likewise.
5530         * posix/testfnm.c (main): Likewise.
5531         * stdio-common/temptest.c (main): Likewise.
5532         * stdio-common/test_rdwr.c (main): Likewise.
5533         * stdio-common/tst-fileno.c (main): Likewise.
5534         * stdio-common/tst-sscanf.c (main): Likewise.
5535         * stdio-common/tstscanf.c (main): Likewise.
5536         * string/bug-strncat1.c (main): Likewise.
5537         * string/bug-strpbrk1.c (main): Likewise.
5538         * string/bug-strspn1.c (main): Likewise.
5539         * string/test-ffs.c (main): Likewise.
5540         * string/tst-inlcall.c (main): Likewise.
5541         * string/tst-svc.c (main): Likewise.
5542         * timezone/test-tz.c (main): Likewise.
5543         * wctype/test_wcfuncs.c (main): Likewise.
5544         * wctype/test_wctype.c (main): Likewise.
5546         * stdlib/tst-random.c: Add attribute noreturn to fail.
5548 2000-12-28  Wolfram Gloger  <wg@malloc.de>
5550         * malloc/malloc.c (MALLOC_COPY): Handle case if source and
5551         destination overlap.  Assume dest is always below source if
5552         overlapping.
5554 2000-12-30  Ulrich Drepper  <drepper@redhat.com>
5556         * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
5557         object was not yet initialized.
5559 2000-12-28  H.J. Lu  <hjl@gnu.org>
5561         * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
5562         is always consistent even if its dependency is failed.
5564         * elf/dl-open.c (_dl_open): Increment the open count before
5565         calling _dl_close () in case of failure.
5567         * elf/neededtest4.c: New file.
5568         * elf/neededobj5.c: New file.
5569         * elf/neededobj6.c: New file.
5571         * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
5572         (tests): Add neededtest4.
5573         (modules-names): Add neededobj5 and neededobj6.
5574         ($(objpfx)neededobj6.so): New target.
5575         ($(objpfx)neededtest4): New target.
5576         ($(objpfx)neededtest4.out): New target.
5578 2000-12-28  Joseph S. Myers  <jsm28@cam.ac.uk>
5580         * misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
5581         * stdlib/monetary.h: Add strfmon format attributes.
5583 2000-12-28  Roland McGrath  <roland@frob.com>
5585         * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
5586         __mempcpy does it for us.
5588 2000-12-28  Andreas Jaeger  <aj@suse.de>
5590         * sysdeps/generic/dl-environ.c: Add prototype for unsetenv.
5592         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
5593         __new_setrlimit.
5595         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
5596         __old_getrlimit64.
5598         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
5599         __new_getrlimit.
5601         * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
5602         __chown_is_lchown and __real_chown.
5604         * sysdeps/generic/ldsodefs.h: Add noreturn attribute to
5605         _dl_reloc_bad_type.
5607         * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
5608         up GCC's warning about "deprecated use of label at end of compound
5609         statement."
5610         * sunrpc/rpc_cout.c (emit_inline): Likewise.
5612         * gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
5613         prototypes.
5614         Remove struct bb and __bb_head since those are declared by
5615         sys/gmon.h.
5617 2000-12-22  Ben Collins  <bcollins@debian.org>
5619         * manual/charset.texi: Fix typo in description of WCHAR_MAX.
5621         * manual/argp.texi: Document argp_domain as part of struct argp.
5623 2000-12-28  Andreas Jaeger  <aj@suse.de>
5625         * catgets/Makefile (generated): Add sample.SJIS.cat.
5627         * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
5629         * elf/dl-minimal.c: Add prototypes.
5631         * include/locale.h: Add internal prototypes.
5632         * include/sys/gmon.h: Likewise.
5634         * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
5636 2000-12-27  Ben Collins  <bcollins@debian.org>
5638         * elf/dl-open.c (_dl_open): Correctly set the new objname pointer
5639         when reallocating the error strings.
5640         Reported by Kalle Olavi Niemitalo <kon@iki.fi>
5642 2000-12-27  Ulrich Drepper  <drepper@redhat.com>
5644         * dlfcn/Makefile (tests): Add errmsg1.
5645         (modules-names): Add errmsg1mod.
5646         Add rules to run errmsg1.
5647         * dlfcn/errmsg1.c: New file.
5648         * dlfcn/errmsg1mod.c: New file.
5650         * dlfcn/dlerror.c (dlerror): Always create output string which
5651         includes object file name.
5653         * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
5654         if we would go through it only once.
5655         Patch by Rick Gorton <rick.gorton@api-networks.com>.
5657         * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
5658         Patch by Richard Henderson <rth@redhat.com>.
5660 2000-12-27  Jakub Jelinek  <jakub@redhat.com>
5662         * malloc/malloc.c (memmove): Add prototypes.
5663         (MALLOC_MEMMOVE): Define.
5664         (chunk_realloc): Use it instead of MALLOC_COPY if source and
5665         destination might overlap.
5667 2000-12-27  Andreas Jaeger  <aj@suse.de>
5669         * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
5670         function.
5671         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
5672         * locale/programs/locale.c (show_locale_vars): Likewise.
5673         (show_info): Likewise.
5674         * locale/programs/ld-collate.c (collate_output): Likewise.
5675         * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
5676         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
5677         * stdlib/rpmatch.c (rpmatch): Likewise.
5679         * setjmp/tst-setjmp.c: Make local functions static.
5680         * setjmp/jmpbug.c: Likewise.
5681         * signal/tst-signal.c: Likewise.
5682         * stdio-common/tfformat.c: Likewise.
5683         * string/tst-svc.c: Likewise.
5684         * time/clocktest.c: Likewise.
5685         * time/tst-getdate.c: Likewise.
5686         * dirent/list.c: Likewise.
5687         * dirent/opendir-tst1.c: Likewise.
5688         * posix/runtests.c: Likewise.
5689         * posix/tst-getaddrinfo.c: Likewise.
5690         * posix/tst-chmod.c: Likewise.
5691         * posix/wordexp-test.c: Likewise.
5692         * misc/tst-efgcvt.c: Likewise.
5693         * timezone/tst-timezone.c: Likewise.
5694         * rt/tst-clock.c: Likewise.
5695         * rt/tst-shm.c: Likewise.
5696         * rt/tst-aio2.c: Likewise.
5697         * rt/tst-aio3.c: Likewise.
5698         * rt/tst-aio4.c: Likewise.
5699         * rt/tst-aio5.c: Likewise.
5701         * dlfcn/failtest.c: Add prototype for foo.
5703         * dlfcn/glrefmain.c: Add prototype for do_test.
5705         * dlfcn/tst-dladdr.c: Add prototype for do_test.
5707         * string/test-ffs.c (main): Add prototype for nested function.
5709         * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
5711         * nss/XXX-lookup.c: Add prototype to shut up GCC.
5713         * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
5714         setetherent prototype.
5715         Add internal interfaces.
5717         * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
5718         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
5720         * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
5722         * nis/nis_intern.h: Add prototype for __pmap_getnisport.
5724         * nss/nss_files/files-ethers.c: Include netinet/ether.h to get
5725         prototypes, remove struct etherent since it's declared in ether.h.
5726         Fix ntohost declaration.
5728         * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
5730         * include/getopt.h: Add internal interfaces.
5731         * include/termios.h: Likewise.
5732         * include/resolv.h: Likewise.
5733         * include/netdb.h: Likewise.
5734         * include/grp.h: Likewise.
5735         * include/pwd.h: Likewise.
5736         * include/shadow.h: Likewise.
5737         * include/rpc/netdb.h: Likewise.
5738         * include/setjmp.h: Likewise.
5740         * include/stdio.h: Add prototypes for compatibility functions.
5741         * include/grp.h: Likewise.
5742         * include/pwd.h: Likewise.
5743         * include/shadow.h: Likewise.
5745         * include/fenv.h: Define internal interfaces.
5747 2000-12-27  Ulrich Drepper  <drepper@redhat.com>
5749         * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
5750         argument case separately.
5751         * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
5753 2000-12-27  Andreas Jaeger  <aj@suse.de>
5755         * include/sys/wait.h: Add some prototypes.
5756         * Rules (dummy.c): Create also prototype to shut up GCC.
5758 2000-12-27  Andreas Jaeger  <aj@suse.de>
5760         * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
5761         it's not needed at the moment.
5762         * sysdeps/generic/if_index.c (__protocol_available): Likewise.
5763         * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
5765 2000-12-26  Andreas Jaeger  <aj@suse.de>
5767         * libio/getc_u.c: Include stdio.h via system path to get internal
5768         prototypes.
5769         * libio/getwc_u.c: Likewise.
5771         * stdlib/strfmon.c: Fix prototype of __printf_fp.
5773         * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
5774         __printf_fp prototypes to ...
5775         * include/printf.h: ...here.
5777         * include/stdio.h: Add some internal prototypes to shut up GCC.
5778         * include/stdlib.h: Likewise.
5780         * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
5781         declaration.
5783         * include/signal.h: Add prototypes for internal sigpause
5784         interfaces.
5786 2000-12-26  Ulrich Drepper  <drepper@redhat.com>
5788         * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
5789         64bit platforms.  Reported by Dave Gilbert <gilbertd@treblig.org>.
5791         * string/Makefile (tests): Add tst-bswap.
5792         * string/tst-bswap.c: New file.
5794 2000-12-11  Bruno Haible  <haible@clisp.cons.org>
5796         * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
5798 2000-12-26  Ulrich Drepper  <drepper@redhat.com>
5800         * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
5801         Patch by Ed Connell <Ed.Connell@sas.com>.
5803 2000-12-24  Ulrich Drepper  <drepper@redhat.com>
5805         * locale/iso-639.def: Correct one entry.  Add two missing entries.
5807         * locale/iso-4217.def: Change entry for Eritrea.
5808         Reported by Daniel Yacob <yacob@geez.org>.
5810 2000-12-23  Ben Collins  <bcollins@debian.org>
5812         * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
5813         description.
5815         * manual/stdio.texi (Dynamic Output): Document the return value of
5816         asprintf.  Also make the asprintf/snprintf examples a little
5817         better (check for some error returns).
5819 2000-12-22  Andreas Jaeger  <aj@suse.de>
5821         * include/stdio.h: Add __ftrylockfile prototype.
5823 2000-12-21  H.J. Lu  <hjl@gnu.org>
5825         * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
5826         Make sign_exponent element signed.
5828         * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
5829         Fix a typo.
5831         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
5833 2000-12-21  Andreas Jaeger  <aj@suse.de>
5835         * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
5836         * inet/ether_hton.c: Likewise
5837         * inet/ether_ntoh.c: Likewise.
5839         * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
5840         declaration to match prototype.
5842         * include/netinet/ether.h (struct etherent): Declare here so that
5843         all implementations use the same struct.
5845         * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
5846         prototypes.
5847         (struct ether): Removed.
5848         Use struct etherent instead of ether everywhere.
5850         * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
5852         * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
5854         * sunrpc/publickey.c: Include auth_des.h for prototypes.
5856 2000-12-20  Ulrich Drepper  <drepper@redhat.com>
5858         * math/test-misc.c: Add more tests for nextafter functions.
5860         * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
5861         normal correctly.  Correct test for sign.
5862         Based on a patch by HJ Lu.
5864 2000-12-19  Ulrich Drepper  <drepper@redhat.com>
5866         * Makeconfig (preprocess-version): Add -traditional to gcc call.
5867         Cleanup sed calls.
5869 2000-12-19  Andreas Jaeger  <aj@suse.de>
5871         * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
5873         * nis/nis_intern.h: Add prototype for __do_niscall3.
5875         * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
5876         match prototype.
5878         * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
5880         * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
5882         * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
5884 2000-12-18  Ulrich Drepper  <drepper@redhat.com>
5886         * math/test-misc.c: Add more tests for nextafter.
5887         * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
5888         * sysdeps/ieee754/ldbl-96/math_ldbl.h
5889         (ieee_long_double_shape_type): Make sign_exponent element signed.
5891         * manual/message.texi: Add Estonian to plural overview list.
5892         Correct rule for Slavic languages.
5893         Patch by Stanislav Brabec <utx@penguin.cz>.
5895         * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
5897 2000-12-18  Andreas Jaeger  <aj@suse.de>
5899         * test-skeleton.c: Use temp_name_list instead of name_list to
5900         avoid collision with name_list from inet/netgroup.h.
5902         * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
5904         * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
5905         * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
5906         * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
5907         * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
5909         * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
5910         declaration to match prototype.
5911         * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
5912         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
5913         * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
5914         Likewise.
5915         * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
5916         * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
5917         * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
5918         * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
5919         (_nss_nis_getservbyport_r): Likewise.
5920         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
5921         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
5922         * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
5923         (_nss_nis_setnetent): Likewise
5924         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
5925         (_nss_nis_endnetgrent): Likewise.
5926         * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
5927         Likewise.
5928         (_nss_nisplus_setnetgrent): Likewise.
5929         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
5930         * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
5931         * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
5932         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
5933         Likewise.
5934         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
5935         Likewise.
5936         * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
5937         Likewise.
5938         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
5939         Likewise.
5940         * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
5941         * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
5942         * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
5943         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
5944         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
5945         (_nss_dns_getnetbyaddr_r): Likewise.
5947 2000-12-17  Andreas Jaeger  <aj@suse.de>
5949         * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
5950         parameter.
5952         * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
5953         unused attribute to shut up gcc warnings.
5955         * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
5956         * sysdeps/generic/k_tanl.c: Likewise.
5957         * sysdeps/generic/k_cosl.c: Likewise.
5958         * sysdeps/generic/e_j0l.c: Likewise.
5959         * sysdeps/generic/e_j1l.c: Likewise.
5960         * sysdeps/generic/e_jnl.c: Likewise.
5961         * sysdeps/generic/e_lgammal_r.c: Likewise.
5963         * elf/vismain.c: Move prototypes for functions in vismod*.c to
5964         vismod.h.
5965         * elf/vismod.h: New file.
5966         * elf/Makefile (distribute): Add vismod.h.
5967         * elf/vismod1.c: Include vismod.h.
5968         * elf/vismod2.c: Likewise.
5969         * elf/vismod3.c: Likewise.
5971         * elf/constload3.c: Add prototype declarations to shut up gcc.
5972         * elf/failobj.c: Likewise.
5973         * elf/nodelmod3.c: Likewise.
5974         * elf/filtmod1.c: Likewise.
5975         * elf/filtmod2.c: Likewise.
5976         * elf/reldepmod1.c: Likewise.
5977         * elf/reldepmod2.c: Likewise.
5978         * elf/reldepmod3.c: Likewise.
5979         * elf/reldepmod4.c: Likewise.
5980         * elf/unload2dep.c: Likewise.
5981         * elf/unload2mod.c: Likewise.
5982         * elf/ltglobmod1.c: Likewise.
5983         * elf/pathoptobj.c: Likewise.
5984         * elf/neededobj1.c: Likewise.
5985         * elf/neededobj2.c: Likewise.
5986         * elf/neededobj3.c: Likewise.
5987         * elf/neededobj4.c: Likewise.
5988         * elf/nextmod1.c: Likewise.
5989         * elf/nextmod2.c: Likewise.
5991         * locale/programs/ld-collate.c (collate_finish): Don't use labels
5992         at end of compound statement.
5993         * locale/programs/locale.c (show_info): Likewise.
5994         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
5996 2000-12-16  Jakub Jelinek  <jakub@redhat.com>
5998         * catgets/gencat.c (read_input_file): Avoid calling obstack_free
5999         with a pointer not returned by obstack_ functions.
6001 2000-12-16  Ulrich Drepper  <drepper@redhat.com>
6003         * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
6004         version.
6005         (struct stat64): Likewise.
6006         Reported by Michael Keezer <mkeezer@redhat.com>.
6008         * timezone/asia: Update from tzdata2000h.
6009         * timezone/australasia: Likewise.
6010         * timezone/backward: Likewise.
6011         * timezone/europe: Likewise.
6012         * timezone/northamerica: Likewise.
6013         * timezone/southamerica: Likewise.
6014         * timezone/zone.tab: Likewise.
6016 2000-12-14  Jakub Jelinek  <jakub@redhat.com>
6018         * io/ftw.c (ftw_dir): If process_entry returned non-zero result
6019         and dir.stream is NULL, only free dir.content.
6020         * io/ftwtest.c (cb, main): Add --early-exit option to test it.
6021         * io/ftwtest-sh: Test with --early-exit.
6023 2000-12-13  Jakub Jelinek  <jakub@redhat.com>
6025         * misc/efgcvt.c (FCVT_MAXDIG): Define.
6026         (FCVT_BUFPTR): New variable.
6027         (fcvt): If fcvt_r returns -1 on the static short buffer,
6028         try to malloc a sufficiently large one and retry.
6029         (free_mem): New function.
6030         * misc/qefgcvt.c (FCVT_MAXDIG): Define.
6031         * misc/tst-efgcvt.c (fcvt_tests): Add new test.
6033 2000-12-15  Ulrich Drepper  <drepper@redhat.com>
6035         * misc/dirname.c (dirname): Fix search for second to last slash.
6037 2000-12-13  Andreas Jaeger  <aj@suse.de>
6039         * misc/tst-dirname.c (main): Fix typo in test to really use
6040         the examples from Unix98.
6041         Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
6043 2000-12-09  H.J. Lu  <hjl@gnu.org>
6045         * sysdeps/ia64/fpu/s_fabs.S: New file.
6046         * sysdeps/ia64/fpu/s_fabsf.S: New file.
6047         * sysdeps/ia64/fpu/s_fabsl.S: New file.
6049 2000-12-15  Andreas Jaeger  <aj@suse.de>
6051         * stdio-common/scanf9.c (main): Reformat and change to avoid
6052         warnings.
6054         * stdio-common/tstdiomisc.c: Make local functions static.
6055         * stdio-common/tst-printf.c: Likewise.
6057         * elf/constload2.c: Add prototype declarations to shut up gcc.
6058         * elf/dep1.c: Likewise.
6059         * elf/dep2.c: Likewise.
6060         * elf/dep3.c: Likewise.
6061         * elf/dep4.c: Likewise.
6062         * elf/ltglobmod2.c: Likewise.
6064         * libio/fmemopen.c: Make local functions static.
6066         * elf/Makefile (distribute): Added testobj.h.
6068         * elf/testobj.h: New file.
6070         * elf/testobj1.c: Include testobj.h and move prototype
6071         declarations to testobj.h.
6072         * elf/testobj2.c: Likewise.
6073         * elf/testobj3.c: Likewise.
6074         * elf/testobj4.c: Likewise.
6075         * elf/testobj5.c: Likewise.
6076         * elf/testobj6.c: Likewise.
6077         * elf/testobj1_1.c: Likewise.
6078         * elf/preloadtest.c: Likewise.
6080 2000-12-15  Ben Collins  <bcollins@debian.org>
6082         * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
6083         Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
6085 2000-12-14  H.J. Lu  <hjl@gnu.org>
6087         * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
6088         field in a float is 8 bits, not 11 bits.
6090 2000-12-13  Jakub Jelinek  <jakub@redhat.com>
6092         * math/test-misc.c (main): Adjust m for IEEE quad long double.
6094 2000-12-13  Andreas Jaeger  <aj@suse.de>
6096         * manual/message.texi (Using gettextized software): Fix typo.
6098         * manual/charset.texi (Converting a Character): Fix mbstouwcs
6099         program to compile.
6100         Patch by Martin Buchholz <martin@xemacs.org>.
6102         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
6103         Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
6105 2000-12-11  Andreas Jaeger  <aj@suse.de>
6107         * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
6108         kernel_sigset_t and use it.
6109         Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
6111 2000-12-10  Richard Henderson  <rth@redhat.com>
6113         * sysdeps/alpha/alphaev67/fpu/Implies: New file.
6114         * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
6115         * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
6117 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
6119         * sysdeps/alpha/htonl.S: Fix a typo.
6121 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
6123         * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
6125 2000-12-10  Andreas Jaeger  <aj@suse.de>
6127         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
6128         cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
6129         Drepper <drepper@redhat.com>.
6131 2000-12-09  Andreas Jaeger  <aj@suse.de>
6133         * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
6135         * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
6136         generic version.
6137         Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
6139         * locale/programs/ld-collate.c (handle_ellipsis): Fix format
6140         string.
6142         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
6143         format string.
6145         * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
6146         * nscd/connections.c (handle_request): Likewise.
6147         * nscd/pwdcache.c (addpwbyname): Likewise.
6148         * nscd/grpcache.c (addgrbyname): Likewise.
6150         * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
6152 2000-12-09  Ulrich Drepper  <drepper@redhat.com>
6154         * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
6156         * Makeconfig (default_cflags): Make -O2 the default for stable
6157         releases.
6159 2000-12-08  H.J. Lu  <hjl@gnu.org>
6161         * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
6162         * sysdeps/ia64/fpu/s_isinf.S: This.
6163         Add a .pred.rel.mutex note to avoid false report.
6165         * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
6166         * sysdeps/ia64/fpu/s_isnan.S: This.
6168         * sysdeps/ia64/fpu/s_fpclassify.S: New file.
6169         * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
6170         * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
6171         * sysdeps/ia64/fpu/s_isinff.S: New file.
6172         * sysdeps/ia64/fpu/s_isinfl.S: New file.
6173         * sysdeps/ia64/fpu/s_isnanf.S: New file.
6174         * sysdeps/ia64/fpu/s_isnanl.S: New file.
6175         * sysdeps/ia64/fpu/s_finite.S: New file.
6176         * sysdeps/ia64/fpu/s_finitef.S: New file.
6177         * sysdeps/ia64/fpu/s_finitel.S: New file.
6178         * sysdeps/ia64/fpu/s_signbit.S: New file.
6179         * sysdeps/ia64/fpu/s_signbitf.S: New file.
6180         * sysdeps/ia64/fpu/s_signbitl.S: New file.
6181         * sysdeps/ia64/fpu/s_copysign.S: New file.
6182         * sysdeps/ia64/fpu/s_copysignf.S: New file.
6183         * sysdeps/ia64/fpu/s_copysignl.S: New file.
6185 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
6187         * math/libm-test.inc (main): Fix typos in messages.
6189         * string/stratcliff.c: Add test for rawmemchr.
6191 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
6193         * elf/dl-open.c (_dl_open): If objname points right after errstring,
6194         allocate it together with errstring using alloca.
6195         * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
6196         to "", because it might point to local stack.
6198 2000-12-05  H.J. Lu  <hjl@gnu.org>
6200         * nss/Makefile (routines): Add getnssent and getnssent_r.
6201         * nss/nsswitch.h (__nss_setent): New internal NSS function.
6202         (__nss_endent): Likewise.
6203         (__nss_getent_r): Likewise.
6204         (__nss_getent): Likewise.
6205         * nss/getnssent_r.c: New file.
6206         * nss/getnssent.c: New file.
6207         * nss/getXXent.c (H_ERRNO_VAR): Updated.
6208         (GETFUNC_NAME): Updated to call __nss_getent ().
6209         * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
6210         (STAYOPEN_TMPVAR): Updated.
6211         (STAYOPEN_VAR): Updated.
6212         (SETFUNC_NAME): Updated to call __nss_setent ().
6213         (ENDFUNC_NAME): Updated to call __nss_endent ().
6214         (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
6216 2000-12-08  Andreas Jaeger  <aj@suse.de>
6218         * nscd/dbg_log.h (dbg_log): Correct attribute.
6220 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
6222         * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
6223         cp + len.  Compute where from dirname.
6224         Reported by <jreiser@BitWagon.com>.
6226 2000-12-08  Richard Henderson  <rth@twiddle.net>
6228         * sysdeps/alpha/_mcount.S: Fix typo.
6229         * sysdeps/alpha/strncpy.S: Likewise.
6231         * sysdeps/alpha/alphaev6/Implies: New file.
6232         * sysdeps/alpha/alphaev67/Implies: New file.
6233         * sysdeps/alpha/alphaev67/ffs.S: New file.
6234         * sysdeps/alpha/alphaev67/ffsll.S: New file.
6235         * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
6236         * sysdeps/alpha/alphaev67/stpcpy.S: New file.
6237         * sysdeps/alpha/alphaev67/stpncpy.S: New file.
6238         * sysdeps/alpha/rawmemchr.S: New file.
6239         * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
6240         * sysdeps/alpha/strcpy.S: Likewise.
6242         From GMP 3.1.1:
6243         * sysdeps/alpha/alphaev6/addmul_1.s: New file.
6245         From rick.gorton@alpha-processor.com:
6246         * sysdeps/alpha/alphaev6/memchr.S: New file.
6247         * sysdeps/alpha/alphaev6/memcpy.S: New file.
6248         * sysdeps/alpha/alphaev6/memset.S: New file.
6249         * sysdeps/alpha/alphaev6/stxcpy.S: New file.
6250         * sysdeps/alpha/alphaev6/stxncpy.S: New file.
6251         * sysdeps/alpha/alphaev67/strcat.S: New file.
6252         * sysdeps/alpha/alphaev67/strchr.S: New file.
6253         * sysdeps/alpha/alphaev67/strlen.S: New file.
6254         * sysdeps/alpha/alphaev67/strncat.S: New file.
6255         * sysdeps/alpha/htonl.S: Use a shorter sequence.
6257 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
6259         * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
6260         Reported by <pspencer@fields.utoronto.ca>.
6262 2000-12-07  Jes Sorensen  <jes@linuxcare.com>
6264         * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
6265         Pointed out by Hans Boehm.
6267 2000-12-07  H.J. Lu  <hjl@gnu.org>
6269         * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
6271 2000-12-07  Andreas Jaeger  <aj@suse.de>
6273         * misc/error.c: Add format attributes for __error and __error_at_line.
6275         * nscd/dbg_log.h: Add format attribute.
6277 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
6279         * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
6280         Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
6282 2000-12-07  Dan Pop  <Dan.Pop@cern.ch>
6284         * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
6286 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
6288         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
6289         (sysdep_routines): Add uitrunc.
6290         * sysdeps/unix/sysv/aix/uitrunc.c: New file.
6291         Patches by Michael Keezer <mkeezer@redhat.com>.
6293 2000-12-06  Roland McGrath  <roland@frob.com>
6295         * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
6296         argument data, since it will be used to copy out too (for INOUT).
6297         Reported by Marcus Brinkmann <marcus@gnu.org>.
6299         * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
6300         (__ioctl): Use uintptr_t instead of unsigned long int.
6302 2000-12-06  Jim Wilson  <wilson@redhat.com>
6304         * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
6306 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
6308         * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
6309         x.5 rounding correctly.
6311 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
6313         * stdio-common/perror.c (perror): Conditionalize code dealing with
6314         wide-oriented streams on USE_IN_LIBIO.
6316 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
6318         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
6319         as internal_function.
6321 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
6323         * sysdeps/alpha/elf/start.S (__data_start): Define.
6325 2000-12-05  H.J. Lu  <hjl@gnu.org>
6327         * nss/getXXent_r.c (setup): Change the return type to int.
6329 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
6331         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
6332         (sysdep_routines): Add restf and savef.
6333         * sysdeps/unix/sysv/aix/restf.c: New file.
6334         * sysdeps/unix/sysv/aix/savef.c: New file.
6335         Patches by Michael Keezer <mkeezer@redhat.com>.
6337         * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
6338         if O_DIRECTORY is not defined.
6339         Patch by Michael Keezer <mkeezer@redhat.com>.
6341         * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
6342         Patch by Michael Keezer <mkeezer@redhat.com>.
6344         * locale/programs/linereader.c (get_toplvl_escape): Recognize more
6345         than 4 bytes in escape sequence.
6346         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
6348 2000-12-05  Andreas Jaeger  <aj@suse.de>
6350         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
6351         set mips2.
6353         * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
6355         * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
6357         * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
6358         Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
6360         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
6361         internal_function.
6362         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
6363         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
6365         * sysdeps/generic/dl-cache.c: Remove declaration of
6366         _dl_sysdep_read_whole_file.
6368         * elf/dl-load.c (_dl_map_object): Remove declaration of
6369         _dl_load_cache_lookup.
6371         * sysdeps/generic/ldsodefs.h: Add declarations of
6372         _dl_load_cache_lookup, _dl_unload_cache,
6373         _dl_sysdep_read_whole_file, _dl_sysdep_start and
6374         _dl_sysdep_start_cleanup.
6376         * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
6377         now.
6379         * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
6380         * sysdeps/generic/dl-environ.c: Likewise.
6382         * stdio-common/printf_fp.c: Include <gmp.h> instead of
6383         <stdlib/gmp.h>.
6384         * math/atest-exp.c: Likewise.
6385         * math/atest-exp2.c: Likewise.
6386         * math/atest-sincos.c: Likewise.
6387         * stdio-common/_itoa.c: Likewise.
6388         * stdio-common/_itowa.c: Likewise.
6390         * include/gmp.h: New file with internal prototypes.
6392         * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
6393         here to...
6394         * include/setjmp.h: ...here.
6396         * locale/Makefile (routines): Remove codeset_name since it's not
6397         needed anywhere.
6399         * locale/codeset_name.c: Removed.
6401 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
6403         * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
6405 2000-12-05  Andreas Jaeger  <aj@suse.de>
6407         * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
6409 2000-12-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
6411         * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
6412         available.
6414 2000-12-05  Andreas Jaeger  <aj@suse.de>
6416         * nss/test-netdb.c: Mark local functions as static to avoid
6417         warnings.
6418         (main): Use return to silence warning.
6420         * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
6422         * stdio-common/test-popen.c: Mark local functions as static to
6423         avoid warnings.
6424         (main): Use return to silence warning.
6426         * stdlib/testsort.c (compare): Mark as static to avoid warning.
6428         * assert/test-assert.c: Mark local functions as static to avoid
6429         warnings.
6430         * assert/test-assert-perr.c: Likewise.
6432         * math/libm-test.inc (main): Use return to silence warnings.
6434 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
6436         * math/fenv.h: Fix typo in comment.
6438         * math/test-misc.c (main): Add a few more over and underflow tests
6439         for scalb.
6441         * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
6442         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6443         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6444         * math/w_scalb.c: Don't use matherr except in SVID mode.
6445         * math/w_scalbf.c: Likewise.
6446         * math/w_scalbl.c: Likewise.
6447         * math/test-misc.c: Add test for NaN and scalbl.
6448         Reported by Fred J. Tydeman <tydeman@tybor.com>.
6450 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
6452         * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
6453         * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
6454         * include/libc-symbols.h (strong_alias): Define special version
6455         for HAVE_ASM_GLOBAL_DOT_NAME.
6456         (weak_alias): Likewise.
6457         * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
6458         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
6459         (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
6460         getutxline, pututxline, and utmpxname.
6461         * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
6462         * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
6463         * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
6464         * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
6465         * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
6466         * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
6467         * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
6468         * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup.  Add comments.
6469         * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
6470         Patches by Michael Keezer <mkeezer@redhat.com>.
6472 2000-12-04  H.J. Lu  <hjl@gnu.org>
6474         * configure.in: Change --with-oldest-abi=ABI to
6475         --enable-oldest-abi=ABI.
6477 2000-12-02  Bruno Haible  <haible@clisp.cons.org>
6479         * stdio-common/perror.c (perror): If stderr is wide-oriented, use
6480         fwprintf instead of fprintf.
6482 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
6484         * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
6485         DECIMAL_DIG definitions.
6486         * sysdeps/arm/fpu/bits/mathdef.h: Likewise
6487         * sysdeps/generic/bits/mathdef.h: Likewise
6488         * sysdeps/i386/fpu/bits/mathdef.h: Likewise
6489         * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
6490         * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
6491         * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
6492         * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
6493         * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
6495 2000-12-03  Ulrich Drepper  <drepper@redhat.com>
6497         * math/test-fenv.c (main): Use return instead of exit to avoid warning.
6499         * math/atest-exp.c: Mark local functions as static to avoid warnings.
6500         * math/atest-exp2.c: Likewise.
6501         * math/atest-sincos.c: Likewise.
6503         * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
6504         Reported by Fred J. Tydeman <tydeman@tybor.com>.
6506         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
6507         the handling of denormalized numbers.
6509         * math/test-misc.c (main): Test for fpclassify and pseudo denormal
6510         numbers on x86.
6511         * sysdeps/i386/fpu/fpclassifyl.c: New file.
6513         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
6514         pseudo denormal representation of LDBL_MIN.
6516         * iconvdata/SJIS.irreversible: Remove unnecessary entries.
6517         * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
6519         * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
6520         * iconvdata/jis0208.c: Likewise.
6521         * iconvdata/jis0212.c: Likewise.
6522         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
6524         * math/test-misc.c (main): More tests for frexp and some for
6525         fpclassify and isnormal.
6527         * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
6528         test for subnormal.
6529         Reported by Fred J. Tydeman <tydeman@tybor.com>.
6531         * math/test-misc.c (main): Add tests for frexp.
6532         Reported by Fred J. Tydeman <tydeman@tybor.com>.
6533         * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
6535 2000-12-02  H.J. Lu  <hjl@gnu.org>
6537         * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
6538         '\0' to wcschr.
6540 2000-12-02  Ulrich Drepper  <drepper@redhat.com>
6542         * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
6543         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6544         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6546         * sysdeps/generic/glob.c: Adjust types of several variables to
6547         avoid warnings.
6549 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
6551         * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
6553 2000-11-30  Roland McGrath  <roland@frob.com>
6555         * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
6556         (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
6557         allow multiple instances using the same function name in one file.
6559 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
6561         * configure.in: Correct test for pserver CVS access.
6563 2000-11-28  H.J. Lu  <hjl@gnu.org>
6565         * libio/libio.h: Remove extra "#if ... #endif".
6567 2000-11-29  H.J. Lu  <hjl@gnu.org>
6569         * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
6571 2000-12-01  H.J. Lu  <hjl@gnu.org>
6573         * nss/getXXbyYY_r.c: Fix verioned symbol handling.
6574         * nss/getXXent_r.c: Likewise.
6575         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6577 2000-11-30  H.J. Lu  <hjl@gnu.org>
6579         * scripts/abi-versions.awk (oldest_abi): New variable.
6580         Handle the oldest ABI supported.
6582         * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
6583         for scripts/abi-versions.awk.
6585         * configure.in: Add --with-oldest-abi=ABI.
6586         * configure: Rebuild.
6588         * config.make.in (oldest-abi): New.
6590         * config.h.in (GLIBC_OLDEST_ABI): New.
6592         * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
6594 2000-11-30  Jakub Jelinek  <jakub@redhat.com>
6596         * locale/setlocale.c (setname): Free for all categories, not just
6597         LC_ALL.
6598         (setlocale): Store a copy of string passed by user, not the string
6599         itself.
6601 2000-11-30  Roland McGrath  <roland@frob.com>
6603         * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
6604         rather than _hurd_fd_subinit, so it happens after it's safe to use
6605         libc facilities like malloc.
6607 2000-11-28  Andreas Jaeger  <aj@suse.de>
6609         * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
6610         declaration, adjust declaration of __syscall_getdents to match
6611         kernel.
6613 2000-11-29  H.J. Lu  <hjl@gnu.org>
6615         * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
6617 2000-11-29  Andreas Jaeger  <aj@suse.de>
6619         * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
6621 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
6623         * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
6624         * dlfcn/defaultmod2.c: Likewise.
6625         * dlfcn/dlopen.c: Likewise.
6626         * dlfcn/dlopenold.c: Likewise.
6627         * dlfcn/failtestmod.c: Likewise.
6628         * dlfcn/glreflib1.c: Likewise.
6629         * dlfcn/glreflib2.c: Likewise.
6630         * dlfcn/eval.c: Likewise.  Add attributes.
6632         * ctype/ctype-extn.c: Define isblank and not __isblank.
6634         * time/strftime.c: Add const where necessary to avoid warnings.
6635         * time/strptime.c (strptime_internal): Add casts to avoid warnings.
6637 2000-11-22  Paul Eggert  <eggert@twinsun.com>
6639         * time/strftime.c (my_strftime): Do not invoke mbrlen with a
6640         size of (size_t) -1; it's not portable.
6642 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
6644         * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
6645         crappy i486 FPU.
6646         Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
6648 2000-11-14  Jes Sorensen  <jes@linuxcare.com>
6650         * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
6652         * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
6653         _mcount is required by profiled binaries.
6655         * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
6656         * sysdeps/ia64/machine-gmon.h: ...here.
6658 2000-11-28  Masahide Washizawa  <washi@jp.ibm.com>
6660         * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
6661         (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
6662         and ibm1129.h.
6663         * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
6664         IBM1129.
6665         * iconvdata/ibm922.c: New file.
6666         * iconvdata/ibm922.h: New file.
6667         * iconvdata/ibm1124.c: New file.
6668         * iconvdata/ibm1124.h: New file.
6669         * iconvdata/ibm1129.c: New file.
6670         * iconvdata/ibm1129.h: New file.
6671         * iconvdata/testdata/IBM922: New file.
6672         * iconvdata/testdata/IBM922..UTF8: New file.
6673         * iconvdata/testdata/IBM1124: New file.
6674         * iconvdata/testdata/IBM1124..UTF8: New file.
6675         * iconvdata/testdata/IBM1129: New file.
6676         * iconvdata/testdata/IBM1129..UTF8: New file.
6678 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
6680         * catgets/gencat.c (normalize_line): Take extra parameter with escape
6681         character.  Change callers.
6682         (open_conversion): Determine mapping of 0x5c as wchar_t value.
6683         * catgets/Makefile: Add rules to build and run test-gencat.
6684         * catgets/sample.SJIS: New file.
6685         * catgets/test-gencat.c: New file.
6686         * catgets/test-gencat.sh: New file.
6687         Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
6689 2000-11-28  Andreas Jaeger  <aj@suse.de>
6691         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
6692         Linux version.
6694 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
6696         * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
6698 2000-11-28  Andreas Jaeger  <aj@suse.de>
6700         * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
6701         __flexarr.
6702         * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
6703         Likewise.
6705 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
6707         * misc/getusershell.c: Make strings in okshells array const.
6708         * misc/regexp.c: Add const to cast to avoid warnings.
6709         * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
6710         * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
6711         __setresuid.
6712         * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
6713         setresgid.
6714         * misc/error.c: Add prototypes for __error and __error_at_line.
6715         * misc/mntent_r.c (__getmntent_r): Add break at end of switch
6716         statement to avoid warning.
6717         * test-skeleton.c: Mark timeout_handler with noreturn.
6718         * iconv/skeleton.c (get16u): Add const to cast.
6719         (get32u): Likewise.
6720         * iconvdata/gb18030.c: Likewise.
6721         * iconvdata/iso-2022-cn-ext.c: Likewise.
6722         * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
6723         * iconvdata/big5.c: Likewise.
6724         * iconvdata/big5hkscs.c: Likewise.
6725         * iconvdata/iso_6937.c: Likewise.
6726         * iconvdata/iso_6937-2.c: Likewise.
6727         * iconvdata/t.61.c: Likewise.
6728         * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
6729         * iconvdata/unicode.c: Likewise.
6730         * iconvdata/utf-16.c: Likewise.
6731         * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
6732         * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
6733         with little code shuffling.
6735         * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
6736         the problems introduced when the user selects -O3.
6738         * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
6739         * misc/sys/cdefs.h: Define __flexarr.
6740         Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
6742         * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
6743         * iconv/skeleton.c: Likewise.
6744         * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
6745         * iconv/loop.c (get16): Add const to cast.
6746         (get32): Likewise.
6748 2000-11-27  Andreas Jaeger  <aj@suse.de>
6750         * login/programs/pt_chown.c (do_pt_chown): Mark function as static
6751         to avoid warning.
6752         * login/programs/utmpdump.c (print_entry): Likewise.
6754 2000-11-25  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
6756         * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
6757         in a single asm as they may be used to access other stored
6758         registers.
6759         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
6761 2000-11-27  Andreas Jaeger  <aj@suse.de>
6763         * rt/tst-aio.c: Mark test functions as static to avoid warnings.
6764         * rt/tst-aio64.c: Likewise.
6766 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
6768         * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
6769         for gencat run.
6770         (libc.cat): Likewise.
6771         * catgets/gencat.c: Implement handling of message catalogs encoded
6772         with stateful character sets.
6773         Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
6775 2000-11-26  Ulrich Drepper  <drepper@redhat.com>
6777         * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
6779         * inet/getnameinfo.c: Adjust casts to avoid warnings.
6780         * inet/rcmd.c: Likewise.
6781         * inet/ruserpass.c: Likewise.
6782         * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
6783         IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
6784         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
6785         IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
6786         IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
6787         IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
6788         * include/aliases.h: Add prototypes for internal __getalias* functions.
6789         * include/netdb.h: Add prototypes for __old_gethostent_r,
6790         __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
6791         __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
6792         __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
6793         __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
6794         * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
6795         __old_getrpcbynumber_r, __old_getrpcent_r.
6797         * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
6798         __getrpcent_r prototypes.
6800 2000-11-25  Ulrich Drepper  <drepper@redhat.com>
6802         * string/strcoll.c: Add casts to avoid warnings.
6803         * string/strnlen.c: Likewise.
6804         * string/strxfrm.c: Likewise.
6805         * sysdeps/generic/_strerror.c: Likewise.
6806         * sysdeps/generic/memrchr.c: Likewise.
6807         * sysdeps/generic/strcasestr.c: Likewise.
6808         * sysdeps/generic/strstr.c: Likewise.
6810         * locale/weight.h (findidx): Add const to cast to avoid warning.
6812         * elf/loadfail.c: Little cosmetic changes to avoid warnings.
6813         * elf/loadtest.c: Likewise.
6814         * elf/multiload.c: Likewise.
6815         * elf/next.c: Likewise.
6816         * elf/nodelete.c: Likewise.
6817         * elf/noload.c: Likewise.
6818         * elf/order.c: Likewise.
6819         * elf/origtest.c: Likewise.
6820         * elf/preloadtest.c: Likewise.
6821         * elf/restest1.c: Likewise.
6823         * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
6824         parameter of asm must be in %ecx.
6826         * string/tester.c: Mark test functions as static to avoid warnings.
6828         * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
6829         preserve value over different gconv-modules files.
6831 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
6833         * locale/findlocale.c: Add casts to avoid warnings.
6834         * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
6835         * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
6836         to avoid warnings.
6837         * misc/tsearch.c (const_node): New type.
6838         (trecurse): Correct casts to avoid warnings.
6839         (__twalk): Likewise.
6840         * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
6841         LONG_BIT.
6843         * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
6845         * test-skeleton.c: Mark local functions as static to avoid warnings.
6847 2000-11-23  H.J. Lu  <hjl@gnu.org>
6849         * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
6850         support the background job.
6851         Fix a typo.
6853 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
6855         * iconv/gconv_conf.c (insert_module): Replace old entry if new one
6856         has same names but lower cost.
6858 2000-11-23  Jakub Jelinek  <jakub@redhat.com>
6860         * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
6861         which never occur during bootstrap.
6862         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6864 2000-11-23  Andreas Jaeger  <aj@suse.de>
6866         * nss/nss_files/files-hosts.c: Remove getipnodebyname.
6868         * nss/Versions: Remove _nss_files_getipnodebyname_r.
6870         * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
6872 2000-11-18  Martin Buchholz  <martin@xemacs.org>
6874         * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
6875         (called++) return;'
6877 2000-11-21  Alan Modra  <alan@linuxcare.com.au>
6879         * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
6881         * csu/abi-note.S: Correct comment for operating system number.
6883 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
6885         * Versions.def: Add GLIBC_2.2.1 for glibc.
6887 2000-11-22  Andreas Schwab  <schwab@suse.de>
6889         * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
6890         * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
6892 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
6894         * rt/aio_suspend.c (aio_suspend): Convert timeout value to
6895         absolute time for pthread_cond_timedwait call.
6896         Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
6898         * rt/Makefile (tests): Add tst-aio6.
6899         * rt/tst-aio6.c: New file.
6901 2000-11-23  Andreas Jaeger  <aj@suse.de>
6903         * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
6905 2000-11-22  Andreas Jaeger  <aj@suse.de>
6907         * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
6909 2000-11-21  Martin Schwidefsky  <schwidefsky@de.ibm.com>
6911         * sysdeps/s390/bits/string.h: Make strncat always add a \0.
6913 2000-11-21  Andreas Schwab  <schwab@suse.de>
6915         * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
6916         * sysdeps/arm/setjmp.S: Likewise.
6917         * sysdeps/arm/fpu/setjmp.S: Likewise.
6918         * sysdeps/i386/setjmp.S: Likewise.
6919         * sysdeps/i386/elf/setjmp.S: Likewise.
6920         * sysdeps/s390/setjmp.S: Likewise.
6921         * sysdeps/s390/elf/setjmp.S: Likewise.
6922         * sysdeps/sh/sh3/setjmp.S: Likewise.
6923         * sysdeps/sh/sh4/setjmp.S: Likewise.
6924         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
6925         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
6926         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
6927         * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
6929 2000-11-21  Andreas Jaeger  <aj@suse.de>
6931         * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
6932         NORETURN, fix parameter list.
6934         * string/bug-strncat1.c (main): Fix typo.
6935         Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
6937 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
6939         * configure.in: Add --enable-all-warnings.
6940         * config.make.in (all-warnings): New variable.
6941         * Makeconfig (+gccwarn): Define with many more warnings if
6942         all-warnings is yes.
6944 2000-11-20  Jakub Jelinek  <jakub@redhat.com>
6946         * iconvdata/bug-iconv2.c (main): Use %zd in format string.
6947         * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
6948         * malloc/tst-valloc.c (main): Cast valloc return value to long.
6949         * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
6950         * math/test-fpucw.c (main): Use %lx in format string, cast
6951         control words to long.
6952         * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
6953         * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
6954         large that it is unsigned warning.
6956         * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
6957         it to long on sparc64.
6959 2000-11-20  Andreas Jaeger  <aj@suse.de>
6961         * nscd/nscd.h (termination_handler): Add noreturn attribute.
6962         (receiv_print_stats): Likewise.
6964         * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
6966 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
6968         * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
6970         * csu/gmon-start.c: Always have prototype for __gmon_start.
6971         * csu/version.c: Add prototypes for __libc_print_version and
6972         __libc_main.
6973         * iconv/gconv.c: Include gconv_int.h and gconv.h.
6974         * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
6975         and __to_name.
6976         * iconv/gconv_builtin.h: Add ASCII module definitions.
6977         * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
6978         (add_module): Add cast to avoid warning.  Rework construction of
6979         strings for new module.
6980         * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
6981         (derivation_compare): Likewise.
6982         * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
6983         (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
6984         * iconv/gconv_int.h (__gconv_path_elem): Remove const.
6985         (struct gconv_alias): Remove const from fromname and toname.
6986         * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
6987         for loop functions.
6988         (internal_ucs4_loop): Use correct const-ness.
6989         (ucs4_internal_loop): Likewise.
6990         (internal_ucs4le_loop): Likewise.
6991         (ucs4le_internal_loop_single): Likewise.
6992         * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
6993         to_idx, to_tbl, winbuf, winbufend const.  Change casts in
6994         assignments appropriately.
6995         (struct known_trans): Remove const from fname.
6996         (trans_compare): Make s1 and s2 const.
6997         * iconv/loop.c (LOOPFC): Make outend parameter const.  Add cast to
6998         avoid warning.
6999         * iconv/skeleton.c: Remove cast in calls of loop functions.
7000         * iconvdata/gconv-modules: Remove US-ASCII definitions.
7001         * iconvdata/iso646.c: Remove US_ASCII support.
7002         * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
7003         * include/unistd.h: Add __libc_check_standard_fds prototype.
7004         * string/bits/string2.h (__mempcpy_args): Add const to casts.
7005         * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
7006         _fini.
7007         * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
7008         * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
7009         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
7010         warning.
7011         * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
7012         __libc_init_first and _dl_start.
7013         * intl/dcigettext.c (transcmp): Make s1 and s2 const.
7014         (DCIGETTEXT): Make domaindata variable const.
7015         * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
7016         to avoid warning.
7018 2000-11-20  Hiroyuki Machida  <machida@sm.sony.co.jp>
7020         * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
7022         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
7023         time_t to 'long int' not, 'unsigned int'.  Use 'long int' for
7024         __unused? members.
7026         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
7027         value defined in /usr/include/asm-mips/fcntl.h.
7029 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
7031         * stdio-common/Makefile (tests): Add test-vfprintf.
7032         (test-vfprintf-ENV): New variable.
7033         * stdio-common/test-vfprintf.c: New file.
7035         * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
7037         * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
7038         (tst-mbrtowc-ENV): New variable.
7039         (tst-wcrtomb-ENV): New variable.
7040         * wcsmbs/tst-mbrtowc.c: New file.
7041         * wcsmbs/tst-wcrtomb.c: New file.
7043 2000-11-16  Andreas Jaeger  <aj@suse.de>
7045         * manual/install.texi (Tools for Compilation): Update
7046         documentation for GCC 2.95.2.
7048 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
7050         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
7051         if IPv4 and IPv6 requests timed out.
7053 2000-11-18  Akim Demaille  <akim@epita.fr>
7055         * malloc/obstack.h: Formatting changes.
7056         (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
7057         prevents type checking.
7058         (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
7059         cast the value to (void *): assigning a `foo *' to a `void *'
7060         variable is valid.
7061         (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
7063 2000-11-17  Ulrich Drepper  <drepper@redhat.com>
7065         * scripts/config.guess: Update from upstream maintainer.
7066         * scripts/config.sub: Likewise.
7068 2000-11-16  Ulrich Drepper  <drepper@redhat.com>
7070         * libio/freopen.c (freopen): Reset _mode after succesful reopening.
7071         * libio/freopen64.c (freopen64): Likewise.
7072         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7074         * libio/Makefile: Add rules to build and run test-freopen.
7075         * libio/test-freopen.c: New file.
7076         * libio/test-freopen.sh: New file.
7078 2000-11-15  H.J. Lu  <hjl@gnu.org>
7080         * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
7081         ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
7082         (DL_DT_FINI_ADDRESS): Likewise.
7084         * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
7085         return type to ElfW(Addr).
7086         (_dl_function_address): New prototype.
7087         (DL_FUNCTION_ADDRESS): Defined.
7088         (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
7089         (DL_DT_FINI_ADDRESS): Likewise.
7091         * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
7093         * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
7094         (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
7096         * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
7097         (_dl_function_address): This.
7099         * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
7100         function pointer for DT_FINI.
7101         * elf/dl-close.c (_dl_close): Likewise.
7103         * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
7104         function pointer for DT_INIT.
7106 2000-11-16  Jakub Jelinek  <jakub@redhat.com>
7108         * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
7109         end of wexpbuf buffer.
7111 2000-11-16  Andreas Jaeger  <aj@suse.de>
7113         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
7114         definition of F_GETLK, F_SETLK, F_SETLKW.
7116 2000-11-16  Andreas Jaeger  <aj@suse.de>
7118         * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
7119         it's not defined.
7121 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
7123         * dlfcn/default.c (main): Add test for dladdr of main returning
7124         argv[0] in dli_fname field.
7126 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
7128         * Makeconfig (run-program-prefix): Move test-static test into the
7129         variable.
7131         * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
7132         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
7133         schedule instructions.
7134         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
7135         schedule instructions, fix a bug in copying auxiliary data.
7137 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
7139         * manual/startup.texi (Program Arguments): Fix type of main's envp
7140         parameter.
7141         Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
7143         * iconvdata/gconv-modules: Add CP950 alias.
7145 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
7147         * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
7148         syscall-list.h goal.
7149         * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
7151 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
7153         * intl/Makefile: tst-gettext2.sh does not need a third parameter.
7155         * intl/tst-gettext2.sh: Copy locale data.  Adjust LOCPATH.  Verify
7156         output of program.
7158         * intl/tst-gettext2.c: Set C locale if setting other locale
7159         failed.  Use gettext() not _().
7161         * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
7162         successfully loaded a new locale.
7164 2000-11-13  Andreas Jaeger  <aj@suse.de>
7166         * configure.in: Require gcc 2.95 or newer.
7168 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
7170         * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
7171         Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
7173 2000-11-11  Jim Meyering  <meyering@lucent.com>
7175         * string/strndup.c (strndup): Cast return value to `char *'.
7177 2000-11-15  Jim Meyering  <meyering@ascend.com>
7179         * sysdeps/generic/memchr.c: Remove some useless parentheses.
7180         [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
7181         [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
7182         [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
7183         Also #undef __memchr.
7184         Use `weak_alias' only if it's defined.
7186 2000-11-10  H.J. Lu  <hjl@gnu.org>
7188         * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
7190 2000-11-15  Andreas Jaeger  <aj@suse.de>
7192         * elf/chroot_canon.c: Include <stdint.h>.
7194         * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
7195         (print_entry): Likewise.
7196         (add_to_cache): Likewise.
7198         * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
7200         * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
7201         (path_hwcap): Likewise.
7202         (search_dir): Likewise.
7204         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
7206         * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
7208         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
7209         (_dl_platform_string): New.
7210         (_DL_HWCAP_PLATFORM): New.
7211         (_dl_string_platform): New.
7212         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
7214         * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
7215         (_dl_string_platform): New.
7216         (_DL_HWCAP_PLATFORM): New.
7217         (_dl_platform_string): New.
7219         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
7220         recognition.
7221         (_DL_HWCAP_COUNT): New.
7222         (_dl_string_platform): New.
7223         (_DL_HWCAP_PLATFORM): New.
7224         (_dl_platform_string): New.
7226 2000-11-14  Ulrich Drepper  <drepper@redhat.com>
7228         * iconvdata/gconv-modules: Add CP936 as alias for GBK.
7230 2000-11-14  Andreas Jaeger  <aj@suse.de>
7232         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
7234 2000-11-13  Roland McGrath  <roland@frob.com>
7236         * hurd/get-host.c (_hurd_get_host_config): Fix last change.
7238 2000-11-13  Marcus Brinkmann <marcus@gnu.org>
7240         * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
7241         underrun and make sure the result is null terminated even if there
7242         is no trailing newline.
7244 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
7246         * sysdeps/alpha/fpu/libm-test-ulps: Update.
7248 2000-11-10  H.J. Lu  <hjl@gnu.org>
7250         * sysdeps/ia64/fpu/libm-test-ulps: Updated.
7252 2000-11-10  Andreas Jaeger  <aj@suse.de>
7254         * elf/ldconfig.c (create_links): Fix alloca calculation.
7255         Patch by Ben Collins <bcollins@debian.org>.
7257 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
7259         * inet/getnameinfo.c (getnameinfo): Use correct destination
7260         parameter for if_indextoname.
7261         Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
7263 2000-11-09  H.J. Lu  <hjl@gnu.org>
7265         * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
7266         xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
7267         xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
7268         xdr_keystatus.
7270         * time/Versions (GLIBC_2.1): Move getitimer to...
7271         * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
7273 2000-11-03  Bruno Haible  <haible@clisp.cons.org>
7275         * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
7276         "make install", to work around a binary incompatibility between
7277         glibc 2.1 and glibc 2.2 gconv modules.
7279 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
7281         * intl/locale.alias: Add thai.
7282         Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
7284 2000-11-07  Akim Demaille  <akim@epita.fr>
7286         * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
7287         argument `data' for consistency with the prototypes.
7288         Qualify it `const'.
7289         (obstack_copy, obstack_copy0): Rename the second argument as
7290         `address' for consistency.  Qualify it `const'.
7291         * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
7292         (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
7293         `const' their input argument (`data' or `address').
7294         Adjust the corresponding macros to include `const' in casts.
7296 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
7298         * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
7299         target family.
7301 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
7303         * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
7304         socket creation.
7306 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
7308         * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
7309         ai_protocol by internal table if service was not given.
7311 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
7313         * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
7314         numerical port was specified with protocol without socktype.
7316 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
7318         * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
7320 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
7322         * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
7324 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
7326         * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
7327         sin6_scope_id field.
7329 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
7331         * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
7333 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
7335         * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
7337 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
7339         * inet/getnameinfo.c: Wake-up sin6_scope_id support in
7340         getnameinfo(): check for whether sin6_socpe_id exist was wrong.
7342 2000-11-09  Martin Schwidefsky  <mschwide@nc.boeblingen.de.ibm.com>
7344         * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
7345         * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
7347 2000-11-09  H.J. Lu  <hjl@gnu.org>
7349         * io/Versions (GLIBC_2.1.1): Remove lockf64.
7352 See ChangeLog.11 for earlier changes.