Update.
[glibc.git] / ChangeLog
blobe6dac3c11677c6123d18ecd4629099cc53f20a67
1 2001-05-15  Andreas Jaeger  <aj@suse.de>
3         * sysdeps/ieee754/ldbl-128/s_expm1l.c: New file, contributed by
4         Stephen L Moshier <moshier@mediaone.net>.
6         * sysdeps/i386/fpu/libm-test-ulps: Adjust for change.
8         * math/libm-test.inc: Add comment with ToDo.
10         * sysdeps/i386/fpu/e_expl.c: Rewritten to C and using a more
11         accurate algorithm.  Patch by Stephen L Moshier <moshier@mediaone.net>.
13         * sysdeps/i386/fpu/e_expl.S: Removed.
15 2001-05-14  Roland McGrath  <roland@frob.com>
17         * csu/Makefile ($(objpfx)g$(start-installed-name)): Turn this into a
18         static pattern rule also that also covers
19         $(objpx)g$(static-start-installed-name).
20         [$(start-installed-name) != $(static-start-installed-name)]
21         (extra-objs, omit-deps, install-lib): Add
22         $(static-start-installed-name) and g$(static-start-installed-name).
23         * sysdeps/mach/hurd/i386/Makefile: Don't add crt0.o to those here;
24         just setting static-start-installed-name is now sufficient.
25         (extra-objs): Add static-start.o here.
26         (CFLAGS-initfini.s): Remove obsolete variable.
27         * sysdeps/mach/hurd/i386/Makeconfig: New file.
28         Define static-start-installed-name here.
30         * Makeconfig: Include existing $(full_config_sysdirs:=/Makeconfig).
31         * Make-dist (+sysdep-tsrcs): Look for Makeconfig files.
33         * Makerules ($(+sysdir_pfx)sysd-Makefile): Remove this target and
34         associated hair.  Instead, just use $(wildcard ...) in the include.
36         * configure.in (critic_missing, aux_missing): Collect in these vars
37         the names of the missing programs, and include them in the error msgs.
38         * configure: Regenerated.
40 2001-05-14  Andreas Jaeger  <aj@suse.de>
42         * sysdeps/i386/fpu/libm-test-ulps: Adjust for new tests.
44         * math/libm-test.inc (tanh_test): Add testcases for last tanh bug.
46 2001-05-14  Stephen L Moshier <moshier@mediaone.net>
48         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Fix sign test.
50 2001-05-11  Jakub Jelinek  <jakub@redhat.com>
52         * posix/regex.c (re_match_2_internal): Swap mbs_offset and csize
53         as well if swapping strings.
54         Make sure stop is not past end of second string.
55         * posix/bug-regex4.c: New test.
56         * posix/Makefile (tests): Add bug-regex4.
58 2001-05-10  Andreas Jaeger  <aj@suse.de>
60         * manual/install.texi (Linux): Clarify that Linux 2.2 is minimal
61         requirement.
63 2001-05-12  Andreas Jaeger  <aj@suse.de>
65         * sysdeps/ieee754/dbl-64/s_sin.c: Include "math_private.h" for
66         internal prototypes.
67         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
68         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
71         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
72         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
73         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
75         * math/math_private.h: Add prototypes for internal functions of
76         the IBM Accurate Mathematical Library.
78         * sysdeps/ieee754/dbl-64/s_atan.c: Include "math.h" for
79         prototypes.
80         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
82         * sysdeps/ieee754/dbl-64/e_asin.c: Include "math_private.h" for
83         internal prototypes.
84         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
85         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
86         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
87         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
88         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
89         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
90         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
91         * sysdeps/generic/e_rem_pio2l.c: Likewise.
92         (__ieee754_rem_pio2l): Fix prototype.
94         * math/math_private.h (__copysign): Add internal prototype.
96 2001-05-11  Andreas Jaeger  <aj@suse.de>
98         * sysdeps/unix/sysv/linux/configure.in: Move binutils check to...
99         * sysdeps/unix/sysv/linux/mips/configure.in: ...here.  New file.
101 2001-05-11  Andreas Jaeger  <aj@suse.de>
103         * sysdeps/unix/sysv/linux/configure.in: Check binutils version on
104         MIPS.
106         * sysdeps/mips/rtld-ldscript.in: Removed unneeded binary output
107         format directive.  Patch by Steven J. Hill <sjhill@cotw.com>.
109 2001-05-11  Roland McGrath  <roland@frob.com>
111         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't use
112         $(build-module) here, since we don't need the full magilla.
113         Just use $(build-module-helper) and append our special options.
115 2001-05-09  Andreas Schwab  <schwab@suse.de>
117         * sysdeps/unix/readdir.c: Make sure we don't modify errno when we
118         reached EOF.
120 2001-05-07  H.J. Lu  <hjl@gnu.org>
122         * elf/ldconfig.c (dir_entry): Add ino and dev.
123         (add_single_dir): Compare ino and dev to check if 2 directory
124         paths are the same or not. Free entry->path for duplicates.
125         (add_dir): Initialize ino and dev for entry.
126         (search_dir): Handle symlink to directory.
128 2001-05-07  Andreas Jaeger  <aj@suse.de>
130         * sysdeps/i386/fpu/libm-test-ulps: Add ulps for new exp tests.
132         * math/libm-test.inc (exp_test): Add some more tests.
133         (pow_test): Run double only test also for long double.
135         * math/test-ldouble.c (TEST_LDOUBLE): Define.
136         * math/test-ildoubl.c (TEST_LDOUBLE): Likewise.
138         * sysdeps/generic/bits/confname.h: Remove extra comma at end of
139         enumeration.
140         Closes PR libc/2240.
142         * scripts/config.guess: Imported from gnu.org.
143         * scripts/config.sub: Likewise.
145 2001-05-05  Jakub Jelinek  <jakub@redhat.com>
147         * include/features.h (__USE_EXTERN_INLINES): Don't define if
148         __NO_INLINE__ is defined.
149         * ctype/ctype.h (tolower, toupper): Change the guard condition to
150         __USE_EXTERN_INLINES check only.
151         * stdlib/stdlib.h (strtod, ...): Likewise.
152         * wcsmbs/wchar.h (mbrlen): Likewise.
153         * string/string.h: Only include bits/string.h and bits/string2.h
154         if __NO_INLINE__ is not defined.
156 2001-05-07  Andreas Jaeger  <aj@suse.de>
158         * debug/Makefile ($(objpfx)xtrace): Substitute @SLIBDIR@ instead
159         of @LIBDIR@.
161 2001-05-04  H.J. Lu  <hjl@gnu.org>
163         * malloc/Makefile ($(objpfx)memusage): Substitute @SLIBDIR@
164         not @LIBDIR@.
166 2001-05-06  Andreas Jaeger  <aj@suse.de>
168         * sysdeps/i386/fpu/e_fmodl.c: New, rewrite of e_fmodl.S.
169         * sysdeps/i386/fpu/e_fmodl.S: Removed.
170         * sysdeps/i386/fpu/e_atan2l.c: New, rewrite of e_atan2l.S.
171         * sysdeps/i386/fpu/e_atan2l.S: Removed.
172         * sysdeps/i386/fpu/e_acosl.c: New, rewrite of e_acos.S.
173         * sysdeps/i386/fpu/s_atanl.c: New, rewrite of e_atanl.S.
174         * sysdeps/i386/fpu/e_sqrtl.c: New, rewrite of e_sqrt.S.
175         * sysdeps/i386/fpu/e_acosl.S: Removed.
176         * sysdeps/i386/fpu/s_atanl.S: Removed.
177         * sysdeps/i386/fpu/e_sqrtl.S: Removed.
179 2001-05-05  Mark Kettenis  <kettenis@gnu.org>
181         * sysdeps/mach/hurd/bits/environments.h: Add comment from
182         sysdeps/generic/bits/environments.h.  Define _POSIX_V6_* values.
184 2001-04-30  Jakub Jelinek  <jakub@redhat.com>
186         * posix/confstr.c (confstr) [_CS_V6_WIDTH_RESTRICTED_ENVS]: Move so
187         that _CS_LFS_CFLAGS can fall through to the empty returned string
188         case.  Add FALLTHROUGH comment.
190 2001-04-29  Ralf Baechle  <ralf@gnu.org>
192         * sysdeps/unix/sysv/linux/mips/bits/sem.h: Make structure
193         definitions match the kernel definitions.
194         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
195         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
197 2001-04-29  Ben Collins  <bcollins@debian.org>
199         * sysdeps/sparc/sparc64/dl-machine.h: Fix multiline strings
200         warnings.
201         * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Likewise.
202         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
203         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
204         * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Likewise.
205         * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Likewise.
206         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
207         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
208         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
209         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
210         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
211         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
212         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
213         * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Likewise.
214         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
215         * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Likewise.
216         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
217         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
218         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
219         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
220         * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Likewise.
221         * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Likewise.
222         * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Likewise.
223         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
225 2001-04-29  Andreas Schwab  <schwab@suse.de>
227         * sysdeps/unix/sysv/linux/kernel-features.h: Fix missing backslash
228         in last change.
230 2001-04-29  Andreas Jaeger  <aj@suse.de>
232         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
233         Define for Arm, PowerPC and SH if kernel is 2.4.4 or newer.
235         * sysdeps/unix/sysv/linux/bits/socket.h (PF_WANPIPE): New, from
236         Linux 2.4.4.
237         (AF_WANPIPE): Likewise.
238         (MSG_MORE): New.
240         * sysdeps/unix/sysv/linux/alpha/bits/socket.h: Add same changes as
241         for Linux generic version.
242         * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Likewise.
243         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
244         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
245         * sysdeps/unix/sysv/linux/ia64/bits/socket.h: Likewise.
247         * sysdeps/gnu/netinet/tcp.h (TCP_QUICKACK): New.
249 2001-04-27  Ulrich Drepper  <drepper@redhat.com>
251         * nis/nss-nis.h: Correct test for invalid error number.
252         * nis/nss-nisplus.h: Likewise.
254         * nis/Makefile (libnss_compat-rountines): Add nss-nisplus.
256 2001-04-26  Ulrich Drepper  <drepper@redhat.com>
258         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getunwind.
260         * string/strcoll.c: Fix two memory allocation problems.
261         * string/Makefile (tests): Add bug-strcoll1.
262         * string/bug-strcoll1.c: New file.
264         * malloc/mcheck.c (mcheck): Call malloc once before setting the
265         hooks to allow the internal check hooks to be set up if necessary.
267         * nis/nss-nis.h: Move yperr2nss_tab definition into separate file
268         and rename to __yperr2nss_tab.  Change YPERR_COUNT into variable
269         __yperr2nss_count.
270         * nis/nss-nis.c: New file.
271         * nis/nss-nisplus.h: Move niserr2nss_tab definition into separate file
272         and rename to __niserr2nss_tab.  Change NISERR_COUNT into variable
273         __niserr2nss_count.
274         * nis/nss-nisplus.c: New file.
275         * nis/Makefile (libnss_compat-routines): Add nss-nis.
276         (libnss_nis-routines): Likewise.
277         (libnss_nisplus-routines): Add nss-nisplus.
279         * nis/nss_nisplus/nisplus-alias.c: Remove unnecessary initializations.
280         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
281         * nis/nss_nisplus/nisplus-grp.c: Likewise.
282         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
283         * nis/nss_nisplus/nisplus-network.c: Likewise.
284         * nis/nss_nisplus/nisplus-proto.c: Likewise.
285         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
286         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
287         * nis/nss_nisplus/nisplus-service.c: Likewise.
288         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
289         * nis/nss_nis/nis-alias.c: Likewise.
290         * nis/nss_nis/nis-ethers.c: Likewise.
291         * nis/nss_nis/nis-grp.c: Likewise.
292         * nis/nss_nis/nis-network.c: Likewise.
293         * nis/nss_nis/nis-proto.c: Likewise.
294         * nis/nss_nis/nis-pwd.c: Likewise.
295         * nis/nss_nis/nis-spwd.c: Likewise.
296         * nis/nss_compat/compat-grp.c: Likewise.
297         * nis/nss_compat/compat-initgroups.c: Likewise.
298         * nis/nss_compat/compat-pwd.c: Likewise.
299         * nis/nss_compat/compat-spwd.c: Likewise.
301         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Some more
302         optimizations.  Patch by Jakub Jelinek <jakub@redhat.com>.
304 2001-04-26  Andreas Jaeger  <aj@suse.de>
306         * po/zh_TW.po: Update.
307         Patch by Tung-Han Hsieh <thhsieh@tlug.sinica.edu.tw>.
309 2001-04-25  Ulrich Drepper  <drepper@redhat.com>
311         * malloc/malloc.c: Allow MALLOC_ALIGNMENT to be defined on the
312         compiler command line.
313         * sysdeps/hppa/Makefile: Add -DMALLOC_ALIGNMENT=16 to compiler
314         command line for malloc.c.
316 2001-04-25  Jakub Jelinek  <jakub@redhat.com>
318         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: Move to...
319         * sysdeps/unix/sysv/linux/sparc/bits/time.h: ...here.
320         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: Remove.
321         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: Move to...
322         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: ...here.  Adjust
323         struct msghdr for __WORDSIZE == 32.
324         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: Move to...
325         * sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: ...here. Adjust
326         for __WORDSIZE == 32.
327         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Remove.
328         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c: New
329         file.
330         * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_siglongjmp):
331         Rename from longjmp, make longjmp weak alias to it.
333 2001-04-24  David S. Miller  <davem@redhat.com>
335         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: New file.
337 2001-04-25  Matthew Wilcox  <willy@ldl.fc.hp.com>
339         * sysdeps/hppa/stackinfo.h: New file.
340         * sysdeps/unix/sysv/linux/hppa/getdents64.c: New file.
341         * sysdeps/unix/sysv/linux/hppa/mmap64.c: New file.
342         * sysdeps/unix/sysv/linux/hppa/bits/resource.h: New file.
343         * sysdeps/unix/sysv/linux/kernel-features.h: Add descriptions
344         of PA kernel features.
346 2001-04-25  Ulrich Drepper  <drepper@redhat.com>
348         * locale/programs/localedef.c (main): Always set a file name for
349         the initial locale.
350         * locale/programs/locfile.c (locfile_read): filename is allowed to
351         be NULL.
353 2001-04-12  Paul Bame  <paul_bame@hp.com>
355         * sysdeps/hppa/fpu/fclrexcpt.c: Clear the exception flags, not the
356         enable flags.
358 2001-04-24  Ulrich Drepper  <drepper@redhat.com>
360         * sysdeps/generic/bits/environments.h (_POSIX_V6_LPBIG_OFFBIG,
361         _XBS5_LPBIG_OFFBIG): Define to -1.
362         Fix typos.
364         * sysdeps/generic/bits/confname.h: Add _CS_V6_WIDTH_RESTRICTED_ENVS.
365         * posix/confstr.c: Handle _CS_V6_WIDTH_RESTRICTED_ENVS.
366         * posix/getconf.c: Handle _POSIX_V6_WIDTH_RESTRICTED_ENVS.
367         * posix/tst-getconf.sh: Add _POSIX_V6_WIDTH_RESTRICTED_ENVS.
369         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/Implies: New file.
370         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: Removed.
372 2001-03-21  Alan Modra  <alan@one.net.au>
374         * sysdeps/hppa/dl-machine.h (RTLD_START): Set up dp with DT_PLTGOT
375         value from application so that constructors in non-PIC libs work.
377 2000-12-13  Jes Sorensen  <jes@linuxcare.com>
379         * sysdeps/hppa/dl-machine.h (RTLD_START): _dl_init now returns a
380         function pointer, hence load the jump address and gp from the
381         function pointer before jumping.
383 2001-04-24  Andreas Jaeger  <aj@suse.de>
385         * sysdeps/generic/send.c (__send): Return ssize_t.
386         * sysdeps/mach/hurd/send.c (__send): Likewise.
387         * sysdeps/mach/hurd/recv.c (recv): Likewise.
388         * sysdeps/mach/hurd/sendto.c (sendto): Likewise.
389         * sysdeps/generic/sendto.c (sendto): Likewise.
390         * sysdeps/generic/recvmsg.c (recvmsg): Likewise.
391         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
392         * sysdeps/generic/recvfrom.c (recvfrom): Likewise.
393         * sysdeps/generic/sendmsg.c (sendmsg): Likewise.
395         * socket/sys/socket.h: send* and recv* return ssize_t.
397         * include/sys/socket.h: send returns ssize_t.
399         * sysdeps/i386/fpu_control.h: Fix comments.
401 2001-04-24  Ulrich Drepper  <drepper@redhat.com>
403         * sysdeps/ia64/Dist: Add hp-timing.c.
404         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add ucontext_i.h.
405         * posix/Makefile (distribute): Add tst-getconf.sh.
406         * po/Makefile (distribute): Add $(BROKEN_LINGUAS:=.po).
408 2001-04-23  Ulrich Drepper  <drepper@redhat.com>
410         * sysdeps/ia64/Makefile [subdir=csu] (sysdep_routines): Add hp-timing.
411         * sysdeps/ia64/Versions: Add _dl_cpuclock_offset for ld in 2.2.3.
412         * sysdeps/ia64/hp-timing.c: New file.
413         * sysdeps/ia64/hp-timing.h: New file.
414         * sysdeps/unix/sysv/linux/ia64/bits/time.h: Add definitions for
415         CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
417         * sysdeps/generic/clock_getcpuclockid.c: Make function generic, test
418         using #ifdef whether the clock is available.
419         * sysdeps/unix/i386/clock_getcpuclockid.c: Not needed anymore.
421         * sysdeps/generic/dl-sysdep.c: Initialize _dl_cpuclock_offset to move
422         it into data section.
424         * sysdeps/unix/i386/i586/clock_getres.c: Removed.
425         * sysdeps/unix/i386/i586/clock_gettime.c: Removed.
426         * sysdeps/unix/i386/i586/clock_nanosleep.c: Removed.
427         * sysdeps/unix/i386/i586/clock_settime.c: Removed.
428         * sysdeps/unix/i386/i586/cpuclock-init.h: Removed.
429         * sysdeps/generic/cpuclock-init.h: Removed.
430         * sysdeps/unix/i386/i686/Implies: Removed.
431         * sysdeps/unix/i386/i686/tempname.c: Removed.
432         * sysdeps/i386/i686/Versions: New file.
433         * sysdeps/unix/i386/i586/Versions: Removed.
435         * sysdeps/posix/clock_getres.c: If HP_TIMING_AVAIL is nonzero handle
436         CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
437         * sysdeps/unix/clock_gettime.c: Likewise.
438         * sysdeps/unix/clock_nanosleep.c: Likewise.
439         * sysdeps/unix/clock_settime.c: Likewise.
440         * sysdeps/posix/tempname.c: Is HP_TIMING_AVAIL is nonzero define
441         RANDOM_BITS use CPU clock.
443         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: New file.
444         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: New file.
445         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: New file.
446         * sysdeps/sparc/Versions: New file.
448         * elf/dl-support.c: Don't use cpuclock-init.h definitions, use
449         hp-timing.h definitions.
450         * sysdeps/generic/dl-sysdep.c: Likewise.
452         * include/libc-internal.h: Include hp-timing.h.  Use hp_timing_t in
453         __get_clockfreq prototype.
455         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
456         Use hp_timing_t type.
457         * sysdeps/generic/get_clockfreq.c (__get_clockfreq): Likewise.
459         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: New file.
461         * sysdeps/posix/pathconf.c (__pathconf): For _PC_ASYNC_IO test
462         whether named file is a regular file or a block device.
463         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
465 2001-04-23  Andreas Jaeger  <aj@suse.de>
467         * nscd/nscd.h: Add noreturn attribute for start_threads.
469 2001-04-22  Ulrich Drepper  <drepper@redhat.com>
471         * posix/getconf.c: Fix names of XBS5 LFS test variables.
472         Add missing configuration variables from XPG6.
473         * posix/tst-getconf.c: New file.
474         * posix/Makefile (generated): Add tst-getconf.out.
475         (tests): Add ($objpfx)tst-getconf.out.
476         Add rule to run tst-getconf.sh.
477         * sysdeps/generic/bits/confname.h: Add missing _PC_ and _SC_ values
478         from XPG6.
479         * sysdeps/posix/fpathconf.c: Add handling of _PC_ALLOC_SIZE_MIN and
480         _PC_SYMLINK_MAX.
481         * sysdeps/posix/pathconf.c: Likewise.
482         * sysdeps/posix/sysconf.c: Correct spelling of _SC_MULTI_PROCESS
483         and _SC_SYMLOOP_MAX.
485 2001-04-22  Philip Blundell  <philb@gnu.org>
487         * sysdeps/arm/fpu/feenablxcpt.c: New file.
488         * sysdeps/arm/fpu/fedisablxcpt.c: New file.
489         * sysdeps/arm/fpu/fegetexcpt.c: New file.
491 2001-04-22  Philip Blundell  <philb@gnu.org>
493         * sysdeps/unix/sysv/linux/arm/sys/user.h (struct user_fpregs):
494         Renamed from struct user_fp.
495         (struct user_regs): New.
496         (struct user): Use struct user_regs rather than struct pt_regs to
497         avoid dependency on asm/ptrace.h.  Use struct user_fpregs in place
498         of struct user_fp and struct user_fp_struct.
499         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Include sys/procfs.h
500         not sys/elf.h.
502 2001-04-22  Philip Blundell  <philb@gnu.org>
504         * sysdeps/unix/sysv/linux/arm/sys/elf.h: Move contents to
505         sys/procfs.h, and tell the user to include that file instead.
506         * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove old cruft
507         surrounded with #if 0.
508         (elf_greg_t, ELF_NGREG, elf_gregset_t, elf_fpregset_t): Moved here
509         from sys/elf.h.
510         (prgregset_t, prfpregset_t): Define in terms of elf_gregset_t and
511         elf_fpregset_t respectively.
513 2001-04-22  Philip Blundell  <philb@gnu.org>
515         * sysdeps/unix/sysv/linux/arm/register-dump.h: Also print the
516         address that faulted.
518 2001-04-21  Ulrich Drepper  <drepper@redhat.com>
520         * sysdeps/generic/bits/confname.h: Add _SC_V6_* and _CS_POSIX_V6_*
521         values.
522         * sysdeps/generic/bits/environments.h: Define _POSIX_V6_* values.
523         * posix/confstr.c: Handle _CS_POSIX_V6_* values.
524         * posix/getconf.c: Handle _CS_POSIX_V6_* and _SC_V6_* values.
525         * sysdeps/posix/sysconf.c: Handle _SC_V6_* values.
527         * sysdeps/powerpc/fpu/libm-test-ulps: Add deltas for atan2f.
528         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
529         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
530         * sysdeps/mips/fpu/libm-test-ulps: Likewise.
532 2001-04-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
534         * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correct check for invalid
535         offset.
537 2001-04-21  Ulrich Drepper  <drepper@redhat.com>
539         * posix/getopt.h: Treat __cplusplus like __STDC__.
541 2001-04-20  John S. Marvin  <jsm@fc.hp.com>
543         * sysdeps/unix/sysv/linux/hppa/clone.S: Fix clone system call
544         entry point stub.
546 2001-04-20  Richard Hirst  <rhirst@linuxcare.com>
548         * elf/elf.h: Corrected R_PARISC_DIR14R (should be 6, not 5),
549         and added R_PARISC_DPREL21L and R_PARISC_DPREL14R for modutils.
551         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Removed ptrace
552         entry so the ptrace.c wrapper is used.
554 2001-04-20  Alan Modra  <amodra@one.net.au>
556         * sysdeps/hppa/dl-lookupcfg.h (_dl_function_address): Prototype.
557         (DL_FUNCTION_ADDRESS): Define.
558         (DL_DT_INIT_ADDRESS): Define.
559         (DL_DT_FINI_ADDRESS): Define.
560         * sysdeps/hppa/Versions: Add _dl_function_address.
561         * sysdeps/hppa/dl-machine.h (ELF_MACHINE_START_ADDRESS): Define.
562         * sysdeps/hppa/dl-symaddr.c (_dl_start_address): Rename to
563         _dl_function_address.
565 2001-04-21  Andreas Jaeger  <aj@suse.de>
567         * rt/aio_misc.c (handle_fildes_io): Add noreturn attribute.
568         * resolv/gai_misc.c (handle_requests): Likewise.
569         * malloc/obstack.c (print_and_abort): Likewise.
570         * malloc/mcheck.c (mabort): Likewise.
572         * sysdeps/unix/i386/i586/clock_settime.c: Include
573         "libc-internal.h" for __get_clockfreq declaration.
575 2001-04-21  Ulrich Drepper  <drepper@redhat.com>
577         * elf/dl-support.c: Include cpuclock-init.h.  Use CPUCLOCK_VARDEF and
578         CPUCLOCK_INIT if defined.
579         * sysdeps/generic/dl-sysdep.c: Likewise.
580         * sysdeps/generic/cpuclock-init.h: New file.
581         * sysdeps/unix/i386/i586/cpuclock-init.h: New file.
582         * sysdeps/unix/i386/i586/Versions: New file.
583         * sysdeps/unix/i386/i586/clock_settime.c: New file.
584         * sysdeps/unix/i386/i586/clock_gettime.c: Handle thread CPU clock
585         separately by calling __pthread_clock_gettime if this function is
586         available.  Subtract offset from tsc value before computing time value.
588 2001-04-20  Ulrich Drepper  <drepper@redhat.com>
590         * iconv/iconv_prog.c (print_known_names): If printing goes not to
591         a tty print in a more machine-friendly way.
593         * sysdeps/ieee754/ldbl-128/e_asinl.c: New file.
594         Contributed by Stephen L Moshier <moshier@mediaone.net>.
596 2001-04-20  Andreas Jaeger  <aj@suse.de>
598         * intl/Makefile (tests): Reorder conditions, tst-gettext needs msgfmt.
600 2001-04-20  Andreas Schwab  <schwab@suse.de>
602         * sysdeps/m68k/fpu/libm-test-ulps: Update.
604 2001-04-19  Alan Modra  <amodra@one.net.au>
606         * Makerules (libc_pic.os): Add $(LDFLAGS-c_pic.os).
607         * sysdeps/hppa/Makefile (LDFLAGS-c_pic.os): Define.
608         (CFLAGS-.os): Remove.
610         * sysdeps/unix/sysv/linux/hppa/sysdep.h (CALL_MCOUNT): Update comment.
612         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG, NFPREG,
613         gregset): Correct for new kernel definitions.
615 2001-04-19  Alan Modra  <alan@linuxcare.com.au>
617         * sysdeps/hppa/elf/initfini.c: Change dlt reg save to r3 and
618         generate unwind info by hand.
620 2001-04-19  Ulrich Drepper  <drepper@redhat.com>
622         * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Optimize a bit.
624         * configure.in: Correct regular expression for msgfmt.
625         Patch by Bruno Haible <haible@ilog.fr>.
627 2001-04-19  Andreas Jaeger  <aj@suse.de>
629         * po/el.po: Add comment explaining what's broken.
631         * po/Makefile (BROKEN_LINGUAS): New.
632         (ALL_LINGUAS): Don't add broken languages.
634 2001-04-19  Roland McGrath  <roland@frob.com>
636         * sysdeps/mach/hurd/mlock.c: New file.
637         * sysdeps/mach/hurd/munlock.c: New file.
638         * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK_RANGE): Define it.
640         * misc/Makefile (routines): Add mlock munlock mlockall munlockall.
641         * sysdeps/generic/mlock.c: New file.
642         * sysdeps/generic/munlock.c: New file.
643         * sysdeps/generic/mlockall.c: New file.
644         * sysdeps/generic/munlockall.c: New file.
645         * sysdeps/generic/bits/mman.h (MCL_CURRENT, MCL_FUTURE): New macros.
646         * sysdeps/unix/sysv/linux/syscalls.list (mlock, munlock,
647         mlockall, munlockall): Change caller field to - from EXTRA.
648         Don't use __ names; not used (and not declared in include/sys/mman.h).
650         * hurd/privports.c (__get_privileged_ports): Renamed with __.
651         Use __ names for calls we make.
652         (get_privileged_ports): Add alias.
653         * hurd/hurd.h: Declare it with the __ name.
654         * sysdeps/mach/hurd/reboot.c (reboot): Use __get_privileged_ports.
655         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
656         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
658         * hurd/hurdsig.c (write_corefile): Check RLIMIT_CORE limit and do
659         nothing if it's zero.
661 2001-04-19  Matthew Wilcox  <willy@ldl.fc.hp.com>
663         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL):
664         Change to return a signed result for compatibility with other
665         architectures, and correctness.
667 2001-04-19  Ulrich Drepper  <drepper@redhat.com>
669         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_32BITUIDS):
670         HPPA always had them.  Patch by Matthew Wilcox <matthew@wil.cx>.
672 2001-04-19  Andreas Jaeger  <aj@suse.de>
674         * configure.in: Require gettext 0.10.36 or newer.
676         * manual/install.texi (Tools for Compilation): Mention gettext 0.10.36.
678         * po/zh_TW.po: Remove extraneous backslashes.
680         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove unused
681         variables b and n.
683 2001-04-18  Jakub Jelinek  <jakub@redhat.com>
685         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
686         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c: New file.
687         * sysdeps/unix/sysv/linux/sparc/sparc64/swapcontext.c: New file.
688         * sysdeps/unix/sysv/linux/sparc/sparc64/setcontext.S (__setcontext):
689         Copy first word of uc_sigmask into __uc_sigmask.
690         * sysdeps/unix/sysv/linux/sparc/sparc64/getcontext.S (__getcontext):
691         Save uc_link around trap. Copy __uc_sigmask into first word of
692         uc_sigmask, clear the rest. Make sure setcontext to the created
693         context doesn't do this though.
694         * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext_i.h: New file.
695         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Add
696         uc_stack and uc_sigmask, rename old uc_sigmask to __uc_sigmask in the
697         64bit version, make uc_sigmask __sigset_t in the 32bit version.
699 2001-04-19  Andreas Jaeger  <aj@suse.de>
701         * sysdeps/unix/sysv/linux/hppa/umount.c: Fix typos in last patch.
703         * rt/Makefile (otherlibs): Added for static NSS.
705         * glibcbug.in (BUGGLIBC): Send to new alias.
707 2001-04-02  Andreas Schwab  <schwab@suse.de>
709         * Makerules (build-module): Make sure exit codes get checked
710         properly and remove unnecessary slashes.
712 2001-04-17  Ulrich Drepper  <drepper@redhat.com>
714         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
715         Handle kernels which report only three digits after the decimal point.
716         Reported by Van Okamura <van.okamura@oracle.com>.
718         * sysdeps/alpha/fpu/libm-test-ulps: Adjust error values for atan2f.
720 2001-04-17  David S. Miller  <davem@redhat.com>
722         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update for new atan2 tests.
723         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
725 2001-04-17  Jakub Jelinek  <jakub@redhat.com>
727         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Make sure
728         desired exceptions are raised for exceptional values.
729         * math/libm-test.inc (acosh_test, atan_test, atan2_test, cacos_test,
730         cacosh_test, casin_test, casinh_test, catan_test, catanh_test,
731         clog_test, log_test, log1p_test, tan_test): Increase precision of
732         expected values to satisfy ldbl-128.
733         * sysdeps/alpha/fpu/libm-test-ulps: Adjust accordingly.
734         * sysdeps/arm/libm-test-ulps: Likewise.
735         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
736         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
737         * sysdeps/m68k/fpu/libm-test-ulps: Likewise.
738         * sysdeps/mips/fpu/libm-test-ulps: Likewise.
739         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
740         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
741         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
742         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
743         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
745 2001-04-17  Andreas Jaeger  <aj@suse.de>
747         * configure.in: Move test for critical programs up.
749 2001-04-16  Stephen L Moshier  <moshier@mediaone.net>
751         * sysdeps/ieee754/flt-32/e_asinf.c (pio2_hi, pio2_lo, pio4_hi):
752         Correct the values. (pSx, qSx): Replace by shorter approximation.
753         Use f suffix on float constants.
755 2001-04-16  Ulrich Drepper  <drepper@redhat.com>
757         * sysdeps/ieee754/ldbl-128/k_tanl.c: New file.
758         Contributed by Stephen L Moshier <moshier@mediaone.net>.
760         * string/string.h: Replace const in attribute list with __const__.
762 2001-04-16  Roland McGrath  <roland@frob.com>
764         * grp/initgroups.c (initgroups) [NGROUPS_MAX != 0]: Always use sysconf
765         instead of the constant NGROUPS_MAX.  That way, the limit can be
766         raised in the kernel configuration without having to recompile libc.
768         * sysdeps/posix/euidaccess.c: Don't #include <limits.h> or try to
769         define NGROUPS_MAX; we don't use it here.
771 2001-04-16  Andreas Jaeger  <aj@suse.de>
773         * math/libm-test.inc (atan2_test): Add more testcases.
775         * iconv/gconv_db.c: Include gconv_charset.h for
776         __gconv_lookup_alias prototype.
778 2001-04-13  Ulrich Drepper  <drepper@redhat.com>
780         * sysdeps/ieee754/ldbl-128/s_atanl.c: New file.
781         Contributed by Stephen L Moshier <moshier@mediaone.net>.
783 2001-04-13  Jes Sorensen  <jes@linuxcare.com>
785         * intl/tst-codeset.c: Include string.h to get prototype for strcmp().
787 2001-04-13  Jes Sorensen  <jes@linuxcare.com>
789         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add __pad0 to
790         explicitly pad struct siginfo instead of relying on compiler padding.
792 2001-04-12  Ulrich Drepper  <drepper@redhat.com>
794         * sysdeps/ia64/Dist: Add elf/entry.h.
796         * iconvdata/Makefile (distribute): Add TESTS2.
798 2001-04-13  Jakub Jelinek  <jakub@redhat.com>
800         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_load_address):
801         Calculate load address differently.
803 2001-04-12  Bruno Haible  <haible@clisp.cons.org>
805         * iconvdata/TESTS2: New file.
806         * iconvdata/run-iconv-test.sh: Also run tests from TESTS2.
807         * iconvdata/testdata/alfabeta..UTF-8: New file.
808         * iconvdata/testdata/alfabeta..UTF-16.BE: New file.
809         * iconvdata/testdata/alfabeta..UTF-16.LE: New file.
810         * iconvdata/testdata/alfabeta..UTF-32.BE: New file.
811         * iconvdata/testdata/alfabeta..UTF-32.LE: New file.
813 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
815         * iconvdata/utf-32.c: New file.
816         * iconvdata/gconv-modules: Add entries for UTF-32, UTF-32LE, UTF-32BE.
817         * iconvdata/Makefile (modules): Add UTF-32.
818         (distribute): Add utf-32.c.
820 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
822         * iconvdata/utf-16.c (PREPARE_LOOP): Initialize 'swap' after possibly
823         changing it in the state. After incrementing 'inptr', store it back.
824         * iconvdata/unicode.c (PREPARE_LOOP): After incrementing 'inptr',
825         store it back.
827 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
829         * iconvdata/utf-16.c (gconv_init): Use MAX_NEEDED_FROM, not
830         MIN_NEEDED_FROM.
832 2001-04-11  David Mosberger  <davidm@hpl.hp.com>
834         * sysdeps/ia64/htonl.S: Drop superfluous "alloc".
835         * sysdeps/ia64/htons.S: Likewise.
837         * sysdeps/ia64/memset.S: Add unwind directives.
838         * sysdeps/ia64/strncpy.S: Likewise.
839         * sysdeps/ia64/strcat.S: Likewise.
841         * sysdeps/ia64/memccpy.S: Add unwind directives.  Drop superfluous
842         restore of ar.pfs.
843         * sysdeps/ia64/strchr.S: Likewise.
844         * sysdeps/ia64/memmove.S: Likewise.
845         * sysdeps/ia64/memcpy.S: Likewise.
846         * sysdeps/ia64/memcmp.S: Likewise.
847         * sysdeps/ia64/memchr.S: Likewise.
848         * sysdeps/ia64/strcmp.S: Likewise.
849         * sysdeps/ia64/strlen.S: Likewise.
850         * sysdeps/ia64/strcpy.S: Likewise.
851         * sysdeps/ia64/strncmp.S: Likewise.
853 2001-04-11  Jakub Jelinek  <jakub@redhat.com>
855         * wcsmbs/wchar.h (fgetwc, getwc, getwchar, fputwc, putwc, putwchar,
856         fgetws, fputws, ungetwc, getwc_unlocked, getwchar_unlocked,
857         fgetwc_unlocked, fputwc_unlocked, putwc_unlocked, putwchar_unlocked,
858         fgetws_unlocked, fputws_unlocked, wcsftime): Add __THROW.
860 2001-04-11  Andreas Jaeger  <aj@suse.de>
862         * sysdeps/mips/elf/start.S [__ASSEMBLY__]: Define it.
864 2001-04-11  Andreas Schwab  <schwab@suse.de>
866         * sysdeps/m68k/fpu/libm-test-ulps: Adjusted.
868 2001-04-11  Ulrich Drepper  <drepper@redhat.com>
870         * sysdeps/arm/stackinfo.h: New file.
872 2001-04-08  Thorsten Kukuk  <kukuk@suse.de>
874         * sunrpc/rpc_main.c: If we compile RPC thread safe, allow
875         rpcgen to generate thread safe code.
877 2001-04-10  Andreas Jaeger  <aj@suse.de>
879         * math/test-fenv.c (initial_tests): Protect FE_TONEAREST declaration.
881 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
883         * elf/dl-minimal.c (__assert_fail): Change error string.  It's
884         most of the time no bug in ld.so.
885         (__assert_perror_fail): Likewise.
887 2001-04-11  Hans-Peter Nilsson  <hp@axis.com>
889         * sysdeps/generic/bits/fenv.h (fexcept_t): Change default type
890         from struct to unsigned int.
892 2001-04-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
894         * elf/elf.h (AT_DCACHEBSIZE, AT_ICACHEBSIZE, AT_UCACHEBSIZE,
895         AT_IGNOREPPC): New defines.
896         * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Print them.
897         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
898         Define for newer powerpc kernels.
899         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Use the standard
900         DL_FIND_ARG_COMPONENTS if __ASSUME_STD_AUXV is defined.
902 2000-4-10  kaz Kojima  <kkojima@rr.iij4u.or.jp>
904         * sysdeps/sh/stackinfo.h: New file.
906 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
908         * locale/tst-C-locale.c (run_test): Add tests for locale objects.
909         * locale/newlocale.c (__newlocale): Correct setting __ctype_b,
910         __ctype_tolower, and __ctype_toupper elements.
912         * ctype/ctype_l.c: Fix definitions of __tolower_l and __toupper_l.
913         Reported by Konstantin Osipov <rabid@spylog.ru>.
915         * sysdeps/i386/fpu/libm-test-ulps: Add deltas for tgamma to help
916         the lousy AMD FPU.
918 2001-04-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
920         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: New file.
921         * sysdeps/unix/sysv/linux/powerpc/Dist: Add sys/ptrace.h.
922         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Delete wrong stuff.
923         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Correct typedefs.
925 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
927         * elf/dl-deps.c (_dl_map_object_deps): Provide complete error
928         message.  Based on a patch by HJ Lu.
930 2001-04-10  Andreas Schwab  <schwab@suse.de>
932         * math/libm-test.inc (csinh_test): Don't require the invalid
933         exception for csinh (x + iNaN), but make it optional.
935 2001-04-09  David Mosberger  <davidm@hpl.hp.com>
937         * sysdeps/ia64/elf/start.S (_start): Add unwind directives.
939         * sysdeps/generic/entry.h [!__ASSEMBLY__]: Declare _start.
940         * sysdeps/ia64/elf/entry.h: New file.
941         * sysdeps/unix/sysv/linux/mips/entry.h [!__ASSEMBLY__]: Declare
942         __start.
943         * elf/rtld.c: Don't declare ENTRY_POINT.  Use ENTRY_POINT instead
944         of &ENTRY_POINT.
945         * sysdeps/generic/dl-sysdep.c: Likewise.
946         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
947         * sysdeps/ia64/elf/start.S: Save base address of register backing
948         store in __libc_ia64_register_backing_store_base.
950 2001-04-10  Martin Schwidefsky  <schwidefsky@de.ibm.com>
952         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Fix return
953         value of getcontext.
954         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
955         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Fix return
956         value of setcontext.
957         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
958         * sysdeps/unix/sysv/linux/s390/swapcontext.c: Skip setcontext
959         call by changing the saved context.
961 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
963         * sysdeps/alpha/stackinfo.h: New file.
964         * sysdeps/ia64/stackinfo.h: New file.
966 2001-04-10  Andreas Schwab  <schwab@suse.de>
968         * sysdeps/m68k/fpu/e_pow.c: Correct handling of some exceptional
969         values.
970         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
972 2001-04-09  Ulrich Drepper  <drepper@redhat.com>
974         * sysdeps/sparc/sparc32/sparcv9/Dist: Add hp-timing.c.
975         * sysdeps/sparc/sparc64/Dist: Add hp-timing.c.
977         * libio/Makefile (distribute): Add fd_to_filename.h.
979 2001-04-05  David S. Miller  <davem@redhat.com>
981         Add hp-timing support for sparcv9/sparc64 targets.
982         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: New file
983         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: New file
984         * sysdeps/sparc/sparc64/hp-timing.c: New file
985         * sysdeps/sparc/sparc64/hp-timing.h: New file
986         * sysdeps/sparc/sparc32/sparcv9/Makefile: Build hp-timing.
987         * sysdeps/sparc/sparc64/Makefile: Likewise.
989 2001-04-09  Jakub Jelinek  <jakub@redhat.com>
991         * sysdeps/generic/fd_to_filename.h: New file.
992         * sysdeps/unix/sysv/linux/fd_to_filename.h: New file.
993         * libio/freopen.c (freopen): If FILENAME is NULL, try to get
994         filename from the open file descriptor.
995         * libio/freopen64.c (freopen64): Likewise.
997 2001-04-09  Bruno Haible  <haible@clisp.cons.org>
999         * misc/error.c (error): fflush stdout also if
1000         error_print_progname != NULL.
1001         (error_at_line): Likewise.
1003 2001-04-07  Bruno Haible  <haible@clisp.cons.org>
1005         * intl/gettextP.h (struct loaded_domain): Add codeset_cntr field.
1006         (struct binding): Add codeset_cntr field.
1007         (_nl_load_domain): Add domainbinding argument.
1008         (_nl_init_domain_conv, _nl_free_domain_conv): New declarations.
1009         (_nl_find_msg): New declaration, moved here from loadinfo.h.
1010         * intl/loadinfo.h (struct loaded_l10nfile): Remove domainbinding field.
1011         (_nl_make_l10nflist): Remove domainbinding argument.
1012         (_nl_find_msg): Move declaration to gettextP.h.
1013         * intl/bindtextdom.c (set_binding_values): Initialize ->codeset_cntr
1014         to 0.  Increment it when ->codeset is changed.
1015         * intl/dcigettext.c (DCIGETTEXT): Pass binding to _nl_find_msg.
1016         (_nl_find_msg): Add domainbinding argument.  Reinitialize the converter
1017         if domainbinding->codeset_cntr has been incremented.
1018         * intl/finddomain.c (_nl_find_domain): Don't pass domainbinding to
1019         _nl_make_l10nflist().  Pass it to _nl_load_domain() instead.
1020         * intl/l10nflist.c (_nl_make_l10nflist): Remove domainbinding argument.
1021         * intl/loadmsgcat.c (_nl_init_domain_conv): New function, extracted
1022          from _nl_load_domain.  Append //TRANSLIT also when using libiconv.
1023         (_nl_free_domain_conv): New function, extracted from _nl_unload_domain.
1024         (_nl_load_domain): Add domainbinding argument.  Call
1025         _nl_init_domain_conv.
1026         (_nl_unload_domain): Call _nl_free_domain_conv.
1027         * intl/Makefile (distribute): Add tst-codeset.sh, tstcodeset.po.
1028         (test-srcs): Add tst-codeset.
1029         (tests): Depend on tst-codeset.out.
1030         (tst-codeset.out): New rule.
1031         (CFLAGS-tst-codeset.c): New variable.
1032         * intl/tst-codeset.sh: New file.
1033         * intl/tstcodeset.po: New file.
1034         * intl/tst-codeset.c: New file.
1035         * locale/findlocale.c (_nl_find_locale): Update _nl_make_l10nflist
1036         calls.
1038 2001-04-07  Roland McGrath  <roland@frob.com>
1040         * mach/msgserver.c (__mach_msg_server_timeout): Add an assert.
1042 2001-03-31  Roland McGrath  <roland@frob.com>
1044         * sysdeps/mach/hurd/fork.c: Skip NEWPROC just like NEWTASK when
1045         copying send rights into child.  When we hit our name for our proc
1046         port, just copy NEWPROC directly instead of repeating proc_task2proc
1047         to install the child's port.
1049 2001-04-08  Roland McGrath  <roland@frob.com>
1051         * Makeconfig ($(common-objpfx)soversions.i): Grok entries with DEFAULT
1052         in second column, to provide default values for third column.
1053         * shlib-versions: Add comments about using DEFAULT in second column.
1054         (s390x-.*-linux.*): Replace individual entries with a DEFAULT entry.
1055         (cris-.*-linux.*): Likewise.
1057 2001-04-09  Ulrich Drepper  <drepper@redhat.com>
1059         * Makefile (distribute): Add scripts/documented.sh.
1060         * scripts/documented.sh: New file.
1062 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
1064         * sysdeps/unix/sysv/linux/cris/Dist: New file.
1065         * sysdeps/unix/sysv/linux/cris/Makefile: New file.
1066         * sysdeps/unix/sysv/linux/cris/_G_config.h: New file.
1067         * sysdeps/unix/sysv/linux/cris/bits/fcntl.h: New file.
1068         * sysdeps/unix/sysv/linux/cris/bits/mman.h: New file.
1069         * sysdeps/unix/sysv/linux/cris/bits/resource.h: New file.
1070         * sysdeps/unix/sysv/linux/cris/brk.c: New file.
1071         * sysdeps/unix/sysv/linux/cris/chown.c: New file.
1072         * sysdeps/unix/sysv/linux/cris/clone.S: New file.
1073         * sysdeps/unix/sysv/linux/cris/fchown.c: New file.
1074         * sysdeps/unix/sysv/linux/cris/fcntl.c: New file.
1075         * sysdeps/unix/sysv/linux/cris/fxstat.c: New file.
1076         * sysdeps/unix/sysv/linux/cris/getegid.c: New file.
1077         * sysdeps/unix/sysv/linux/cris/geteuid.c: New file.
1078         * sysdeps/unix/sysv/linux/cris/getgid.c: New file.
1079         * sysdeps/unix/sysv/linux/cris/getgroups.c: New file.
1080         * sysdeps/unix/sysv/linux/cris/getresgid.c: New file.
1081         * sysdeps/unix/sysv/linux/cris/getresuid.c: New file.
1082         * sysdeps/unix/sysv/linux/cris/getrlimit.c: New file.
1083         * sysdeps/unix/sysv/linux/cris/getrlimit64.c: New file.
1084         * sysdeps/unix/sysv/linux/cris/getuid.c: New file.
1085         * sysdeps/unix/sysv/linux/cris/lchown.c: New file.
1086         * sysdeps/unix/sysv/linux/cris/lockf64.c: New file.
1087         * sysdeps/unix/sysv/linux/cris/lxstat.c: New file.
1088         * sysdeps/unix/sysv/linux/cris/mmap.S: New file.
1089         * sysdeps/unix/sysv/linux/cris/mmap64.S: New file.
1090         * sysdeps/unix/sysv/linux/cris/msgctl.c: New file.
1091         * sysdeps/unix/sysv/linux/cris/profil-counter.h: New file.
1092         * sysdeps/unix/sysv/linux/cris/register-dump.h: New file.
1093         * sysdeps/unix/sysv/linux/cris/semctl.c: New file.
1094         * sysdeps/unix/sysv/linux/cris/setegid.c: New file.
1095         * sysdeps/unix/sysv/linux/cris/seteuid.c: New file.
1096         * sysdeps/unix/sysv/linux/cris/setfsgid.c: New file.
1097         * sysdeps/unix/sysv/linux/cris/setfsuid.c: New file.
1098         * sysdeps/unix/sysv/linux/cris/setgid.c: New file.
1099         * sysdeps/unix/sysv/linux/cris/setgroups.c: New file.
1100         * sysdeps/unix/sysv/linux/cris/setregid.c: New file.
1101         * sysdeps/unix/sysv/linux/cris/setresgid.c: New file.
1102         * sysdeps/unix/sysv/linux/cris/setresuid.c: New file.
1103         * sysdeps/unix/sysv/linux/cris/setreuid.c: New file.
1104         * sysdeps/unix/sysv/linux/cris/setrlimit.c: New file.
1105         * sysdeps/unix/sysv/linux/cris/setuid.c: New file.
1106         * sysdeps/unix/sysv/linux/cris/shmctl.c: New file.
1107         * sysdeps/unix/sysv/linux/cris/socket.S: New file.
1108         * sysdeps/unix/sysv/linux/cris/sys/ucontext.h: New file.
1109         * sysdeps/unix/sysv/linux/cris/syscall.S: New file.
1110         * sysdeps/unix/sysv/linux/cris/sysdep.S: New file.
1111         * sysdeps/unix/sysv/linux/cris/sysdep.h: New file.
1112         * sysdeps/unix/sysv/linux/cris/vfork.S: New file.
1113         * sysdeps/unix/sysv/linux/cris/xstat.c: New file.
1115 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
1117         * sysdeps/cris/Dist: New file.
1118         * sysdeps/cris/Implies: New file.
1119         * sysdeps/cris/Makefile: New file.
1120         * sysdeps/cris/__longjmp.S: New file.
1121         * sysdeps/cris/_mcount.S: New file.
1122         * sysdeps/cris/bits/endian.h: New file.
1123         * sysdeps/cris/bits/setjmp.h: New file.
1124         * sysdeps/cris/bits/string.h: New file.
1125         * sysdeps/cris/dl-machine.h: New file.
1126         * sysdeps/cris/elf/start.S: New file.
1127         * sysdeps/cris/machine-gmon.h: New file.
1128         * sysdeps/cris/memcopy.h: New file.
1129         * sysdeps/cris/memusage.h: New file.
1130         * sysdeps/cris/setjmp.S: New file.
1131         * sysdeps/cris/sysdep.h: New file.
1132         * sysdeps/cris/wordcopy.c: New file.
1134 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
1136         * elf/elf.h: Add new relocations for CRIS.
1138 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
1140         * shlib-versions: Add cases for Linux on CRIS.
1142 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
1144         * configure.in (ASM_LINE_SEP tests): Handle CRIS assembly, with
1145         ';' for comments and '@' for line separator.
1147 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
1149         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Fix
1150         typo; s/==/=/ for assignment.
1152 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
1154         * malloc/Makefile: Correct comment; mtrace is Perl, not AWK.
1156 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
1158         * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): Check for
1159         empty input before checking full output.
1161 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
1163         * iconv/gconv.c (__gconv): Don't derefer parameter cd before
1164         checking if == -1L.
1166 2001-04-08  Ulrich Drepper  <drepper@redhat.com>
1168         * inet/rexec.c (rexec_af): Avoid calling perror with errno being set.
1170 2001-04-07  Stephen L Moshier  <moshier@mediaone.net>
1172         * sysdeps/ieee754/ldbl-128/e_logl.c: Correct infinity and NaN
1173         return values.
1175 2001-04-07  Ulrich Drepper  <drepper@redhat.com>
1177         * stdlib/tst-setcontext.c (main): Add a test for setcontext.
1179         * sysdeps/unix/sysv/linux/i386/getcontext.S: New file.
1180         * sysdeps/unix/sysv/linux/i386/setcontext.S: New file.
1181         * sysdeps/unix/sysv/linux/i386/makecontext.S: New file.
1182         * sysdeps/unix/sysv/linux/i386/swapcontext.S: New file.
1183         * sysdeps/unix/sysv/linux/i386/ucontext_i.h: New file.
1184         * sysdeps/unix/sysv/linux/i386/Dist: Add ucontext_i.h.
1186 2001-04-07  Andreas Jaeger  <aj@suse.de>
1188         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Use sincos
1189         instead of separate sin and cos.
1190         (__ieee754_j1l): Likewise.
1192 2001-04-06  Ulrich Drepper  <drepper@redhat.com>
1194         * sysdeps/ia64/abort-instr.h: New file.  Code by David Mosberger.
1196         * sysdeps/ia64/atomicity.h: New file.  Copied from libstdc++.
1198         * sysdeps/i386/i486/atomicity.h: Clean up the asms.
1200         * sysdeps/generic/e_scalb.c: Don't use FE_INVALID unless it's
1201         available.
1202         * sysdeps/generic/e_scalbf.c: Likewise.
1203         * sysdeps/generic/e_scalbl.c: Likewise.
1204         Patch by Mark Hatle <fray@mvista.com>.
1206 2001-04-05  David S. Miller  <davem@redhat.com>
1208         * sysdeps/sparc/abort-instr.h: New file.
1210 2001-04-05  Matt Wilson  <msw@redhat.com>
1212         * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
1213         added code to parse new 2.4 format.
1214         (GET_NPROCS_CONF_PARSER): Likewise.
1216 2001-04-05  David S. Miller  <davem@redhat.com>
1218         * scripts/config.sub: Recognize sparcv9b like sparcv9.
1219         * configure.in: Add sparcv9b.
1220         * sysdeps/sparc/sparc32/sparcv9b/Implies: New file
1221         * sysdeps/sparc/sparc32/sparcv9b/memcpy.S: New file
1222         * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: New file
1224 2001-04-06  David Mosberger  <davidm@hpl.hp.com>
1226         * stdlib/tst-setcontext.c: Move st2[] to global scope.
1227         (f2): Verify that stack pointer is inside st2[].
1229         * sysdeps/unix/sysv/linux/ia64/getcontext.S: It helps to save r12.
1230         * sysdeps/unix/sysv/linux/ia64/setcontext.S: It helps to restore r12.
1232 2001-04-06  Ulrich Drepper  <drepper@redhat.com>
1234         * timezone/antarctica: Update from tzdata2001b.
1235         * timezone/asia: Likewise.
1236         * timezone/australasia: Likewise.
1237         * timezone/europe: Likewise.
1238         * timezone/northamerica: Likewise.
1240         * iconv/iconv_open.c: Move strip and upstr definitions...
1241         * iconv/gconv_charset.h: ...here.  New file.
1242         * iconv/gconv_db.c (once): Move to file level.
1243         (do_lookup_alias): Split out from __gconv_find_transform.
1244         (__gconv_find_transform): Call do_lookup_alias.
1245         (__gconv_loopup_alias): New function.
1246         * locale/langinfo.h: Define _NL_*_CODESET values for all categories
1247         but LC_CTYPE.
1248         * locale/categories.def: Add entries for new _NL_*_CODESET values.
1249         * locale/C-ctype.c: Use _nl_C_codeset to initialize CODESET entry.
1250         * locale/C-address.c: Initialize _NL_*_CODESET element.
1251         * locale/C-collate.c: Likewise.
1252         * locale/C-identification.c: Likewise.
1253         * locale/C-measurement.c: Likewise.
1254         * locale/C-messages.c: Likewise.
1255         * locale/C-monetary.c: Likewise.
1256         * locale/C-name.c: Likewise.
1257         * locale/C-numeric.c: Likewise.
1258         * locale/C-paper.c: Likewise.
1259         * locale/C-telephone.c: Likewise.
1260         * locale/C-time.c: Likewise.
1261         * locale/localeinfo.h: Declare _nl_C_codeset.
1262         * locale/C_name.c: Define _nl_C_codeset.
1263         * locale/findlocale.c: Before accepting locale check that the used
1264         charset does not conflict with what the locale name said.
1265         * locale/programs/ld-address.c: Emit codeset information.
1266         * locale/programs/ld-collate.c: Likewise.
1267         * locale/programs/ld-identification.c: Likewise.
1268         * locale/programs/ld-measurement.c: Likewise.
1269         * locale/programs/ld-messages.c: Likewise.
1270         * locale/programs/ld-monetary.c: Likewise.
1271         * locale/programs/ld-name.c: Likewise.
1272         * locale/programs/ld-numeric.c: Likewise.
1273         * locale/programs/ld-paper.c: Likewise.
1274         * locale/programs/ld-telephone.c: Likewise.
1275         * locale/programs/ld-time.c: Likewise.
1277         * localedata/tests-mbwc/tst_funcs.h (TST_HEAD_LOCALE): It is an error
1278         if the locale data couldn't be found.
1280         * string/Makefile: Define tst-strxfrm-ENV.
1282         * ysdeps/unix/sysv/linux/ia64/getcontext.S: Fix comment.
1284 2001-04-06  Andreas Jaeger  <aj@suse.de>
1286         * include/sys/profil.h: New file.
1288         * dlfcn/modatexit.c: Add prototypes to silence GCC.
1289         * dlfcn/modcxaatexit.c: Likewise.
1290         * elf/globalmod1.c: Likewise.
1292 2001-04-05  David S. Miller  <davem@redhat.com>
1294         * elf/elf.h (HWCAP_SPARC_ULTRA3): Define it.
1295         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Add it to
1296         capability flags table and HWCAP_IMPORTANT, increase
1297         _DL_HWCAP_COUNT to 6.
1298         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
1300 2001-04-04  David Mosberger  <davidm@hpl.hp.com>
1302         * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Fix
1303         initialization of stack_end (bug reported by Zheng Gengbin
1304         <gzheng@students.uiuc.edu>).
1306 2001-04-05  Ulrich Drepper  <drepper@redhat.com>
1308         * sysdeps/i386/fpu/libm-test-ulps: Relax errors for asinl.
1310 2001-04-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1312         * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: New file.
1314 2001-04-05  Ulrich Drepper  <drepper@redhat.com>
1316         * sysdeps/ieee754/ldbl-96/e_asinl.c: Correct handling of +-Inf.
1317         * sysdeps/i386/fpu/e_asinl.S: Removed.  Too inaccurate.
1319         * login/tst-utmp.c: Make file usable again in tst-utmpx.c.
1321 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
1323         * sysdeps/unix/sysv/aix/dl-libc.c: Don't use the ELF version,
1324         define simple replacements here.  Patch by Michael Keezer.
1326         * sysdeps/ieee754/ldbl-128/e_logl.c: New file.
1327         * sysdeps/ieee754/ldbl-96/e_asinl.c: New file.
1328         Contributed by Stephen L Moshier <moshier@mediaone.net>.
1330         * posix/fnmatch_loop.c: Undefine NEW_PATTERN when it is not used
1331         anymore.
1333 2001-04-01  Andreas Jaeger  <aj@suse.de>
1335         * sysdeps/generic/s_nextafter.c (NO_LONG_DOUBLE): Add nexttowardl
1336         alias.
1338         * sysdeps/generic/s_fma.c (NO_LONG_DOUBLE): Add fmal alias.
1340 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
1342         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Add ucontext_i.h.
1343         * sysdeps/unix/sysv/linux/s390/s390-32/Dist: Likewise.
1345 2001-04-04  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1347         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: New file.
1348         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: New file.
1349         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: New file.
1350         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: New file.
1351         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: New file.
1352         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: New file.
1353         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: New file.
1354         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: New file.
1355         * sysdeps/unix/sysv/linux/s390/swapcontext.c: New file.
1357 2001-04-04  Andreas Jaeger  <aj@suse.de>
1359         * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_NO_REL): Move to right
1360         place.
1362 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
1364         * sunrpc/rpc_scan.c (symbols): Add entry for HYPER.
1365         * sunrpc/rpc_scan.h (enum tok_kind): Add TOK_HYPER.
1366         * sunrpc/rpc_parse.c (get_type): Handle TOK_HYPER.
1367         (unsigned_dec): Likewise.
1368         Patch by atai@jezebel.dreamhost.com.
1370         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Pass
1371         pointer to int as last parameter of yp_match.
1372         Patch by kanazawa@flab.fujitsu.co.jp.
1374 2001-04-03  Ulrich Drepper  <drepper@redhat.com>
1376         * resolv/netdb.h (gai_strerror): Make return value const.
1377         * sysdeps/generic/gai_strerror.c (gai_strerror): Likewise.
1378         * sysdeps/posix/gai_strerror.c (gai_strerror): Likewise.
1379         Add strings for new error values.
1381 2001-03-29  Michael Keezer  <mkeezer@redhat.com>
1383         * posix/tst-gnuglob.c: Added ifdef _DIRENT_HAVE_D_TYPE.
1384         * login/tst-utmp.c: Handle case where ut_tv is not available but
1385         ut_time is.
1386         * sysdeps/unix/sysv/aix/utmpx.h: New file.
1387         * sysdeps/unix/sysv/aix/bits/utmpx.h: Added
1388         _HAVE_UT_TYPE/PID/ID/TV/HOST defines.
1389         * sysdeps/unix/sysv/aix/libc-start.c: Removed temp code and made stub.
1390         * sysdeps/unix/sysv/aix/gettimeofday.c: New file added routines
1391         to access RTCU timer reg.
1392         * sysdeps/unix/sysv/aix/Makefile: Remove /usr/lib/crt0.o
1393         added dl-libc, dl-open,dl-sym, dl-close to misc.
1394         * sysdeps/unix/sysv/aix/start.c: New file.  Start code.
1395         * sysdeps/unix/sysv/aix/dlldr.h: New file.  AIX __loadx defines.
1396         * sysdeps/unix/sysv/aix/dl-close.c: New file.  AIX dl-close.
1397         * sysdeps/unix/sysv/aix/dl-open.c: New file.  AIX dl-open.
1398         * sysdeps/unix/sysv/aix/dl-sym.c: New file.  AIX dl-sym.
1399         * sysdeps/unix/sysv/aix/dl-libc.c: New file.  libc_dl-xxx support.
1400         * sysdeps/generic/strtoll.c: Added SHLIB_COMPAT(libc,GLIBC_2_0,
1401         GLIBC_2_2).
1402         * sysdeps/generic/strtoull.c: Likewise.
1403         * sysdeps/powerpc/ppc-mcount.S: Added nop after bl instruction.
1404         * sysdeps/unix/sysv/aix/powerpc/memset.c: New file to include
1405         sysdeps/generic/memset.c.
1406         * sysdeps/unix/sysv/aix/getpeername.c: Define __getpeername.
1408 2001-04-03  Ulrich Drepper  <drepper@redhat.com>
1410         * iconv/Makefile (CFLAGS-charmap.c): Add -DNEED_NULL_POINTER.
1411         * locale/programs/charmap.c: Define null_pointer if
1412         NEED_NULL_POINTER is defined.
1414         * misc/dirname.c (dirname): Handle multiple slashes correctly.
1416 2001-04-03  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1418         * sysdeps/s390/s390-64/initfini.c: Fix __gmon_start__ GOT access.
1420 2001-04-03  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1422         * sysdeps/s390/s390-32/bcopy.S: Optimize for speed.
1423         * sysdeps/s390/s390-64/bcopy.S: Likewise.
1424         * sysdeps/s390/s390-32/mempcy.S: Likewise.
1425         * sysdeps/s390/s390-64/memcpy.S: Likewise.
1427 2001-04-02  Bruno Haible  <haible@clisp.cons.org>
1429         * manual/message.texi (Advanced gettext functions): More specific
1430         syntax in the plural formula examples.
1432 2001-04-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1434         * sysdeps/powerpc/atomicity.h: Silence warnings.
1435         * sysdeps/powerpc/dl-machine.h: Likewise.
1436         * sysdeps/powerpc/register-dump.h: Likewise.
1437         * sysdeps/powerpc/fpu/s_lrint.c: Likewise.
1439 2001-04-02  Andreas Jaeger  <aj@suse.de>
1441         * misc/tst-dirname.c (main): Add more tests, derived from a bug
1442         report by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
1444 2001-04-01  Andreas Jaeger  <aj@suse.de>
1446         * debug/xtrace.sh (pcprofileso): Use SLIBDIR since libpcprofile.so
1447         is installed there.
1448         * malloc/memusage.sh (memusageso): Likewise for libmemusage.so.
1450 2001-04-01  H.J. Lu  <hjl@gnu.org>
1452         * posix/annexc.c (macrofile): Renamed from TMPFILE and set to
1453         tmpnam (NULL).
1454         * stdlib/isomac.c (macrofile): Likewise.
1456 2001-03-30  Thorsten Kukuk  <kukuk@suse.de>
1458         * inet/rcmd.c: Allow AF_UNSPEC as parameter.
1459         * nis/ypclnt.c (yp_all): Print error message only at last try,
1460         check for protocoll error only if we don't have a network error.
1462 2001-04-02  Andreas Schwab  <schwab@suse.de>
1464         * resolv/res_data.c (res_isourserver): Fix cast.
1466 2001-04-02  Andreas Jaeger  <aj@suse.de>
1468         * sysdeps/unix/sysv/linux/hppa/umount.c: Add prototype for
1469         __umount2.
1471         * sysdeps/i386/dl-machine.h (RTLD_START): Don't use multi-line
1472         strings.
1473         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
1475         * sysdeps/ieee754/dbl-64/uroot.h: Add missing braces arount
1476         initializers.
1477         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Likewise.
1479         * elf/rtld.c (print_statistics)[!HP_TIMING_NONAVAIL]: Avoid
1480         warning about unused variable.
1482         * string/string.h (strndupa): Add cast for C++ conformance.
1483         (strdupa): Likewise.
1484         Fixes PR libc/2173, reported by tbrowder@home.com.
1486 2001-03-30  Roland McGrath  <roland@frob.com>
1488         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't append
1489         options after $(build-module), which is no longer a single command.
1490         (LDFLAGS-link-rpcuserlibs): New variable to hold those options.
1491         (LDFLAGS-libmachuser-link.so, LDFLAGS-libhurduser-link.so): New
1492         variables using it.  Reported by Mark Kettenis <kettenis@gnu.org>.
1494 2001-03-11  Roland McGrath  <roland@frob.com>
1496         * elf/rtld.c (dl_main): Add cast to quiet warning.
1497         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1498         * iconv/gconv_conf.c (__gconv_get_path): Likewise.
1499         (__gconv_read_conf): Likewise.
1500         * iconv/gconv_db.c (gen_steps): Likewise.
1501         (__gconv_find_transform): Likewise.
1502         * locale/programs/charmap-dir.c (fopen_uncompressed): Likewise.
1503         (fopen_uncompressed): Use const in second argument's type.
1505 2001-03-11  Roland McGrath  <roland@frob.com>
1507         * sysdeps/mach/hurd/dl-sysdep.c (__writev): New function.
1509         * mach/mach_error.h: Fix ancient #endif syntax.
1510         * hurd/hurdmalloc.c: Likewise.
1512         * sysdeps/generic/atomicity.h (exchange_and_add, atomic_add,
1513         compare_and_swap): Add volatile qualifier to first arg, to bring
1514         these prototypes in line with all the other implementations.
1515         Add a #warning to remind the builder that these are not atomic.
1517 2001-03-04  Roland McGrath  <roland@frob.com>
1519         * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Use innermore first
1520         member of TEMP_F so its type is _IO_FILE * as expected.
1522         * hurd/fopenport.c (seekio): Conditionalize type of POS argument
1523         on [USE_IN_LIBIO].  Check the value for overflow, since for libio
1524         it might exceed off_t's range.
1526 2001-02-25  Roland McGrath  <roland@frob.com>
1528         * sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): Use prototype.
1529         * sysdeps/unix/bsd/getpt.c (__posix_openpt): Likewise.
1531         * sysdeps/mach/hurd/i386/intr-msg.h (SYSCALL_EXAMINE): Make this a
1532         macro instead of an inline function,
1533         (MSG_EXAMINE): Likewise.
1535         * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): Remove extraneous ##.
1537         * hurd/get-host.c: Include <string.h> for decls of built-ins.
1538         * hurd/hurdchdir.c: Likewise.
1539         * sysdeps/mach/hurd/i386/sigreturn.c: Likweise.
1540         * sysdeps/mach/hurd/opendir.c: Likewise.
1542         * mach/mach_init.c: Include <unistd.h> for _exit decl.
1544         * mach/errsystems.awk: Give output file a trailing newline.
1546         * mach/Machrules (MIG): Prepend CC='${CC}' to the mig command, so that
1547         the script will use our compiler for the cpp stage.
1549         With --enable-all-warnings we get a whole bunch of warnings,
1550         and these are just a few fixes; there are more needed to silence it.
1551         * mach/mach/mig_support.h (__mig_strncpy, mig_strncpy): Add extern
1552         decls before extern inline defns to quiet gcc warning.
1553         * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp): Likewise.
1554         * sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Likewise.
1556 2001-03-31  Andreas Jaeger  <aj@suse.de>
1558         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWHDLC): Added.
1559         (ARPHRD_HDLC): Define as alias for ARPHRD_CISCO.
1560         (ARPHRD_CISCO): New.
1561         Changes from Linux 2.4.3.
1563 2001-03-30  Isamu Hasegawa  <isamu@yamato.ibm.com>
1565         * posix/regex.c: Avoid an access violation if malloc failes.
1567 2001-03-30  Andreas Jaeger  <aj@suse.de>
1569         * sysdeps/alpha/ldiv.S (ldiv): Add alias for imaxdiv.
1571 2001-03-29  Ulrich Drepper  <drepper@redhat.com>
1573         * posix/regex.c: Remove unnecessary ifs.
1575         * math/bits/mathcalls.h: Remove infnan declaration.
1577 2001-03-29  H.J. Lu  <hjl@gnu.org>
1579         * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF,
1580         and LOW_HALF only if _LIBC is defined and _ISOMAC is not defined.
1581         * stdlib/isomac.c (fmt): Define _LIBC and _ISOMAC.
1582         .
1583 2001-03-29  Isamu Hasegawa  <isamu@yamato.ibm.com>
1585         * posix/regex.c: Fix typo and add a sentinel.
1587 2001-03-29  Ulrich Drepper  <drepper@redhat.com>
1589         * sysdeps/unix/sysv/linux/shm_open.c: Open new file always with
1590         O_NOFOLLOW.  Suggested by Christoph Roland.
1592 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1594         * sysdeps/s390/bits/string.h: New unified 31/64 bit string.h.
1595         * sysdeps/s390/s390-32/bits/string.h: Remove.
1596         * sysdeps/s390/s390-64/bits/string.h: Remove.
1597         * sysdeps/s390/s390-32/strcmp.S: New file.
1598         * sysdeps/s390/s390-64/strcmp.S: New file.
1600 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1602         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix typo.
1603         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
1605 2001-03-27  Ulrich Drepper  <drepper@redhat.com>
1607         * version.h (VERSION): Bump to 2.2.3.
1609         * stdlib/isomac.c (fmt): Don't define _LIBC.
1610         * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF, and
1611         LOW_HALF only if _LIBC is defined.
1613         * sysdeps/i386/fpu/libm-test-ulps: Slight adjustment of yn() error.
1615         * posix/fnmatch_loop.c (FCT): Handle !() after * special like @()
1616         and +().
1617         * posix/tst-fnmatch.input: Add test cases for matching empty strings.
1619         * sysdeps/ieee754/dbl-64/endian.h: Removed.  Move definitions...
1620         * include/endian.h: ...to here.
1622 2001-03-27  kaz Kojima  <kkojima@rr.iij4u.or.jp>
1624         * sysdeps/sh/sys/ucontext.h (NFREG): Rename to NFPREG.
1625         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NFREG): Likewise.
1627 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1629         * sysdeps/unix/sysv/linux/s390/ldconfig.h: Fix typo.
1631 2001-03-26  Ulrich Drepper  <drepper@redhat.com>
1633         * sysdeps/ia64/fpu/Dist: Add new files to distribute.
1634         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Likewise.
1635         * sysdeps/unix/sysv/linux/ia64/Dist: Likewise.
1637         * gmon/Makefile (headers): Add sys/profil.h.
1639 2001-03-18  Andreas Jaeger  <aj@suse.de>
1641         * manual/install.texi (Tools for Compilation): Advise to use GCC
1642         2.95.3.
1643         (Supported Configurations): Mention s390x.
1645 2001-03-26  Ben Collins  <bcollins@debian.org>
1647         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Add MAP_* and MADV_*
1648         defines to match other architectures.
1650 2001-03-26  Ulrich Drepper  <drepper@redhat.com>
1652         * libio/Makefile (tests): Add tst-ext.
1653         * libio/tst-ext.c: New file.
1655         * libio/iosetvbuf.c (_IO_setvbuf): Clear line buffer flag for _IONBF.
1657 2001-03-25  Ulrich Drepper  <drepper@redhat.com>
1659         Add changes which were in this form in the original patch by
1660         Eric Norum <eric.norum@usask.ca>.
1661         * include/rpc/rpc.h: Remove svc_fdset, rpc_createerr, svc_pollfd, and
1662         svc_max_pollfd.
1663         * sunrpc/rpc/rpc.h: Declare __rpc_thread_svc_fdset,
1664         __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
1665         __rpc_thread_svc_max_pollfd.
1666         Define svc_fdset, get_rpc_createerr, svc_pollfd, and
1667         svc_max_pollfd.
1668         * sunrpc/rpc_thread.c: Handle first thread special, it uses the
1669         global variables.
1670         Define __rpc_thread_svc_fdset, __rpc_thread_createerr,
1671         __rpc_thread_svc_pollfd, and __rpc_thread_svc_max_pollfd.
1672         * sunrpc/Versions [libc] (GLIBC_2.2.3): Export  __rpc_thread_svc_fdset,
1673         __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
1674         __rpc_thread_svc_max_pollfd.
1675         * sunrpc/clnt_gen.c: Replace use of rpc_createerr by call to
1676         get_rpc_createerr.
1677         * sunrpc/clnt_perr.c: Likewise.
1678         * sunrpc/clnt_simp.c: Likewise.
1679         * sunrpc/clnt_tcp.c: Likewise.
1680         * sunrpc/clnt_udp.c: Likewise.
1681         * sunrpc/clnt_unix.c: Likewise.
1682         * sunrpc/pm_getport.c: Likewise.
1684         * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): getgroups32
1685         syscall checks for negative n so don't test here as well.
1687 2001-03-23  Jes Sorensen  <jes@linuxcare.com>
1689         * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Moved to ...
1690         * sysdeps/ia64/sysdep.h: ...here.
1692         * sysdeps/ia64/sysdep.h (LOCAL_ENTRY): Define.
1693         * sysdeps/ia64/sysdep.h (LOCAL_LEAF): Define.
1695         * sysdeps/ia64/_mcount.S (_mcount_ret_helper): Use LOCAL_LEAF() to
1696         declare instead of LEAF().  Suggestion from David Mosberger.
1698 2001-03-21  David Mosberger  <davidm@hpl.hp.com>
1700         * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Add unwind
1701         directives.
1702         (PSEUDO): Drop .psr and .lsb directives.
1704         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Ditto.  Add unwind
1705         directives.
1706         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Ditto.
1708         * sysdeps/ia64/elf/start.S: Misc cleanup: remove .psr and .lsb
1709         directives etc.
1710         * sysdeps/unix/sysv/linux/ia64/brk.S: Ditto.
1711         * sysdeps/unix/sysv/linux/ia64/__longjmp.S: Ditto.
1712         * sysdeps/ia64/_mcount.S: Remove .psr and .lsb directives (no
1713         longer needed).  Add unwind directives.
1715         * sysdeps/ia64/sysdep.h: Define ASM_UNW_PRLG_RP, ASM_UNW_PRLG_PFS,
1716         ASM_UNW_PRLG_PSP, ASM_UNW_PRLG_PR, and ASM_UNW_PRLG_GRSAVE.
1718 2001-03-21  Paul Eggert  <eggert@twinsun.com>
1720         * posix/regex.h (RE_INVALID_INTERVAL_ORD): New macro.
1721         (RE_SYNTAX_POSIX_EGREP): Use it.
1722         * posix/regex.c (regex_compile): Implement it.
1724 2001-03-21  Paul Eggert  <eggert@twinsun.com>
1726         * posix/regex.c (GET_UNSIGNED_NUMBER): Check for overflow.
1727         Rewrite to avoid duplicate code.
1729 2001-03-21  H.J. Lu  <hjl@gnu.org>
1731         * elf/Makefile (tests): Don't depend on $(objpfx)tst-pathopt.out
1732         for cross-compiling.
1733         ($(objpfx)tst-pathopt.out): Undo the last change.
1735 2001-03-24  Mark Kettenis  <kettenis@gnu.org>
1737         * sysdeps/mach/hurd/i386/bits/sigcontext.h (sc_sp, sc_fp, sc_pc,
1738         sc_ps): Define as aliases for sc_uesp, sc_ebl, sc_eip and sc_efl.
1740         * sysdeps/mach/hurd/i386/init-first.c: Include <assert.h>.
1741         (_dl_argv): Declare.
1742         (init) [SHARED]: Readjust _dl_argv if we switched to a new stack.
1744 2001-03-22  Andreas Jaeger  <aj@suse.de>
1746         * iconvdata/Makefile (generated): Add iconv-test.xxx.
1748         * posix/Makefile (generated): Add bug-regex2.mtrace and
1749         bug-regex2-mem.
1751 2001-03-21  Ulrich Drepper  <drepper@redhat.com>
1753         * csu/version.c (__gnu_get_libc_release): Add prototype.
1754         (__gnu_get_libc_version): Likewise.
1755         * include/gnu/libc-version.h: Remove prototypes for not exported
1756         functions.
1758 2001-03-21  Jes Sorensen  <jes@linuxcare.com>
1760         * sysdeps/unix/sysv/linux/ia64/makecontext.c: Include libintl.h
1761         for internationalized printfs to work.
1763 2001-03-09  Bruno Haible  <haible@clisp.cons.org>
1765         * intl/dcigettext.c (transmem_block_t): Change to unsigned char, to
1766         avoid compiler warning.
1767         (_nl_find_msg): Add casts to avoid compiler warnings.
1769 2001-03-21  Ulrich Drepper  <drepper@redhat.com>
1771         * gmon/Makefile (routines): Add sprofil.
1772         (tests): Add tst-sprofil.
1773         (noprof): Add sprofil.
1774         * gmon/Versions [libc] (GLIBC_2.2.3): Add sprofil.
1776 2001-03-20  David Mosberger  <davidm@hpl.hp.com>
1778         * sysdeps/generic/sprofil.c: New file.
1779         * sysdeps/posix/sprofil.c: New file.
1780         * gmon/tst-sprofil.c: New file.
1781         * gmon/sys/profil.h: New file.
1783 2001-03-20  Andreas Schwab  <schwab@suse.de>
1785         * include/unistd.h: Adjust prototype of __gethostname.
1787 2001-03-20  Jakub Jelinek  <jakub@redhat.com>
1789         * sysdeps/sparc/stackinfo.h: New file.
1791 2001-03-21  Andreas Jaeger  <aj@suse.de>
1793         * elf/global.c (main): Use proper prototype.
1795 2001-03-20  Ulrich Drepper  <drepper@redhat.com>
1797         * sunrpc/Makefile (routines): Add rpc_thread.
1798         (CPPFLAGS): Add -D_RPC_THREAD_SAFE.
1799         * sunrpc/rpc_thread.c: New file.
1800         * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_destroy.
1801         * sunrpc/auth_none.c: Don't use global variables.  Access state in
1802         thread-local storage.
1803         * sunrpc/clnt_perr.c: Likewise.
1804         * sunrpc/clnt_raw.c: Likewise.
1805         * sunrpc/clnt_simp.c: Likewise.
1806         * sunrpc/key_call.c: Likewise.
1807         * sunrpc/rpc_common.c: Likewise.
1808         * sunrpc/svc.c: Likewise.
1809         * sunrpc/svc_raw.c: Likewise.
1810         * sunrpc/svc_simple.c: Likewise.
1811         * sunrpc/svcauth_des.c: Likewise.
1812         * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
1813         _HURD_THREADVAR_RPC_VARS.
1814         * sysdeps/generic/bits/libc-tsd.h: Mention _LIBC_TSD_KEY_RPC_VARS.
1815         * include/rpc/rpc.h: Define data structures for internal thread-local
1816         "global" variables.
1817         Based on patches by Eric Norum <eric.norum@usask.ca>.
1819         * elf/dl-load.c: Various little optimizations.
1821         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Return
1822         LINUX_LINK_MAX only if the statfs function is not implemented for
1823         the filesystem.
1825         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Return
1826         LINUX_LINK_MAX only if the fstatfs function is not implemented for
1827         the filesystem.
1829 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
1831         * elf/dl-dst.h (DL_DST_COUNT): Add __builtin_expect.
1833         * elf/dl-load.c (_dl_dst_count): Make DST recognition more robust.
1834         (_dl_dst_substitute): Likewise.
1836 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
1838         * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC]: Use fstat, not fstat64.
1840 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
1842         * intl/gettextP.h (struct expression): Add operators lnot, less_than,
1843         greater_than, less_or_equal, greater_or_equal. Replace args2/args3
1844         union by a 'nargs' counter and an 'args[]' array.
1845         * intl/plural.y: Don't include stdarg.h.
1846         (new_exp): Take an array of arguments instead of varargs.
1847         (new_exp_0, new_exp_1, new_exp_2, new_exp_3): New functions.
1848         ('?' ':'): Make right-associative.
1849         (EQUOP2): New token, replaces '=' and '!'.
1850         (CMPOP2): New token.
1851         (ADDOP2): New token, replaces '+' and '-'.
1852         (MULOP2): New token, replaces '*', '/' and '%'.
1853         ('!'): New token.
1854         (exp): Add rules for CMPOP2 and '!'. Don't call YYABORT.
1855         (start): Call YYABORT here.
1856         (FREE_EXPRESSION): Update.
1857         (yylex): Don't skip "\\n". Recognize comparison and '!' operators.
1858         Update for new token symbols.
1859         * intl/loadmsgcat.c (plvar, plone, germanic_plural,
1860         init_germanic_plural): Update.
1861         * intl/dcigettext.c (_nl_find_msg): Optimize for space.
1862         (plural_eval): Recognize comparison and '!' operators. Optimize for
1863         space.
1865 2001-03-10  Bruno Haible  <haible@clisp.cons.org>
1867         * intl/loadmsgcat.c (_nl_load_domain): locale_charset() doesn't return
1868         NULL any more.
1870 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
1872         * intl/loadmsgcat.c: Include headers needed for alloca().
1873         (freea): New macro.
1874         (_nl_load_domain): Add fallback code for platforms lacking alloca.
1875         * intl/localealias.c: (ADD_BLOCK, FREE_BLOCK): Remove macros.
1876         (freea): New macro.
1877         (read_alias_file): Simplify fallback code for platforms lacking
1878         alloca.
1880 2001-01-07  Bruno Haible  <haible@clisp.cons.org>
1882         * intl/gettextP.h (__gettextdebug): Remove declaration.
1883         (__gettext_free_exp, __gettextparse): Convert prototype to K&R C
1884         syntax.
1885         (gettext_free_exp__, gettextparse__): New non-libc declarations.
1886         * intl/plural.y [!_LIBC]: Define gettextparse__, gettext_free_exp__,
1887         not __gettextparse, __gettext_free_exp.
1888         * intl/loadmsgcat.c [!_LIBC]: Use gettextparse__, not __gettextparse.
1890 2001-02-24  Bruno Haible  <haible@clisp.cons.org>
1892         * intl/dcigettext.c: Update comment about HAVE_LOCALE_NULL.
1894 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
1896         * intl/loadmsgcat.c (_nl_load_domain): Add fallback code for platforms
1897         lacking strtoul, like SunOS4.
1899 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
1901         * intl/l10nflist.c (_nl_normalize_codeset): Use tolower, not _tolower.
1903 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
1905         * intl/bindtextdom.c (set_binding_values): Convert prototype to K&R C
1906         syntax.
1907         * intl/dcigettext.c (transcmp): Convert to K&R C syntax.
1908         * intl/explodename.c (_nl_find_language): Convert to K&R C syntax.
1909         * intl/plural.y (__gettext_free_exp, yylex, yyerror): Convert to K&R C
1910         syntax.
1912 2001-01-07  Bruno Haible  <haible@clisp.cons.org>
1914         * intl/gettextP.h (gettext__, dgettext__, dcgettext__, textdomain__,
1915         bindtextdomain__, bind_textdomain_codeset__): New declarations, from
1916         old libgettext.h.
1917         * intl/bindtextdom.c: Include libgnuintl.h instead of libgettext.h.
1918         * intl/dcgettext.c: Likewise.
1919         * intl/dcigettext.c: Likewise.
1920         * intl/dcngettext.c: Likewise.
1921         * intl/dngettext.c: Likewise.
1922         * intl/finddomain.c: Likewise.
1923         * intl/ngettext.c: Likewise.
1924         * intl/textdomain.c: Likewise.
1925         * intl/dgettext.c: Include libgnuintl.h instead of libgettext.h.
1926         Include gettextP.h.
1927         * intl/gettext.c: Likewise.  Don't include locale.h.
1929 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
1931         * intl/gettextP.h (ZERO): New macro.
1932         (struct binding): Always use ZERO.
1933         * intl/bindtextdom.c (offsetof): Provide fallback for platforms that
1934         lack it, like SunOS4.
1935         (set_binding_values): Use offsetof, not sizeof.
1936         * intl/dcigettext.c (offsetof): Provide fallback for platforms that
1937         lack it, like SunOS4.
1938         (ZERO): Remove macro.
1939         (struct transmem_list): Use ZERO.
1940         (DCIGETTEXT): Use offsetof, not sizeof.
1942 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
1944         * intl/gettextP.h: Include <stddef.h>. Include gettext.h, for
1945         nls_uint32.
1946         * intl/bindtextdom.c: Don't include gettext.h.
1947         * intl/dcgettext.c: Likewise.
1948         * intl/dcigettext.c: Likewise.
1949         * intl/dcngettext.c: Likewise.
1950         * intl/dngettext.c: Likewise.
1951         * intl/finddomain.c: Likewise.
1952         * intl/localealias.c: Likewise.
1953         * intl/ngettext.c: Likewise.
1954         * intl/plural.y: Likewise.
1955         * intl/textdomain.c: Likewise.
1957 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
1959         * intl/gettext.h: Don't include <stdio.h>.
1961 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
1963         * intl/Makefile (CPPFLAGS): Set LOCALEDIR instead of GNULOCALEDIR.
1964         * intl/dcigettext.c (_nl_default_dirname): Initialize with LOCALEDIR.
1966 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
1968         * sysdeps/unix/i386/i686/tempname.c: New file.
1970         * sysdeps/posix/tempname.c (__gen_tempname): If RANDOM_BITS is
1971         defined use this macro to get some bits of randomness instead of
1972         the usual gettimeofday or time calls.
1974 2001-03-16  Paul Eggert  <eggert@twinsun.com>
1976         * sysdeps/posix/tempname.c (uint64_t): Define to uintmax_t if
1977         not defined, and if UINT64_MAX is not defined.
1979 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
1981         * elf/cache.c: Mark and have translated a few more messages.
1983 2001-03-19  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1985         * elf/cache.c: Add case for FLAG_S390_LIB64.
1986         * sysdeps/generic/ldconfig.h: Add define for FLAG_S390_LIB64.
1987         * sysdeps/unix/sysv/linux/s390/ldconfig.h: New file.
1988         * sysdeps/unix/sysv/linux/s390/readelflib.c: New file.
1990 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
1992         * string/Makefile (tests): Add tst-strxfrm.
1993         * string/tst-strxfrm.c: New file.  Based on a test case by Paul Eggert.
1994         * string/Depend: New file.
1996 2001-03-19  Paul Eggert  <eggert@twinsun.com>
1998         * string/strxfrm.c (strxfrm): strxfrm should return 0, not 1,
1999         when given the empty string in nontrivial locales.
2001 2001-03-17  H.J. Lu  <hjl@gnu.org>
2003         * manual/Makefile (install): Use $(INSTALL_DATA) instead of
2004         cp to install `dir'.
2006 2001-03-19  Andreas Schwab  <schwab@suse.de>
2008         * Makerules (build-shlib): Make sure exit codes get checked
2009         properly.
2011 2001-03-18  Ulrich Drepper  <drepper@redhat.com>
2013         * Makerules (build-shlib): Remove unnecessary slashes introduced in
2014         last change.
2016         * configure.in: Test for -Bgroup option of linker.
2017         * config.make.in: Define have-Bgroup.
2019         * conform/data/unistd.h-data: Require gethostname.
2020         * posix/unistd.h: Make gethostname prototype available for
2021         __USE_XOPEN2K.
2023         * crypt/Makefile: When generating DSO link with libc_nonshared.a.
2024         * debug/Makefile: Likewise.
2025         * dlfcn/Makefile: Likewise.
2026         * hesiod/Makefile: Likewise.
2027         * iconvdata/extra-module.mk: Likewise.
2028         * locale/Makefile: Likewise.
2029         * login/Makefile: Likewise.
2030         * math/Makefile: Likewise.
2031         * nis/Makefile: Likewise.
2032         * nss/Makefile: Likewise.
2033         * resolv/Makefile: Likewise.
2034         * rt/Makefile: Likewise.
2036 2001-03-17  Ulrich Drepper  <drepper@redhat.com>
2038         * inet/Makefile (tests): Remove left-over comment.
2040         * posix/unistd.h (gethostname): Change type of second parameter
2041         back to size_t as per upcoming XPG6.
2042         * sysdeps/unix/sysv/aix/gethostname.c: Change type of second
2043         parameter back to size_t as per upcoming XPG6.
2044         * sysdeps/unix/sysv/sysv4/gethostname.c: Likewise.
2045         * sysdeps/unix/sysv/gethostname.c: Likewise.
2046         * sysdeps/mach/hurd/gethostname.c: Likewise.
2047         * sysdeps/generic/gethostname.c: Likewise.
2049 2001-03-16  Ulrich Drepper  <drepper@redhat.com>
2051         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
2052         Handle NaN here.
2054         * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext):
2055         Internationalize.
2057 2001-02-06  Jakub Jelinek  <jakub@redhat.com>
2059         * elf/dl-load.c (_dl_map_object): Don't test l_opencount when
2060         looking for name matches.
2062 2001-02-26  Jakub Jelinek  <jakub@redhat.com>
2064         * sysdeps/generic/sigcontextinfo.h (CALL_SIGHANDLER): Define.
2065         * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
2066         * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
2067         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
2068         * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
2069         * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
2070         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
2071         * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
2072         * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
2073         * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
2074         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
2075         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
2077 2001-03-16  Ulrich Drepper  <drepper@redhat.com>
2079         * sysdeps/ieee754/ldbl-96/s_erfl.c: New file.
2080         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
2082         * sysdeps/i386/fpu/libm-test-ulps: Adjust for addition of erfl and
2083         erfcl.
2084         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2086 2001-03-16  David Mosberger  <davidm@hpl.hp.com>
2088         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
2089         Drop hack that was needed for 2.1.1 kernel headers.
2091         * sysdeps/unix/sysv/linux/ia64/ucontext_i.h: New file.
2093         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Rewrite to make it
2094         overlay with kernel's "struct sigcontext".
2096         * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep_headers): Add
2097         sys/rse.h for "misc" subdir.
2098         (sysdep_routines): Add __start_context for "stdlib" subdir.
2100         * sysdeps/unix/sysv/linux/ia64/sys/rse.h: New file (based on
2101         kernel file of the same name).
2103         * stdlib/Makefile (tests): Add tst-setcontext.
2104         * stdlib/tst-setcontext.c: New file (based on a sample program by
2105         Uli Drepper).
2107         * sysdeps/unix/sysv/linux/ia64/setcontext.S: New file.
2108         * sysdeps/unix/sysv/linux/ia64/getcontext.S: New file.
2109         * sysdeps/unix/sysv/linux/ia64/__start_context.S: New file.
2110         * sysdeps/unix/sysv/linux/ia64/makecontext.c: New file.
2111         * sysdeps/unix/sysv/linux/ia64/swapcontext.c: New file.
2113         * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): Use extr.u
2114         instead of shift & and.
2116 2001-03-16  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2118         * sysdeps/s390/s390-64/bits/huge_val.h: Move to...
2119         * sysdeps/s390/bits/huge_val.h: ...here.
2120         * sysdeps/s390/s390-32/bit/huge_val.h: Remove.
2121         * sysdeps/s390/s390-64/ffs.c: Move to...
2122         * sysdeps/s390/ffs.c: ...here.
2123         * sysdeps/s390/s390-32/ffs.c: Remove.
2125 2001-03-16  Jakub Jelinek  <jakub@redhat.com>
2127         * elf/ldconfig.c (search_dir): Remove bogus diagnostic, instead
2128         update osversion from more recent library.
2130 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2132         * sysdeps/unix/sysv/linux/s390/Dist: Move to...
2133         * sysdeps/unix/sysv/linux/s390/s390-32/Dist: ...here.
2134         * sysdeps/unix/sysv/linux/s390/Makefile: Move to...
2135         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: ...here.
2136         * sysdeps/unix/sysv/linux/s390/Versions: Move to...
2137         * sysdeps/unix/sysv/linux/s390/s390-32/Versions: ...here.
2138         * sysdeps/unix/sysv/linux/s390/alphasort64.c: Move to...
2139         * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: ...here.
2140         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Move to...
2141         * sysdeps/unix/sysv/linux/s390/s390-32/bits/fcntl.h: ...here.
2142         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Move to...
2143         * sysdeps/unix/sysv/linux/s390/s390-32/bits/mman.h: ...here.
2144         * sysdeps/unix/sysv/linux/s390/bits/resource.h: Move to...
2145         * sysdeps/unix/sysv/linux/s390/s390-32/bits/resource.h: ...here.
2146         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Move to...
2147         * sysdeps/unix/sysv/linux/s390/s390-32/bits/stat.h: ...here.
2148         * sysdeps/unix/sysv/linux/s390/chown.c: Move to...
2149         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: ...here.
2150         * sysdeps/unix/sysv/linux/s390/clone.S: Move to...
2151         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: ...here.
2152         * sysdeps/unix/sysv/linux/s390/fchown.c: Move to...
2153         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: ...here.
2154         * sysdeps/unix/sysv/linux/s390/fcntl.c: Move to...
2155         * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: ...here.
2156         * sysdeps/unix/sysv/linux/s390/fxstat.c: Move to...
2157         * sysdeps/unix/sysv/linux/s390/s390-32/fxstat.c: ...here.
2158         * sysdeps/unix/sysv/linux/s390/getdents64.c: Move to...
2159         * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: ...here.
2160         * sysdeps/unix/sysv/linux/s390/getegid.c: Move to...
2161         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: ...here.
2162         * sysdeps/unix/sysv/linux/s390/geteuid.c: Move to...
2163         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: ...here.
2164         * sysdeps/unix/sysv/linux/s390/getgid.c: Move to...
2165         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: ...here.
2166         * sysdeps/unix/sysv/linux/s390/getgroups.c: Move to...
2167         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: ...here.
2168         * sysdeps/unix/sysv/linux/s390/getresgid.c: Move to...
2169         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: ...here.
2170         * sysdeps/unix/sysv/linux/s390/getresuid.c: Move to...
2171         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: ...here.
2172         * sysdeps/unix/sysv/linux/s390/getrlimit.c: Move to...
2173         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: ...here.
2174         * sysdeps/unix/sysv/linux/s390/getrlimit64.c: Move to...
2175         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: ...here.
2176         * sysdeps/unix/sysv/linux/s390/getuid.c: Move to...
2177         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: ...here.
2178         * sysdeps/unix/sysv/linux/s390/lchown.c: Move to...
2179         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: ...here.
2180         * sysdeps/unix/sysv/linux/s390/lockf64.c: Move to...
2181         * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: ...here.
2182         * sysdeps/unix/sysv/linux/s390/lxstat.c: Move to...
2183         * sysdeps/unix/sysv/linux/s390/s390-32/lxstat.c: ...here.
2184         * sysdeps/unix/sysv/linux/s390/mmap.S: Move to...
2185         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: ...here.
2186         * sysdeps/unix/sysv/linux/s390/mmap64.S: Move to...
2187         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: ...here.
2188         * sysdeps/unix/sysv/linux/s390/msgctl.c: Move to...
2189         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: ...here.
2190         * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: Move to...
2191         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: ...here.
2192         * sysdeps/unix/sysv/linux/s390/readdir64.c: Move to...
2193         * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: ...here.
2194         * sysdeps/unix/sysv/linux/s390/readdir64_r.c: Move to...
2195         * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: ...here.
2196         * sysdeps/unix/sysv/linux/s390/register-dump.h: Move to...
2197         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: ...here.
2198         * sysdeps/unix/sysv/linux/s390/scandir64.c: Move to...
2199         * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: ...here.
2200         * sysdeps/unix/sysv/linux/s390/semctl.c: Move to...
2201         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: ...here.
2202         * sysdeps/unix/sysv/linux/s390/setegid.c: Move to...
2203         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: ...here.
2204         * sysdeps/unix/sysv/linux/s390/seteuid.c: Move to...
2205         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: ...here.
2206         * sysdeps/unix/sysv/linux/s390/setfsgid.c: Move to...
2207         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: ...here.
2208         * sysdeps/unix/sysv/linux/s390/setfsuid.c: Move to...
2209         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: ...here.
2210         * sysdeps/unix/sysv/linux/s390/setgid.c: Move to...
2211         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: ...here.
2212         * sysdeps/unix/sysv/linux/s390/setgroups.c: Move to...
2213         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: ...here.
2214         * sysdeps/unix/sysv/linux/s390/setregid.c: Move to...
2215         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: ...here.
2216         * sysdeps/unix/sysv/linux/s390/setresgid.c: Move to...
2217         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: ...here.
2218         * sysdeps/unix/sysv/linux/s390/setresuid.c: Move to...
2219         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: ...here.
2220         * sysdeps/unix/sysv/linux/s390/setreuid.c: Move to...
2221         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: ...here.
2222         * sysdeps/unix/sysv/linux/s390/setrlimit.c: Move to...
2223         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: ...here.
2224         * sysdeps/unix/sysv/linux/s390/setuid.c: Move to...
2225         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: ...here.
2226         * sysdeps/unix/sysv/linux/s390/shmctl.c: Move to...
2227         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: ...here.
2228         * sysdeps/unix/sysv/linux/s390/socket.S: Move to...
2229         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: ...here.
2230         * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Move to...
2231         * sysdeps/unix/sysv/linux/s390/s390-32/sys/procfs.h: ...here.
2232         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Move to...
2233         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: ...here.
2234         * sysdeps/unix/sysv/linux/s390/syscall.S: Move to...
2235         * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: ...here.
2236         * sysdeps/unix/sysv/linux/s390/syscalls.list: Move to...
2237         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: ...here.
2238         * sysdeps/unix/sysv/linux/s390/sysdep.S: Move to...
2239         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: ...here.
2240         * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
2241         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here.
2242         * sysdeps/unix/sysv/linux/s390/versionsort64.c: Move to...
2243         * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: ...here.
2244         * sysdeps/unix/sysv/linux/s390/xstat.c: Move to...
2245         * sysdeps/unix/sysv/linux/s390/s390-32/xstat.c: ...here.
2247 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2249         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: New file.
2250         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: New file.
2251         * sysdeps/unix/sysv/linux/s390/s390-64/bits/elfclass.h: New file.
2252         * sysdeps/unix/sysv/linux/s390/s390-64/bits/fcntl.h: New file.
2253         * sysdeps/unix/sysv/linux/s390/s390-64/bits/ipc.h: New file.
2254         * sysdeps/unix/sysv/linux/s390/s390-64/bits/mman.h: New file.
2255         * sysdeps/unix/sysv/linux/s390/s390-64/bits/msq.h: New file.
2256         * sysdeps/unix/sysv/linux/s390/s390-64/bits/resource.h: New file.
2257         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sem.h: New file.
2258         * sysdeps/unix/sysv/linux/s390/s390-64/bits/shm.h: New file.
2259         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: New file.
2260         * sysdeps/unix/sysv/linux/s390/s390-64/bits/siginfo.h: New file.
2261         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigstack.h: New file.
2262         * sysdeps/unix/sysv/linux/s390/s390-64/bits/stat.h: New file.
2263         * sysdeps/unix/sysv/linux/s390/s390-64/bits/types.h: New file.
2264         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: New file.
2265         * sysdeps/unix/sysv/linux/s390/s390-64/fstatfs64.c: New file.
2266         * sysdeps/unix/sysv/linux/s390/s390-64/ftruncate64.c: New file.
2267         * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: New file.
2268         * sysdeps/unix/sysv/linux/s390/s390-64/fxstat64.c: New file.
2269         * sysdeps/unix/sysv/linux/s390/s390-64/getdents.c: New file.
2270         * sysdeps/unix/sysv/linux/s390/s390-64/getdents64.c: New file.
2271         * sysdeps/unix/sysv/linux/s390/s390-64/getrlimit64.c: New file.
2272         * sysdeps/unix/sysv/linux/s390/s390-64/glob.c: New file.
2273         * sysdeps/unix/sysv/linux/s390/s390-64/glob64.c: New file.
2274         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: New file.
2275         * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: New file.
2276         * sysdeps/unix/sysv/linux/s390/s390-64/lxstat64.c: New file.
2277         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: New file.
2278         * sysdeps/unix/sysv/linux/s390/s390-64/mmap64.c: New file.
2279         * sysdeps/unix/sysv/linux/s390/s390-64/pread64.c: New file.
2280         * sysdeps/unix/sysv/linux/s390/s390-64/pwrite64.c: New file.
2281         * sysdeps/unix/sysv/linux/s390/s390-64/readdir.c: New file.
2282         * sysdeps/unix/sysv/linux/s390/s390-64/readdir64.c: New file.
2283         * sysdeps/unix/sysv/linux/s390/s390-64/readdir64_r.c: New file.
2284         * sysdeps/unix/sysv/linux/s390/s390-64/readdir_r.c : New file.
2285         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: New file.
2286         * sysdeps/unix/sysv/linux/s390/s390-64/setrlimit64.c: New file.
2287         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: New file.
2288         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: New file.
2289         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c: New file.
2290         * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: New file.
2291         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: New file.
2292         * sysdeps/unix/sysv/linux/s390/s390-64/statfs64.c: New file.
2293         * sysdeps/unix/sysv/linux/s390/s390-64/sys/procfs.h: New file.
2294         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: New file.
2295         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: New file.
2296         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: New file.
2297         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: New file.
2298         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: New file.
2299         * sysdeps/unix/sysv/linux/s390/s390-64/truncate64.c: New file.
2300         * sysdeps/unix/sysv/linux/s390/s390-64/xstat.c: New file.
2301         * sysdeps/unix/sysv/linux/s390/s390-64/xstat64.c: New file.
2303 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2305         * sysdeps/s390/Dist: Move to...
2306         * sysdeps/s390/390-32/Dist: ...here.
2307         * sysdeps/s390/Implies: Move to...
2308         * sysdeps/s390/s390-32/Implies: ...here.
2309         * sysdeps/s390/Makefile: Move to...
2310         * sysdeps/s390/s390-32/Makefile: ...here.
2311         * sysdeps/s390/Versions: Move to...
2312         * sysdeps/s390-32/s390/Versions: ...here.
2313         * sysdeps/s390/add_n.S: Move to...
2314         * sysdeps/s390/s390-32/add_n.S: ...here.
2315         * sysdeps/s390/addmul_1.S: Move to...
2316         * sysdeps/s390/s390-32/addmul_1.S: ...here.
2317         * sysdeps/s390/atomicity.h: Move to...
2318         * sysdeps/s390/s390-32/atomicity.h: ...here.
2319         * sysdeps/s390/backtrace.c: Move to...
2320         * sysdeps/s390/s390-32/backtrace.c: ...here.
2321         * sysdeps/s390/bcopy.S: Move to...
2322         * sysdeps/s390/s390-32/bcopy.S: ...here.
2323         * sysdeps/s390/bits/byteswap.h: Move to...
2324         * sysdeps/s390/s390-32/bits/byteswap.h: ...here.
2325         * sysdeps/s390/bits/huge_val.h: Move to...
2326         * sysdeps/s390/s390-32/bits/huge_val.h: ...here.
2327         * sysdeps/s390/bsd-_setjmp.S: Move to...
2328         * sysdeps/s390/s390-32/bsd-_setjmp.S: ...here.
2329         * sysdeps/s390/bsd-setjmp.S: Move to...
2330         * sysdeps/s390/s390-32/bsd-setjmp.S: ...here.
2331         * sysdeps/s390/bzero.S: Move to...
2332         * sysdeps/s390/s390-32/bzero.S: ...here.
2333         * sysdeps/s390/elf/bsd-_setjmp.S: Move to...
2334         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: ...here.
2335         * sysdeps/s390/elf/bsd-setjmp.S: Move to...
2336         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: ...here.
2337         * sysdeps/s390/elf/start.S: Move to...
2338         * sysdeps/s390/s390-32/elf/start.S: ...here.
2339         * sysdeps/s390/ffs.c: Move to...
2340         * sysdeps/s390/s390-32/ffs.c: ...here.
2341         * sysdeps/s390/memchr.S: Move to...
2342         * sysdeps/s390/s390-32/memchr.S: ...here.
2343         * sysdeps/s390/memcpy.S: Move to...
2344         * sysdeps/s390/s390-32/memcpy.S: ...here.
2345         * sysdeps/s390/memset.S: Move to...
2346         * sysdeps/s390/s390-32/memset.S: ...here.
2347         * sysdeps/s390/mul_1.S: Move to...
2348         * sysdeps/s390/s390-32/mul_1.S: ...here.
2349         * sysdeps/s390/s390-mcount.S: Move to...
2350         * sysdeps/s390/s390-32/s390-mcount.S: ...here.
2351         * sysdeps/s390/strcpy.S: Move to...
2352         * sysdeps/s390/s390-32/strcpy.S: ...here.
2353         * sysdeps/s390/strncpy.S: Move to...
2354         * sysdeps/s390/s390-32/strncpy.S: ...here.
2355         * sysdeps/s390/sub_n.S: Move to...
2356         * sysdeps/s390/s390-32/sub_n.S: ...here.
2358 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2360         * sysdeps/s390/s390-64/Dist: New file.
2361         * sysdeps/s390/s390-64/Implies: New file.
2362         * sysdeps/s390/s390-64/Makefile: New file.
2363         * sysdeps/s390/s390-64/__longjmp.c: New file.
2364         * sysdeps/s390/s390-64/add_n.S: New file.
2365         * sysdeps/s390/s390-64/atomicity.h: New file.
2366         * sysdeps/s390/s390-64/backtrace.c: New file.
2367         * sysdeps/s390/s390-64/bcopy.S: New file.
2368         * sysdeps/s390/s390-64/bits/byteswap.h: New file.
2369         * sysdeps/s390/s390-64/bits/huge_val.h: New file.
2370         * sysdeps/s390/s390-64/bits/setjmp.h: New file.
2371         * sysdeps/s390/s390-64/bits/string.h: New file.
2372         * sysdeps/s390/s390-64/bsd-_setjmp.S: New file.
2373         * sysdeps/s390/s390-64/bsd-setjmp.S: New file.
2374         * sysdeps/s390/s390-64/bzero.S: New file.
2375         * sysdeps/s390/s390-64/dl-machine.h: New file.
2376         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: New file.
2377         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: New file.
2378         * sysdeps/s390/s390-64/elf/setjmp.S: New file.
2379         * sysdeps/s390/s390-64/elf/start.S: New file.
2380         * sysdeps/s390/s390-64/ffs.c: New file.
2381         * sysdeps/s390/s390-64/initfini.c: New file.
2382         * sysdeps/s390/s390-64/memchr.S: New file.
2383         * sysdeps/s390/s390-64/memcpy.S: New file.
2384         * sysdeps/s390/s390-64/memset.S: New file.
2385         * sysdeps/s390/s390-64/s390x-mcount.S: New file.
2386         * sysdeps/s390/s390-64/setjmp.S: New file.
2387         * sysdeps/s390/s390-64/strcpy.S: New file.
2388         * sysdeps/s390/s390-64/strncpy.S: New file.
2389         * sysdeps/s390/s390-64/sub_n.S: New file.
2390         * sysdeps/s390/s390-64/sysdep.h: New file.
2392 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2394         * scripts/config.guess: Add support for Linux on 64 bit S/390.
2395         * scripts/config.sub: Likewise.
2397 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2399         * configure.in: Add support for 64 bit S/390.
2401         * elf/elf.h: Add new relocations for 64 bit S/390.
2403         * shlib-versions: Add rules for Linux on 64 bit S/390.
2405 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2407         * sysdeps/s390/__longjmp.c: Move to...
2408         * sysdeps/s390/s390-32/__longjmp.c: ...here.  Add code
2409         to load the floating point registers that should be saved
2410         according to the ABI.
2412         * sysdeps/s390/bits/setjmp.h: Move to...
2413         * sysdeps/s390/s390-32/bits/setjmp.h: ...here.  Avoid
2414         the use of long long in the __jmp_buf type definition.
2416         * sysdeps/s390/bits/string.h: Move to...
2417         * sysdeps/s390/s390-32/bits/string.h: ...here.  Add several missing
2418         #ifndef _FORCE_INLINES.
2420         * sysdeps/s390/dl-machine.h: Move to...
2421         * sysdeps/s390/s390-32/dl-machine.h: ...here.  Add a check for the
2422         executables EI_CLASS in elf_machine_matches_host.
2424         * sysdeps/s390/elf/setjmp.S: Move to...
2425         * sysdeps/s390/s390-32/elf/setjmp.S: ...here.  Replace
2426         branches to globally defined symbol __sigsetjmp by branches to
2427         a local label (this avoids the generation of a R_390_PC16DBL
2428         relocation in -fpic code).
2430         * sysdeps/s390/gmp-mparam.h: Use defines from <bits/wordsize.h> to
2431         calculate BITS_PER_MP_LIMB, BYTES_PER_MP_LIMB and BITS_PER_LONGINT.
2433         * sysdeps/s390/initfini.c: Move to...
2434         * sysdeps/s390/s390-32/initfini.c: ...here.  Replace ALIGN with
2435         ".align 4,0x07".
2437         * sysdeps/s390/setjmp.S: Move to...
2438         * sysdeps/s390/s390-32/setjmp.S: ...here.  Add code to store the
2439         floating point registers that should be saved according to the ABI.
2441         * sysdeps/s390/sys/ucontext.h: Remove since it is unused.
2443         * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
2444         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here. Include
2445         sysdeps/s390/s390-32/sysdep.h instead of sysdeps/s390/sysdep.h.
2447 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2449         * configure.in: Change machine=s390 to machine=s390/s390-32.
2451         * elf/elf.h: Correct comment for R_390_PLT16DBL.
2453 2001-03-12  Jakub Jelinek  <jakub@redhat.com>
2455         * csu/Makefile (abi-tag.h): Define OS and version separately, allow
2456         version to be overriden from config.h.
2457         * csu/abi-note.S: Use OS and version separately, include config.h.
2458         * elf/dl-load.c (_dl_osversion): New.
2459         (_dl_map_object_from_fd): Kill some warnings.
2460         (open_verify): Check .note.ABI-tag of the library if present.
2461         * elf/Makefile (CPPFLAGS-dl-load.c): Add -I$(csu-objpfx).
2462         * elf/cache.c (struct cache_entry): Add osversion.
2463         (print_entry): Print osversion.
2464         (print_cache): Pass osversion to it.
2465         (compare): Sort according to osversion.
2466         (save_cache): Set osversion.
2467         (add_to_cache): Add osversion argument.
2468         * sysdeps/generic/ldconfig.h (add_to_cache, process_file,
2469         process_elf_file): Add osversion argument.
2470         * elf/readlib.c (process_file): Likewise.
2471         * sysdeps/generic/readelflib.c (process_elf_file): Likewise.
2472         * sysdeps/unix/sysv/linux/ia64/readelflib.c (process_elf_file,
2473         process_elf32_file, process_elf64_file): Likewise.
2474         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file,
2475         process_elf32_file, process_elf64_file): Likewise.
2476         * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file,
2477         process_elf32_file, process_elf64_file): Likewise.
2478         * elf/ldconfig.c (manual_link): Pass it.
2479         (search_dir): Issue diagnostic if two libs with the same soname in
2480         the same directory have different .note.ABI-tag.  Record osversion in
2481         dlib_entry and use it from there.
2482         (struct lib_entry): Remove.
2483         (struct dlib_entry): Add osversion.
2484         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Check
2485         osversion.
2486         * sysdeps/generic/dl-cache.h (struct file_entry_new): Replace __unused
2487         field with osversion.
2488         * sysdeps/generic/ldsodefs.h (_dl_osversion): Declare.
2489         * sysdeps/unix/sysv/linux/init-first.c: Include ldsodefs.h.
2490         * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Save kernel
2491         version in _dl_osversion.
2492         * sysdeps/unix/sysv/linux/configure.in: Define __ABI_TAG_VERSION.
2493         * Makerules (build-shlib-helper, build-module-helper): New.
2494         (build-shlib, build-module-helper): Make sure .note.ABI-tag comes
2495         early.
2496         * config.h.in (__ABI_TAG_VERSION): Add.
2497         * elf/dl-minimal.c (__strtoul_internal): Set endptr on return.
2498         * sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS):
2499         Handle LD_ASSUME_KERNEL.
2500         * sysdeps/unix/sysv/linux/dl-librecon.h: New.
2502 2001-03-15  Ulrich Drepper  <drepper@redhat.com>
2504         * timezone/antarctica: Update from tzdata2001a.
2505         * timezone/asia: Likewise.
2506         * timezone/australasia: Likewise.
2507         * timezone/backward: Likewise.
2508         * timezone/etcetera: Likewise.
2509         * timezone/europe: Likewise.
2510         * timezone/leapseconds: Likewise.
2511         * timezone/northamerica: Likewise.
2512         * timezone/southamerica: Likewise.
2513         * timezone/systemv: Likewise.
2514         * timezone/yearistype: Likewise.
2515         * timezone/zone.tab: Likewise.
2516         * timezone/tzdump.c: Update from tzcode2001a.
2518 2001-03-15  H.J. Lu  <hjl@gnu.org>
2520         * intl/Makefile: Fix a typo.
2522 2001-03-14  David Mosberger  <davidm@hpl.hp.com>
2524         * gmon/gmon.c (write_call_graph): Avoid unaligned accesses when
2525         writing arc structures.
2527 2001-03-15  H.J. Lu  <hjl@gnu.org>
2529         * elf/Makefile ($(objpfx)tst-pathopt.out): Protected against
2530         cross-compiling.
2532 2001-03-13  Andreas Schwab  <schwab@suse.de>
2534         * posix/PTESTS2C.sed: Replace literal CRs by `\r'.
2536 2001-03-15  Ulrich Drepper  <drepper@redhat.com>
2538         * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Fix test
2539         for control message fitting into message data.
2540         Patch by James Antill <james@and.org>.
2542         * posix/tst-fnmatch.input: Add test case for FNM_PERIOD handling with
2543         FNM_EXTMATCH.
2545         * posix/fnmatch_loop.c: Optimize handling of ?() and @().
2546         * posix/fnmatch.c: Define STRLEN and STRCAT appropriately.
2548         * posix/Versions [libc] (GLIBC_2.2.3): Add fnmatch.
2549         * posix/fnmatch.c: Define with new default version GLIBC_2.2.3 to
2550         avoid running binaries with libc versions without FNM_EXTMATCH support.
2552         * include/wchar.h: Add prototype for __wcscat.
2553         * wcsmbs/wcscat.c: Define __wcscat and make wcscat weak alias.
2555         * posix/fnmatch.h (FNM_EXTMATCH): Define.
2556         * posix/fnmatch.c (NO_LEADING_PERIOD): Define.
2557         (posixly_correct): Move global variable here.
2558         (INT, EXT, END): Name new functions defined in fnmatch_loop.c.
2559         (fnmatch): Pretty printing.
2560         * posix/fnmatch_loop.c: Add code to handle FNM_EXTMATCH.
2561         * posix/tst-fnmatch.c: Recognize EXTMATCH flag.
2562         * posix/tst-fnmatch.input: Add tests for extended matching.
2564         * posix/testfnm.c: Add test for patterns with multiple ** before /.
2565         * posix/fnmatch_loop.c: Fix problem with the test above.
2567 2001-03-14  Ulrich Drepper  <drepper@redhat.com>
2569         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove
2570         reference to usqrt.
2572         * resolv/res_data.c (fp_nquery): Call __res_ninit not __res_init.
2574 2001-03-12  Andreas Jaeger  <aj@suse.de>
2576         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
2577         Use EM_X86_64 instead of EM_X8664.
2579 2001-03-12  Ulrich Drepper  <drepper@redhat.com>
2581         * sysdeps/ieee754/dbl-64/upow.h: Define nZERO and nINF.
2583         * sysdeps/ieee754/dbl-64/e_remainder.c: Fix handling of boundary
2584         conditions.
2586         * sysdeps/ieee754/dbl-64/e_pow.c: Fix handling of boundary
2587         conditions.
2589         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Handle Inf and NaN
2590         correctly.
2591         (__cos): Likewise.
2593         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Handle NaN
2594         correctly.
2595         (__ieee754_acos): Likewise.
2597 2001-03-12  Andreas Jaeger  <aj@suse.de>
2599         * sysdeps/unix/sysv/linux/s390/sysdep.h (_LINUX_S390_SYSDEP_H):
2600         Fix typo.  Patch by Martin Schwidefsky  <schwidefsky@de.ibm.com>.
2602         * sysdeps/s390/bits/string.h: Protect __STRING_INLINE against
2603         redefinition.
2605 2001-03-11  Roland McGrath  <roland@frob.com>
2607         * sysdeps/mach/hurd/configure.in: Add a sanity check on $prefix.
2609 2001-03-11  Ulrich Drepper  <drepper@redhat.com>
2611         * sysdeps/ieee754/dbl-64/endian.h: Define also one of BIG_ENDI and
2612         LITTLE_ENDI.
2614         * sysdeps/ieee754/dbl-64/MathLib.h (Init_Lib): Use void as
2615         parameter list.
2617         Last-bit accurate math library implementation by IBM Haifa.
2618         Contributed by Abraham Ziv <ziv@il.ibm.com>, Moshe Olshansky
2619         <olshansk@il.ibm.com>, Ealan Henis <ealan@il.ibm.com>, and
2620         Anna Reitman <reitman@il.ibm.com>.
2621         * math/Makefile (dbl-only-routines): New variable.
2622         (libm-routines): Add $(dbl-only-routines).
2623         * sysdeps/ieee754/dbl-64/e_acos.c: Empty, definition is in e_asin.c.
2624         * sysdeps/ieee754/dbl-64/e_asin.c: Replaced with accurate asin
2625         implementation.
2626         * sysdeps/ieee754/dbl-64/e_atan2.c: Replaced with accurate atan2
2627         implementation.
2628         * sysdeps/ieee754/dbl-64/e_exp.c: Replaced with accurate exp
2629         implementation.
2630         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't use __kernel_sin and
2631         __kernel_cos.
2632         * sysdeps/ieee754/dbl-64/e_log.c: Replaced with accurate log
2633         implementation.
2634         * sysdeps/ieee754/dbl-64/e_remainder.c: Replaced with accurate
2635         remainder implementation.
2636         * sysdeps/ieee754/dbl-64/e_pow.c: Replaced with accurate pow
2637         implementation.
2638         * sysdeps/ieee754/dbl-64/e_sqrt.c: Replaced with accurate sqrt
2639         implementation.
2640         * sysdeps/ieee754/dbl-64/k_cos.c: Empty, definition is in s_sin.c.
2641         * sysdeps/ieee754/dbl-64/k_sin.c: Empty, definition is in s_sin.c.
2642         * sysdeps/ieee754/dbl-64/s_atan.c: Replaced with accurate atan
2643         implementation.
2644         * sysdeps/ieee754/dbl-64/s_cos.c: Empty, definition is in s_sin.c.
2645         * sysdeps/ieee754/dbl-64/s_sin.c: Replaced with accurate sin/cos
2646         implementation.
2647         * sysdeps/ieee754/dbl-64/s_sincos.c: Rewritten to not use __kernel_sin
2648         and __kernel_cos.
2649         * sysdeps/ieee754/dbl-64/s_tan.c: Replaced with accurate tan
2650         implementation.
2651         * sysdeps/ieee754/dbl-64/Dist: Add new non-code files.
2652         * sysdeps/ieee754/dbl-64/MathLib.h: New file.
2653         * sysdeps/ieee754/dbl-64/asincos.tbl: New file.
2654         * sysdeps/ieee754/dbl-64/atnat.h: New file.
2655         * sysdeps/ieee754/dbl-64/atnat2.h: New file.
2656         * sysdeps/ieee754/dbl-64/branred.c: New file.
2657         * sysdeps/ieee754/dbl-64/branred.h: New file.
2658         * sysdeps/ieee754/dbl-64/dla.h: New file.
2659         * sysdeps/ieee754/dbl-64/doasin.c: New file.
2660         * sysdeps/ieee754/dbl-64/doasin.h: New file.
2661         * sysdeps/ieee754/dbl-64/dosincos.c: New file.
2662         * sysdeps/ieee754/dbl-64/dosincos.h: New file.
2663         * sysdeps/ieee754/dbl-64/endian.h: New file.
2664         * sysdeps/ieee754/dbl-64/halfulp.c: New file.
2665         * sysdeps/ieee754/dbl-64/mpa.c: New file.
2666         * sysdeps/ieee754/dbl-64/mpa.h: New file.
2667         * sysdeps/ieee754/dbl-64/mpa2.h: New file.
2668         * sysdeps/ieee754/dbl-64/mpatan.c: New file.
2669         * sysdeps/ieee754/dbl-64/mpatan.h: New file.
2670         * sysdeps/ieee754/dbl-64/mpatan2.c: New file.
2671         * sysdeps/ieee754/dbl-64/mpexp.c: New file.
2672         * sysdeps/ieee754/dbl-64/mpexp.h: New file.
2673         * sysdeps/ieee754/dbl-64/mplog.c: New file.
2674         * sysdeps/ieee754/dbl-64/mplog.h: New file.
2675         * sysdeps/ieee754/dbl-64/mpsqrt.c: New file.
2676         * sysdeps/ieee754/dbl-64/mpsqrt.h: New file.
2677         * sysdeps/ieee754/dbl-64/mptan.c: New file.
2678         * sysdeps/ieee754/dbl-64/mydefs.h: New file.
2679         * sysdeps/ieee754/dbl-64/powtwo.tbl: New file.
2680         * sysdeps/ieee754/dbl-64/root.tbl: New file.
2681         * sysdeps/ieee754/dbl-64/sincos.tbl: New file.
2682         * sysdeps/ieee754/dbl-64/sincos32.c: New file.
2683         * sysdeps/ieee754/dbl-64/sincos32.h: New file.
2684         * sysdeps/ieee754/dbl-64/slowexp.c: New file.
2685         * sysdeps/ieee754/dbl-64/slowpow.c: New file.
2686         * sysdeps/ieee754/dbl-64/uasncs.h: New file.
2687         * sysdeps/ieee754/dbl-64/uatan.tbl: New file.
2688         * sysdeps/ieee754/dbl-64/uexp.h: New file.
2689         * sysdeps/ieee754/dbl-64/uexp.tbl: New file.
2690         * sysdeps/ieee754/dbl-64/ulog.h: New file.
2691         * sysdeps/ieee754/dbl-64/ulog.tbl: New file.
2692         * sysdeps/ieee754/dbl-64/upow.h: New file.
2693         * sysdeps/ieee754/dbl-64/upow.tbl: New file.
2694         * sysdeps/ieee754/dbl-64/urem.h: New file.
2695         * sysdeps/ieee754/dbl-64/uroot.h: New file.
2696         * sysdeps/ieee754/dbl-64/usncs.h: New file.
2697         * sysdeps/ieee754/dbl-64/utan.h: New file.
2698         * sysdeps/ieee754/dbl-64/utan.tbl: New file.
2699         * sysdeps/i386/fpu/branred.c: New file.
2700         * sysdeps/i386/fpu/doasin.c: New file.
2701         * sysdeps/i386/fpu/dosincos.c: New file.
2702         * sysdeps/i386/fpu/halfulp.c: New file.
2703         * sysdeps/i386/fpu/mpa.c: New file.
2704         * sysdeps/i386/fpu/mpatan.c: New file.
2705         * sysdeps/i386/fpu/mpatan2.c: New file.
2706         * sysdeps/i386/fpu/mpexp.c: New file.
2707         * sysdeps/i386/fpu/mplog.c: New file.
2708         * sysdeps/i386/fpu/mpsqrt.c: New file.
2709         * sysdeps/i386/fpu/mptan.c: New file.
2710         * sysdeps/i386/fpu/sincos32.c: New file.
2711         * sysdeps/i386/fpu/slowexp.c: New file.
2712         * sysdeps/i386/fpu/slowpow.c: New file.
2713         * sysdeps/ia64/fpu/branred.c: New file.
2714         * sysdeps/ia64/fpu/doasin.c: New file.
2715         * sysdeps/ia64/fpu/dosincos.c: New file.
2716         * sysdeps/ia64/fpu/halfulp.c: New file.
2717         * sysdeps/ia64/fpu/mpa.c: New file.
2718         * sysdeps/ia64/fpu/mpatan.c: New file.
2719         * sysdeps/ia64/fpu/mpatan2.c: New file.
2720         * sysdeps/ia64/fpu/mpexp.c: New file.
2721         * sysdeps/ia64/fpu/mplog.c: New file.
2722         * sysdeps/ia64/fpu/mpsqrt.c: New file.
2723         * sysdeps/ia64/fpu/mptan.c: New file.
2724         * sysdeps/ia64/fpu/sincos32.c: New file.
2725         * sysdeps/ia64/fpu/slowexp.c: New file.
2726         * sysdeps/ia64/fpu/slowpow.c: New file.
2727         * sysdeps/m68k/fpu/branred.c: New file.
2728         * sysdeps/m68k/fpu/doasin.c: New file.
2729         * sysdeps/m68k/fpu/dosincos.c: New file.
2730         * sysdeps/m68k/fpu/halfulp.c: New file.
2731         * sysdeps/m68k/fpu/mpa.c: New file.
2732         * sysdeps/m68k/fpu/mpatan.c: New file.
2733         * sysdeps/m68k/fpu/mpatan2.c: New file.
2734         * sysdeps/m68k/fpu/mpexp.c: New file.
2735         * sysdeps/m68k/fpu/mplog.c: New file.
2736         * sysdeps/m68k/fpu/mpsqrt.c: New file.
2737         * sysdeps/m68k/fpu/mptan.c: New file.
2738         * sysdeps/m68k/fpu/sincos32.c: New file.
2739         * sysdeps/m68k/fpu/slowexp.c: New file.
2740         * sysdeps/m68k/fpu/slowpow.c: New file.
2742         * iconvdata/gconv-modules: Add a number of alias, mostly for IBM
2743         codepages.
2745 2001-03-11  Andreas Jaeger  <aj@suse.de>
2747         * elf/elf.h (EM_*): Synch with official list.
2749 2001-03-07  David Mosberger  <davidm@hpl.hp.com>
2751         * sysdeps/ia64/bits/fenv.h (FE_NONIEEE_ENV): New macro.
2753 2001-03-07  Jes Sorensen  <jes@linuxcare.com>
2755         * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Remove unused
2756         variables addr & len.
2758 2001-02-22  Jes Sorensen  <jes@linuxcare.com>
2760         * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Remove
2761         punctuation in asm constraint.
2763 2001-03-07  Mark Kettenis  <kettenis@gnu.org>
2765         * resolv/netdb.h [__USE_GNU]: Define __need_timespec and include
2766         <time.h> to get definition of `struct timespec'.
2768 2001-03-08  Jakub Jelinek  <jakub@redhat.com>
2770         * elf/rtld.c (dl_main): If tracing, warn about undefined symbols if
2771         LD_WARN=1, not if LD_WARN is unset.
2773 2001-03-07  Andreas Schwab  <schwab@suse.de>
2775         * elf/ldconfig.h: Moved to ...
2776         * sysdeps/generic/ldconfig.h: ... here.
2777         * sysdeps/unix/sysv/linux/i386/ldconfig.h: New file.
2778         * sysdeps/unix/sysv/linux/m68k/ldconfig.h: New file.
2779         * sysdeps/unix/sysv/linux/ia64/ldconfig.h: New file.
2780         * elf/readlib.c (interpreters, known_libs): Use
2781         SYSDEP_KNOWN_INTERPRETER_NAMES and SYSDEP_KNOWN_LIBRARY_NAMES
2782         instead of hard coding old names.
2784 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
2786         * catgets/Makefile (generated): Add test-gencat.h.
2787         (sample.SJIS.cat): Also generate header.
2788         * catgets/sample.SJIS: Add new set and message, both with symbolic
2789         names.
2790         * catgets/test-gencat.sh: Also compare generated header with what
2791         we expect.
2793 2001-03-07  Jakub Jelinek  <jakub@redhat.com>
2795         * catgets/gencat.c (read_input_file): Preserve properly symbolic
2796         names.
2798 2001-03-06  Andreas Jaeger  <aj@suse.de>
2800         * sysdeps/s390/dl-machine.h (elf_machine_relplt): Removed, it's not
2801         needed.
2802         (elf_machine_pltrel_p): Likewise.
2803         * sysdeps/powerpc/dl-machine.h: Likewise.
2804         * sysdeps/generic/dl-machine.h (elf_machine_pltrel_p): Likewise.
2806 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
2808         * sysdeps/unix/sysv/linux/arm/Dist: Add dl-procinfo.c and
2809         dl-procinfo.h.
2811 2001-03-05  Philip Blundell  <philb@gnu.org>
2813         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c: New file.
2814         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h: New file.
2815         * sysdeps/unix/sysv/linux/arm/Makefile [subdir=elf]
2816         (sysdep-dl-routines, sysdep_routines, sysdep-rtld-routines): Add
2817         dl-procinfo.
2819 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
2821         * dlfcn/tstatexit.c (main): Don't perform the test if __dso_handle
2822         is not available.
2823         * dlfcn/tstcxaatexit.c (main): Likewise.
2825 2001-03-10  Andreas Jaeger  <aj@suse.de>
2827         * sysdeps/i386/fpu/libm-test-ulps: Revert last patch.
2829 2001-03-09  Andreas Jaeger  <aj@suse.de>
2831         * sysdeps/s390/dl-machine.h (elf_machine_matches_host): Handle
2832         both new and old EM_S390 values.
2833         (EM_S390_OLD): New constant.
2835         * elf/elf.h (EM_S390): Use official value.
2837 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
2839         * conform/data/sys/socket.h-data: Allow SO* symbols.
2841 2001-03-07  Andreas Schwab  <schwab@suse.de>
2843         * sysdeps/ia64/fpu/Makefile: Modify sysdep_routines instead of
2844         routines, and sysdep-CPPFLAGS instead of CPPFLAGS.
2846 2001-03-07  Andreas Jaeger  <aj@suse.de>
2848         * resolv/Makefile (routines): Only build gai_sigqueue when threads
2849         are available.
2851 2001-03-07  Jakub Jelinek  <jakub@redhat.com>
2853         * elf/ldconfig.c (_dl_sysdep_message): Remove.
2854         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Include
2855         ldsodefs.h.
2856         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
2858         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Use
2859         _dl_error_printf instead of _dl_sysdep_error.
2860         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
2861         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h (_dl_procinfo):
2862         Use _dl_printf instead of _dl_sysdep_message.
2863         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h (_dl_procinfo):
2864         Likewise.
2866 2001-03-06  Ben Collins  <bcollins@debian.org>
2868         * manual/arith.texi (Integers): Fix documentation of fast and
2869         least integer typedefs.
2871 2001-03-06  Jakub Jelinek  <jakub@redhat.com>
2873         * resolv/Depend: New file.
2874         * resolv/Makefile (extra-libs, tests): Build libanl and ga_test only
2875         when libpthread is built.
2877 2001-03-06  Andreas Jaeger  <aj@suse.de>
2879         * sysdeps/i386/fpu/libm-test-ulps: Add some deltas.
2881         * sysdeps/sh/dl-machine.h (elf_machine_rela): Add missing comma.
2882         Patch by kaz Kojima <kkojima@rr.iij4u.or.jp>.
2884 2001-03-05  Ulrich Drepper  <drepper@redhat.com>
2886         * stdlib/Versions: Remove __new_exitfn again.  Not needed.
2888 2001-03-05  Andreas Jaeger  <aj@suse.de>
2890         * stdlib/msort.c (qsort): Don't use alloca in a function call.
2892 2001-03-05  Ulrich Drepper  <drepper@redhat.com>
2894         * sysdeps/unix/sysv/linux/bits/stat.h (__S_TYPEISMQ, __S_TYPEISSEM,
2895         __S_TYPEISSHM): Rewrite to enforce correct use the macros.  They still
2896         always return zero.
2897         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
2898         * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
2899         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
2900         * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Likewise.
2901         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
2902         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
2903         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
2905 2001-03-04  Andreas Jaeger  <aj@suse.de>
2907         * stdlib/longlong.h: Don't use multi-line strings.
2908         * iconvdata/tst-loading.c: Likewise.
2910         * csu/Makefile ($(objpfx)version-info.h): Don't use multi-line
2911         string.
2913 2001-03-04  Ulrich Drepper  <drepper@redhat.com>
2915         * sysdeps/ia64/fpu/libm-test-ulps: Adjust for addition of lgammal.
2917         * rt/lio_listio.c: Add a few asserts.
2919         * elf/global.c: New file.
2920         * elf/globalmod1.c: New file.
2921         * elf/Makefile: Add rules to build and run global.
2923         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Define SI_ASYNCNL.
2924         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
2925         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
2926         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2927         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
2929         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: New file.
2930         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
2932         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Fix handling of boundary cases.
2934         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Always initialize sign variable.
2935         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
2937         * sysdeps/i386/fpu/libm-test-ulps: Adjust after addition of lgammal.
2939         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Fix typo in last change.
2941 2001-03-04  Andreas Jaeger  <aj@suse.de>
2943         * resolv/tst-aton.c: Add testcase for IP with four periods.
2945         * resolv/inet_addr.c: Don't recognize an IP with four periods.
2946         Patch by Andre' Breiler <A.Breiler@gmx.net>.
2948 2001-02-27  Philip Blundell  <pb@futuretv.com>
2950         * elf/elf.h: Add new ARM definitions from latest (B-01)
2951         specification.  Correct naming of EF_ARM_ALIGN8 et al.
2953 2001-03-04  Ulrich Drepper  <drepper@redhat.com>
2955         * stdio-common/tst-printf.sh: Remove bashisms.
2956         Patch by Matthew Clarke <Matthew_Clarke@mindlink.bc.ca>.
2958 2001-03-03  Ulrich Drepper  <drepper@redhat.com>
2960         * Versions.def: Add libanl definition.
2961         * shlib-versions: Add entry for libanl.
2962         * resolv/Makefile (distribute): Add gai_misc.h and ga_test.c.
2963         (routines): Add gai_sigqueue.
2964         (extra-libs): Add libanl.
2965         (libanl-routines): New variable.
2966         Add rules to build libanl and ga_test.
2967         * resolv/Versions [libc] (GLIBC_2.2.3): Add __gai_sigqueue.
2968         [libanl]: New library.
2969         * resolv/netdb.h: Add definitions for libanl.
2970         * resolv/getaddrinfo_a.c: New file.
2971         * resolv/gai_cancel.c: New file.
2972         * resolv/gai_error.c: New file.
2973         * resolv/gai_misc.c: New file.
2974         * resolv/gai_misc.h: New file.
2975         * resolv/gai_notify.c: New file.
2976         * resolv/gai_suspend.c: New file.
2977         * resolv/ga_test.c: New file.
2978         * sysdeps/generic/gai_sigqueue.c: New file.
2979         * sysdeps/unix/sysv/linux/gai_sigqueue.c: New file.
2980         * sysdeps/generic/bits/siginfo.h: Allow __need_sigevent_t being defined
2981         and provide only that definition.
2982         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
2983         * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
2984         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
2985         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
2986         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2987         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
2989         * rt/aio_misc.c: Fix typos in comments.
2990         * rt/lio_listio.c: Pretty printing.  Little optimization in request
2991         list handling.
2993         * elf/rtld.c: Remove commented out code.
2995         * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC):
2996         Update for real 2.4 kernels.
2998 2001-03-01  Ulrich Drepper  <drepper@redhat.com>
3000         * elf/dl-load.c: Pretty printing.
3002         * elf/dl-object.c (_dl_new_object): Don't add the loader's scope
3003         twice.
3005 2001-02-28  Ulrich Drepper  <drepper@redhat.com>
3007         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle
3008         relocations which are not in ld.so if RTLD_BOOTSTRAP is defined.
3010         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
3012         * elf/dl-misc.c (_dl_debug_vdprintf): Fix typo visible on 64-bit
3013         machines.
3015         * sysdeps/unix/sysv/linux/powerpc/sysdep.h (C_TEXT): Define.
3017 2001-02-27  Ulrich Drepper  <drepper@redhat.com>
3019         * sysdeps/powerpc/elf/libc-start.c: Use new output functions and
3020         _dl_debug_mask.
3022         * elf/Versions [ld]: Don't export _dl_debug_message anymore.  Export
3023         _dl_debug_printf.
3024         * elf/dl-misc.c: Remove definition of _dl_sysdep_output and
3025         _dl_debug_message.  Define _dl_debug_vdprintf, _dl_debug_printf,
3026         _dl_debug_printf_c, and _dl_printf.
3027         * sysdeps/generic/ldsodefs.h: Don't declare _dl_sysdep_output,
3028         _dl_debug_message, _dl_sysdep_message, _dl_sysdep_error, and
3029         _dl_sysdep_fatal.  Declare _dl_debug_printf, _dl_debug_printf_c,
3030         _dl_printf, _dl_error_printf, and _dl_fatal_printf.
3031         * elf/dl-close.c: Replace use of old output functions with the new
3032         ones.
3033         * elf/dl-deps.c: Likewise.
3034         * elf/dl-error.c: Likewise.
3035         * elf/dl-fini.c: Likewise.
3036         * elf/dl-init.c: Likewise.
3037         * elf/dl-load.c: Likewise.
3038         * elf/dl-lookup.c: Likewise.
3039         * elf/dl-minimal.c: Likewise.
3040         * elf/dl-open.c: Likewise.
3041         * elf/dl-profile.c: Likewise.
3042         * elf/dl-reloc.c: Likewise.
3043         * elf/dl-version.c: Likewise.
3044         * elf/do-lookup.h: Likewise.
3045         * elf/rtld.c: Likewise.
3046         * sysdeps/generic/dl-cache.c: Likewise.
3047         * sysdeps/generic/dl-sysdep.c: Likewise.
3048         * sysdeps/generic/libc-start.c: Likewise.
3049         * sysdeps/i386/dl-machine.h: Likewise.
3050         * sysdeps/arm/dl-machine.h: Likewise.
3051         * sysdeps/hppa/dl-machine.h: Likewise.
3052         * sysdeps/m68k/dl-machine.h: Likewise.
3053         * sysdeps/powerpc/dl-machine.h: Likewise.
3054         * sysdeps/s390/dl-machine.h: Likewise.
3055         * sysdeps/sh/dl-machine.h: Likewise.
3056         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
3057         * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
3058         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
3060         * sysdeps/generic/ldsodefs.h: Remove _dl_secure declaration.
3062         * dlfcn/Makefile: Don't run tstatexit test unless .hidden is
3063         supported by assembler.
3065         * sysdeps/generic/ldsodefs.h: Remove commented-out variable
3066         declaractions.
3068         * elf/rtld.c: Little optimizations in handling _dl_lazy.
3070         * elf/cache.c (save_cache): Portability changes.
3071         * elf/dl-profile.c (_dl_start_profile): Likewise.
3073         * elf/sln.c: Cleanups.  Remove arbitrary limits.
3075         * elf/dl-close.c: Replace _dl_debug_* variables with _dl_debug_mask.
3076         * elf/dl-deps.c: Likewise.
3077         * elf/dl-fini.c: Likewise.
3078         * elf/dl-init.c: Likewise.
3079         * elf/dl-load.c: Likewise.
3080         * elf/dl-lookup.c: Likewise.
3081         * elf/dl-open.c: Likewise.
3082         * elf/dl-reloc.c: Likewise.
3083         * elf/dl-support.c: Likewise.
3084         * elf/dl-version.c: Likewise.
3085         * elf/do-lookup.h: Likewise.
3086         * elf/rtld.c: Likewise.
3087         * sysdeps/generic/dl-cache.c: Likewise.
3088         * sysdeps/generic/ldsodefs.h: Likewise.
3089         * sysdeps/generic/libc-start.c: Likewise.
3090         * elf/Versions: Don't export _dl_debug_impcalls and _dl_debug_files.
3091         Export _dl_debug_mask.
3092         * Versions.def: Define GLIBC_2.2.3 for ld.
3094 2001-02-26  Greg McGary  <greg@mcgary.org>
3096         * sysdeps/unix/make-syscalls.sh (ptr): Handle `V' keyletter.
3098 2001-02-26  Paul Eggert  <eggert@twinsun.com>
3100         Modify mkstemp.c and tempname.c so that they can be used by
3101         GNU applications on non-glibc platforms.
3103         * misc/mkstemp.c (__GT_FILE): Define to zero if not defined.
3105         * sysdeps/posix/tempname.c: Include <config.h> if HAVE_CONFIG_H.
3106         Include <stddef.h>, <stdint.h>, <string.h> only if
3107         STDC_HEADERS || _LIBC.
3108         Include <fcntl.h> only if HAVE_FCNTL_H || _LIBC.
3109         Include <unistd.h> only if HAVE_UNISTD_H || _LIBC.
3110         Include <sys/time.h> only if HAVE_SYS_TIME_H || _LIBC.
3111         (__set_errno): Define this macro if <errno.h> doesn't.
3112         (P_tmpdir, TMP_MAX, __GT_FILE, __GT_BIGFILE, __GT_DIR, __GT_NOCREATE):
3113         Define these macros if <stdio.h> doesn't.
3114         (S_ISDIR, S_IRUSR, S_IWUSR, S_IXUSR):
3115         Define these macros if <sys/stat.h> doesn't.
3116         Ignore <sys/stat.h> S_ISDIR if STAT_MACROS_BROKEN.
3117         (stat64, __getpid, __gettimeofday, __mkdir, __open, __open64,
3118         lxstat64, __xstat64): Define if not _LIBC.
3119         (struct_stat64): New macro.
3120         (direxists, __gen_tempname): Use it, to avoid a
3121         portability problem with Solaris 8.
3122         (__secure_getenv): Define if ! (HAVE___SECURE_GETENV || _LIBC).
3123         (__gen_tempname): Invoke gettimeofday only if
3124         HAVE_GETTIMEOFDAY || _LIBC; otherwise, fall back on plain "time".
3125         Use portable macros like S_IRUSR | S_IWUSR rather than nonportable
3126         octal values like 0600.
3128 2001-02-26  Ulrich Drepper  <drepper@redhat.com>
3130         * sysdeps/ieee754/ldbl-96/e_jnl.c: New file.
3131         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
3133         * sysdeps/i386/fpu/libm-test-ulps: Update for jnl and ynl introduction.
3134         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3136         * posix/wordexp-test.c (testit): Remove warnings.
3138         * dlfcn/Makefile (distribute): Add modatexit.c and modcxaatexit.c.
3139         (tests): Add tstatexit and tstcxaatexit.
3140         (module-names): Add modatexit and modcxaatexit.
3141         Add rules to build and run tstatexit and tstcxaatexit.
3142         * dlfcn/modatexit.c: New file.
3143         * dlfcn/modcxaatexit.c: New file.
3144         * dlfcn/tstatexit.c: New file.
3145         * dlfcn/tstcxaatexit.c: New file.
3147         * io/Makefile: Pass -DHAVE_DOT_HIDDEN to stat and mknod functions if
3148         .hidden is available.
3149         * io/stat.c: If .hidden is available use it to avoid exporting
3150         functions.
3151         * io/fstat.c: Likewise.
3152         * io/lstat.c: Likewise.
3153         * io/stat64.c: Likewise.
3154         * io/fstat64.c: Likewise.
3155         * io/lstat64.c: Likewise.
3156         * sysdeps/generic/mknod.c: Likewise.
3158         * malloc/mtrace.c: Use __cxa_atexit and not atexit.
3159         * sysdeps/generic/bb_init_func.c: Likewise.
3160         * sysdeps/generic/libc-start.c: Likewise.
3162         * stdlib/atexit.c (__new_exitfn): Move to cxa_atexit.c.
3163         (atexit): Implement using __cxa_atexit.
3164         Use .hidden if availble to avoid exporting atexit.
3165         * stdlib/cxa_atexit.c (__new_exitfn): Moved to here from atexit.c.
3166         * stdlib/Versions: Export __new_exitfn for GLIBC_2.2.3.
3167         * stdlib/Makefile (routines): Add old_atexit.
3168         (static-only-routines): Add atexit.
3169         Pass -DHAVE_DOT_HIDDEN for atexit.c if .hidden is available.
3170         * stdlib/old_atexit.c: New file.
3172         * intl/Makefile: Remove bogus endif.
3174 2001-02-26  Andreas Jaeger  <aj@suse.de>
3176         * iconvdata/Makefile (tests): Fix typo in last patch.
3178         * intl/Makefile (tests): Run mtrace-tst-gettext only when perl is
3179         available.
3180         Reported by Achim Gottinger <achim@gentoo.org>.
3182 2001-02-25  Andreas Jaeger  <aj@suse.de>
3184         * intl/Makefile (plural.c): Reorder rules so that they work if
3185         BISON doesn't exist.
3187 2001-02-25  Ulrich Drepper  <drepper@redhat.com>
3189         * intl/locale.alias: Don't use nb_NO but define aliases for it.
3191 2001-02-23  Ulrich Drepper  <drepper@redhat.com>
3193         * sysdeps/i386/strtok.S: Continue to return NULL after the first
3194         time this happened.
3196 2001-02-23  Andreas Jaeger  <aj@suse.de>
3198         * string/tester.c (test_strtok_r): Add testcase.
3199         (test_strtok_r): Always initialize cp for proper checking.
3201         * sysdeps/generic/strtok.c (strtok): Handle case of first strtok
3202         returning NULL correctly.
3203         Patch by Fumitoshi UKAI <ukai@debian.or.jp>.
3204         * sysdeps/generic/strtok_r.c (__strtok_r): Likewise.
3206 2001-02-23  Ulrich Drepper  <drepper@redhat.com>
3208         * sysdeps/unix/sysv/aix/bits/types.h: Define __need_NULL before
3209         including <stddef.h>.
3210         * sysdeps/unix/sysv/aix/write.c: Define alias __libc_write.
3211         * include/libc-symbols.h (weak_alias): Don't use .weak if
3212         HAVE_ASM_GLOBAL_DOT_NAME is defined.
3213         Patches by Michael Keezer <mkeezer@redhat.com>.
3215         * sysdeps/generic/ftime.c: Don't include <sys/time.h> at all.
3216         Patch by Michael Keezer <mkeezer@redhat.com>.
3218         * sysdeps/unix/sysv/aix/Dist: Remove restf.S and savef.S.
3219         * sysdeps/unix/sysv/aix/Makefile [$(subdir) == misc]
3220         (sysdep_routines): Remove restf.S and savef.S.
3221         * sysdeps/unix/sysv/aix/restf.S. Removed.
3222         * sysdeps/unix/sysv/aix/savef.S. Removed.
3223         * sysdeps/powerpc/fprrest.S: Use C_TEXT to define label.  Also define
3224         alternative names used on some platforms.
3225         * sysdeps/powerpc/fprsave.S: Likewise.
3226         * sysdeps/powerpc/gprrest0.S: Likewise.
3227         * sysdeps/powerpc/gprrest1.S: Likewise.
3228         * sysdeps/powerpc/gprsave0.S: Likewise.
3229         * sysdeps/powerpc/gprsave1.S: Likewise.
3230         Patch by Michael Keezer <mkeezer@redhat.com>.
3232 2001-02-22  Ulrich Drepper  <drepper@redhat.com>
3234         * sysdeps/i386/elf/start.S (_fp_hw): Actually define label.
3236 2001-02-22  Andreas Jaeger  <aj@suse.de>
3238         * string/tst-strtok.c (main): Fix error messages.
3240 2001-02-22  Andreas Jaeger  <aj@suse.de>
3242         * math/Makefile: Remove omit-long-double-fcts.
3244 2001-02-18  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
3246         * sysdeps/mips/bsd-_setjmp.S (_setjmp): Reorder instructions to
3247         avoid problems on MIPS I.
3248         * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
3250         * sysdeps/mips/dl-machine.h (RTLD_START): Remove duplicate ".set
3251         noreorder".
3253 2001-02-21  Ulrich Drepper  <drepper@redhat.com>
3255         * posix/fnmatch_loop.c: Handle ranges outside glibc correctly.
3257         * sysdeps/generic/ftime.c: Include <time.h>.
3259         * configure.in: Don't check for libgd if user passed --without-gd.
3260         Patch by Achim Gottinger <achim@gentoo.org>.
3262         * sysdeps/i386/i686/strtok.S: Continue to return NULL after the
3263         first time this happened.
3264         * string/Makefile (tests): Add tst-strtok.
3266 2001-02-21  Andreas Jaeger  <aj@suse.de>
3268         * string/tst-strtok.c: New testcase, reported by
3269         Andrew Church <achurch@achurch.org>.
3271 2001-02-20  Ulrich Drepper  <drepper@redhat.com>
3273         * libio/iofwide.c: Remove fwide alias.
3275 2001-02-20  Andreas Jaeger  <aj@suse.de>
3277         * iconvdata/Makefile (tests): Only run mtrace-tst-loading if perl
3278         is available.
3279         Reported by Achim Gottinger <achim@gentoo.org>.
3281 2001-02-19  Ulrich Drepper  <drepper@redhat.com>
3283         * iconv/tst-iconv1.c (main): Remove debugging code.
3285         * sysdeps/ieee754/flt-32/e_powf.c: Handle x == +-1 correctly.
3286         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3288         * sysdeps/generic/e_scalb.c: Set invalid exception for invalid
3289         parameters.
3290         * sysdeps/generic/e_scalbf.c: Likewise.
3291         * sysdeps/generic/e_scalbl.c: Likewise.
3293         * sysdeps/ia64/fpu/Makefile (libm-sysdep-routines): Add libm_error,
3294         libm_frexp4, libm_frexp4f, libm_frexp4l, and all the functions also
3295         in libc.
3296         (routines): Replace libm_error with libc_libm_error.
3297         * sysdeps/ia64/fpu/Dist: Add libc_libm_error.c.
3298         * sysdeps/ia64/fpu/libc_libm_error.c: New file.
3300 2001-02-18  Mark Kettenis  <kettenis@gnu.org>
3302         * malloc/mtrace.c [USE_IN_LIBIO]: Define fopen as _IO_fopen64.
3303         (mtrace): Revert 2001-02-13 patch: use fopen instead of fopen64.
3305 2001-02-17  H.J. Lu  <hjl@gnu.org>
3307         * sysdeps/unix/sysv/linux/ia64/clone2.S: Use clone2 and don't use
3308         scratch registers across the system call.
3310 2001-02-19  Andreas Jaeger  <aj@suse.de>
3312         * malloc/Makefile (tests): Run mtrace only when perl is available.
3313         Reported by Achim Gottinger <achim@gentoo.org>.
3315 2001-02-19  Ulrich Drepper  <drepper@redhat.com>
3317         * sysdeps/ieee754/ldbl-96/e_j1l.c: New file.
3318         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
3320         * sysdeps/i386/fpu/libm-test-ulps: Adjust error values for j1 and y1.
3321         * sysdeps/ia64/fpu/libm-test-ulps: Adjust error values for y1.
3322         * math/libm-test.inc (j1_test): Mark constants as long double.
3323         (jn_test): Likewise.
3324         (y1_test): Likewise.
3325         (yn_test): Likewise.
3327         * libio/iogetline.c: Move return until after last statement.
3329         * localedata/show-ucs-data.c: Don't show < > for better readability.
3331         * sysdeps/ia64/fpu/Dist: New file.
3332         * sysdeps/ia64/fpu/Makefile: New file.
3333         * sysdeps/ia64/fpu/Versions: New file.
3334         * sysdeps/ia64/fpu/e_acos.S: New file.
3335         * sysdeps/ia64/fpu/e_acosf.S: New file.
3336         * sysdeps/ia64/fpu/e_acosl.S: New file.
3337         * sysdeps/ia64/fpu/e_asin.S: New file.
3338         * sysdeps/ia64/fpu/e_asinf.S: New file.
3339         * sysdeps/ia64/fpu/e_asinl.S: New file.
3340         * sysdeps/ia64/fpu/e_atan2.S: New file.
3341         * sysdeps/ia64/fpu/e_atan2f.S: New file.
3342         * sysdeps/ia64/fpu/e_atan2l.c: New file.
3343         * sysdeps/ia64/fpu/e_cosh.S: New file.
3344         * sysdeps/ia64/fpu/e_coshf.S: New file.
3345         * sysdeps/ia64/fpu/e_coshl.S: New file.
3346         * sysdeps/ia64/fpu/e_exp.S: New file.
3347         * sysdeps/ia64/fpu/e_expf.S: New file.
3348         * sysdeps/ia64/fpu/e_expl.c: New file.
3349         * sysdeps/ia64/fpu/e_fmod.S: New file.
3350         * sysdeps/ia64/fpu/e_fmodf.S: New file.
3351         * sysdeps/ia64/fpu/e_fmodl.S: New file.
3352         * sysdeps/ia64/fpu/e_hypot.S: New file.
3353         * sysdeps/ia64/fpu/e_hypotf.S: New file.
3354         * sysdeps/ia64/fpu/e_hypotl.S: New file.
3355         * sysdeps/ia64/fpu/e_log.S: New file.
3356         * sysdeps/ia64/fpu/e_log10.c: New file.
3357         * sysdeps/ia64/fpu/e_log10f.c: New file.
3358         * sysdeps/ia64/fpu/e_log10l.c: New file.
3359         * sysdeps/ia64/fpu/e_logf.S: New file.
3360         * sysdeps/ia64/fpu/e_logl.c: New file.
3361         * sysdeps/ia64/fpu/e_pow.S: New file.
3362         * sysdeps/ia64/fpu/e_powf.S: New file.
3363         * sysdeps/ia64/fpu/e_powl.S: New file.
3364         * sysdeps/ia64/fpu/e_rem_pio2.c: New file.
3365         * sysdeps/ia64/fpu/e_rem_pio2f.c: New file.
3366         * sysdeps/ia64/fpu/e_remainder.S: New file.
3367         * sysdeps/ia64/fpu/e_remainderf.S: New file.
3368         * sysdeps/ia64/fpu/e_remainderl.S: New file.
3369         * sysdeps/ia64/fpu/e_scalb.S: New file.
3370         * sysdeps/ia64/fpu/e_scalbf.S: New file.
3371         * sysdeps/ia64/fpu/e_scalbl.S: New file.
3372         * sysdeps/ia64/fpu/e_sinh.S: New file.
3373         * sysdeps/ia64/fpu/e_sinhf.S: New file.
3374         * sysdeps/ia64/fpu/e_sinhl.S: New file.
3375         * sysdeps/ia64/fpu/e_sqrt.S: New file.
3376         * sysdeps/ia64/fpu/e_sqrtf.S: New file.
3377         * sysdeps/ia64/fpu/e_sqrtl.S: New file.
3378         * sysdeps/ia64/fpu/k_rem_pio2.c: New file.
3379         * sysdeps/ia64/fpu/k_rem_pio2f.c: New file.
3380         * sysdeps/ia64/fpu/k_rem_pio2l.c: New file.
3381         * sysdeps/ia64/fpu/libm_atan2_reg.S: New file.
3382         * sysdeps/ia64/fpu/libm_error.c: New file.
3383         * sysdeps/ia64/fpu/libm_frexp4.S: New file.
3384         * sysdeps/ia64/fpu/libm_frexp4f.S: New file.
3385         * sysdeps/ia64/fpu/libm_frexp4l.S: New file.
3386         * sysdeps/ia64/fpu/libm_reduce.S: New file.
3387         * sysdeps/ia64/fpu/libm_support.h: New file.
3388         * sysdeps/ia64/fpu/libm_tan.S: New file.
3389         * sysdeps/ia64/fpu/s_atan.S: New file.
3390         * sysdeps/ia64/fpu/s_atanf.S: New file.
3391         * sysdeps/ia64/fpu/s_atanl.S: New file.
3392         * sysdeps/ia64/fpu/s_cbrt.S: New file.
3393         * sysdeps/ia64/fpu/s_cbrtf.S: New file.
3394         * sysdeps/ia64/fpu/s_cbrtl.S: New file.
3395         * sysdeps/ia64/fpu/s_ceil.S: New file.
3396         * sysdeps/ia64/fpu/s_ceilf.S: New file.
3397         * sysdeps/ia64/fpu/s_ceill.S: New file.
3398         * sysdeps/ia64/fpu/s_cos.S: New file.
3399         * sysdeps/ia64/fpu/s_cosf.S: New file.
3400         * sysdeps/ia64/fpu/s_cosl.S: New file.
3401         * sysdeps/ia64/fpu/s_expm1.S: New file.
3402         * sysdeps/ia64/fpu/s_expm1f.S: New file.
3403         * sysdeps/ia64/fpu/s_expm1l.S: New file.
3404         * sysdeps/ia64/fpu/s_floor.S: New file.
3405         * sysdeps/ia64/fpu/s_floorf.S: New file.
3406         * sysdeps/ia64/fpu/s_floorl.S: New file.
3407         * sysdeps/ia64/fpu/s_frexp.c: New file.
3408         * sysdeps/ia64/fpu/s_frexpf.c: New file.
3409         * sysdeps/ia64/fpu/s_frexpl.c: New file.
3410         * sysdeps/ia64/fpu/s_ilogb.S: New file.
3411         * sysdeps/ia64/fpu/s_ilogbf.S: New file.
3412         * sysdeps/ia64/fpu/s_ilogbl.S: New file.
3413         * sysdeps/ia64/fpu/s_ldexp.S: New file.
3414         * sysdeps/ia64/fpu/s_ldexpf.S: New file.
3415         * sysdeps/ia64/fpu/s_ldexpl.S: New file.
3416         * sysdeps/ia64/fpu/s_log1p.S: New file.
3417         * sysdeps/ia64/fpu/s_log1pf.S: New file.
3418         * sysdeps/ia64/fpu/s_log1pl.S: New file.
3419         * sysdeps/ia64/fpu/s_logb.S: New file.
3420         * sysdeps/ia64/fpu/s_logbf.S: New file.
3421         * sysdeps/ia64/fpu/s_logbl.S: New file.
3422         * sysdeps/ia64/fpu/s_matherrf.c: New file.
3423         * sysdeps/ia64/fpu/s_matherrl.c: New file.
3424         * sysdeps/ia64/fpu/s_modf.S: New file.
3425         * sysdeps/ia64/fpu/s_modff.S: New file.
3426         * sysdeps/ia64/fpu/s_modfl.S: New file.
3427         * sysdeps/ia64/fpu/s_nearbyint.S: New file.
3428         * sysdeps/ia64/fpu/s_nearbyintf.S: New file.
3429         * sysdeps/ia64/fpu/s_nearbyintl.S: New file.
3430         * sysdeps/ia64/fpu/s_rint.S: New file.
3431         * sysdeps/ia64/fpu/s_rintf.S: New file.
3432         * sysdeps/ia64/fpu/s_rintl.S: New file.
3433         * sysdeps/ia64/fpu/s_round.S: New file.
3434         * sysdeps/ia64/fpu/s_roundf.S: New file.
3435         * sysdeps/ia64/fpu/s_roundl.S: New file.
3436         * sysdeps/ia64/fpu/s_scalbn.S: New file.
3437         * sysdeps/ia64/fpu/s_scalbnf.S: New file.
3438         * sysdeps/ia64/fpu/s_scalbnl.S: New file.
3439         * sysdeps/ia64/fpu/s_significand.S: New file.
3440         * sysdeps/ia64/fpu/s_significandf.S: New file.
3441         * sysdeps/ia64/fpu/s_significandl.S: New file.
3442         * sysdeps/ia64/fpu/s_sin.c: New file.
3443         * sysdeps/ia64/fpu/s_sincos.c: New file.
3444         * sysdeps/ia64/fpu/s_sincosf.c: New file.
3445         * sysdeps/ia64/fpu/s_sincosl.c: New file.
3446         * sysdeps/ia64/fpu/s_sinf.c: New file.
3447         * sysdeps/ia64/fpu/s_sinl.c: New file.
3448         * sysdeps/ia64/fpu/s_tan.S: New file.
3449         * sysdeps/ia64/fpu/s_tanf.S: New file.
3450         * sysdeps/ia64/fpu/s_tanl.S: New file.
3451         * sysdeps/ia64/fpu/s_trunc.S: New file.
3452         * sysdeps/ia64/fpu/s_truncf.S: New file.
3453         * sysdeps/ia64/fpu/s_truncl.S: New file.
3454         * sysdeps/ia64/fpu/w_acos.c: New file.
3455         * sysdeps/ia64/fpu/w_acosf.c: New file.
3456         * sysdeps/ia64/fpu/w_acosl.c: New file.
3457         * sysdeps/ia64/fpu/w_asin.c: New file.
3458         * sysdeps/ia64/fpu/w_asinf.c: New file.
3459         * sysdeps/ia64/fpu/w_asinl.c: New file.
3460         * sysdeps/ia64/fpu/w_atan2.c: New file.
3461         * sysdeps/ia64/fpu/w_atan2f.c: New file.
3462         * sysdeps/ia64/fpu/w_atan2l.c: New file.
3463         * sysdeps/ia64/fpu/w_cosh.c: New file.
3464         * sysdeps/ia64/fpu/w_coshf.c: New file.
3465         * sysdeps/ia64/fpu/w_coshl.c: New file.
3466         * sysdeps/ia64/fpu/w_exp.c: New file.
3467         * sysdeps/ia64/fpu/w_expf.c: New file.
3468         * sysdeps/ia64/fpu/w_fmod.c: New file.
3469         * sysdeps/ia64/fpu/w_fmodf.c: New file.
3470         * sysdeps/ia64/fpu/w_fmodl.c: New file.
3471         * sysdeps/ia64/fpu/w_hypot.c: New file.
3472         * sysdeps/ia64/fpu/w_hypotf.c: New file.
3473         * sysdeps/ia64/fpu/w_hypotl.c: New file.
3474         * sysdeps/ia64/fpu/w_log.c: New file.
3475         * sysdeps/ia64/fpu/w_log10.c: New file.
3476         * sysdeps/ia64/fpu/w_log10f.c: New file.
3477         * sysdeps/ia64/fpu/w_log10l.c: New file.
3478         * sysdeps/ia64/fpu/w_logf.c: New file.
3479         * sysdeps/ia64/fpu/w_logl.c: New file.
3480         * sysdeps/ia64/fpu/w_pow.c: New file.
3481         * sysdeps/ia64/fpu/w_powf.c: New file.
3482         * sysdeps/ia64/fpu/w_powl.c: New file.
3483         * sysdeps/ia64/fpu/w_remainder.c: New file.
3484         * sysdeps/ia64/fpu/w_remainderf.c: New file.
3485         * sysdeps/ia64/fpu/w_remainderl.c: New file.
3486         * sysdeps/ia64/fpu/w_scalb.c: New file.
3487         * sysdeps/ia64/fpu/w_scalbf.c: New file.
3488         * sysdeps/ia64/fpu/w_scalbl.c: New file.
3489         * sysdeps/ia64/fpu/w_sqrt.c: New file.
3490         * sysdeps/ia64/fpu/w_sqrtf.c: New file.
3491         * sysdeps/ia64/fpu/w_sqrtl.c: New file.
3492         * sysdeps/ia64/fpu/libm-test-ulps: Adjust for long double
3493         implementation.
3494         * sysdeps/ia64/fpu/bits/mathdef.h: Correct float_t and double_t types.
3495         Change FP_ILOGBNAN for new implementation.
3496         * Verions.def: Add 2.2.3 versions.
3498 2001-02-18  Ulrich Drepper  <drepper@redhat.com>
3500         * math/libm-test.inc (scalb_test): Require invalid exception being
3501         raised for invalid parameters.
3502         * sysdeps/i386/fpu/e_scalb.S: Raise invalid exception if necessary.
3503         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3504         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3506 2001-02-18  Mark Kettenis  <kettenis@gnu.org>
3508         * sysdeps/mach/getsysstats.c (__get_phys_pages): Change return
3509         value to long int.
3510         (__get_avphys_pages): Likewise.
3512 2001-02-18  Ulrich Drepper  <drepper@redhat.com>
3514         * math/libm-test.inc (pow_test): Correct expected results for x == +-1.
3515         * sysdeps/i386/fpu/e_pow.S: Handle x == +-1 correctly.
3516         * sysdeps/i386/fpu/e_powf.S: Likewise.
3517         * sysdeps/i386/fpu/e_powl.S: Likewise.
3519         * sysdeps/i386/fpu/bits/mathinline.h: Remove pow inline code.
3521 2001-02-17  Ulrich Drepper  <drepper@redhat.com>
3523         * math/Makefile (libm-calls): It's e_exp2 not s_exp2.
3525         * sysdeps/generic/s_exp2l.c: Renamed to...
3526         * sysdeps/generic/e_exp2l.c: ...this.   New file.
3527         * sysdeps/i386/fpu/s_exp2.S: Renamed to...
3528         * sysdeps/i386/fpu/e_exp2.S: ...this.   New file.
3529         * sysdeps/i386/fpu/s_exp2f.S: Renamed to...
3530         * sysdeps/i386/fpu/e_exp2f.S: ...this.   New file.
3531         * sysdeps/i386/fpu/s_exp2l.S: Renamed to...
3532         * sysdeps/i386/fpu/e_exp2l.S: ...this.   New file.
3533         * sysdeps/ieee754/flt-32/s_exp2f.c: Renamed to...
3534         * sysdeps/ieee754/flt-32/e_exp2f.c: ...this.   New file.
3535         * sysdeps/ieee754/dbl-64/s_exp2.c: Renamed to...
3536         * sysdeps/ieee754/dbl-64/e_exp2.c: ...this.   New file.
3537         * sysdeps/m68k/fpu/s_exp2.c: Renamed to...
3538         * sysdeps/m68k/fpu/e_exp2.c: ...this.   New file.
3539         * sysdeps/m68k/fpu/s_exp2f.c: Renamed to...
3540         * sysdeps/m68k/fpu/e_exp2f.c: ...this.   New file.
3541         * sysdeps/m68k/fpu/s_exp2l.c: Renamed to...
3542         * sysdeps/m68k/fpu/e_exp2l.c: ...this.   New file.
3544 2001-02-17  Andreas Jaeger  <aj@suse.de>
3546         * configure.in: Allow gcc 3.
3548 2001-02-16  Ulrich Drepper  <drepper@redhat.com>
3550         * math/w_acos.c: Move to ...
3551         * sysdeps/generic/w_acos.c: ...here.  New file.
3552         * math/w_acosf.c: Move to ...
3553         * sysdeps/generic/w_acosf.c: ...here.  New file.
3554         * math/w_acosh.c: Move to ...
3555         * sysdeps/generic/w_acosh.c: ...here.  New file.
3556         * math/w_acoshf.c: Move to ...
3557         * sysdeps/generic/w_acoshf.c: ...here.  New file.
3558         * math/w_acoshl.c: Move to ...
3559         * sysdeps/generic/w_acoshl.c: ...here.  New file.
3560         * math/w_acosl.c: Move to ...
3561         * sysdeps/generic/w_acosl.c: ...here.  New file.
3562         * math/w_asin.c: Move to ...
3563         * sysdeps/generic/w_asin.c: ...here.  New file.
3564         * math/w_asinf.c: Move to ...
3565         * sysdeps/generic/w_asinf.c: ...here.  New file.
3566         * math/w_asinl.c: Move to ...
3567         * sysdeps/generic/w_asinl.c: ...here.  New file.
3568         * math/w_atan2.c: Move to ...
3569         * sysdeps/generic/w_atan2.c: ...here.  New file.
3570         * math/w_atan2f.c: Move to ...
3571         * sysdeps/generic/w_atan2f.c: ...here.  New file.
3572         * math/w_atan2l.c: Move to ...
3573         * sysdeps/generic/w_atan2l.c: ...here.  New file.
3574         * math/w_atanh.c: Move to ...
3575         * sysdeps/generic/w_atanh.c: ...here.  New file.
3576         * math/w_atanhf.c: Move to ...
3577         * sysdeps/generic/w_atanhf.c: ...here.  New file.
3578         * math/w_atanhl.c: Move to ...
3579         * sysdeps/generic/w_atanhl.c: ...here.  New file.
3580         * math/w_cosh.c: Move to ...
3581         * sysdeps/generic/w_cosh.c: ...here.  New file.
3582         * math/w_coshf.c: Move to ...
3583         * sysdeps/generic/w_coshf.c: ...here.  New file.
3584         * math/w_coshl.c: Move to ...
3585         * sysdeps/generic/w_coshl.c: ...here.  New file.
3586         * math/w_drem.c: Move to ...
3587         * sysdeps/generic/w_drem.c: ...here.  New file.
3588         * math/w_dremf.c: Move to ...
3589         * sysdeps/generic/w_dremf.c: ...here.  New file.
3590         * math/w_dreml.c: Move to ...
3591         * sysdeps/generic/w_dreml.c: ...here.  New file.
3592         * math/w_exp10.c: Move to ...
3593         * sysdeps/generic/w_exp10.c: ...here.  New file.
3594         * math/w_exp10f.c: Move to ...
3595         * sysdeps/generic/w_exp10f.c: ...here.  New file.
3596         * math/w_exp10l.c: Move to ...
3597         * sysdeps/generic/w_exp10l.c: ...here.  New file.
3598         * math/w_exp2.c: Move to ...
3599         * sysdeps/generic/w_exp2.c: ...here.  New file.
3600         * math/w_exp2f.c: Move to ...
3601         * sysdeps/generic/w_exp2f.c: ...here.  New file.
3602         * math/w_exp2l.c: Move to ...
3603         * sysdeps/generic/w_exp2l.c: ...here.  New file.
3604         * math/w_fmod.c: Move to ...
3605         * sysdeps/generic/w_fmod.c: ...here.  New file.
3606         * math/w_fmodf.c: Move to ...
3607         * sysdeps/generic/w_fmodf.c: ...here.  New file.
3608         * math/w_fmodl.c: Move to ...
3609         * sysdeps/generic/w_fmodl.c: ...here.  New file.
3610         * math/w_hypot.c: Move to ...
3611         * sysdeps/generic/w_hypot.c: ...here.  New file.
3612         * math/w_hypotf.c: Move to ...
3613         * sysdeps/generic/w_hypotf.c: ...here.  New file.
3614         * math/w_hypotl.c: Move to ...
3615         * sysdeps/generic/w_hypotl.c: ...here.  New file.
3616         * math/w_j0.c: Move to ...
3617         * sysdeps/generic/w_j0.c: ...here.  New file.
3618         * math/w_j0f.c: Move to ...
3619         * sysdeps/generic/w_j0f.c: ...here.  New file.
3620         * math/w_j0l.c: Move to ...
3621         * sysdeps/generic/w_j0l.c: ...here.  New file.
3622         * math/w_j1.c: Move to ...
3623         * sysdeps/generic/w_j1.c: ...here.  New file.
3624         * math/w_j1f.c: Move to ...
3625         * sysdeps/generic/w_j1f.c: ...here.  New file.
3626         * math/w_j1l.c: Move to ...
3627         * sysdeps/generic/w_j1l.c: ...here.  New file.
3628         * math/w_jn.c: Move to ...
3629         * sysdeps/generic/w_jn.c: ...here.  New file.
3630         * math/w_jnf.c: Move to ...
3631         * sysdeps/generic/w_jnf.c: ...here.  New file.
3632         * math/w_jnl.c: Move to ...
3633         * sysdeps/generic/w_jnl.c: ...here.  New file.
3634         * math/w_lgamma.c: Move to ...
3635         * sysdeps/generic/w_lgamma.c: ...here.  New file.
3636         * math/w_lgammaf.c: Move to ...
3637         * sysdeps/generic/w_lgammaf.c: ...here.  New file.
3638         * math/w_lgammaf_r.c: Move to ...
3639         * sysdeps/generic/w_lgammaf_r.c: ...here.  New file.
3640         * math/w_lgammal.c: Move to ...
3641         * sysdeps/generic/w_lgammal.c: ...here.  New file.
3642         * math/w_lgammal_r.c: Move to ...
3643         * sysdeps/generic/w_lgammal_r.c: ...here.  New file.
3644         * math/w_lgamma_r.c: Move to ...
3645         * sysdeps/generic/w_lgamma_r.c: ...here.  New file.
3646         * math/w_log10.c: Move to ...
3647         * sysdeps/generic/w_log10.c: ...here.  New file.
3648         * math/w_log10f.c: Move to ...
3649         * sysdeps/generic/w_log10f.c: ...here.  New file.
3650         * math/w_log10l.c: Move to ...
3651         * sysdeps/generic/w_log10l.c: ...here.  New file.
3652         * math/w_log.c: Move to ...
3653         * sysdeps/generic/w_log.c: ...here.  New file.
3654         * math/w_logf.c: Move to ...
3655         * sysdeps/generic/w_logf.c: ...here.  New file.
3656         * math/w_logl.c: Move to ...
3657         * sysdeps/generic/w_logl.c: ...here.  New file.
3658         * math/w_pow.c: Move to ...
3659         * sysdeps/generic/w_pow.c: ...here.  New file.
3660         * math/w_powf.c: Move to ...
3661         * sysdeps/generic/w_powf.c: ...here.  New file.
3662         * math/w_powl.c: Move to ...
3663         * sysdeps/generic/w_powl.c: ...here.  New file.
3664         * math/w_remainder.c: Move to ...
3665         * sysdeps/generic/w_remainder.c: ...here.  New file.
3666         * math/w_remainderf.c: Move to ...
3667         * sysdeps/generic/w_remainderf.c: ...here.  New file.
3668         * math/w_remainderl.c: Move to ...
3669         * sysdeps/generic/w_remainderl.c: ...here.  New file.
3670         * math/w_scalb.c: Move to ...
3671         * sysdeps/generic/w_scalb.c: ...here.  New file.
3672         * math/w_scalbf.c: Move to ...
3673         * sysdeps/generic/w_scalbf.c: ...here.  New file.
3674         * math/w_scalbl.c: Move to ...
3675         * sysdeps/generic/w_scalbl.c: ...here.  New file.
3676         * math/w_sinh.c: Move to ...
3677         * sysdeps/generic/w_sinh.c: ...here.  New file.
3678         * math/w_sinhf.c: Move to ...
3679         * sysdeps/generic/w_sinhf.c: ...here.  New file.
3680         * math/w_sinhl.c: Move to ...
3681         * sysdeps/generic/w_sinhl.c: ...here.  New file.
3682         * math/w_sqrtl.c: Move to ...
3683         * sysdeps/generic/w_sqrtl.c: ...here.  New file.
3684         * math/w_tgamma.c: Move to ...
3685         * sysdeps/generic/w_tgamma.c: ...here.  New file.
3686         * math/w_tgammaf.c: Move to ...
3687         * sysdeps/generic/w_tgammaf.c: ...here.  New file.
3688         * math/w_tgammal.c: Move to ...
3689         * sysdeps/generic/w_tgammal.c: ...here.  New file.
3691         * locale/programs/ld-address.c (address_finish): Add 'S' to allow
3692         formats for postal_fmt.
3694 2001-02-16  Jakub Jelinek  <jakub@redhat.com>
3696         * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Add
3697         __ftruncate64 alias.
3698         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (ftruncate):
3699         Likewise.
3701 2001-02-15  David Mosberger  <davidm@hpl.hp.com>
3703         * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): No need to
3704         do "loadrs".  Writing to bspstore already takes care of
3705         invalidating the "clean" partition.
3707 2001-02-16  Andreas Schwab  <schwab@suse.de>
3709         * sysdeps/m68k/fpu/s_nextafterl.c: New file.
3710         * sysdeps/m68k/fpu/s_fpclassifyl.c: New file.
3712 2001-02-15  Jakub Jelinek  <jakub@redhat.com>
3714         * posix/regex.c (init_syntax_once): Add prototype.
3715         (TRANSLATE): If MBS_SUPPORT, translate all characters up to '\xff'.
3716         (re_search_2): Avoid warning.
3717         (count_mbs_length): Add prototype.
3718         * posix/tst-regex3.c: New file.
3719         * posix/Makefile (tests): Add bug-regex3.
3721 2001-02-15  Ulrich Drepper  <drepper@redhat.com>
3723         * stdio-common/Makefile (tests): Add tst-gets.
3724         * stdio-common/tst-gets.c: New file.
3725         * stdio-common/tst-gets.input: New file.
3727         * elf/elf.h (DT_CHECKSUM): Define.
3729         * sysdeps/generic/strtoll.c: Don't export __strto*_internal as
3730         default symbol.
3731         * sysdeps/generic/strtoull.c: Likewise.
3733 2001-02-14  Wolfram Gloger  <wg@malloc.de>
3735         * malloc/malloc.c (new_heap): When allocating large chunk aligned
3736         to HEAP_MAX_SIZE, prefer one with lower address, to avoid `holes'
3737         between the heaps.
3739 2001-02-14  Ulrich Drepper  <drepper@redhat.com>
3741         * math/libm-test.inc (j0_test): Check whether sincos is available.
3742         (j1_test): Likewise.
3743         (jn_test): Likewise.
3744         (y0_test): Likewise.
3745         (y1_test): Likewise.
3746         (yn_test): Likewise.
3748         * posix/tst-gnuglob.c: Make a few entries DT_UNKNOWN and teach
3749         fake filesystem routines to handle this.
3751         * time/sys/time.h: Make settimeofday and adjtime available if
3752         _BSD_SOURCE.
3754         * time/sys/time.h: Make timer* macros available for BSD.
3756         * iconvdata/gb18030.c: Update for Dec 2000 re-release of GB18030.
3757         Patch by Yong Li <rigel863@yahoo.com>.
3759         * sysdeps/generic/glob.c (CONVERT_DIRENT_DIRENT64): Fix copying of
3760         name.
3762         * posix/Makefile (tests): Add tst-gnuglob.
3763         * posix/tst-gnuglob.c: New file.
3765 2001-02-13  H.J. Lu  <hjl@gnu.org>
3767         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __ftruncate64.
3769 2001-02-13  Ulrich Drepper  <drepper@redhat.com>
3771         * locale/programs/ld-paper.c (paper_output): Pretty printing.
3773         * iconvdata/Makefile (modules): Add GBBIG5.
3774         (distribute): Add gbbig5.c.
3775         * iconvdata/gconv-modules: Add entries for GBBIG5 module.
3777         * iconvdata/gbbig5.c: New file.
3778         Contributed by Yong Li <rigel863@yahoo.com>.
3780 2001-02-13  Philip Blundell  <pb@futuretv.com>
3782         * manual/crypt.texi: Remove outdated references to crypt add-on.
3784         * manual/creature.texi: Improve wording slightly.
3786 2001-02-13  Ulrich Drepper  <drepper@redhat.com>
3788         * io/ftw.c: Always use readdir64.
3789         * io/ftw64.c: Likewise.
3790         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3791         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3792         * sysdeps/generic/glob.c: Likewise.  Convert results of gl_readdir
3793         callback to dirent.  Still allow compiling outside glibc.
3794         * sysdeps/gnu/glob64.c: Define COMPILE_GLOB64.
3795         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
3797         * malloc/mtrace.c: Use fopen64.
3798         * posix/spawni.c: Use __open64.
3799         * sysdeps/unix/opendir.c: Likewise.
3800         * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
3802         * sysdeps/generic/ftruncate64.c: Define __ftruncate64 and make old
3803         name a weak alias.
3804         * sysdeps/unix/sysv/aix/ftruncate64.c: Likewise.
3805         * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise.
3806         * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
3807         * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Likewise.
3809         * resolv/res_data.c: Add cast to avoid warning.
3811         * include/unistd.h: Declare __ftruncate64.
3813         * sysdeps/generic/utmp_file.c: Use LFS functions and types.
3815         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use __lseek64
3816         instead of __lseek.
3818 2001-02-13  Andreas Jaeger  <aj@suse.de>
3820         * login/getutent_r.c: Include <stdlib.h> for NULL.
3821         * login/getutid_r.c: Likewise.
3823 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
3825         * sysdeps/dbl-64/e_j0.c: Little optimization, use sincos.
3826         * sysdeps/dbl-64/e_j1.c: Likewise.
3827         * sysdeps/dbl-64/e_jn.c: Likewise.
3828         * sysdeps/flt-32/e_j0f.c: Likewise.
3829         * sysdeps/flt-32/e_j1f.c: Likewise.
3830         * sysdeps/ldbl-96/e_j0l.c: Likewise.
3832 2000-12-02  H.J. Lu  <hjl@gnu.org>
3834         * resolv/res_libc.c (res_init): Don't make it default.
3836 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
3838         * manual/debug.texi: Improved the wording.
3839         Patch by Philip Blundell <pb@futuretv.com>.
3841 2001-02-12  Andreas Jaeger  <aj@suse.de>
3843         * posix/Makefile (tests): Don't run bug-regex2 when
3844         cross-compiling.
3846         * libio/Makefile (tests): Don't run test-freopen when
3847         cross-compiling.
3849         * manual/stdio.texi (Streams and I18N): Fix typos.
3851 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
3853         * sysdeps/i386/fpu/libm-test-ulps: Adjust for errors in y0l.
3855         * math/libm-test.inc (j0_test): Make expected results long double
3856         constants.
3857         (y0_test): Likewise.
3859         * sysdeps/ieee754/ldbl-96/e_j0l.c: New file.
3860         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
3862 2001-02-11  Jakub Jelinek  <jakub@redhat.com>
3864         * sysdeps/generic/strtoll.c (__strtoq_internal): Ressurect alias
3865         which was exported from libc.
3866         * sysdeps/generic/strtoull.c (__strtouq_internal): Likewise.
3868 2001-02-12  Andreas Jaeger  <aj@suse.de>
3870         * manual/arith.texi (Parsing of Integers): Fix some wordings.
3872 2001-02-11  Ulrich Drepper  <drepper@redhat.com>
3874         * sysdeps/generic/getsysstat.c: Change return value of get_phys_pages
3875         and get_avphys_page to long int.
3876         * sysdeps/unix/sysv/linux/getsysstat.c: Likewise.
3877         * include/sys/sysinfo.h: Likewise.
3878         * sysdeps/generic/sys/sysinfo.h: Likewise.
3879         * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
3881         * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Fail if we
3882         cannot return as many values as the user asked for.
3884 2001-02-11  Andreas Jaeger  <aj@suse.de>
3886         * manual/resource.texi (Memory Resources): Fix typo.
3888         * libio/Makefile ($(objpfx)test-freopen.out): Pass
3889         run-program-prefix.
3891         * libio/test-freopen.sh: Use run_program_prefix.
3893 2001-02-10  Andreas Jaeger  <aj@suse.de>
3895         * stdlib/Makefile (tests): Don't run tst-fmtmsg when
3896         cross-compiling.
3897         ($(objpfx)tst-fmtmsg.out): Pass run-program-prefix.
3899         * stdlib/tst-fmtmsg.sh (test): Use run_program_prefix for static
3900         only builds.
3902         * elf/Makefile (tests): Only run tst-pathopt with shared libs.
3904         * posix/Makefile: Fix typo, it's build-static-nss.
3906         * iconv/Makefile (extra-objs): New.
3908 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
3910         * sysdeps/unix/stime.c: Include <time.h>.
3912         * sysdeps/mach/hurd/setitimer.c: Include <time.h>.
3914 2001-02-10  Andreas Jaeger  <aj@suse.de>
3916         * manual/string.texi (Search Functions): Fix typo.
3918 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
3920         * sysdeps/unix/bsd/times.c: Reorder includes and add <time.h>.
3921         (timeval_to_clock_t): Add clk_tck argument and use that instead of
3922         CLK_TCK.
3923         (__times): Use __getclktck to get the number of clock ticks per
3924         second and use its return value instead of CLK_TCK.
3926 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
3928         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (_HAVE_SA_LEN): Define.
3930 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
3932         * sysdeps/mach/gettimeofday.c: Include <stddef.h>.
3934 2001-02-10  Andreas Jaeger  <aj@suse.de>
3936         * wctype/wcfuncs.c (func): Add prototype declarations to avoid
3937         warning.
3939 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
3941         * posix/Makefile: Add rules to build and run bug-regex2.
3942         * posix/bug-regex2.c: New file.
3944 2001-02-10  Jakub Jelinek  <jakub@redhat.com>
3946         * posix/regex.c (convert_mbs_to_wcs): Change is_binary to char *.
3947         (regex_compile): Likewise.
3948         (FREE_VARIABLES): Don't free is_binary1 and is_binary2.
3949         (re_match_2_internal): Use just is_binary instead of two variables.
3950         Use REGEX_TALLOC to allocate it and FREE_VAR to free on failure.
3952 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
3954         * version.h (VERSION): Bump to 2.2.2.
3956         * iconv/Makefile (distribute): Add iconv_charmap.c and
3957         dummy-repertoire.c.
3958         * elf/Makefile (distribute): Add firstobj.c.
3959         * Makefile (distribute): Add include/pthread.h.
3961         * configure.in: Require makeinfo version 4.
3963         * libio/tst_wscanf.c (main): Add cast to avoid warning.
3964         * libio/tst_swscanf.c (main): Likewise..
3966 2001-02-09  Jakub Jelinek  <jakub@redhat.com>
3968         * sysdeps/generic/setenv.c (unsetenv): Remove const from len.
3969         * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, fdim): Don't define if
3970         __NO_MATH_INLINES.
3971         * sysdeps/i386/dl-machine.h (elf_machine_rel): Only declare refsym
3972         if not RTLD_BOOTSTRAP.
3973         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
3974         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
3976 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
3978         * locale/programs/linereader.c (get_ident): Stop loop if EOF.  Use
3979         lr_ungetc to push back last read character.
3980         * locale/programs/linereader.h (lr_ungetc): Don't push back is
3981         character is EOF.
3982         (lr_ignore_rest): Don't warn about garbage if it is really the end
3983         of the file.
3985         * manual/Makefile: Use ifnottext and not ifinfo to protect Top node
3986         definition.
3988 2001-02-08  Ulrich Drepper  <drepper@redhat.com>
3990         * Makerules (build-shlib): Work around different order of
3991         processing of -B option in different gcc versions.
3993         * posix/regex.c: Fix alignment problem.
3994         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
3996         * sysdeps/alpha/strrchr.S: Little optimization.
3997         Patch by Richard Henderson <rth@redhat.com>.
3999         * sysdeps/alpha/alphaev67/strrchr.S: New file.
4000         Contributed by Rick Gorton <rick.gorton@alpha-processor.com>.
4002 2001-02-08  kaz Kojima  <kkojima@rr.iij4u.or.jp>
4004         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Correct function name
4005         in the assembler end directive.
4007 2001-02-08  Andreas Jaeger  <aj@suse.de>
4009         * manual/stdio.texi (Closing Streams): Fix typos.
4011 2001-02-07  Ulrich Drepper  <drepper@redhat.com>
4013         * sysdeps/alpha/alphaev67/strncat.S: Align last write address.
4014         Patch by Richard Henderson <rth@redhat.com>.
4015         Reported by Claus-Justus Heine <heine@instmath.rwth-aachen.de>.
4017         * stdlib/strfmon.c [USE_IN_LIBIO]: Define lock variable and store
4018         pointer in FILE structure before calling _IO_init.
4019         * stdlib/Makefile: Add -D_IO_MTSAFE_IO to CFLAGS for strfmon and
4020         strfmon_l if necessary.
4021         Reported by Jury Gerold <gjury@grips.com>.
4023         * sysdeps/gnu/netinet/tcp.h: Correct values of TCP_ macros.
4024         Patch by Pekka.Pietikainen@cern.ch.
4026         * posix/regex.c: Correct several problems with 64-bit architectures
4027         introduced in the MBS changes.
4028         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
4030 2001-02-07  Jakub Jelinek  <jakub@redhat.com>
4032         * math/tgmath.h: Only add l suffixes if __NO_LONG_DOUBLE_MATH is
4033         not defined.
4034         * sysdeps/alpha/fpu/bits/mathinline.h: Honour __NO_MATH_INLINES.
4036 2001-02-07  Andreas Jaeger  <aj@suse.de>
4038         * manual/install.texi (Tools for Compilation): Fix typo.
4039         Reported by Pavel Machek <pavel@bug.ucw.cz>.
4041 2001-02-07  Ulrich Drepper  <drepper@redhat.com>
4043         * stdlib/strtod.c: Never stop prematurely reading digits before the
4044         decimal point is found.  Compute exponent limit for negative exponents
4045         correctly.  For numbers ending in all zeros eat the zeros even before
4046         the decimal point if the exponent is negative [PR libc/2072].
4047         * stdlib/Makefile (tests): Add bug-strtod.
4048         * stdlib/bug-strtod.c: New file.
4050 2001-02-07  Andreas Jaeger  <aj@suse.de>
4052         * posix/bug-regex1.c: Include <wchar.h> for fwide.
4054 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
4056         * posix/regex.c (regex_compile): Don't store pointer in wchar_t array.
4057         Store index.
4058         (compile_range): Handle index being passed, not pointer.
4059         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
4061         * posix/regex.c: Fix a cast in the code for bracket handling which
4062         caused 8-bit uncleanliness.
4063         Patch by Michal Jaegermann <michal@ellpspace.math.ualberta.ca>.
4065         * posix/Makefile (tests): Add bug-regex1.
4066         * posix/bug-regex1.c: New file.
4067         Contributed by Jim Meyering <jim@meyering.net>.
4069         * posix/regex.c: Many cleanups for incorrect format strings.
4071 2001-02-06  Andreas Jaeger  <aj@suse.de>
4073         * time/time.h (CLK_TCK): Check for !__STRICT_ANSI.
4075 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
4077         * locale/programs/locale.c (write_locales): Use scandir to read
4078         directory so that the entries are sorted.
4080 2001-02-06  Andreas Jaeger  <aj@suse.de>
4082         * include/pthread.h: New file.
4084         * wctype/wctype.h: Move internal interfaces from here to...
4085         * include/wctype.h: ...here.
4087         * wcsmbs/wchar.h: Move __wcslen from here to...
4088         * include/wchar.h: ...here.
4090         * posix/sys/wait.h: Move __wait from here to...
4091         * include/sys/wait.h: ...here.
4093         * string/string.h: Move __ffs and __strerror_r from here to...
4094         * include/string.h: ...here.
4096         * stdlib/stdlib.h: Move __on_exit from here to...
4097         * include/stdlib.h: ...here.
4099         * libio/stdio.h: Move __vsnprintf from here to...
4100         * include/stdio.h: ...here.
4102 2001-02-06  Andreas Schwab  <schwab@suse.de>
4104         * sysdeps/unix/sysv/linux/ia64/ioperm.c: Don't include kernel
4105         headers.
4107         * timezone/Makefile: Don't assume that $(inst_zonedir) is a subdir
4108         of $(inst_datadir).
4110 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
4112         * iconvdata/Makefile: Add dependency for bug-iconv2.out.
4114 2001-02-06  Andreas Jaeger  <aj@suse.de>
4116         * elf/firstobj.c: Add prototype.
4118         * posix/regex.c (convert_mbs_to_wcs): Make static, add prototype
4119         (truncate_wchar): Likewise.
4121 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
4123         * locale/programs/locale.c: Implement --verbose option for -a
4124         which prints detailed information about the locales.
4126 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
4128         * sunrpc/xdr_rec.c (set_input_fragment): Change type of header
4129         variable to uint32_t.
4130         Reported by Ulrich Weigand <weigand@immd1.informatik.uni-erlangen.de>.
4132 2001-02-04  Bruno Haible  <haible@clisp.cons.org>
4134         * locale/C-translit.h.in: Add transliterations for CJK units of
4135         measurement.
4137 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
4139         * elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf
4140         string.  Include <inttypes.h> instead of <stdint.h>.
4142         * localedata/Makefile (tests): Add bug-iconv-trans.
4143         Define bug-iconv-trans-ENV.
4144         * localedata/bug-iconv-trans.c: New file.
4146 2001-02-04  Bruno Haible  <haible@clisp.cons.org>
4148         * iconv/gconv_trans.c (__gconv_transliterate): Use a temporary output
4149         pointer, to avoid accumulating output from incomplete (unsuccessful)
4150         transliteration attempts.
4152 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
4154         * elf/ldconfig.c (search_dir): Use PRIx64 instead of Lx in printf
4155         string.  Include <inttypes.h> instead of <stdint.h>.
4157         * configure.in: Add check for bison.
4158         * config.make.in: Define BISON variable.
4159         * intl/Makefile: Use BISON instead of YACC when generating plural.c.
4160         Rename YFLAGS to BISONFLAGS.
4162 2001-02-05  Andreas Jaeger  <aj@suse.de>
4164         * io/test-lfs.c (do_test): Test lseek64 return value, call
4165         test_ftello.
4166         (test_ftello): New function to test ftello64 and fseeko64.
4168         * signal/signal.h: Move __sigaction from here to...
4169         * include/signal.h: ...here.
4171         * io/fcntl.h: Move __fcntl and __open to...
4172         * include/fcntl.h: ...here.
4174 2001-02-04  Philip Blundell  <philb@gnu.org>
4176         * configure.in: Distinguish ARM from Thumb.
4178 2001-02-04  Philip Blundell  <philb@gnu.org>
4180         * sysdeps/arm/dl-machine.h (elf_machine_rel): Correct handling of
4181         PC24 relocs with negative value.
4183 2001-02-04  Ulrich Drepper  <drepper@redhat.com>
4185         * iconv/Makefile (iconv_prog-modules): Define.  Add vpath to find
4186         files in locale/programs.  Add CFLAGS definition to allow compiling
4187         localedef files.
4188         * iconv/dummy-repertoire.c: New file.
4189         * iconv/iconv_charmap.c: New file.
4190         * iconv/iconv_prog.h: New file.
4191         * iconv/iconv_prog.c: Make verbose and omit_invalid global.
4192         (main): If parameter for -f and -t contain slashes try first to resolve
4193         the strings as filenames of charmap files.  Use them for conversion
4194         in this case.
4195         * iconvdata/run-iconv-test.sh: If charmaps exist also run tests with
4196         iconv getting charmap names as parameters.
4197         * locale/programs/linereader.c (lr_token): Take extra parameters
4198         verbose and pass it to get_string.
4199         (get_string): Take extra parameters verbose.
4200         * locale/programs/charmap.c (parse_charmap): Take extra parameters
4201         verbose and be_quiet.  Change all callers of lr_token and
4202         parse_charmap.
4203         * locale/programs/charmap.h: Likewise.
4204         * locale/programs/ld-address.c: Likewise.
4205         * locale/programs/ld-collate.c: Likewise.
4206         * locale/programs/ld-ctype.c: Likewise.
4207         * locale/programs/ld-identification.c: Likewise.
4208         * locale/programs/ld-measurement.c: Likewise.
4209         * locale/programs/ld-messages.c: Likewise.
4210         * locale/programs/ld-monetary.c: Likewise.
4211         * locale/programs/ld-name.c: Likewise.
4212         * locale/programs/ld-numeric.c: Likewise.
4213         * locale/programs/ld-paper.c: Likewise.
4214         * locale/programs/ld-telephone.c: Likewise.
4215         * locale/programs/ld-time.c: Likewise.
4216         * locale/programs/linereader.c: Likewise.
4217         * locale/programs/linereader.h: Likewise.
4218         * locale/programs/localedef.c: Likewise.
4219         * locale/programs/locfile.c: Likewise.
4220         * locale/programs/locfile.h: Likewise.
4221         * locale/programs/repertoire.c: Likewise.
4223 2001-02-03  Ulrich Drepper  <drepper@redhat.com>
4225         * iconv/iconv_prog.c (main): If output file name is "-" write to
4226         stdout.
4227         (main): If -f or -t argument is missing use charset of the current
4228         locale.
4230 2001-02-03  Andreas Jaeger  <aj@suse.de>
4232         * sysdeps/i386/elf/start.S (_start): Align stack to 16-byte
4233         boundary for SSE/SSE-2 alignment.
4235         * posix/Makefile ($(objpfx)annexc.out): Also pass sysincludes to
4236         annexc.
4238 2001-02-03  Ulrich Drepper  <drepper@redhat.com>
4240         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: File was using crlf.
4241         Remove comma at end of enum.
4243         * elf/dl-init.c: Add a few __builtin_expect.
4245         * hesiod/hesiod.c: Remove unnecessary code.  Remove all uses of strcat.
4247 2001-02-02  Ulrich Drepper  <drepper@redhat.com>
4249         * hesiod/hesiod.c (hesiod_resolve): Also search HS records if
4250         errno is ECONNREFUSED.
4252         * posix/Makefile: Define MBS_SUPPORT for regex.c.
4253         * posix/regex.c: Implement multibyte character handling.
4254         Patch by Isamu Hasegawa <isamu@yamato.ibm.co.jp>.
4256         * string/tst-svc.input: Add two more test cases.
4257         * string/tst-svc.expect: Modify to reflect new test cases.
4259 2001-02-01  Jakub Jelinek  <jakub@redhat.com>
4261         * sysdeps/posix/getaddrinfo.c (gaih_local, gaih_inet): Replace all
4262         tp->name tests with tp->name[0] tests.
4264 2001-01-29  Ben Collins  <bcollins@debian.org>
4266         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r):
4267         Fix check for name == NULL.
4269 2001-02-01  Ulrich Drepper  <drepper@redhat.com>
4271         * elf/Makefile: Add rules to build and run initfirst test.
4272         * elf/initfirst.c: New file.
4273         * elf/firstobj.c: New file.
4275         * Makerules (build-shlib): Add $(extra-B-$(@F:lib%.so=%).so).
4276         * configure.in: Test for -z initfirst linker option.
4277         * config.make.in: Add have-z-initfirst.
4278         * elf/dl-init.c (_dl_init): Split out actual initialization code in
4279         new function call_init.  If _dl_initfirst is non-NULL initialize first.
4280         * elf/dl-load.c (_dl_map_from_fd): If DF_1_INITFIRST flag is set
4281         remember object in _dl_initfirst.
4282         * elf/soinit.c: Remove special support for calling
4283         __pthread_initialize_minimal.
4285         * conform/conformtest.pl: Add missing $prepend in type test.
4287 2001-01-31  Ulrich Drepper  <drepper@redhat.com>
4289         * elf/elf.h (SHT_CHECKSUM): New definition.
4291         * posix/fnmatch_loop.c: Remove incorrect reverse condition in
4292         [. .] matching.  Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
4293         * posix/tst-fnmatch.input: Add tests for [. .] in locales.
4295 2001-01-31  Mark Kettenis  <kettenis@gnu.org>
4297         * misc/sys/select.h: Include <bits/time.h> instead of <sys/time.h>
4298         to get definition of `struct timeval'.
4300 2001-01-31  Ulrich Drepper  <drepper@redhat.com>
4302         * posix/tst-fnmatch.input: Add test cases for de_DE.UTF-8 locale.
4303         * posix/fnmatch_loop.c: Fix handling of [= =] for multibyte charsets.
4305 2001-01-30  Ulrich Drepper  <drepper@redhat.com>
4307         * iconv/gconv_open.c (__gconv_open): Set conv_flags if IGNORE is
4308         seen, not flags.
4310         * nis/nis_findserv.c: Include <time.h>.
4312 2001-01-30  Yong Li  <yong.li@asu.edu>
4314         * iconv/iconv_prog.c (main): Correct error handling method name.
4316 2001-01-29  Ben Collins  <bcollins@debian.org>
4318         * sysdeps/sparc/fpu/fraiseexcpt.c: Include <float.h>.
4319         * sysdeps/hppa/fpu/fraiseexcpt.c: Likewise.
4320         * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
4321         * sysdeps/s390/fpu/fraiseexcpt.c: Likewise.
4323 2001-01-30  Ulrich Drepper  <drepper@redhat.com>
4325         * locale/programs/ld-measurement.c (measurement_finish): Fix a typo.
4326         Patch by Marko Myllynen <myllynen@lut.fi>.
4328         * string/bits/string2.h (__strpbrk_c2): Correct parameter types
4329         (int instead of char).
4330         (__strpbrk_c3): Likewise.
4331         Reported by GOTO Masanori <gotom@debian.or.jp>.
4333         * sysdeps/generic/bits/sockaddr.h: Remove SA_LEN macro.
4334         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Likewise.
4335         * include/sys/socket.h: Add SA_LEN here for internal use.
4336         Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
4338 2001-01-29  Ulrich Drepper  <drepper@redhat.com>
4340         * malloc/Makefile: Don't build memusagestat if cross-compiling.
4342         * sysdeps/generic/dl-sysdep.c (set_seen): Fix typo.
4344         * math/libm-test.inc (rint_test): Add a few more tests for round
4345         to even rounding.
4347 2001-01-28  Ulrich Drepper  <drepper@redhat.com>
4349         * conform/data/pthread.h-data: Correct return type of pthread_exit.
4351         * conform/conformtest.pl: Add -fno-builtin to CFLAGS.
4353         * conform/data/stdlib.h-data: Add _Exit.
4355         * inet/arpa/inet.h: Don't include <sys/types.h>.  Define socklen_t
4356         if not already happened.
4357         * inet/netinet/in.h: Don't include <sys/types.h>, use <bits/types.h>.
4358         Don't include <limits.h> and <bits/sockaddr.h>.
4360         * conform/data/netinet/in.h-data: Allow all of <inttypes.h>.
4362         * conform/data/spawn.h-data: Allow all of <sched.h>.
4364         * sysdeps/ia64/fpu/fraiseexcpt.c: Include <float.h>.  Removed
4365         unused variable.
4367         * sunrpc/xdr_rec.c (xdrrec_getpos): Add cast to long to avoid warning.
4368         * sunrpc/xdr_sizeof.c (x_inline): Likewise.
4370         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include <float.h>.
4372         * conform/conformtest.pl: Define $mustprepend{"stdio.h"}.
4373         * libio/stdio.h: Define va_list correctly.
4375         * conform/data/pthread.h-data: Make priority protocol related
4376         functions optional.  Fix typos.
4378         * posix/sched.h: Define sched_priority as __sched_priority.
4379         * sysdeps/generic/bits/sched.h (struct sched_param): Rename element
4380         to __sched_priority.
4381         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4383 2001-01-27  Ulrich Drepper  <drepper@redhat.com>
4385         * sysdeps/generic/clock_getcpuclockid.c: Include <time.h> instead
4386         of <sys/time.h>.
4388         * sysdeps/unix/stime.c: Include <stddef.h> for NULL.
4389         * sysdeps/unix/time.c: Likewise.
4391         * conform/data/time.h-data: CLK_TCK is not in XPG6.  Fix tzname entry.
4392         * sysdeps/mach/hurd/bits/time.h: Don't define CLK_TCK for XPG6.
4393         * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
4394         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
4395         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
4396         * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
4397         * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
4398         * time/time.h: Likewise.
4400         * conform/conformtest.pl (@headers): Add complex.h and tgmath.h.
4401         * conform/data/complex.h-data: New file.
4402         * conform/data/tgmath.h-data: New file.
4404         * conform/data/wchar.h-data: Add missing functions.
4406         * sysdeps/gnu/bits/utmpx.h: Define RUN_LVL only if __USE_GNU.
4408         * conform/data/termios.h-data: Add missing const in tcsetattr()
4409         prototype.
4411         * posix/sys/wait.h: Include <signal.h> and <sys/resource.h>.
4412         Don't define pid_t here.
4414         * conform/data/sys/utsname.h-data: Don't provide fixed array sizes.
4416         * conform/data/sys/time.h-data: Allow sys/select.h.
4417         * conform/data/sys/un.h-data: Fix typo.
4418         * time/sys/time.h: Don't include all of <time.h>, just struct timeval.
4419         * sysdeps/posix/clock_getres.c: Include <time.h> instead of
4420         <sys/time.h>.
4421         * sysdeps/unix/clock_nanosleep.c: Likewise.
4422         * sysdeps/unix/i386/clock_getcpuclockid.c: Likewise.
4423         * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
4424         * sysdeps/unix/clock_gettime.c: Also include <time.h>.
4425         * sysdeps/unix/clock_settime.c: Likewise.
4427         * sysdeps/generic/pselect.c: Include <stddef.h> for NULL.
4428         * login/getutent.c: Likewise.
4429         * login/getutid.c: Likewise.
4430         * login/getutline.c: Likewise.
4432         * socket/sys/un.h: Define SUN_LEN only if __USE_MISC.
4434         * sysdeps/unix/sysv/linux/bits/statvfs.h: Change type of f_fsid field
4435         to unsigned long.  Add __f_unused.  Define _STATVFSBUF_F_UNUSED.
4436         * sysdeps/unix/sysv/linux/internal_statvfs.c: Adjust initialization of
4437         f_fsid field after change in struct statvfs.
4438         * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: New file.
4439         * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: New file.
4440         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: New file.
4442         * conform/data/sys/stat.h-data: Remove isfdtype.  Use
4443         optional-macro.
4445         * conform/data/sys/socket.h-data: Fix typos.  Correct getsockopt,
4446         recvfrom, send, and socketpair prototypes.  Add allow lines.
4447         * socket/sys/socket.h: Include <sys/uio.h>.
4448         Don't use fancy __SOCKADDR_ARG definition unless __USE_GNU.
4449         Fix type of second parameter of listen.
4450         Don't declare isfdtype unless __USE_MISC.
4451         * sysdeps/generic/listen.c: Fix type of second parameter of listen.
4452         * sysdeps/mach/hurd/listen.c: Likewise.
4453         * sysdeps/generic/bits/socket.h (struct sockaddr_storage): Define
4454         ss_family and __ss_family.
4455         * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
4456         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4457         (struct msghdr): Change type of msg_iovlen to int and type of
4458         msg_controllen to socklen_t.
4459         * sysdeps/unix/sysv/linux/alpha/bits/socket.h: New file.
4460         * sysdeps/unix/sysv/linux/ia64/bits/socket.h: New file.
4461         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: New file.
4462         * inet/rcmd.c (rcmd_af): __ss_family is now ss_family.
4463         (rresvport_af): Likewise.
4465         * conform/data/sys/shm.h-data: SHMLBA is not required to by a constant.
4466         * conform/conformtest.pl: Implement handling of symbol.
4468         * signal/signal.h: Fix handling of __need_* symbols.
4469         * misc/sys/select.c: Define fd_set here.  Remove __fd_set.  Define
4470         fd_mask only if __USE_MISC.  Declare pselect for __USE_XOPEN2K.
4471         * include/sys/select.h: Use fd_set not __fd_set.
4472         * sysdeps/generic/bits/select.h: Likewise.
4473         * sysdeps/i386/bits/select.h: Likewise.
4474         * sysdeps/generic/bits/types.h: Don't define __fd_mask, __NFDBITS,
4475         __FDELT, __FDMASK, and __fd_set here.
4476         * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
4477         * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
4478         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
4479         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
4480         * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
4481         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
4482         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
4483         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
4484         * time/sys/time.h: Define struct timeval before including <time.h>
4485         and <sys/select.h>.
4487         * conform/data/sys/time.h-data: fd_set is a typedef.
4488         * conform/data/sys/select.h-data: New file.
4489         * conform/data/sys/mman.h-data: Make typed mem stuff optional.
4490         * conform/conformtest.pl (@headers): Add sys/select.h.
4491         (type, optional-type): Unless testing a typedef instantiate object.
4492         Implement optional-function.
4494         * math/test-misc.c: Include <float.h>.
4496 2001-01-27  Andreas Jaeger  <aj@suse.de>
4498         * misc/efgcvt_r.c: Include <float.h>.
4500 2001-01-26  Ulrich Drepper  <drepper@redhat.com>
4502         * conform/data/stdlib.h-data: Account for XPG6 changes.
4503         * stdlib/stdlib.h (__random): Change return value type to long.
4504         (posix_memalign): Cleanup parameter names.
4505         (setenv, unsetenv): Make available for __USE_XOPEN2K.
4506         Change return type of unsetenv to int.
4507         (qecvt, qgcvt, qfcvt): Declare only if __USE_MISC.
4508         * include/stdlib.h: Change return type of unsetenv to int.
4509         Change return type of random to long int.
4510         * sysdeps/generic/setenv.c (unsetenv): Change return type to int.
4511         Return -1 and set errno if parameter is invalid.
4512         * stdlib/random.c (__random): Change return value type to long.
4514         * conform/data/stdio.h-data: Account for changes in XPG6.
4516         * conform/data/spawn.h-data: Correct posix_spawnattr_setflags
4517         prototype.
4519         * conform/conformtest.pl: Define $mustprepend{"signal.h"}.
4520         * conform/data/signal.h-data: Fix sigev_notify_function entry.
4521         Fix typo (SIGVALRM -> SIGVTALRM).
4522         * sysdeps/unix/sysv/linux/bits/siginfo.h: Define sigev_notify_attr
4523         with real type.
4524         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
4525         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
4526         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
4527         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4528         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
4530         * conform/conformtest.pl: Implement optional-element.  Define
4531         $mustprepend{"sched.h"}.
4532         * conform/data/sched.h-data: Make sporadic scheduler definitions
4533         optional.
4535         * pwd/pwd.h: Don't define getpwent_r for XPG.
4537         * io/sys/poll.h: Define nfds_t and use it in poll prototype.
4538         * sysdeps/generic/poll.c: Use nfds_t type in function definition.
4539         * sysdeps/mach/hurd/poll.c: Likewise.
4540         * sysdeps/unix/bsd/poll.c: Likewise.
4541         * sysdeps/unix/sysv/linux/poll.c: Likewise.
4542         * sysdeps/unix/sysv/aix/poll.c: Likewise.
4543         * sysdeps/generic/bits/poll.h: Define NPOLLFILE only if __USE_MISC.
4544         * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
4545         * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
4546         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
4547         * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
4548         * conform/data/poll.h-data: Fix typo in poll prototype.
4550         * sysdeps/gnu/netinet/tcp.h: Define everything but TCP_ macros
4551         only if __USE_MISC.
4552         * conform/data/netinet/tcp.h-data: Reserved prefix TCP_.
4554         * sysdeps/gnu/net/if.h: Cleanup namespace.  Define IF_NAMESIZE.
4556         * inet/netinet/in.h: Make IPPROTO_ constants also macros.
4558         * conform/conformtest.pl: Implement optional-type.
4560         * resolv/netdb.h: Include <netinet/in.h> not <sys/socket.h>.  Include
4561         <rpc/netdb.h> only if __USE_MISC.  Include <stdint.h> instead of
4562         defining uint32_t here.  Define IPPORT_RESERVED.
4563         (struct hostent): Type of h_length element is int.
4564         (getnameinfo): Type of flags parameter is unsigned int.
4565         * inet/getnameinfo.c (getnameinfo): flags argument is unsigned.
4566         * conform/data/netdb.h-data: Add many missing definitions.
4568         * conform/conformtest.pl: Implement optional-macro.
4569         * conform/data/math.h-data: Update for XPG6.
4571         * math/math.h (HUGE): Define as FLT_MAX value but don't use
4572         FLT_MAX.  Don't include <float.h>.
4573         (MAXFLOAT): Likewise.
4575         * math/math.h: Define MATH_ERRNO and MATH_ERREXCEPT.
4577         * include/bits/xopen_lim.h: Don't define FOPEN_MAX here.
4579         * conform/data/limits.h-data: Mark constants as optional wherever
4580         appropriate.
4582         * posix/bits/posix2_lim.h: Set correct values for
4583         _POSIX2_COLL_WEIGHTS_MAX and _POSIX2_CHARCLASS_NAME_MAX.  Remove
4584         EQUIV_CLASS_MAX.
4586         * posix/bits/posix1_lim.h: Define _POSIX_TZNAME_MAX as 6.
4587         Required by POSIX.
4589         * intl/loadmsgcat.c: Include <locale.h.> for _LIBC.
4591         * conform/data/netinet/in.h-data: Add reserved prefixes.
4593         * conform/data/arpa/inet.h-data: Fix a few typos.
4595 2001-01-26  Andreas Jaeger  <aj@suse.de>
4597         * sysdeps/generic/strtol.c: Include <locale.h>
4598         * stdlib/strtod.c: Likewise
4599         * stdlib/strfmon.c: Likewise.
4600         * string/strcoll.c: Likewise.
4601         * string/strxfrm.c: Likewise.
4602         * wctype/wcfuncs_l.c: Likewise.
4603         * wctype/wctype_l.c: Likewise.
4604         * wctype/wctrans_l.c: Likewise.
4606         * include/bits/locale.h: New file.
4608 2001-01-26  Ulrich Drepper  <drepper@redhat.com>
4610         * locale/langinfo.h: Correct logic in #ifs when defining YESSTR
4611         and NOSTR.
4613         * locale/Makefile (headers): Add bits/locale.h.
4614         * locale/langinfo.h: Don't include <locale.h>.  Include <bits/locale.h>
4615         and use __LC_ constants instead of LC_.
4616         * locale/locale.h: Include <bits/locale.h> and define LC_ constants
4617         using __LC_ constants.
4618         * locale/bits/locale.h: New file.
4619         * locale/loadlocale.c: Include <locale.h>.
4620         * locale/nl_langinfo.h: Likewise.
4622         * posix/glob.h: Cleanup namespace for non-_GNU_SOURCE case.
4624         * io/sys/stat.h: Define S_IFSOCK for XPG6.
4626         * conform/data/fcntl.h-data: posix_madvise is not expected here.
4628         * conform/conformtest.pl: Fix handling of macro-str.
4630         * conform/data/inttypes.h-data: Add missing definition and all of
4631         stdint.h-data.
4633         * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Bump to 20.
4635 2001-01-25  Ulrich Drepper  <drepper@redhat.com>
4637         * conform/conformtest.pl (@headers): Add stdint.h.
4638         * conform/data/stdint.h-data: New file.
4640         * conform/conformtest.pl: Recognize options --headers and
4641         --dialect.  Add dialect-specific CFLAGS.
4643         * conform/conformtest.pl: Implement handling of recursive
4644         allow-header.
4646         * conform/data/locale.h-data: Add new struct lconv members.
4648         * posix/wordexp.h: Correct definition of wordexp_t.
4649         * posix/wordexp.c: Moved to ...
4650         * sysdeps/generic/wordexp.c: ...here.  New file.
4651         * sysdeps/unix/sysv/linux/alpha/wordexp.c: New file.
4652         * sysdeps/unix/sysv/linux/ia64/wordexp.c: New file.
4653         * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: New file.
4654         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.2.2): Add
4655         wordexp.
4656         * sysdeps/unix/sysv/linux/ia64/Versions: Likewise.
4657         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
4659         * math/tgmath.h: Pretty printing.
4661         * math/Makefile (tests): Add test-tgmath.
4662         (CFLAGS-test-tgmath.c): New variable.
4663         * math/test-tgmath.c: New file.  Contributed by Jakub Jelinek.
4665         * conform/conformtest.pl: Handle allow-header in secondary headers
4666         correctly.
4668         * conform/data/fcntl.h-data: Mark symbols introduced in XPG6 with
4669         #ifdef.
4671         * conform/data/netinet/in.h-data: Use correct comment character.
4672         * conform/data/sys/stat.h-data: Likewise.
4674 2001-01-25  Jakub Jelinek  <jakub@redhat.com>
4676         * math/tgmath.h (__TGMATH_BINARY_FIRST_REAL_ONLY,
4677         __TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY,
4678         __TGMATH_TERNARY_REAL_ONLY): Use proper arguments to
4679         __builtin_classify_type, add ##f suffixes where appropriate.
4680         (__TGMATH_UNARY_REAL_IMAG): Remove extraneous left parenthesis.
4681         (__TGMATH_BINARY_REAL_IMAG): Likewise, use proper arguments to
4682         __builtin_classify_type.
4683         (fma): Fix spelling of first argument.
4685 2001-01-25  Ulrich Drepper  <drepper@redhat.com>
4687         * conform/data/unistd.h-data: Mark functions removed in XPG6
4688         correctly.
4690         * posix/unistd.h: Don't make functions removed in XPG6 available if
4691         __USE_XOPEN2K.
4693         * conform/conformtest.pl: Implement optional-constant.
4694         * conform/data/unistd.h-data: Use optional-constant wherever
4695         appropriate.
4697         * sysdeps/generic/bits/confname.h: Correct names of _SC_PBS
4698         constants and add _SC_STREAMS.
4699         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
4701         * sysdeps/unix/sysv/linux/statvfs64.c: Rename to __statvfs64 and
4702         make old name weak alias.
4703         * sysdeps/generic/statvfs64.c: Likewise.
4704         * sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and
4705         make old name weak alias.
4706         * sysdeps/generic/fstatvfs64.c: Likewise.
4707         * include/sys/statvfs.h: New file.
4709         * sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE,
4710         _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and
4711         _PC_REC_XFER_ALIGN.
4712         * sysdeps/posix/pathconf.c (__pathconf): Implement handling of
4713         _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
4714         _PC_REC_MIN_XFER_SIZE, and _PC_REC_XFER_ALIGN.
4715         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
4717         * conform/conformtest.pl: Run Unix tests for XPG6.
4718         Implement handling of known namespace violations.
4719         Improve printing of results.
4721         * posix/unistd.h (usleep): Correct return type.
4722         * sysdeps/unix/sysv/linux/usleep.c: Correct return type.
4723         * sysdeps/unix/bsd/usleep.c: Correct return type.
4724         * sysdeps/mach/usleep.c: Correct return type.
4725         * sysdeps/generic/usleep.c: Correct return type.
4727         * posix/unistd.h (sync): Correct return type.
4728         * sysdeps/generic/sync.c: Likewise.
4729         * sysdeps/mach/hurd/sync.c: Likewise.
4731         * sysdeps/generic/bits/confname.h (_SC_IOV_MAX): New definition.
4733         * posix/unistd.h: Make seteuid and setegid available for XPG6.
4735         * wcsmbs/wchar.h: Get FILE definition for XPG5.
4737         * conform/data/ctype.h-data: Use correct comment form.
4738         * conform/data/errno.h-data: Likewise.
4739         * conform/data/math.h-data: Likewise.
4740         * conform/data/mqueue.h-data: Likewise.
4741         * conform/data/netdb.h-data: Likewise.
4742         * conform/data/pthread.h-data: Likewise.
4744 2001-01-24  Ulrich Drepper  <drepper@redhat.com>
4746         * conform/data/wordexp.h-data: Fix typo.
4748         * conform/conformtest.pl: Handle allow-header correctly.
4750         * conform/data/time.h-data: Use correct comment form.
4752         * conform/conformtest.pl (checknamespace): Ignore #undef lines.
4754         * configure.in: Comment out binutils version test.
4756         * stdlib/strtod.c (str_to_mpn): Correct parsing of thousands
4757         separators.
4758         Reported by Lagardere Jean-Francois <LAGARDEREJ@thmulti.com>.
4760         * stdlib/tst-strtod.c (locale_test): New function.
4761         (main): Call locale_test.
4762         * stdlib/Makefile (tst-strtod-ENV): New variable.
4764 2001-01-24  Mark Kettenis  <kettenis@gnu.org>
4766         * hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost
4767         declaration of value such that we actually return the value of the
4768         environment variable.
4770 2001-01-24  Andreas Jaeger  <aj@suse.de>
4772         * sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl
4773         prototype.
4774         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
4776         * include/sys/sysctl.h: New file.
4778 2001-01-23  Andreas Jaeger  <aj@suse.de>
4780         * stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to
4781         isomac.
4783         * elf/dl-load.c (_dl_init_paths): Don't use strdupa in function
4784         arguments.  Reported by Jiri Kubicek <kubicek@bitsmart.com>,
4785         closes PR libc/2039.
4787         * manual/install.texi (Tools for Compilation): Change required
4788         binutils version.
4790 2001-01-22  Andreas Jaeger  <aj@suse.de>
4792         * configure.in: Add test for new enough binutils version, move
4793         compiler/binutils test up.
4795         * Versions.def: Add version GLIBC_2.2.2.
4797 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
4799         * iconvdata/TESTS: UTF-8 test data for IBM932 and IBM943 are now
4800         available.
4801         * iconvdata/testdata/IBM932: New file.
4802         * iconvdata/testdata/IBM932..UTF8: New file.
4803         * iconvdata/testdata/IBM943: New file.
4804         * iconvdata/testdata/IBM943..UTF8: New file.
4805         Contributed by Masahide Washizawa <washi@jp.ibm.com>.
4807 2001-01-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
4809         * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset.
4811 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
4813         * malloc/malloc.c: Remove a few unnecessary initializers of global
4814         variables.
4816 2000-12-09  H.J. Lu  <hjl@gnu.org>
4818         * nss/Makefile (routines): Add digits_dots.
4819         * nss/Versions (libc): Add __nss_hostname_digits_dots to GLIBC_2.2.2.
4820         * nss/digits_dots.c (__nss_hostname_digits_dots): Turn template
4821         into a function.
4822         * nss/nsswitch.h (__nss_hostname_digits_dots): New internal NSS
4823         function.
4824         * nss/getXXbyYY.c (H_ERRNO_VAR_P): New definition.
4825         (TYPE_VAR_P): Likewise.
4826         (FLAGS_VAR): Likewise.
4827         (AF_VAR_P): Likewise.
4828         (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
4829         instead of including digits_dots.c.
4830         * nss/getXXbyYY_r.c (H_ERRNO_VAR_P): New definition.
4831         (TYPE_VAR_P): Likewise.
4832         (FLAGS_VAR): Likewise.
4833         (AF_VAR_P): Likewise.
4834         (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
4835         instead of including digits_dots.c.
4837 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
4839         * sysdeps/posix/getaddrinfo.c: Reduce .data size.
4841 2001-01-21  Andreas Jaeger  <aj@suse.de>
4843         * elf/constload2.c: Add prototype for init.
4845 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
4847         * stdlib/stdlib.h (drand48_data): Make available only for
4848         __USE_MISC.  Rename elements to protect namespace.  Change type
4849         and position of a and init element.
4850         * stdlib/drand48-iter.c: Don't handle unsigned short > 16 bit
4851         differently.  Adjust for drand48_data change.  Don't compute a here,
4852         it comes from drand48_data.
4853         * stdlib/lcong48_r.c: Don't handle unsigned short > 16 bit
4854         differently.  Adjust for drand48_data change.  Compute a here.
4855         * stdlib/srand48_r.c: Likewise.
4856         * stdlib/drand48.c: Adjust for drand48_data change.
4857         * stdlib/lrand48.c: Likewise.
4858         * stdlib/mrand48.c: Likewise.
4859         * stdlib/seek48.c: Likewise.
4860         * stdlib/drand48_r.c: Likewise.
4861         * stdlib/lrand48_r.c: Likewise.
4862         * stdlib/mrand48_r.c: Likewise.
4863         * stdlib/seed48_r.c: Likewise.  Don't handle unsigned short > 16 bit
4864         differently.
4865         * stdlib/erand48_r.c: Don't handle unsigned short > 16 bit differently.
4866         * stdlib/jrand48_r.c: Likewise.
4868         * po/sv.po: Update from translation team.
4870 2001-01-21  Andreas Jaeger  <aj@suse.de>
4872         * stdio-common/vfprintf.c (vfprintf): Add casts.
4874 2001-01-20  Ulrich Drepper  <drepper@redhat.com>
4876         * iconvdata/run-iconv-test.sh: Reorgnize a bit to allow running only
4877         the ASCII test.
4878         * iconvdata/TESTS: Add entries for IBM932 and IBM943.
4880         * iconvdata/Makefile (modules): Add IBM932 and IBM943.
4881         * iconvdata/gconv-modules: Add entries for IBM932 and IBM943.
4882         * iconvdata/ibm932.c: New file.
4883         * iconvdata/ibm932.h: New file.
4884         * iconvdata/ibm943.c: New file.
4885         * iconvdata/ibm943.h: New file.
4886         Patches by Masahide Washizawa <washi@jp.ibm.com>.
4888         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo
4889         preventing optimization from being done.  Set the correct type bit
4890         in seen.  Don't define and use _dl_base_addr unless
4891         NEED_DL_BASE_ADDR is defined.
4893         * io/ftw.c (ftw_dir): Add slash after directory name if there
4894         wasn't any.  Reported by loris <loris@iol.it>.
4895         * io/Makefile (tests): Add bug-ftw2.
4896         * io/bug-ftw2.c: New file.
4898 2001-01-19  Ulrich Drepper  <drepper@redhat.com>
4900         * stdlib/jrand48_r.c (__jrand48_r): Correct constructing of
4901         results.  Reported by Jeff Higham <jhigham@algorithmics.com>.
4902         * stdlib/tst-rand48.c: New file.
4903         * stdlib/Makefile (tests): Add tst-rand48.
4905         * locale/newlocale.c (__newlocale): Fix test for setting all
4906         categories.
4908 2001-01-19  Mark Kettenis  <kettenis@gnu.org>
4910         * sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes,
4911         but change looking up the initial directory port in a similar way
4912         as done by _hurd_change_directory_port_from_name.
4913         * hurd/fchroot.c (fchroot): Likewise.
4915 2001-01-18  Ulrich Drepper  <drepper@redhat.com>
4917         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If HAVE_AUX_XID is
4918         defined don't look whether the AT_*ID values were set.
4919         If HAVE_AUX_PAGESIZE is defined don't look whether the pagesize is set.
4920         (_dl_show_auxv): Rewrite to avoid switch statement.
4921         * sysdeps/unix/sysv/linux/kernel-features.h: Define
4922         __ASSUME_AT_PAGESIZE for kernel >= 2.4.1.
4923         * sysdeps/unix/sysv/linux/ldsodefs.h: Define HAVE_AUX_XID.
4924         Define HAVE_AUX_PAGESIZE if __ASSUME_AT_PAGESIZE is defined.
4926         * sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect.
4927         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
4928         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
4930         * elf/rtld.c (process_envvars): Call __strtoul_internal instead of
4931         strtoul.
4932         * elf/dl-minimal.c (strtol, __strtol_internal, strtoul): Removed.
4933         (__sigjmp_save): Set __mask_was_saved to zero since we don't save
4934         anything.
4935         * dlfcn/eval.c (__strtol_internal): Define here.
4936         (eval): Use __strtol_internal instead of strtol.
4938         * elf/elf.h: Add a few more EF_MIPS_* constants.
4940 2001-01-17  Ulrich Drepper  <drepper@redhat.com>
4942         * manual/Makefile (chapters): Add debug.
4943         * manual/debug.texi: New file.
4944         * manual/examples/execinfo.c: New file.
4945         Patch by suckfish@ihug.co.nz.
4947 2001-01-17  Andreas Schwab  <schwab@suse.de>
4949         * sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid
4950         invalid asm.
4952 2001-01-17  Andreas Jaeger  <aj@suse.de>
4954         * nscd/connections.c (nscd_run): Use proper format specifier.
4956 2001-01-16  Ulrich Drepper  <drepper@redhat.com>
4958         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Move x86_cap_flags and
4959         x86_platforms data into new file after prepending _dl_.  Change
4960         users.
4961         * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: New file.
4962         * sysdeps/unix/sysv/linux/i386/Dist: Add dl-procinfo.c.
4963         * sysdeps/unix/sysv/linux/i386/Makefile: Add rules to build
4964         dl-procinfo.c.
4966         * setjmp/setjmp.h: Cleanup definition of setjmp macro.
4968         * sysdeps/i386/elf/bsd-setjmp.S: Real implementation.
4969         * sysdeps/i386/elf/bsd-_setjmp.S: Removed.
4970         * sysdeps/i386/elf/setjmp.S (setjmp): Removed here.
4971         (_setjmp): Likewise.
4972         * sysdeps/i386/bsd-_setjmp.S: Real implementation.
4973         * sysdeps/i386/bsd-setjmp.S: Real implementation.
4974         * sysdeps/i386/bits/setjmp.h: Remove PUSH_SIGNAL_MASK definition.
4975         * sysdeps/i386/setjmp.S: Remove PIC support.  This is the non-ELF
4976         version.
4978 2001-01-16  Andreas Jaeger  <aj@suse.de>
4980         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix
4981         misapplied last patch.
4983 2001-01-15  Ulrich Drepper  <drepper@redhat.com>
4985         * stdlib/random.c (__initstate): Clean up a cast.
4986         (__setstate): Likewise.
4988         * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove select
4989         syscall handling.  The generic Linux version should work.
4991 2001-01-15  Andreas Jaeger  <aj@suse.de>
4993         * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
4995         * stdio-common/tstscanf.c (main): Add two testcases for '*' modifier.
4997 2001-01-14  Jakub Jelinek  <jakub@redhat.com>
4999         * nss/getent.c (print_aliases, aliases_keys, ethers_keys,
5000         netgroup_keys, print_rpc, rpc_keys, print_shadow, shadow_keys):
5001         New functions.
5002         (group_keys, hosts_keys, network_keys, passwd_keys, protocols_keys):
5003         If number is 0, list all.
5004         (services_keys): Likewise.  Lookup aliases as well.
5005         (databases): New table.
5006         (build_doc): Prepare argp doc text with list of supported databases.
5007         (main): Change to table driven processing.
5009 2001-01-14  Thorsten Kukuk <kukuk@suse.de>
5011         * sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about these
5012         functions.
5014 2001-01-03  Jakub Jelinek  <jakub@redhat.com>
5016         * sunrpc/xdr.c (xdr_long, xdr_u_long): Return FALSE if trying to
5017         encode value which does not fit in the 32bit type.
5019 2001-01-15  Hiroyuki Machida <machida@sm.sony.co.jp>
5021         * sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
5022         Change type of CTX to (struct sigcontext *).
5023         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise.
5024         (GET_FRAME): Likewise.
5025         (GET_STACK): Likewise.
5026         (SIGCONTEXT): Likewise. Add 2nd arg _code.
5027         (SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.
5029 2001-01-13  Ulrich Drepper  <drepper@redhat.com>
5031         * manual/texinfo.tex: Update from upstream version.
5033 2001-01-13  Jakub Jelinek  <jakub@redhat.com>
5035         * inet/ether_ntoh.c (lookup_function): Change arguments to match
5036         _nss_*_getntohost_r prototype.
5037         (ether_ntohost): Pass errno pointer to NSS function.
5039 2001-01-12  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
5041         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value.
5042         (MAP_LOCKED): New definition.
5043         (MAP_NORESERVE): New definition.
5045 2001-01-12  Ulrich Drepper  <drepper@redhat.com>
5047         * assert/assert.h: Use static_cast instead of C-style cast for C++.
5048         Patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>.
5050 2001-01-12  Ben Collins  <bcollins@debian.org>
5052         * sysdeps/generic/segfault.c (install_handler): Use access, not
5053         __access.
5055 2001-01-12  Andreas Jaeger  <aj@suse.de>
5057         * posix/fnmatch_loop.c (FCT): Remove signed warnings.
5058         * posix/wordexp.c (do_parse_glob): Likewise.
5059         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
5060         * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
5061         * elf/dl-open.c (_dl_open): Likewise.
5062         * elf/dl-close.c (_dl_close): Likewise.
5063         * elf/dl-load.c (_dl_map_object): Likewise.
5064         * iconv/iconv_prog.c (process_fd): Likewise.
5065         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
5067         * locale/localeinfo.h (struct locale_data): Use __flexarr instead
5068         of a zero-length array.
5070 2001-01-11  Jakub Jelinek  <jakub@redhat.com>
5072         * stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func.
5073         * stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument.
5074         * stdlib/cxa_on_exit.c: Remove.
5075         * stdlib/Makefile: Revert last patch.
5076         * stdlib/Versions: Likewise.
5077         * include/stdlib.h: Likewise.
5078         * stdlib/exit.h: Revert last patch.
5079         (struct exit_function): Add second argument to cxa fn.
5080         * stdlib/exit.c: Revert last patch.
5081         (exit): Add hidden second argument.
5083 2001-01-11  H.J. Lu  <hjl@gnu.org>
5085         * elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ...
5086         * elf/dl-open.c (_dl_open): Here.
5087         * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock):
5088         Make it static.
5089         (_dl_static_init): Initialize the variables every time when possible.
5090         * sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT):
5091         Undefine it first.
5093 2001-01-11  Ulrich Drepper  <drepper@redhat.com>
5095         * stdlib/Makefile (routines): Add cxa_on_exit.
5096         * stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit.
5097         * stdlib/cxa_on_exit.c: New file.
5098         * include/stdlib.h: Add prototype for __cxa_on_exit.
5099         * stdlib/exit.c: Handle ef_cxa2.
5100         * stdlib/exit.h (enum): Add ef_cxa2.
5101         (struct exit_function): Add cxa2.
5103         * Versions.def [ld]: Add GLIBC_2.2.1.
5105 2001-01-10  H.J. Lu  <hjl@gnu.org>
5107         * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries.
5108         * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add
5109         dl-static.
5110         * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init.
5111         * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined.
5112         * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file.
5113         * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file.
5114         * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
5116 2001-01-11  Ulrich Drepper  <drepper@redhat.com>
5118         * libio/stdio.h: Remove definition of off_t.
5120 2001-01-11  Andreas Jaeger  <aj@suse.de>
5122         * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
5123         <mkuhn@acm.org>.
5125 2001-01-10  Ulrich Drepper  <drepper@redhat.com>
5127         * sunrpc/Makefile (distribute): Add errqueue.h.
5129 2001-01-10  H.J. Lu  <hjl@gnu.org>
5131         * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve
5132         r9, r10 and r11 for language specific registers.
5134 2001-01-10  Jakub Jelinek  <jakub@redhat.com>
5136         * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the
5137         UDP socket.
5138         (clntudp_call): Handle MSG_ERRQUEUE.
5139         * sysdeps/generic/errqueue.h: New file.
5140         * sysdeps/unix/sysv/linux/errqueue.h: New file.
5142 2001-01-10  H.J. Lu  <hjl@gnu.org>
5144         * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
5146 2001-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
5148         * CONFORMANCE: Update.
5150 2001-01-09  Ulrich Drepper  <drepper@redhat.com>
5152         * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
5153         Minimal cleanups.  Add assert to ensure memory handling is correct.
5155         * manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value.
5156         Reported by Ben Collins <bcollins@debian.org>.
5158         * time/strftime.c (my_strftime): Mark previous GNU extensions
5159         which are now in C99 as such.
5161 2001-01-08  Ulrich Drepper  <drepper@redhat.com>
5163         * elf/rtld.c (process_envvars): Place output files for profiling
5164         in SUID binaries in /var/profile.
5166         * elf/dl-load.c (_dl_map_object): Don't look in cache for
5167         preloading in SUID binaries.
5169         * elf/dl-profile.c (_dl_start_profile): Open the output file with
5170         O_NOFOLLOW if possible.
5172         * include/stdlib.h: Add __posix_openpt declaration.
5173         * stdlib/stdlib.h: Add posix_openpt declaration.
5174         * login/Versions: Add posix_openpt for GLIBC_2.2.1.
5175         * sysdeps/generic/getpt.c: Define posix_openpt.
5176         * sysdeps/unix/bsd/getpt.c: Likewise.
5177         * sysdeps/unix/sysv/linux/getpt.c: Likewise.
5179         * time/Makefile (tests): Add tst-mktime.
5180         * time/tst-mktime.c: New file.
5182         * posix/tst-dir.c (main): One more mkdir() test.
5184         * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
5185         Remove getpagesize syscall.  We assume that the pagesize is always
5186         determined from the auxiliary vector.
5188         * intl/dcigettext.c: Fix a few warnings.
5189         Patch by Bruno Haible <haible@ilog.fr>.
5191 2001-01-08  Andreas Jaeger  <aj@suse.de>
5193         * io/test-lfs.c (do_test): Check lseek64 return for EINVAL.
5194         Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
5196 2001-01-08  Ulrich Drepper  <drepper@redhat.com>
5198         * sysdeps/generic/segfault.c (install_handler): Check output file
5199         name with access().
5201         * resolv/res_query.c: Use simply getenv() for HOSTALIASES.
5202         * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
5204         * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
5206         * malloc/memusage.c (me): Use access() to determine whether we
5207         should write the output file or not.
5209         * libio/bits/stdio.h (printf): Define macro to map printf call to
5210         fprintf which gcc can optimize.
5211         * stdio-common/printf.c: Undefine printf.
5213 2001-01-07  Ulrich Drepper  <drepper@redhat.com>
5215         * sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last
5216         patch.  We must use unsigned int for l member of union.
5218         * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call
5219         _dl_aux_init for shared libraries.
5221         * sysdeps/unix/sysv/linux/glob64.c: Moved to ...
5222         * sysdeps/gnu/glob64.c: ...here.  New file.
5224 2001-01-07  Ben Collins  <bcollins@debian.org>
5226         * manual/examples/longopt.c: Make the "struct option" a little
5227         more like it should be, adding usage of required_argument,
5228         noargument and such, and also setting the options string right.
5230         * manual/sysinfo.texi (Load Average): New section, documents
5231         getloadavg().
5233 2001-01-06  Ulrich Drepper  <drepper@redhat.com>
5235         * version.h (VERSION): Bump to 2.2.1.
5237         * sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
5238         * sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S.
5239         * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S.
5240         * dlfcn/Makefile (distribute): Add errmsg1mod.c.
5241         * Makefile (distribute): Add include/libc-internal.h.
5242         * libio/Makefile (distribute): Avoid overwriting.
5244         * iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in
5245         buffer and table handling.
5247 2001-01-05  H.J. Lu  <hjl@gnu.org>
5249         * elf/dl-support.c (non_dynamic_init): Move the auxiliary
5250         vector checking to ...
5251         (_dl_aux_init): Here. New function. Defined only if
5252         HAVE_AUX_VECTOR is defined.
5254         * sysdeps/generic/libc-start.c (__libc_start_main): Call
5255         _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined.
5257         * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call
5258         _dl_aux_init.
5260         * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed.
5261         (HAVE_AUX_VECTOR): Defined.
5262         (_dl_aux_init): Declared.
5264 2001-01-05  Ben Collins  <bcollins@debian.org>
5266         * manual/string.texi (Finding Tokens in a String): Document XPG
5267         basename() and dirname(), as well as GNU basename().
5269 2001-01-05  Jakub Jelinek  <jakub@redhat.com>
5271         * Makeconfig (preprocess-version): Replace -traditional with
5272         -x assembler-with-cpp.
5274 2001-01-05  Joseph S. Myers  <jsm28@cam.ac.uk>
5276         * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj
5277         for GCC 2.97 or later.
5279 2001-01-05  Ben Collins  <bcollins@debian.org>
5281         * manual/stdio.texi (getline): Clarify the return value in the
5282         case of EOF being reached before a newline.
5284 2001-01-04  Jakub Jelinek  <jakub@redhat.com>
5286         * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful,
5287         FALSE otherwise.
5288         (pmap_set, pmap_unset): Check __get_myaddress return value.
5290 2001-01-05  Mark Kettenis  <kettenis@gnu.org>
5292         * sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>.
5293         (struct ether_addr): Declare ether_addr_octet member as
5294         `u_int8_t'.  Add __attribute__ ((__packed__)).
5296 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
5298         * sysdeps/mach/hurd/readdir64.c: New file.
5299         * sysdeps/mach/hurd/readdir64_r.c: New file.
5301 2001-01-07  Mark Kettenis  <kettenis@gnu.org>
5303         * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about
5304         `struct statfs' and `struct statvfs' being identical.
5305         * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
5307 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
5309         * sysdeps/mach/hurd/fstatfs64.c: New file.
5310         * sysdeps/mach/hurd/fstatvfs64.c: New file.
5311         * sysdeps/mach/hurd/statfs64.c: New file.
5312         * sysdeps/mach/hurd/statvfs64.c: New file.
5313         * sysdeps/mach/hurd/statfsconv.c: New file.
5314         * sysdeps/mach/hurd/Dist: Add statfsconv.c.
5316 2001-01-06  Ulrich Drepper  <drepper@redhat.com>
5318         * iconv/skeleton.c: Reset outbuf for next round of the loop.
5319         Reported by Owen Taylor <otaylor@redhat.com>.
5320         * iconv/Makefile (tests): Add tst-iconv3.
5321         * iconv/tst-iconv3.c: New file.
5323         * iconvdata/ibm930.c: Fix handling of state.  Optimize a bit.
5324         * iconvdata/ibm933.c: Likewise.
5325         * iconvdata/ibm935.c: Likewise.
5326         * iconvdata/ibm937.c: Likewise.
5327         * iconvdata/ibm939.c: Likewise.
5328         * iconvdata/ibm930.h: Adjust single byte table for optimization.
5329         * iconvdata/ibm933.h: Likewise.
5330         * iconvdata/ibm935.h: Likewise.
5331         * iconvdata/ibm939.h: Likewise.
5333         * iconvdata/testdata/IBM930: Add misssing SI.
5334         * iconvdata/testdata/IBM933: Likewise.
5335         * iconvdata/testdata/IBM935: Likewise.
5336         * iconvdata/testdata/IBM937: Likewise.
5337         * iconvdata/testdata/IBM939: Likewise.
5339 2001-01-06  Andreas Jaeger  <aj@suse.de>
5341         * configure.in: Check for old add-ons that shouldn't be used with
5342         current glibc anymore.
5344 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
5346         * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number
5347         instead of -1 on failure.  Don't forget to copy file name into
5348         *ENTRY if successful.  Set *RESULT to NULL upon reaching the end
5349         of the directory.
5351 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
5353         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
5354         copy st_atime member.
5356 2001-01-05  Ulrich Drepper  <drepper@redhat.com>
5358         * io/ftw.c (ftw_dir): Don't add a second slash at the beginning
5359         for searches from the root directory.
5360         Reported by loris <loris@iol.it> [PR libc/1991].
5361         * io/Makefile (tests): Add bug-ftw1.
5362         * io/bug-ftw1.c: New file.
5364         * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
5365         if it is not available.  Instead use it only if it is available.
5366         * sysdeps/unix/sysv/linux/ldsodefs.h: New file.
5368         * iconv/gconv_simple.c (internal_ics4_loop): Correct test for
5369         overflowing output buffer.
5370         (internal_ucs4_loop_unaligned): Likewise.
5371         (ucs4_internal_loop): Likewise.
5372         (ucs4_internal_loop_unaligned): Likewise.
5373         (internal_ucs4le_loop): Likewise.
5374         (internal_ucs4le_loop_unaligned): Likewise.
5375         (ucs4le_internal_loop): Likewise.
5376         (ucs4le_internal_loop_unaligned): Likewise.
5377         Reported by Owen Taylor <otaylor@redhat.com>.
5378         * iconv/Makefile (tests): Add tst-iconv2.
5379         * iconv/tst-iconv2.c: New file.
5381 2001-01-04  H.J. Lu  <hjl@gnu.org>
5383         * elf/dl-support.c (DL_FIND_AUXV): New.  Defined if not defined.
5384         (_dl_clktck): Declared.
5385         (non_dynamic_init): Take 3 arguments.
5386         Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.
5388 2001-01-01  Bruno Haible  <haible@clisp.cons.org>
5390         Finish implementation of plural form handling.
5391         * intl/dcigettext.c (known_translation_t): Rename 'domain' field to
5392         'domainname'.  Remove 'plindex' field. Add 'domain' and
5393         'translation_length' fields.
5394         (transcmp): Don't compare 'plindex' fields.
5395         (plural_lookup): New function.
5396         (DCIGETTEXT): Change cache handing in the plural case.  Don't call
5397         plural_eval before the translation and its catalog file have been
5398         found. Remove plindex from cache key.  Add 'translation_length' and
5399         'domain' to cache result.
5400         (_nl_find_msg): Remove index argument, return length of translation
5401         to the caller instead.  Weaken comparison of string lengths, to account
5402         for plural entries.  Call iconv() on the entire result string, not
5403         only on the portion needed so far.
5404         * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
5405         argument.
5406         * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
5408 2001-01-04  Ulrich Drepper  <drepper@redhat.com>
5410         * intl/plural.y (yylex): Minimal improvement in number scanner.
5412 2000-07-31  Bruno Haible  <haible@clisp.cons.org>
5414         * intl/plural.y: Include config.h. Needed to define 'inline' away for
5415         C compilers that don't support it.
5416         (yylex): Don't use gcc specific case range syntax.
5417         * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
5418         compilers.
5420 2000-10-12  Bruno Haible  <haible@clisp.cons.org>
5422         * intl/finddomain.c: Remove unneeded includes.
5424 2000-10-12  Bruno Haible  <haible@clisp.cons.org>
5426         * intl/localealias.c (memcpy): Return first argument, just like the
5427         real memcpy function does.
5428         * intl/bindtextdom.c (memcpy): Likewise.
5429         * intl/finddomain.c (memcpy): Likewise.
5430         * intl/l10nflist.c (memcpy): Likewise.
5431         * intl/textdomain.c (memcpy): Likewise.
5432         From Paul Eggert <eggert@twinsun.com>.
5434 2001-01-03  Jakub Jelinek  <jakub@redhat.com>
5436         * resolv/resolv.h (struct __res_state): Add nsinit field.
5437         * resolv/res_send.c (res_nsend): Use it instead of nscount.
5438         * resolv/res_init.c (__res_vinit): Initialize it.
5439         (res_nclose): Clear it instead of nscount.
5441 2001-01-04  Ulrich Drepper  <drepper@redhat.com>
5443         * malloc/mtrace.pl: Fix matching of addresses.
5444         Patch by Aharon Robbins <arnold@skeeve.com>.
5446         * Versions.def (ld): Add GLIBC_2.2.
5448         * catgets/gencat.c: Copyright 2001.
5449         * csu/version.c: Likewise.
5450         * debug/catchsegv.sh: Likewise.
5451         * debug/xtrace.sh: Likewise.
5452         * elf/ldconfig.c: Likewise.
5453         * elf/sprof.c: Likewise.
5454         * iconv/iconv_prog.c: Likewise.
5455         * locale/locale.c: Likewise.
5456         * locale/localedef.c: Likewise.
5457         * malloc/memusage.sh: Likewise.
5458         * malloc/mtrace.pl: Likewise.
5459         * nscd/nscd.c: Likewise.
5460         * posix/getconf.c: Likewise.
5462 2001-01-04  Mark Kettenis  <kettenis@gnu.org>
5464         * include/stdio.h: Only provide __getwc_unlocked prototype if
5465         USE_IN_LIBIO is defined.
5467 2001-01-04  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5469         * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code
5470         handling.
5472 2001-01-03  Andreas Schwab  <schwab@suse.de>
5474         * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias.
5475         * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias.
5477         * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias.
5478         * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix
5479         strtoull alias.
5480         * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias.
5481         * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix
5482         wcstoull alias.
5484         * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this
5485         directory.
5486         * sysdeps/generic/strtol_l.c: Likewise.
5487         * sysdeps/generic/strtoul_l.c: Likewise.
5488         * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c.
5490         * sysdeps/wordsize-64/strtol_l.c: Fix alias.
5491         * sysdeps/wordsize-64/strtoul_l.c: Likewise.
5492         * sysdeps/wordsize-64/wcstol_l.c: Fix alias.
5493         * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
5495 2001-01-04  Andreas Jaeger  <aj@suse.de>
5497         * nss/nsswitch.c: Include files for missing prototypes, remove
5498         buggy declaration of prototypes.
5500 2001-01-03  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
5502         * resolv/Versions: Fix bracing.
5503         * sysdeps/powerpc/soft-fp/Versions: Likewise.
5504         * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
5506 2001-01-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
5508         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
5510 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
5512         * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
5513         Suggested by Minko Markov <mmarkov@home.com>.
5515 2001-01-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
5517         * sysdeps/powerpc/elf/start.S (__data_start): Make it global.
5518         * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
5519         the failing symbol.
5520         (__process_machine_rela): Pass symbol to dl_reloc_overflow().
5522 2001-01-02  Ben Collins  <bcollins@debian.org>
5524         * time/tzset.c (tzset_internal): Make sure we fall back to UTC
5525         if TZ is not set and TZDEFAULT is not present.
5527 2001-01-01  Ben Collins  <bcollins@debian.org>
5529         * string/strings.h: Make sure we declare our functions even if
5530         string.h is already included, based on whether or not __USE_BSD is
5531         defined.
5533 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
5535         * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
5536         other dlopen() and dlsym().
5537         Based on a patch by Ben Collins <bcollins@debian.org>.
5539 2001-01-02  Andreas Jaeger  <aj@suse.de>
5541         * dlfcn/errmsg1.c (main): Call dlerror initially.
5542         Reported by Ben Collins <bcollins@debian.org>.
5544 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
5546         * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
5547         value is ignored if the selected locale is the C locale.
5548         * intl/tst-gettext.c: Set locale for above change.
5549         * intl/tst-translit.c: Likewise.
5551 2001-01-02  Andreas Jaeger  <aj@suse.de>
5553         * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
5554         (_IO_switch_to_wget_mode): Likewise.
5555         (_IO_sputbackwc): Likewise.
5556         (_IO_sungetwc): Use wint_t for result.
5558         * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done.
5560         * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct
5561         signedness.
5563         * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked
5564         to (int) to avoid warnings.
5565         * stdio-common/printf_fp.c (putc): Likewise.
5566         * stdio-common/printf_size.c (putc): Likewise.
5568         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make
5569         constant unsigned.
5571 2001-01-01  Andreas Jaeger  <aj@suse.de>
5573         * inet/rcmd.c (rcmd_af): Use socklen_t for len.
5575 2000-12-31  Andreas Jaeger  <aj@suse.de>
5577         * include/libc-internal.h: Add prototype for __libc_freeres.
5579         * sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
5580         for prototypes, remove redundant prototypes.
5581         * gmon/gmon.c: Likewise.
5582         * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
5583         * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
5584         * malloc/mtrace.c: Likewise.
5586         * sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
5587         prototypes.
5588         * elf/soinit.c: Likewise.
5589         * sysdeps/generic/prof-freq.c: Likewise.
5590         * sysdeps/mach/hurd/profil.c: Likewise.
5591         * debug/noophooks.c: Likewise.
5592         * debug/pcprofile.c: Likewise.
5593         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
5594         * sysdeps/generic/get_clockfreq.c: Likewise.
5595         * malloc/set-freeres.c: Likewise.
5597         * locale/localeinfo.h: Add internal prototypes.
5599         * elf/rtld.c (dl_main): Fix prototype.
5601         * iconvdata/tst-table-to.c (main): Use return instead of exit to
5602         avoid warning.
5604         * nis/rpcsvc/yp_prot.h: Remove __P.
5605         * nis/rpcsvc/ypupd.h: Likewise.
5606         * nis/rpcsvc/yp.h: Likewise.
5608         * sunrpc/rpc_main.c: Add noreturn attributes.
5609         * sunrpc/rpc_scan.h: Likewise.
5611         * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.
5613         * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.
5615         * sunrpc/proto.h: Add noreturn attributes to error and crash.
5617         * posix/bsd-getpgrp.c: Add prototype to avoid warning.
5619         * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.
5621         * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.
5623         * include/rpc/rpc_msg.h: Add prototypes for some functions.
5624         * include/rpc/auth.h: Likewise.
5625         * include/rpc/auth_des.h: Likewise.
5626         * include/rpc/clnt.h: Likewise.
5627         * include/rpc/rpc.h: Likewise.
5628         * include/rpc/svc.h: Likewise.
5629         * include/rpc/svc_auth.h: Likewise.
5631         * include/rpc/des_crypt.h: New file.
5633         * malloc/memusagestat.c (main): Use return instead of exit to
5634         avoid warning.
5635         * io/pwd.c (main): Likewise.
5636         * iconvdata/tst-table-from.c (main): Likewise.
5637         * ctype/test_ctype.c (main): Likewise.
5638         * setjmp/tst-setjmp.c (main): Likewise.
5639         * signal/tst-signal.c (main): Likewise.
5640         * stdlib/tst-strtol.c (main): Likewise.
5641         * stdlib/tst-strtod.c (main): Likewise.
5642         * stdlib/tst-strtoll.c (main): Likewise.
5643         * stdlib/tst-xpg-basename.c (main): Likewise.
5644         * dirent/tst-seekdir.c (main): Likewise.
5645         * grp/testgrp.c (main): Likewise.
5646         * inet/test_ifindex.c (main): Likewise.
5647         * io/test-utime.c (main): Likewise.
5648         * posix/test-vfork.c (main): Likewise.
5649         * posix/testfnm.c (main): Likewise.
5650         * stdio-common/temptest.c (main): Likewise.
5651         * stdio-common/test_rdwr.c (main): Likewise.
5652         * stdio-common/tst-fileno.c (main): Likewise.
5653         * stdio-common/tst-sscanf.c (main): Likewise.
5654         * stdio-common/tstscanf.c (main): Likewise.
5655         * string/bug-strncat1.c (main): Likewise.
5656         * string/bug-strpbrk1.c (main): Likewise.
5657         * string/bug-strspn1.c (main): Likewise.
5658         * string/test-ffs.c (main): Likewise.
5659         * string/tst-inlcall.c (main): Likewise.
5660         * string/tst-svc.c (main): Likewise.
5661         * timezone/test-tz.c (main): Likewise.
5662         * wctype/test_wcfuncs.c (main): Likewise.
5663         * wctype/test_wctype.c (main): Likewise.
5665         * stdlib/tst-random.c: Add attribute noreturn to fail.
5667 2000-12-28  Wolfram Gloger  <wg@malloc.de>
5669         * malloc/malloc.c (MALLOC_COPY): Handle case if source and
5670         destination overlap.  Assume dest is always below source if
5671         overlapping.
5673 2000-12-30  Ulrich Drepper  <drepper@redhat.com>
5675         * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
5676         object was not yet initialized.
5678 2000-12-28  H.J. Lu  <hjl@gnu.org>
5680         * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
5681         is always consistent even if its dependency is failed.
5683         * elf/dl-open.c (_dl_open): Increment the open count before
5684         calling _dl_close () in case of failure.
5686         * elf/neededtest4.c: New file.
5687         * elf/neededobj5.c: New file.
5688         * elf/neededobj6.c: New file.
5690         * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
5691         (tests): Add neededtest4.
5692         (modules-names): Add neededobj5 and neededobj6.
5693         ($(objpfx)neededobj6.so): New target.
5694         ($(objpfx)neededtest4): New target.
5695         ($(objpfx)neededtest4.out): New target.
5697 2000-12-28  Joseph S. Myers  <jsm28@cam.ac.uk>
5699         * misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
5700         * stdlib/monetary.h: Add strfmon format attributes.
5702 2000-12-28  Roland McGrath  <roland@frob.com>
5704         * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
5705         __mempcpy does it for us.
5707 2000-12-28  Andreas Jaeger  <aj@suse.de>
5709         * sysdeps/generic/dl-environ.c: Add prototype for unsetenv.
5711         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
5712         __new_setrlimit.
5714         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
5715         __old_getrlimit64.
5717         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
5718         __new_getrlimit.
5720         * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
5721         __chown_is_lchown and __real_chown.
5723         * sysdeps/generic/ldsodefs.h: Add noreturn attribute to
5724         _dl_reloc_bad_type.
5726         * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
5727         up GCC's warning about "deprecated use of label at end of compound
5728         statement."
5729         * sunrpc/rpc_cout.c (emit_inline): Likewise.
5731         * gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
5732         prototypes.
5733         Remove struct bb and __bb_head since those are declared by
5734         sys/gmon.h.
5736 2000-12-22  Ben Collins  <bcollins@debian.org>
5738         * manual/charset.texi: Fix typo in description of WCHAR_MAX.
5740         * manual/argp.texi: Document argp_domain as part of struct argp.
5742 2000-12-28  Andreas Jaeger  <aj@suse.de>
5744         * catgets/Makefile (generated): Add sample.SJIS.cat.
5746         * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
5748         * elf/dl-minimal.c: Add prototypes.
5750         * include/locale.h: Add internal prototypes.
5751         * include/sys/gmon.h: Likewise.
5753         * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
5755 2000-12-27  Ben Collins  <bcollins@debian.org>
5757         * elf/dl-open.c (_dl_open): Correctly set the new objname pointer
5758         when reallocating the error strings.
5759         Reported by Kalle Olavi Niemitalo <kon@iki.fi>
5761 2000-12-27  Ulrich Drepper  <drepper@redhat.com>
5763         * dlfcn/Makefile (tests): Add errmsg1.
5764         (modules-names): Add errmsg1mod.
5765         Add rules to run errmsg1.
5766         * dlfcn/errmsg1.c: New file.
5767         * dlfcn/errmsg1mod.c: New file.
5769         * dlfcn/dlerror.c (dlerror): Always create output string which
5770         includes object file name.
5772         * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
5773         if we would go through it only once.
5774         Patch by Rick Gorton <rick.gorton@api-networks.com>.
5776         * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
5777         Patch by Richard Henderson <rth@redhat.com>.
5779 2000-12-27  Jakub Jelinek  <jakub@redhat.com>
5781         * malloc/malloc.c (memmove): Add prototypes.
5782         (MALLOC_MEMMOVE): Define.
5783         (chunk_realloc): Use it instead of MALLOC_COPY if source and
5784         destination might overlap.
5786 2000-12-27  Andreas Jaeger  <aj@suse.de>
5788         * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
5789         function.
5790         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
5791         * locale/programs/locale.c (show_locale_vars): Likewise.
5792         (show_info): Likewise.
5793         * locale/programs/ld-collate.c (collate_output): Likewise.
5794         * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
5795         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
5796         * stdlib/rpmatch.c (rpmatch): Likewise.
5798         * setjmp/tst-setjmp.c: Make local functions static.
5799         * setjmp/jmpbug.c: Likewise.
5800         * signal/tst-signal.c: Likewise.
5801         * stdio-common/tfformat.c: Likewise.
5802         * string/tst-svc.c: Likewise.
5803         * time/clocktest.c: Likewise.
5804         * time/tst-getdate.c: Likewise.
5805         * dirent/list.c: Likewise.
5806         * dirent/opendir-tst1.c: Likewise.
5807         * posix/runtests.c: Likewise.
5808         * posix/tst-getaddrinfo.c: Likewise.
5809         * posix/tst-chmod.c: Likewise.
5810         * posix/wordexp-test.c: Likewise.
5811         * misc/tst-efgcvt.c: Likewise.
5812         * timezone/tst-timezone.c: Likewise.
5813         * rt/tst-clock.c: Likewise.
5814         * rt/tst-shm.c: Likewise.
5815         * rt/tst-aio2.c: Likewise.
5816         * rt/tst-aio3.c: Likewise.
5817         * rt/tst-aio4.c: Likewise.
5818         * rt/tst-aio5.c: Likewise.
5820         * dlfcn/failtest.c: Add prototype for foo.
5822         * dlfcn/glrefmain.c: Add prototype for do_test.
5824         * dlfcn/tst-dladdr.c: Add prototype for do_test.
5826         * string/test-ffs.c (main): Add prototype for nested function.
5828         * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
5830         * nss/XXX-lookup.c: Add prototype to shut up GCC.
5832         * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
5833         setetherent prototype.
5834         Add internal interfaces.
5836         * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
5837         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
5839         * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
5841         * nis/nis_intern.h: Add prototype for __pmap_getnisport.
5843         * nss/nss_files/files-ethers.c: Include netinet/ether.h to get
5844         prototypes, remove struct etherent since it's declared in ether.h.
5845         Fix ntohost declaration.
5847         * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
5849         * include/getopt.h: Add internal interfaces.
5850         * include/termios.h: Likewise.
5851         * include/resolv.h: Likewise.
5852         * include/netdb.h: Likewise.
5853         * include/grp.h: Likewise.
5854         * include/pwd.h: Likewise.
5855         * include/shadow.h: Likewise.
5856         * include/rpc/netdb.h: Likewise.
5857         * include/setjmp.h: Likewise.
5859         * include/stdio.h: Add prototypes for compatibility functions.
5860         * include/grp.h: Likewise.
5861         * include/pwd.h: Likewise.
5862         * include/shadow.h: Likewise.
5864         * include/fenv.h: Define internal interfaces.
5866 2000-12-27  Ulrich Drepper  <drepper@redhat.com>
5868         * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
5869         argument case separately.
5870         * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
5872 2000-12-27  Andreas Jaeger  <aj@suse.de>
5874         * include/sys/wait.h: Add some prototypes.
5875         * Rules (dummy.c): Create also prototype to shut up GCC.
5877 2000-12-27  Andreas Jaeger  <aj@suse.de>
5879         * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
5880         it's not needed at the moment.
5881         * sysdeps/generic/if_index.c (__protocol_available): Likewise.
5882         * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
5884 2000-12-26  Andreas Jaeger  <aj@suse.de>
5886         * libio/getc_u.c: Include stdio.h via system path to get internal
5887         prototypes.
5888         * libio/getwc_u.c: Likewise.
5890         * stdlib/strfmon.c: Fix prototype of __printf_fp.
5892         * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
5893         __printf_fp prototypes to ...
5894         * include/printf.h: ...here.
5896         * include/stdio.h: Add some internal prototypes to shut up GCC.
5897         * include/stdlib.h: Likewise.
5899         * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
5900         declaration.
5902         * include/signal.h: Add prototypes for internal sigpause
5903         interfaces.
5905 2000-12-26  Ulrich Drepper  <drepper@redhat.com>
5907         * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
5908         64bit platforms.  Reported by Dave Gilbert <gilbertd@treblig.org>.
5910         * string/Makefile (tests): Add tst-bswap.
5911         * string/tst-bswap.c: New file.
5913 2000-12-11  Bruno Haible  <haible@clisp.cons.org>
5915         * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
5917 2000-12-26  Ulrich Drepper  <drepper@redhat.com>
5919         * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
5920         Patch by Ed Connell <Ed.Connell@sas.com>.
5922 2000-12-24  Ulrich Drepper  <drepper@redhat.com>
5924         * locale/iso-639.def: Correct one entry.  Add two missing entries.
5926         * locale/iso-4217.def: Change entry for Eritrea.
5927         Reported by Daniel Yacob <yacob@geez.org>.
5929 2000-12-23  Ben Collins  <bcollins@debian.org>
5931         * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
5932         description.
5934         * manual/stdio.texi (Dynamic Output): Document the return value of
5935         asprintf.  Also make the asprintf/snprintf examples a little
5936         better (check for some error returns).
5938 2000-12-22  Andreas Jaeger  <aj@suse.de>
5940         * include/stdio.h: Add __ftrylockfile prototype.
5942 2000-12-21  H.J. Lu  <hjl@gnu.org>
5944         * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
5945         Make sign_exponent element signed.
5947         * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
5948         Fix a typo.
5950         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
5952 2000-12-21  Andreas Jaeger  <aj@suse.de>
5954         * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
5955         * inet/ether_hton.c: Likewise
5956         * inet/ether_ntoh.c: Likewise.
5958         * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
5959         declaration to match prototype.
5961         * include/netinet/ether.h (struct etherent): Declare here so that
5962         all implementations use the same struct.
5964         * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
5965         prototypes.
5966         (struct ether): Removed.
5967         Use struct etherent instead of ether everywhere.
5969         * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
5971         * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
5973         * sunrpc/publickey.c: Include auth_des.h for prototypes.
5975 2000-12-20  Ulrich Drepper  <drepper@redhat.com>
5977         * math/test-misc.c: Add more tests for nextafter functions.
5979         * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
5980         normal correctly.  Correct test for sign.
5981         Based on a patch by HJ Lu.
5983 2000-12-19  Ulrich Drepper  <drepper@redhat.com>
5985         * Makeconfig (preprocess-version): Add -traditional to gcc call.
5986         Cleanup sed calls.
5988 2000-12-19  Andreas Jaeger  <aj@suse.de>
5990         * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
5992         * nis/nis_intern.h: Add prototype for __do_niscall3.
5994         * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
5995         match prototype.
5997         * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
5999         * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
6001         * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
6003 2000-12-18  Ulrich Drepper  <drepper@redhat.com>
6005         * math/test-misc.c: Add more tests for nextafter.
6006         * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
6007         * sysdeps/ieee754/ldbl-96/math_ldbl.h
6008         (ieee_long_double_shape_type): Make sign_exponent element signed.
6010         * manual/message.texi: Add Estonian to plural overview list.
6011         Correct rule for Slavic languages.
6012         Patch by Stanislav Brabec <utx@penguin.cz>.
6014         * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
6016 2000-12-18  Andreas Jaeger  <aj@suse.de>
6018         * test-skeleton.c: Use temp_name_list instead of name_list to
6019         avoid collision with name_list from inet/netgroup.h.
6021         * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
6023         * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
6024         * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
6025         * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
6026         * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
6028         * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
6029         declaration to match prototype.
6030         * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
6031         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
6032         * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
6033         Likewise.
6034         * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
6035         * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
6036         * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
6037         * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
6038         (_nss_nis_getservbyport_r): Likewise.
6039         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
6040         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
6041         * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
6042         (_nss_nis_setnetent): Likewise
6043         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
6044         (_nss_nis_endnetgrent): Likewise.
6045         * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
6046         Likewise.
6047         (_nss_nisplus_setnetgrent): Likewise.
6048         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
6049         * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
6050         * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
6051         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
6052         Likewise.
6053         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
6054         Likewise.
6055         * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
6056         Likewise.
6057         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
6058         Likewise.
6059         * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
6060         * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
6061         * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
6062         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
6063         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
6064         (_nss_dns_getnetbyaddr_r): Likewise.
6066 2000-12-17  Andreas Jaeger  <aj@suse.de>
6068         * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
6069         parameter.
6071         * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
6072         unused attribute to shut up gcc warnings.
6074         * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
6075         * sysdeps/generic/k_tanl.c: Likewise.
6076         * sysdeps/generic/k_cosl.c: Likewise.
6077         * sysdeps/generic/e_j0l.c: Likewise.
6078         * sysdeps/generic/e_j1l.c: Likewise.
6079         * sysdeps/generic/e_jnl.c: Likewise.
6080         * sysdeps/generic/e_lgammal_r.c: Likewise.
6082         * elf/vismain.c: Move prototypes for functions in vismod*.c to
6083         vismod.h.
6084         * elf/vismod.h: New file.
6085         * elf/Makefile (distribute): Add vismod.h.
6086         * elf/vismod1.c: Include vismod.h.
6087         * elf/vismod2.c: Likewise.
6088         * elf/vismod3.c: Likewise.
6090         * elf/constload3.c: Add prototype declarations to shut up gcc.
6091         * elf/failobj.c: Likewise.
6092         * elf/nodelmod3.c: Likewise.
6093         * elf/filtmod1.c: Likewise.
6094         * elf/filtmod2.c: Likewise.
6095         * elf/reldepmod1.c: Likewise.
6096         * elf/reldepmod2.c: Likewise.
6097         * elf/reldepmod3.c: Likewise.
6098         * elf/reldepmod4.c: Likewise.
6099         * elf/unload2dep.c: Likewise.
6100         * elf/unload2mod.c: Likewise.
6101         * elf/ltglobmod1.c: Likewise.
6102         * elf/pathoptobj.c: Likewise.
6103         * elf/neededobj1.c: Likewise.
6104         * elf/neededobj2.c: Likewise.
6105         * elf/neededobj3.c: Likewise.
6106         * elf/neededobj4.c: Likewise.
6107         * elf/nextmod1.c: Likewise.
6108         * elf/nextmod2.c: Likewise.
6110         * locale/programs/ld-collate.c (collate_finish): Don't use labels
6111         at end of compound statement.
6112         * locale/programs/locale.c (show_info): Likewise.
6113         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
6115 2000-12-16  Jakub Jelinek  <jakub@redhat.com>
6117         * catgets/gencat.c (read_input_file): Avoid calling obstack_free
6118         with a pointer not returned by obstack_ functions.
6120 2000-12-16  Ulrich Drepper  <drepper@redhat.com>
6122         * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
6123         version.
6124         (struct stat64): Likewise.
6125         Reported by Michael Keezer <mkeezer@redhat.com>.
6127         * timezone/asia: Update from tzdata2000h.
6128         * timezone/australasia: Likewise.
6129         * timezone/backward: Likewise.
6130         * timezone/europe: Likewise.
6131         * timezone/northamerica: Likewise.
6132         * timezone/southamerica: Likewise.
6133         * timezone/zone.tab: Likewise.
6135 2000-12-14  Jakub Jelinek  <jakub@redhat.com>
6137         * io/ftw.c (ftw_dir): If process_entry returned non-zero result
6138         and dir.stream is NULL, only free dir.content.
6139         * io/ftwtest.c (cb, main): Add --early-exit option to test it.
6140         * io/ftwtest-sh: Test with --early-exit.
6142 2000-12-13  Jakub Jelinek  <jakub@redhat.com>
6144         * misc/efgcvt.c (FCVT_MAXDIG): Define.
6145         (FCVT_BUFPTR): New variable.
6146         (fcvt): If fcvt_r returns -1 on the static short buffer,
6147         try to malloc a sufficiently large one and retry.
6148         (free_mem): New function.
6149         * misc/qefgcvt.c (FCVT_MAXDIG): Define.
6150         * misc/tst-efgcvt.c (fcvt_tests): Add new test.
6152 2000-12-15  Ulrich Drepper  <drepper@redhat.com>
6154         * misc/dirname.c (dirname): Fix search for second to last slash.
6156 2000-12-13  Andreas Jaeger  <aj@suse.de>
6158         * misc/tst-dirname.c (main): Fix typo in test to really use
6159         the examples from Unix98.
6160         Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
6162 2000-12-09  H.J. Lu  <hjl@gnu.org>
6164         * sysdeps/ia64/fpu/s_fabs.S: New file.
6165         * sysdeps/ia64/fpu/s_fabsf.S: New file.
6166         * sysdeps/ia64/fpu/s_fabsl.S: New file.
6168 2000-12-15  Andreas Jaeger  <aj@suse.de>
6170         * stdio-common/scanf9.c (main): Reformat and change to avoid
6171         warnings.
6173         * stdio-common/tstdiomisc.c: Make local functions static.
6174         * stdio-common/tst-printf.c: Likewise.
6176         * elf/constload2.c: Add prototype declarations to shut up gcc.
6177         * elf/dep1.c: Likewise.
6178         * elf/dep2.c: Likewise.
6179         * elf/dep3.c: Likewise.
6180         * elf/dep4.c: Likewise.
6181         * elf/ltglobmod2.c: Likewise.
6183         * libio/fmemopen.c: Make local functions static.
6185         * elf/Makefile (distribute): Added testobj.h.
6187         * elf/testobj.h: New file.
6189         * elf/testobj1.c: Include testobj.h and move prototype
6190         declarations to testobj.h.
6191         * elf/testobj2.c: Likewise.
6192         * elf/testobj3.c: Likewise.
6193         * elf/testobj4.c: Likewise.
6194         * elf/testobj5.c: Likewise.
6195         * elf/testobj6.c: Likewise.
6196         * elf/testobj1_1.c: Likewise.
6197         * elf/preloadtest.c: Likewise.
6199 2000-12-15  Ben Collins  <bcollins@debian.org>
6201         * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
6202         Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
6204 2000-12-14  H.J. Lu  <hjl@gnu.org>
6206         * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
6207         field in a float is 8 bits, not 11 bits.
6209 2000-12-13  Jakub Jelinek  <jakub@redhat.com>
6211         * math/test-misc.c (main): Adjust m for IEEE quad long double.
6213 2000-12-13  Andreas Jaeger  <aj@suse.de>
6215         * manual/message.texi (Using gettextized software): Fix typo.
6217         * manual/charset.texi (Converting a Character): Fix mbstouwcs
6218         program to compile.
6219         Patch by Martin Buchholz <martin@xemacs.org>.
6221         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
6222         Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
6224 2000-12-11  Andreas Jaeger  <aj@suse.de>
6226         * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
6227         kernel_sigset_t and use it.
6228         Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
6230 2000-12-10  Richard Henderson  <rth@redhat.com>
6232         * sysdeps/alpha/alphaev67/fpu/Implies: New file.
6233         * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
6234         * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
6236 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
6238         * sysdeps/alpha/htonl.S: Fix a typo.
6240 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
6242         * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
6244 2000-12-10  Andreas Jaeger  <aj@suse.de>
6246         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
6247         cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
6248         Drepper <drepper@redhat.com>.
6250 2000-12-09  Andreas Jaeger  <aj@suse.de>
6252         * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
6254         * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
6255         generic version.
6256         Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
6258         * locale/programs/ld-collate.c (handle_ellipsis): Fix format
6259         string.
6261         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
6262         format string.
6264         * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
6265         * nscd/connections.c (handle_request): Likewise.
6266         * nscd/pwdcache.c (addpwbyname): Likewise.
6267         * nscd/grpcache.c (addgrbyname): Likewise.
6269         * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
6271 2000-12-09  Ulrich Drepper  <drepper@redhat.com>
6273         * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
6275         * Makeconfig (default_cflags): Make -O2 the default for stable
6276         releases.
6278 2000-12-08  H.J. Lu  <hjl@gnu.org>
6280         * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
6281         * sysdeps/ia64/fpu/s_isinf.S: This.
6282         Add a .pred.rel.mutex note to avoid false report.
6284         * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
6285         * sysdeps/ia64/fpu/s_isnan.S: This.
6287         * sysdeps/ia64/fpu/s_fpclassify.S: New file.
6288         * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
6289         * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
6290         * sysdeps/ia64/fpu/s_isinff.S: New file.
6291         * sysdeps/ia64/fpu/s_isinfl.S: New file.
6292         * sysdeps/ia64/fpu/s_isnanf.S: New file.
6293         * sysdeps/ia64/fpu/s_isnanl.S: New file.
6294         * sysdeps/ia64/fpu/s_finite.S: New file.
6295         * sysdeps/ia64/fpu/s_finitef.S: New file.
6296         * sysdeps/ia64/fpu/s_finitel.S: New file.
6297         * sysdeps/ia64/fpu/s_signbit.S: New file.
6298         * sysdeps/ia64/fpu/s_signbitf.S: New file.
6299         * sysdeps/ia64/fpu/s_signbitl.S: New file.
6300         * sysdeps/ia64/fpu/s_copysign.S: New file.
6301         * sysdeps/ia64/fpu/s_copysignf.S: New file.
6302         * sysdeps/ia64/fpu/s_copysignl.S: New file.
6304 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
6306         * math/libm-test.inc (main): Fix typos in messages.
6308         * string/stratcliff.c: Add test for rawmemchr.
6310 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
6312         * elf/dl-open.c (_dl_open): If objname points right after errstring,
6313         allocate it together with errstring using alloca.
6314         * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
6315         to "", because it might point to local stack.
6317 2000-12-05  H.J. Lu  <hjl@gnu.org>
6319         * nss/Makefile (routines): Add getnssent and getnssent_r.
6320         * nss/nsswitch.h (__nss_setent): New internal NSS function.
6321         (__nss_endent): Likewise.
6322         (__nss_getent_r): Likewise.
6323         (__nss_getent): Likewise.
6324         * nss/getnssent_r.c: New file.
6325         * nss/getnssent.c: New file.
6326         * nss/getXXent.c (H_ERRNO_VAR): Updated.
6327         (GETFUNC_NAME): Updated to call __nss_getent ().
6328         * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
6329         (STAYOPEN_TMPVAR): Updated.
6330         (STAYOPEN_VAR): Updated.
6331         (SETFUNC_NAME): Updated to call __nss_setent ().
6332         (ENDFUNC_NAME): Updated to call __nss_endent ().
6333         (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
6335 2000-12-08  Andreas Jaeger  <aj@suse.de>
6337         * nscd/dbg_log.h (dbg_log): Correct attribute.
6339 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
6341         * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
6342         cp + len.  Compute where from dirname.
6343         Reported by <jreiser@BitWagon.com>.
6345 2000-12-08  Richard Henderson  <rth@twiddle.net>
6347         * sysdeps/alpha/_mcount.S: Fix typo.
6348         * sysdeps/alpha/strncpy.S: Likewise.
6350         * sysdeps/alpha/alphaev6/Implies: New file.
6351         * sysdeps/alpha/alphaev67/Implies: New file.
6352         * sysdeps/alpha/alphaev67/ffs.S: New file.
6353         * sysdeps/alpha/alphaev67/ffsll.S: New file.
6354         * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
6355         * sysdeps/alpha/alphaev67/stpcpy.S: New file.
6356         * sysdeps/alpha/alphaev67/stpncpy.S: New file.
6357         * sysdeps/alpha/rawmemchr.S: New file.
6358         * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
6359         * sysdeps/alpha/strcpy.S: Likewise.
6361         From GMP 3.1.1:
6362         * sysdeps/alpha/alphaev6/addmul_1.s: New file.
6364         From rick.gorton@alpha-processor.com:
6365         * sysdeps/alpha/alphaev6/memchr.S: New file.
6366         * sysdeps/alpha/alphaev6/memcpy.S: New file.
6367         * sysdeps/alpha/alphaev6/memset.S: New file.
6368         * sysdeps/alpha/alphaev6/stxcpy.S: New file.
6369         * sysdeps/alpha/alphaev6/stxncpy.S: New file.
6370         * sysdeps/alpha/alphaev67/strcat.S: New file.
6371         * sysdeps/alpha/alphaev67/strchr.S: New file.
6372         * sysdeps/alpha/alphaev67/strlen.S: New file.
6373         * sysdeps/alpha/alphaev67/strncat.S: New file.
6374         * sysdeps/alpha/htonl.S: Use a shorter sequence.
6376 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
6378         * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
6379         Reported by <pspencer@fields.utoronto.ca>.
6381 2000-12-07  Jes Sorensen  <jes@linuxcare.com>
6383         * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
6384         Pointed out by Hans Boehm.
6386 2000-12-07  H.J. Lu  <hjl@gnu.org>
6388         * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
6390 2000-12-07  Andreas Jaeger  <aj@suse.de>
6392         * misc/error.c: Add format attributes for __error and __error_at_line.
6394         * nscd/dbg_log.h: Add format attribute.
6396 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
6398         * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
6399         Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
6401 2000-12-07  Dan Pop  <Dan.Pop@cern.ch>
6403         * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
6405 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
6407         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
6408         (sysdep_routines): Add uitrunc.
6409         * sysdeps/unix/sysv/aix/uitrunc.c: New file.
6410         Patches by Michael Keezer <mkeezer@redhat.com>.
6412 2000-12-06  Roland McGrath  <roland@frob.com>
6414         * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
6415         argument data, since it will be used to copy out too (for INOUT).
6416         Reported by Marcus Brinkmann <marcus@gnu.org>.
6418         * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
6419         (__ioctl): Use uintptr_t instead of unsigned long int.
6421 2000-12-06  Jim Wilson  <wilson@redhat.com>
6423         * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
6425 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
6427         * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
6428         x.5 rounding correctly.
6430 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
6432         * stdio-common/perror.c (perror): Conditionalize code dealing with
6433         wide-oriented streams on USE_IN_LIBIO.
6435 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
6437         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
6438         as internal_function.
6440 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
6442         * sysdeps/alpha/elf/start.S (__data_start): Define.
6444 2000-12-05  H.J. Lu  <hjl@gnu.org>
6446         * nss/getXXent_r.c (setup): Change the return type to int.
6448 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
6450         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
6451         (sysdep_routines): Add restf and savef.
6452         * sysdeps/unix/sysv/aix/restf.c: New file.
6453         * sysdeps/unix/sysv/aix/savef.c: New file.
6454         Patches by Michael Keezer <mkeezer@redhat.com>.
6456         * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
6457         if O_DIRECTORY is not defined.
6458         Patch by Michael Keezer <mkeezer@redhat.com>.
6460         * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
6461         Patch by Michael Keezer <mkeezer@redhat.com>.
6463         * locale/programs/linereader.c (get_toplvl_escape): Recognize more
6464         than 4 bytes in escape sequence.
6465         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
6467 2000-12-05  Andreas Jaeger  <aj@suse.de>
6469         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
6470         set mips2.
6472         * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
6474         * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
6476         * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
6477         Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
6479         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
6480         internal_function.
6481         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
6482         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
6484         * sysdeps/generic/dl-cache.c: Remove declaration of
6485         _dl_sysdep_read_whole_file.
6487         * elf/dl-load.c (_dl_map_object): Remove declaration of
6488         _dl_load_cache_lookup.
6490         * sysdeps/generic/ldsodefs.h: Add declarations of
6491         _dl_load_cache_lookup, _dl_unload_cache,
6492         _dl_sysdep_read_whole_file, _dl_sysdep_start and
6493         _dl_sysdep_start_cleanup.
6495         * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
6496         now.
6498         * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
6499         * sysdeps/generic/dl-environ.c: Likewise.
6501         * stdio-common/printf_fp.c: Include <gmp.h> instead of
6502         <stdlib/gmp.h>.
6503         * math/atest-exp.c: Likewise.
6504         * math/atest-exp2.c: Likewise.
6505         * math/atest-sincos.c: Likewise.
6506         * stdio-common/_itoa.c: Likewise.
6507         * stdio-common/_itowa.c: Likewise.
6509         * include/gmp.h: New file with internal prototypes.
6511         * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
6512         here to...
6513         * include/setjmp.h: ...here.
6515         * locale/Makefile (routines): Remove codeset_name since it's not
6516         needed anywhere.
6518         * locale/codeset_name.c: Removed.
6520 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
6522         * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
6524 2000-12-05  Andreas Jaeger  <aj@suse.de>
6526         * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
6528 2000-12-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
6530         * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
6531         available.
6533 2000-12-05  Andreas Jaeger  <aj@suse.de>
6535         * nss/test-netdb.c: Mark local functions as static to avoid
6536         warnings.
6537         (main): Use return to silence warning.
6539         * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
6541         * stdio-common/test-popen.c: Mark local functions as static to
6542         avoid warnings.
6543         (main): Use return to silence warning.
6545         * stdlib/testsort.c (compare): Mark as static to avoid warning.
6547         * assert/test-assert.c: Mark local functions as static to avoid
6548         warnings.
6549         * assert/test-assert-perr.c: Likewise.
6551         * math/libm-test.inc (main): Use return to silence warnings.
6553 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
6555         * math/fenv.h: Fix typo in comment.
6557         * math/test-misc.c (main): Add a few more over and underflow tests
6558         for scalb.
6560         * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
6561         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6562         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6563         * math/w_scalb.c: Don't use matherr except in SVID mode.
6564         * math/w_scalbf.c: Likewise.
6565         * math/w_scalbl.c: Likewise.
6566         * math/test-misc.c: Add test for NaN and scalbl.
6567         Reported by Fred J. Tydeman <tydeman@tybor.com>.
6569 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
6571         * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
6572         * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
6573         * include/libc-symbols.h (strong_alias): Define special version
6574         for HAVE_ASM_GLOBAL_DOT_NAME.
6575         (weak_alias): Likewise.
6576         * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
6577         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
6578         (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
6579         getutxline, pututxline, and utmpxname.
6580         * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
6581         * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
6582         * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
6583         * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
6584         * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
6585         * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
6586         * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
6587         * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup.  Add comments.
6588         * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
6589         Patches by Michael Keezer <mkeezer@redhat.com>.
6591 2000-12-04  H.J. Lu  <hjl@gnu.org>
6593         * configure.in: Change --with-oldest-abi=ABI to
6594         --enable-oldest-abi=ABI.
6596 2000-12-02  Bruno Haible  <haible@clisp.cons.org>
6598         * stdio-common/perror.c (perror): If stderr is wide-oriented, use
6599         fwprintf instead of fprintf.
6601 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
6603         * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
6604         DECIMAL_DIG definitions.
6605         * sysdeps/arm/fpu/bits/mathdef.h: Likewise
6606         * sysdeps/generic/bits/mathdef.h: Likewise
6607         * sysdeps/i386/fpu/bits/mathdef.h: Likewise
6608         * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
6609         * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
6610         * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
6611         * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
6612         * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
6614 2000-12-03  Ulrich Drepper  <drepper@redhat.com>
6616         * math/test-fenv.c (main): Use return instead of exit to avoid warning.
6618         * math/atest-exp.c: Mark local functions as static to avoid warnings.
6619         * math/atest-exp2.c: Likewise.
6620         * math/atest-sincos.c: Likewise.
6622         * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
6623         Reported by Fred J. Tydeman <tydeman@tybor.com>.
6625         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
6626         the handling of denormalized numbers.
6628         * math/test-misc.c (main): Test for fpclassify and pseudo denormal
6629         numbers on x86.
6630         * sysdeps/i386/fpu/fpclassifyl.c: New file.
6632         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
6633         pseudo denormal representation of LDBL_MIN.
6635         * iconvdata/SJIS.irreversible: Remove unnecessary entries.
6636         * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
6638         * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
6639         * iconvdata/jis0208.c: Likewise.
6640         * iconvdata/jis0212.c: Likewise.
6641         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
6643         * math/test-misc.c (main): More tests for frexp and some for
6644         fpclassify and isnormal.
6646         * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
6647         test for subnormal.
6648         Reported by Fred J. Tydeman <tydeman@tybor.com>.
6650         * math/test-misc.c (main): Add tests for frexp.
6651         Reported by Fred J. Tydeman <tydeman@tybor.com>.
6652         * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
6654 2000-12-02  H.J. Lu  <hjl@gnu.org>
6656         * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
6657         '\0' to wcschr.
6659 2000-12-02  Ulrich Drepper  <drepper@redhat.com>
6661         * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
6662         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6663         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6665         * sysdeps/generic/glob.c: Adjust types of several variables to
6666         avoid warnings.
6668 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
6670         * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
6672 2000-11-30  Roland McGrath  <roland@frob.com>
6674         * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
6675         (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
6676         allow multiple instances using the same function name in one file.
6678 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
6680         * configure.in: Correct test for pserver CVS access.
6682 2000-11-28  H.J. Lu  <hjl@gnu.org>
6684         * libio/libio.h: Remove extra "#if ... #endif".
6686 2000-11-29  H.J. Lu  <hjl@gnu.org>
6688         * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
6690 2000-12-01  H.J. Lu  <hjl@gnu.org>
6692         * nss/getXXbyYY_r.c: Fix verioned symbol handling.
6693         * nss/getXXent_r.c: Likewise.
6694         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6696 2000-11-30  H.J. Lu  <hjl@gnu.org>
6698         * scripts/abi-versions.awk (oldest_abi): New variable.
6699         Handle the oldest ABI supported.
6701         * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
6702         for scripts/abi-versions.awk.
6704         * configure.in: Add --with-oldest-abi=ABI.
6705         * configure: Rebuild.
6707         * config.make.in (oldest-abi): New.
6709         * config.h.in (GLIBC_OLDEST_ABI): New.
6711         * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
6713 2000-11-30  Jakub Jelinek  <jakub@redhat.com>
6715         * locale/setlocale.c (setname): Free for all categories, not just
6716         LC_ALL.
6717         (setlocale): Store a copy of string passed by user, not the string
6718         itself.
6720 2000-11-30  Roland McGrath  <roland@frob.com>
6722         * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
6723         rather than _hurd_fd_subinit, so it happens after it's safe to use
6724         libc facilities like malloc.
6726 2000-11-28  Andreas Jaeger  <aj@suse.de>
6728         * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
6729         declaration, adjust declaration of __syscall_getdents to match
6730         kernel.
6732 2000-11-29  H.J. Lu  <hjl@gnu.org>
6734         * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
6736 2000-11-29  Andreas Jaeger  <aj@suse.de>
6738         * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
6740 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
6742         * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
6743         * dlfcn/defaultmod2.c: Likewise.
6744         * dlfcn/dlopen.c: Likewise.
6745         * dlfcn/dlopenold.c: Likewise.
6746         * dlfcn/failtestmod.c: Likewise.
6747         * dlfcn/glreflib1.c: Likewise.
6748         * dlfcn/glreflib2.c: Likewise.
6749         * dlfcn/eval.c: Likewise.  Add attributes.
6751         * ctype/ctype-extn.c: Define isblank and not __isblank.
6753         * time/strftime.c: Add const where necessary to avoid warnings.
6754         * time/strptime.c (strptime_internal): Add casts to avoid warnings.
6756 2000-11-22  Paul Eggert  <eggert@twinsun.com>
6758         * time/strftime.c (my_strftime): Do not invoke mbrlen with a
6759         size of (size_t) -1; it's not portable.
6761 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
6763         * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
6764         crappy i486 FPU.
6765         Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
6767 2000-11-14  Jes Sorensen  <jes@linuxcare.com>
6769         * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
6771         * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
6772         _mcount is required by profiled binaries.
6774         * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
6775         * sysdeps/ia64/machine-gmon.h: ...here.
6777 2000-11-28  Masahide Washizawa  <washi@jp.ibm.com>
6779         * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
6780         (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
6781         and ibm1129.h.
6782         * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
6783         IBM1129.
6784         * iconvdata/ibm922.c: New file.
6785         * iconvdata/ibm922.h: New file.
6786         * iconvdata/ibm1124.c: New file.
6787         * iconvdata/ibm1124.h: New file.
6788         * iconvdata/ibm1129.c: New file.
6789         * iconvdata/ibm1129.h: New file.
6790         * iconvdata/testdata/IBM922: New file.
6791         * iconvdata/testdata/IBM922..UTF8: New file.
6792         * iconvdata/testdata/IBM1124: New file.
6793         * iconvdata/testdata/IBM1124..UTF8: New file.
6794         * iconvdata/testdata/IBM1129: New file.
6795         * iconvdata/testdata/IBM1129..UTF8: New file.
6797 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
6799         * catgets/gencat.c (normalize_line): Take extra parameter with escape
6800         character.  Change callers.
6801         (open_conversion): Determine mapping of 0x5c as wchar_t value.
6802         * catgets/Makefile: Add rules to build and run test-gencat.
6803         * catgets/sample.SJIS: New file.
6804         * catgets/test-gencat.c: New file.
6805         * catgets/test-gencat.sh: New file.
6806         Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
6808 2000-11-28  Andreas Jaeger  <aj@suse.de>
6810         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
6811         Linux version.
6813 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
6815         * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
6817 2000-11-28  Andreas Jaeger  <aj@suse.de>
6819         * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
6820         __flexarr.
6821         * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
6822         Likewise.
6824 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
6826         * misc/getusershell.c: Make strings in okshells array const.
6827         * misc/regexp.c: Add const to cast to avoid warnings.
6828         * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
6829         * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
6830         __setresuid.
6831         * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
6832         setresgid.
6833         * misc/error.c: Add prototypes for __error and __error_at_line.
6834         * misc/mntent_r.c (__getmntent_r): Add break at end of switch
6835         statement to avoid warning.
6836         * test-skeleton.c: Mark timeout_handler with noreturn.
6837         * iconv/skeleton.c (get16u): Add const to cast.
6838         (get32u): Likewise.
6839         * iconvdata/gb18030.c: Likewise.
6840         * iconvdata/iso-2022-cn-ext.c: Likewise.
6841         * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
6842         * iconvdata/big5.c: Likewise.
6843         * iconvdata/big5hkscs.c: Likewise.
6844         * iconvdata/iso_6937.c: Likewise.
6845         * iconvdata/iso_6937-2.c: Likewise.
6846         * iconvdata/t.61.c: Likewise.
6847         * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
6848         * iconvdata/unicode.c: Likewise.
6849         * iconvdata/utf-16.c: Likewise.
6850         * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
6851         * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
6852         with little code shuffling.
6854         * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
6855         the problems introduced when the user selects -O3.
6857         * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
6858         * misc/sys/cdefs.h: Define __flexarr.
6859         Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
6861         * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
6862         * iconv/skeleton.c: Likewise.
6863         * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
6864         * iconv/loop.c (get16): Add const to cast.
6865         (get32): Likewise.
6867 2000-11-27  Andreas Jaeger  <aj@suse.de>
6869         * login/programs/pt_chown.c (do_pt_chown): Mark function as static
6870         to avoid warning.
6871         * login/programs/utmpdump.c (print_entry): Likewise.
6873 2000-11-25  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
6875         * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
6876         in a single asm as they may be used to access other stored
6877         registers.
6878         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
6880 2000-11-27  Andreas Jaeger  <aj@suse.de>
6882         * rt/tst-aio.c: Mark test functions as static to avoid warnings.
6883         * rt/tst-aio64.c: Likewise.
6885 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
6887         * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
6888         for gencat run.
6889         (libc.cat): Likewise.
6890         * catgets/gencat.c: Implement handling of message catalogs encoded
6891         with stateful character sets.
6892         Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
6894 2000-11-26  Ulrich Drepper  <drepper@redhat.com>
6896         * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
6898         * inet/getnameinfo.c: Adjust casts to avoid warnings.
6899         * inet/rcmd.c: Likewise.
6900         * inet/ruserpass.c: Likewise.
6901         * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
6902         IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
6903         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
6904         IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
6905         IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
6906         IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
6907         * include/aliases.h: Add prototypes for internal __getalias* functions.
6908         * include/netdb.h: Add prototypes for __old_gethostent_r,
6909         __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
6910         __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
6911         __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
6912         __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
6913         * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
6914         __old_getrpcbynumber_r, __old_getrpcent_r.
6916         * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
6917         __getrpcent_r prototypes.
6919 2000-11-25  Ulrich Drepper  <drepper@redhat.com>
6921         * string/strcoll.c: Add casts to avoid warnings.
6922         * string/strnlen.c: Likewise.
6923         * string/strxfrm.c: Likewise.
6924         * sysdeps/generic/_strerror.c: Likewise.
6925         * sysdeps/generic/memrchr.c: Likewise.
6926         * sysdeps/generic/strcasestr.c: Likewise.
6927         * sysdeps/generic/strstr.c: Likewise.
6929         * locale/weight.h (findidx): Add const to cast to avoid warning.
6931         * elf/loadfail.c: Little cosmetic changes to avoid warnings.
6932         * elf/loadtest.c: Likewise.
6933         * elf/multiload.c: Likewise.
6934         * elf/next.c: Likewise.
6935         * elf/nodelete.c: Likewise.
6936         * elf/noload.c: Likewise.
6937         * elf/order.c: Likewise.
6938         * elf/origtest.c: Likewise.
6939         * elf/preloadtest.c: Likewise.
6940         * elf/restest1.c: Likewise.
6942         * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
6943         parameter of asm must be in %ecx.
6945         * string/tester.c: Mark test functions as static to avoid warnings.
6947         * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
6948         preserve value over different gconv-modules files.
6950 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
6952         * locale/findlocale.c: Add casts to avoid warnings.
6953         * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
6954         * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
6955         to avoid warnings.
6956         * misc/tsearch.c (const_node): New type.
6957         (trecurse): Correct casts to avoid warnings.
6958         (__twalk): Likewise.
6959         * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
6960         LONG_BIT.
6962         * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
6964         * test-skeleton.c: Mark local functions as static to avoid warnings.
6966 2000-11-23  H.J. Lu  <hjl@gnu.org>
6968         * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
6969         support the background job.
6970         Fix a typo.
6972 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
6974         * iconv/gconv_conf.c (insert_module): Replace old entry if new one
6975         has same names but lower cost.
6977 2000-11-23  Jakub Jelinek  <jakub@redhat.com>
6979         * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
6980         which never occur during bootstrap.
6981         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6983 2000-11-23  Andreas Jaeger  <aj@suse.de>
6985         * nss/nss_files/files-hosts.c: Remove getipnodebyname.
6987         * nss/Versions: Remove _nss_files_getipnodebyname_r.
6989         * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
6991 2000-11-18  Martin Buchholz  <martin@xemacs.org>
6993         * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
6994         (called++) return;'
6996 2000-11-21  Alan Modra  <alan@linuxcare.com.au>
6998         * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
7000         * csu/abi-note.S: Correct comment for operating system number.
7002 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
7004         * Versions.def: Add GLIBC_2.2.1 for glibc.
7006 2000-11-22  Andreas Schwab  <schwab@suse.de>
7008         * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
7009         * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
7011 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
7013         * rt/aio_suspend.c (aio_suspend): Convert timeout value to
7014         absolute time for pthread_cond_timedwait call.
7015         Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
7017         * rt/Makefile (tests): Add tst-aio6.
7018         * rt/tst-aio6.c: New file.
7020 2000-11-23  Andreas Jaeger  <aj@suse.de>
7022         * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
7024 2000-11-22  Andreas Jaeger  <aj@suse.de>
7026         * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
7028 2000-11-21  Martin Schwidefsky  <schwidefsky@de.ibm.com>
7030         * sysdeps/s390/bits/string.h: Make strncat always add a \0.
7032 2000-11-21  Andreas Schwab  <schwab@suse.de>
7034         * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
7035         * sysdeps/arm/setjmp.S: Likewise.
7036         * sysdeps/arm/fpu/setjmp.S: Likewise.
7037         * sysdeps/i386/setjmp.S: Likewise.
7038         * sysdeps/i386/elf/setjmp.S: Likewise.
7039         * sysdeps/s390/setjmp.S: Likewise.
7040         * sysdeps/s390/elf/setjmp.S: Likewise.
7041         * sysdeps/sh/sh3/setjmp.S: Likewise.
7042         * sysdeps/sh/sh4/setjmp.S: Likewise.
7043         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
7044         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
7045         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
7046         * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
7048 2000-11-21  Andreas Jaeger  <aj@suse.de>
7050         * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
7051         NORETURN, fix parameter list.
7053         * string/bug-strncat1.c (main): Fix typo.
7054         Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
7056 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
7058         * configure.in: Add --enable-all-warnings.
7059         * config.make.in (all-warnings): New variable.
7060         * Makeconfig (+gccwarn): Define with many more warnings if
7061         all-warnings is yes.
7063 2000-11-20  Jakub Jelinek  <jakub@redhat.com>
7065         * iconvdata/bug-iconv2.c (main): Use %zd in format string.
7066         * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
7067         * malloc/tst-valloc.c (main): Cast valloc return value to long.
7068         * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
7069         * math/test-fpucw.c (main): Use %lx in format string, cast
7070         control words to long.
7071         * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
7072         * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
7073         large that it is unsigned warning.
7075         * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
7076         it to long on sparc64.
7078 2000-11-20  Andreas Jaeger  <aj@suse.de>
7080         * nscd/nscd.h (termination_handler): Add noreturn attribute.
7081         (receiv_print_stats): Likewise.
7083         * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
7085 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
7087         * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
7089         * csu/gmon-start.c: Always have prototype for __gmon_start.
7090         * csu/version.c: Add prototypes for __libc_print_version and
7091         __libc_main.
7092         * iconv/gconv.c: Include gconv_int.h and gconv.h.
7093         * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
7094         and __to_name.
7095         * iconv/gconv_builtin.h: Add ASCII module definitions.
7096         * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
7097         (add_module): Add cast to avoid warning.  Rework construction of
7098         strings for new module.
7099         * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
7100         (derivation_compare): Likewise.
7101         * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
7102         (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
7103         * iconv/gconv_int.h (__gconv_path_elem): Remove const.
7104         (struct gconv_alias): Remove const from fromname and toname.
7105         * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
7106         for loop functions.
7107         (internal_ucs4_loop): Use correct const-ness.
7108         (ucs4_internal_loop): Likewise.
7109         (internal_ucs4le_loop): Likewise.
7110         (ucs4le_internal_loop_single): Likewise.
7111         * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
7112         to_idx, to_tbl, winbuf, winbufend const.  Change casts in
7113         assignments appropriately.
7114         (struct known_trans): Remove const from fname.
7115         (trans_compare): Make s1 and s2 const.
7116         * iconv/loop.c (LOOPFC): Make outend parameter const.  Add cast to
7117         avoid warning.
7118         * iconv/skeleton.c: Remove cast in calls of loop functions.
7119         * iconvdata/gconv-modules: Remove US-ASCII definitions.
7120         * iconvdata/iso646.c: Remove US_ASCII support.
7121         * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
7122         * include/unistd.h: Add __libc_check_standard_fds prototype.
7123         * string/bits/string2.h (__mempcpy_args): Add const to casts.
7124         * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
7125         _fini.
7126         * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
7127         * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
7128         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
7129         warning.
7130         * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
7131         __libc_init_first and _dl_start.
7132         * intl/dcigettext.c (transcmp): Make s1 and s2 const.
7133         (DCIGETTEXT): Make domaindata variable const.
7134         * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
7135         to avoid warning.
7137 2000-11-20  Hiroyuki Machida  <machida@sm.sony.co.jp>
7139         * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
7141         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
7142         time_t to 'long int' not, 'unsigned int'.  Use 'long int' for
7143         __unused? members.
7145         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
7146         value defined in /usr/include/asm-mips/fcntl.h.
7148 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
7150         * stdio-common/Makefile (tests): Add test-vfprintf.
7151         (test-vfprintf-ENV): New variable.
7152         * stdio-common/test-vfprintf.c: New file.
7154         * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
7156         * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
7157         (tst-mbrtowc-ENV): New variable.
7158         (tst-wcrtomb-ENV): New variable.
7159         * wcsmbs/tst-mbrtowc.c: New file.
7160         * wcsmbs/tst-wcrtomb.c: New file.
7162 2000-11-16  Andreas Jaeger  <aj@suse.de>
7164         * manual/install.texi (Tools for Compilation): Update
7165         documentation for GCC 2.95.2.
7167 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
7169         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
7170         if IPv4 and IPv6 requests timed out.
7172 2000-11-18  Akim Demaille  <akim@epita.fr>
7174         * malloc/obstack.h: Formatting changes.
7175         (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
7176         prevents type checking.
7177         (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
7178         cast the value to (void *): assigning a `foo *' to a `void *'
7179         variable is valid.
7180         (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
7182 2000-11-17  Ulrich Drepper  <drepper@redhat.com>
7184         * scripts/config.guess: Update from upstream maintainer.
7185         * scripts/config.sub: Likewise.
7187 2000-11-16  Ulrich Drepper  <drepper@redhat.com>
7189         * libio/freopen.c (freopen): Reset _mode after succesful reopening.
7190         * libio/freopen64.c (freopen64): Likewise.
7191         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7193         * libio/Makefile: Add rules to build and run test-freopen.
7194         * libio/test-freopen.c: New file.
7195         * libio/test-freopen.sh: New file.
7197 2000-11-15  H.J. Lu  <hjl@gnu.org>
7199         * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
7200         ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
7201         (DL_DT_FINI_ADDRESS): Likewise.
7203         * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
7204         return type to ElfW(Addr).
7205         (_dl_function_address): New prototype.
7206         (DL_FUNCTION_ADDRESS): Defined.
7207         (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
7208         (DL_DT_FINI_ADDRESS): Likewise.
7210         * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
7212         * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
7213         (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
7215         * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
7216         (_dl_function_address): This.
7218         * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
7219         function pointer for DT_FINI.
7220         * elf/dl-close.c (_dl_close): Likewise.
7222         * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
7223         function pointer for DT_INIT.
7225 2000-11-16  Jakub Jelinek  <jakub@redhat.com>
7227         * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
7228         end of wexpbuf buffer.
7230 2000-11-16  Andreas Jaeger  <aj@suse.de>
7232         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
7233         definition of F_GETLK, F_SETLK, F_SETLKW.
7235 2000-11-16  Andreas Jaeger  <aj@suse.de>
7237         * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
7238         it's not defined.
7240 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
7242         * dlfcn/default.c (main): Add test for dladdr of main returning
7243         argv[0] in dli_fname field.
7245 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
7247         * Makeconfig (run-program-prefix): Move test-static test into the
7248         variable.
7250         * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
7251         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
7252         schedule instructions.
7253         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
7254         schedule instructions, fix a bug in copying auxiliary data.
7256 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
7258         * manual/startup.texi (Program Arguments): Fix type of main's envp
7259         parameter.
7260         Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
7262         * iconvdata/gconv-modules: Add CP950 alias.
7264 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
7266         * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
7267         syscall-list.h goal.
7268         * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
7270 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
7272         * intl/Makefile: tst-gettext2.sh does not need a third parameter.
7274         * intl/tst-gettext2.sh: Copy locale data.  Adjust LOCPATH.  Verify
7275         output of program.
7277         * intl/tst-gettext2.c: Set C locale if setting other locale
7278         failed.  Use gettext() not _().
7280         * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
7281         successfully loaded a new locale.
7283 2000-11-13  Andreas Jaeger  <aj@suse.de>
7285         * configure.in: Require gcc 2.95 or newer.
7287 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
7289         * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
7290         Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
7292 2000-11-11  Jim Meyering  <meyering@lucent.com>
7294         * string/strndup.c (strndup): Cast return value to `char *'.
7296 2000-11-15  Jim Meyering  <meyering@ascend.com>
7298         * sysdeps/generic/memchr.c: Remove some useless parentheses.
7299         [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
7300         [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
7301         [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
7302         Also #undef __memchr.
7303         Use `weak_alias' only if it's defined.
7305 2000-11-10  H.J. Lu  <hjl@gnu.org>
7307         * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
7309 2000-11-15  Andreas Jaeger  <aj@suse.de>
7311         * elf/chroot_canon.c: Include <stdint.h>.
7313         * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
7314         (print_entry): Likewise.
7315         (add_to_cache): Likewise.
7317         * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
7319         * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
7320         (path_hwcap): Likewise.
7321         (search_dir): Likewise.
7323         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
7325         * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
7327         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
7328         (_dl_platform_string): New.
7329         (_DL_HWCAP_PLATFORM): New.
7330         (_dl_string_platform): New.
7331         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
7333         * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
7334         (_dl_string_platform): New.
7335         (_DL_HWCAP_PLATFORM): New.
7336         (_dl_platform_string): New.
7338         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
7339         recognition.
7340         (_DL_HWCAP_COUNT): New.
7341         (_dl_string_platform): New.
7342         (_DL_HWCAP_PLATFORM): New.
7343         (_dl_platform_string): New.
7345 2000-11-14  Ulrich Drepper  <drepper@redhat.com>
7347         * iconvdata/gconv-modules: Add CP936 as alias for GBK.
7349 2000-11-14  Andreas Jaeger  <aj@suse.de>
7351         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
7353 2000-11-13  Roland McGrath  <roland@frob.com>
7355         * hurd/get-host.c (_hurd_get_host_config): Fix last change.
7357 2000-11-13  Marcus Brinkmann <marcus@gnu.org>
7359         * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
7360         underrun and make sure the result is null terminated even if there
7361         is no trailing newline.
7363 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
7365         * sysdeps/alpha/fpu/libm-test-ulps: Update.
7367 2000-11-10  H.J. Lu  <hjl@gnu.org>
7369         * sysdeps/ia64/fpu/libm-test-ulps: Updated.
7371 2000-11-10  Andreas Jaeger  <aj@suse.de>
7373         * elf/ldconfig.c (create_links): Fix alloca calculation.
7374         Patch by Ben Collins <bcollins@debian.org>.
7376 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
7378         * inet/getnameinfo.c (getnameinfo): Use correct destination
7379         parameter for if_indextoname.
7380         Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
7382 2000-11-09  H.J. Lu  <hjl@gnu.org>
7384         * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
7385         xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
7386         xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
7387         xdr_keystatus.
7389         * time/Versions (GLIBC_2.1): Move getitimer to...
7390         * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
7392 2000-11-03  Bruno Haible  <haible@clisp.cons.org>
7394         * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
7395         "make install", to work around a binary incompatibility between
7396         glibc 2.1 and glibc 2.2 gconv modules.
7398 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
7400         * intl/locale.alias: Add thai.
7401         Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
7403 2000-11-07  Akim Demaille  <akim@epita.fr>
7405         * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
7406         argument `data' for consistency with the prototypes.
7407         Qualify it `const'.
7408         (obstack_copy, obstack_copy0): Rename the second argument as
7409         `address' for consistency.  Qualify it `const'.
7410         * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
7411         (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
7412         `const' their input argument (`data' or `address').
7413         Adjust the corresponding macros to include `const' in casts.
7415 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
7417         * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
7418         target family.
7420 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
7422         * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
7423         socket creation.
7425 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
7427         * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
7428         ai_protocol by internal table if service was not given.
7430 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
7432         * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
7433         numerical port was specified with protocol without socktype.
7435 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
7437         * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
7439 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
7441         * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
7443 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
7445         * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
7446         sin6_scope_id field.
7448 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
7450         * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
7452 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
7454         * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
7456 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
7458         * inet/getnameinfo.c: Wake-up sin6_scope_id support in
7459         getnameinfo(): check for whether sin6_socpe_id exist was wrong.
7461 2000-11-09  Martin Schwidefsky  <mschwide@nc.boeblingen.de.ibm.com>
7463         * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
7464         * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
7466 2000-11-09  H.J. Lu  <hjl@gnu.org>
7468         * io/Versions (GLIBC_2.1.1): Remove lockf64.
7471 See ChangeLog.11 for earlier changes.