expm1 implementation for 128-bit long double.
[glibc.git] / ChangeLog
blob6dafea3c73f8e22f136f2e24c942d91ce0238e91
1 2001-05-14  Roland McGrath  <roland@frob.com>
3         * csu/Makefile ($(objpfx)g$(start-installed-name)): Turn this into a
4         static pattern rule also that also covers
5         $(objpx)g$(static-start-installed-name).
6         [$(start-installed-name) != $(static-start-installed-name)]
7         (extra-objs, omit-deps, install-lib): Add
8         $(static-start-installed-name) and g$(static-start-installed-name).
9         * sysdeps/mach/hurd/i386/Makefile: Don't add crt0.o to those here;
10         just setting static-start-installed-name is now sufficient.
11         (extra-objs): Add static-start.o here.
12         (CFLAGS-initfini.s): Remove obsolete variable.
13         * sysdeps/mach/hurd/i386/Makeconfig: New file.
14         Define static-start-installed-name here.
16         * Makeconfig: Include existing $(full_config_sysdirs:=/Makeconfig).
17         * Make-dist (+sysdep-tsrcs): Look for Makeconfig files.
19         * Makerules ($(+sysdir_pfx)sysd-Makefile): Remove this target and
20         associated hair.  Instead, just use $(wildcard ...) in the include.
22         * configure.in (critic_missing, aux_missing): Collect in these vars
23         the names of the missing programs, and include them in the error msgs.
24         * configure: Regenerated.
26 2001-05-14  Andreas Jaeger  <aj@suse.de>
28         * sysdeps/i386/fpu/libm-test-ulps: Adjust for new tests.
30         * math/libm-test.inc (tanh_test): Add testcases for last tanh bug.
32 2001-05-14  Stephen L Moshier <moshier@mediaone.net>
34         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Fix sign test.
36 2001-05-11  Jakub Jelinek  <jakub@redhat.com>
38         * posix/regex.c (re_match_2_internal): Swap mbs_offset and csize
39         as well if swapping strings.
40         Make sure stop is not past end of second string.
41         * posix/bug-regex4.c: New test.
42         * posix/Makefile (tests): Add bug-regex4.
44 2001-05-10  Andreas Jaeger  <aj@suse.de>
46         * manual/install.texi (Linux): Clarify that Linux 2.2 is minimal
47         requirement.
49 2001-05-12  Andreas Jaeger  <aj@suse.de>
51         * sysdeps/ieee754/dbl-64/s_sin.c: Include "math_private.h" for
52         internal prototypes.
53         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
54         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
57         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
58         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
59         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
61         * math/math_private.h: Add prototypes for internal functions of
62         the IBM Accurate Mathematical Library.
64         * sysdeps/ieee754/dbl-64/s_atan.c: Include "math.h" for
65         prototypes.
66         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
68         * sysdeps/ieee754/dbl-64/e_asin.c: Include "math_private.h" for
69         internal prototypes.
70         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
71         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
72         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
73         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
76         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
77         * sysdeps/generic/e_rem_pio2l.c: Likewise.
78         (__ieee754_rem_pio2l): Fix prototype.
80         * math/math_private.h (__copysign): Add internal prototype.
82 2001-05-11  Andreas Jaeger  <aj@suse.de>
84         * sysdeps/unix/sysv/linux/configure.in: Move binutils check to...
85         * sysdeps/unix/sysv/linux/mips/configure.in: ...here.  New file.
87 2001-05-11  Andreas Jaeger  <aj@suse.de>
89         * sysdeps/unix/sysv/linux/configure.in: Check binutils version on
90         MIPS.
92         * sysdeps/mips/rtld-ldscript.in: Removed unneeded binary output
93         format directive.  Patch by Steven J. Hill <sjhill@cotw.com>.
95 2001-05-11  Roland McGrath  <roland@frob.com>
97         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't use
98         $(build-module) here, since we don't need the full magilla.
99         Just use $(build-module-helper) and append our special options.
101 2001-05-09  Andreas Schwab  <schwab@suse.de>
103         * sysdeps/unix/readdir.c: Make sure we don't modify errno when we
104         reached EOF.
106 2001-05-07  H.J. Lu  <hjl@gnu.org>
108         * elf/ldconfig.c (dir_entry): Add ino and dev.
109         (add_single_dir): Compare ino and dev to check if 2 directory
110         paths are the same or not. Free entry->path for duplicates.
111         (add_dir): Initialize ino and dev for entry.
112         (search_dir): Handle symlink to directory.
114 2001-05-07  Andreas Jaeger  <aj@suse.de>
116         * sysdeps/i386/fpu/libm-test-ulps: Add ulps for new exp tests.
118         * math/libm-test.inc (exp_test): Add some more tests.
119         (pow_test): Run double only test also for long double.
121         * math/test-ldouble.c (TEST_LDOUBLE): Define.
122         * math/test-ildoubl.c (TEST_LDOUBLE): Likewise.
124         * sysdeps/generic/bits/confname.h: Remove extra comma at end of
125         enumeration.
126         Closes PR libc/2240.
128         * scripts/config.guess: Imported from gnu.org.
129         * scripts/config.sub: Likewise.
131 2001-05-05  Jakub Jelinek  <jakub@redhat.com>
133         * include/features.h (__USE_EXTERN_INLINES): Don't define if
134         __NO_INLINE__ is defined.
135         * ctype/ctype.h (tolower, toupper): Change the guard condition to
136         __USE_EXTERN_INLINES check only.
137         * stdlib/stdlib.h (strtod, ...): Likewise.
138         * wcsmbs/wchar.h (mbrlen): Likewise.
139         * string/string.h: Only include bits/string.h and bits/string2.h
140         if __NO_INLINE__ is not defined.
142 2001-05-07  Andreas Jaeger  <aj@suse.de>
144         * debug/Makefile ($(objpfx)xtrace): Substitute @SLIBDIR@ instead
145         of @LIBDIR@.
147 2001-05-04  H.J. Lu  <hjl@gnu.org>
149         * malloc/Makefile ($(objpfx)memusage): Substitute @SLIBDIR@
150         not @LIBDIR@.
152 2001-05-06  Andreas Jaeger  <aj@suse.de>
154         * sysdeps/i386/fpu/e_fmodl.c: New, rewrite of e_fmodl.S.
155         * sysdeps/i386/fpu/e_fmodl.S: Removed.
156         * sysdeps/i386/fpu/e_atan2l.c: New, rewrite of e_atan2l.S.
157         * sysdeps/i386/fpu/e_atan2l.S: Removed.
158         * sysdeps/i386/fpu/e_acosl.c: New, rewrite of e_acos.S.
159         * sysdeps/i386/fpu/s_atanl.c: New, rewrite of e_atanl.S.
160         * sysdeps/i386/fpu/e_sqrtl.c: New, rewrite of e_sqrt.S.
161         * sysdeps/i386/fpu/e_acosl.S: Removed.
162         * sysdeps/i386/fpu/s_atanl.S: Removed.
163         * sysdeps/i386/fpu/e_sqrtl.S: Removed.
165 2001-05-05  Mark Kettenis  <kettenis@gnu.org>
167         * sysdeps/mach/hurd/bits/environments.h: Add comment from
168         sysdeps/generic/bits/environments.h.  Define _POSIX_V6_* values.
170 2001-04-30  Jakub Jelinek  <jakub@redhat.com>
172         * posix/confstr.c (confstr) [_CS_V6_WIDTH_RESTRICTED_ENVS]: Move so
173         that _CS_LFS_CFLAGS can fall through to the empty returned string
174         case.  Add FALLTHROUGH comment.
176 2001-04-29  Ralf Baechle  <ralf@gnu.org>
178         * sysdeps/unix/sysv/linux/mips/bits/sem.h: Make structure
179         definitions match the kernel definitions.
180         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
181         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
183 2001-04-29  Ben Collins  <bcollins@debian.org>
185         * sysdeps/sparc/sparc64/dl-machine.h: Fix multiline strings
186         warnings.
187         * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Likewise.
188         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
189         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
190         * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Likewise.
191         * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Likewise.
192         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
193         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
194         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
195         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
196         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
197         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
198         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
199         * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Likewise.
200         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
201         * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Likewise.
202         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
203         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
204         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
205         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
206         * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Likewise.
207         * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Likewise.
208         * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Likewise.
209         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
211 2001-04-29  Andreas Schwab  <schwab@suse.de>
213         * sysdeps/unix/sysv/linux/kernel-features.h: Fix missing backslash
214         in last change.
216 2001-04-29  Andreas Jaeger  <aj@suse.de>
218         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
219         Define for Arm, PowerPC and SH if kernel is 2.4.4 or newer.
221         * sysdeps/unix/sysv/linux/bits/socket.h (PF_WANPIPE): New, from
222         Linux 2.4.4.
223         (AF_WANPIPE): Likewise.
224         (MSG_MORE): New.
226         * sysdeps/unix/sysv/linux/alpha/bits/socket.h: Add same changes as
227         for Linux generic version.
228         * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Likewise.
229         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
230         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
231         * sysdeps/unix/sysv/linux/ia64/bits/socket.h: Likewise.
233         * sysdeps/gnu/netinet/tcp.h (TCP_QUICKACK): New.
235 2001-04-27  Ulrich Drepper  <drepper@redhat.com>
237         * nis/nss-nis.h: Correct test for invalid error number.
238         * nis/nss-nisplus.h: Likewise.
240         * nis/Makefile (libnss_compat-rountines): Add nss-nisplus.
242 2001-04-26  Ulrich Drepper  <drepper@redhat.com>
244         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getunwind.
246         * string/strcoll.c: Fix two memory allocation problems.
247         * string/Makefile (tests): Add bug-strcoll1.
248         * string/bug-strcoll1.c: New file.
250         * malloc/mcheck.c (mcheck): Call malloc once before setting the
251         hooks to allow the internal check hooks to be set up if necessary.
253         * nis/nss-nis.h: Move yperr2nss_tab definition into separate file
254         and rename to __yperr2nss_tab.  Change YPERR_COUNT into variable
255         __yperr2nss_count.
256         * nis/nss-nis.c: New file.
257         * nis/nss-nisplus.h: Move niserr2nss_tab definition into separate file
258         and rename to __niserr2nss_tab.  Change NISERR_COUNT into variable
259         __niserr2nss_count.
260         * nis/nss-nisplus.c: New file.
261         * nis/Makefile (libnss_compat-routines): Add nss-nis.
262         (libnss_nis-routines): Likewise.
263         (libnss_nisplus-routines): Add nss-nisplus.
265         * nis/nss_nisplus/nisplus-alias.c: Remove unnecessary initializations.
266         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
267         * nis/nss_nisplus/nisplus-grp.c: Likewise.
268         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
269         * nis/nss_nisplus/nisplus-network.c: Likewise.
270         * nis/nss_nisplus/nisplus-proto.c: Likewise.
271         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
272         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
273         * nis/nss_nisplus/nisplus-service.c: Likewise.
274         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
275         * nis/nss_nis/nis-alias.c: Likewise.
276         * nis/nss_nis/nis-ethers.c: Likewise.
277         * nis/nss_nis/nis-grp.c: Likewise.
278         * nis/nss_nis/nis-network.c: Likewise.
279         * nis/nss_nis/nis-proto.c: Likewise.
280         * nis/nss_nis/nis-pwd.c: Likewise.
281         * nis/nss_nis/nis-spwd.c: Likewise.
282         * nis/nss_compat/compat-grp.c: Likewise.
283         * nis/nss_compat/compat-initgroups.c: Likewise.
284         * nis/nss_compat/compat-pwd.c: Likewise.
285         * nis/nss_compat/compat-spwd.c: Likewise.
287         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Some more
288         optimizations.  Patch by Jakub Jelinek <jakub@redhat.com>.
290 2001-04-26  Andreas Jaeger  <aj@suse.de>
292         * po/zh_TW.po: Update.
293         Patch by Tung-Han Hsieh <thhsieh@tlug.sinica.edu.tw>.
295 2001-04-25  Ulrich Drepper  <drepper@redhat.com>
297         * malloc/malloc.c: Allow MALLOC_ALIGNMENT to be defined on the
298         compiler command line.
299         * sysdeps/hppa/Makefile: Add -DMALLOC_ALIGNMENT=16 to compiler
300         command line for malloc.c.
302 2001-04-25  Jakub Jelinek  <jakub@redhat.com>
304         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: Move to...
305         * sysdeps/unix/sysv/linux/sparc/bits/time.h: ...here.
306         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: Remove.
307         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: Move to...
308         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: ...here.  Adjust
309         struct msghdr for __WORDSIZE == 32.
310         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: Move to...
311         * sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: ...here. Adjust
312         for __WORDSIZE == 32.
313         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Remove.
314         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c: New
315         file.
316         * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_siglongjmp):
317         Rename from longjmp, make longjmp weak alias to it.
319 2001-04-24  David S. Miller  <davem@redhat.com>
321         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: New file.
323 2001-04-25  Matthew Wilcox  <willy@ldl.fc.hp.com>
325         * sysdeps/hppa/stackinfo.h: New file.
326         * sysdeps/unix/sysv/linux/hppa/getdents64.c: New file.
327         * sysdeps/unix/sysv/linux/hppa/mmap64.c: New file.
328         * sysdeps/unix/sysv/linux/hppa/bits/resource.h: New file.
329         * sysdeps/unix/sysv/linux/kernel-features.h: Add descriptions
330         of PA kernel features.
332 2001-04-25  Ulrich Drepper  <drepper@redhat.com>
334         * locale/programs/localedef.c (main): Always set a file name for
335         the initial locale.
336         * locale/programs/locfile.c (locfile_read): filename is allowed to
337         be NULL.
339 2001-04-12  Paul Bame  <paul_bame@hp.com>
341         * sysdeps/hppa/fpu/fclrexcpt.c: Clear the exception flags, not the
342         enable flags.
344 2001-04-24  Ulrich Drepper  <drepper@redhat.com>
346         * sysdeps/generic/bits/environments.h (_POSIX_V6_LPBIG_OFFBIG,
347         _XBS5_LPBIG_OFFBIG): Define to -1.
348         Fix typos.
350         * sysdeps/generic/bits/confname.h: Add _CS_V6_WIDTH_RESTRICTED_ENVS.
351         * posix/confstr.c: Handle _CS_V6_WIDTH_RESTRICTED_ENVS.
352         * posix/getconf.c: Handle _POSIX_V6_WIDTH_RESTRICTED_ENVS.
353         * posix/tst-getconf.sh: Add _POSIX_V6_WIDTH_RESTRICTED_ENVS.
355         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/Implies: New file.
356         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: Removed.
358 2001-03-21  Alan Modra  <alan@one.net.au>
360         * sysdeps/hppa/dl-machine.h (RTLD_START): Set up dp with DT_PLTGOT
361         value from application so that constructors in non-PIC libs work.
363 2000-12-13  Jes Sorensen  <jes@linuxcare.com>
365         * sysdeps/hppa/dl-machine.h (RTLD_START): _dl_init now returns a
366         function pointer, hence load the jump address and gp from the
367         function pointer before jumping.
369 2001-04-24  Andreas Jaeger  <aj@suse.de>
371         * sysdeps/generic/send.c (__send): Return ssize_t.
372         * sysdeps/mach/hurd/send.c (__send): Likewise.
373         * sysdeps/mach/hurd/recv.c (recv): Likewise.
374         * sysdeps/mach/hurd/sendto.c (sendto): Likewise.
375         * sysdeps/generic/sendto.c (sendto): Likewise.
376         * sysdeps/generic/recvmsg.c (recvmsg): Likewise.
377         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
378         * sysdeps/generic/recvfrom.c (recvfrom): Likewise.
379         * sysdeps/generic/sendmsg.c (sendmsg): Likewise.
381         * socket/sys/socket.h: send* and recv* return ssize_t.
383         * include/sys/socket.h: send returns ssize_t.
385         * sysdeps/i386/fpu_control.h: Fix comments.
387 2001-04-24  Ulrich Drepper  <drepper@redhat.com>
389         * sysdeps/ia64/Dist: Add hp-timing.c.
390         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add ucontext_i.h.
391         * posix/Makefile (distribute): Add tst-getconf.sh.
392         * po/Makefile (distribute): Add $(BROKEN_LINGUAS:=.po).
394 2001-04-23  Ulrich Drepper  <drepper@redhat.com>
396         * sysdeps/ia64/Makefile [subdir=csu] (sysdep_routines): Add hp-timing.
397         * sysdeps/ia64/Versions: Add _dl_cpuclock_offset for ld in 2.2.3.
398         * sysdeps/ia64/hp-timing.c: New file.
399         * sysdeps/ia64/hp-timing.h: New file.
400         * sysdeps/unix/sysv/linux/ia64/bits/time.h: Add definitions for
401         CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
403         * sysdeps/generic/clock_getcpuclockid.c: Make function generic, test
404         using #ifdef whether the clock is available.
405         * sysdeps/unix/i386/clock_getcpuclockid.c: Not needed anymore.
407         * sysdeps/generic/dl-sysdep.c: Initialize _dl_cpuclock_offset to move
408         it into data section.
410         * sysdeps/unix/i386/i586/clock_getres.c: Removed.
411         * sysdeps/unix/i386/i586/clock_gettime.c: Removed.
412         * sysdeps/unix/i386/i586/clock_nanosleep.c: Removed.
413         * sysdeps/unix/i386/i586/clock_settime.c: Removed.
414         * sysdeps/unix/i386/i586/cpuclock-init.h: Removed.
415         * sysdeps/generic/cpuclock-init.h: Removed.
416         * sysdeps/unix/i386/i686/Implies: Removed.
417         * sysdeps/unix/i386/i686/tempname.c: Removed.
418         * sysdeps/i386/i686/Versions: New file.
419         * sysdeps/unix/i386/i586/Versions: Removed.
421         * sysdeps/posix/clock_getres.c: If HP_TIMING_AVAIL is nonzero handle
422         CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
423         * sysdeps/unix/clock_gettime.c: Likewise.
424         * sysdeps/unix/clock_nanosleep.c: Likewise.
425         * sysdeps/unix/clock_settime.c: Likewise.
426         * sysdeps/posix/tempname.c: Is HP_TIMING_AVAIL is nonzero define
427         RANDOM_BITS use CPU clock.
429         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: New file.
430         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: New file.
431         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: New file.
432         * sysdeps/sparc/Versions: New file.
434         * elf/dl-support.c: Don't use cpuclock-init.h definitions, use
435         hp-timing.h definitions.
436         * sysdeps/generic/dl-sysdep.c: Likewise.
438         * include/libc-internal.h: Include hp-timing.h.  Use hp_timing_t in
439         __get_clockfreq prototype.
441         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
442         Use hp_timing_t type.
443         * sysdeps/generic/get_clockfreq.c (__get_clockfreq): Likewise.
445         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: New file.
447         * sysdeps/posix/pathconf.c (__pathconf): For _PC_ASYNC_IO test
448         whether named file is a regular file or a block device.
449         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
451 2001-04-23  Andreas Jaeger  <aj@suse.de>
453         * nscd/nscd.h: Add noreturn attribute for start_threads.
455 2001-04-22  Ulrich Drepper  <drepper@redhat.com>
457         * posix/getconf.c: Fix names of XBS5 LFS test variables.
458         Add missing configuration variables from XPG6.
459         * posix/tst-getconf.c: New file.
460         * posix/Makefile (generated): Add tst-getconf.out.
461         (tests): Add ($objpfx)tst-getconf.out.
462         Add rule to run tst-getconf.sh.
463         * sysdeps/generic/bits/confname.h: Add missing _PC_ and _SC_ values
464         from XPG6.
465         * sysdeps/posix/fpathconf.c: Add handling of _PC_ALLOC_SIZE_MIN and
466         _PC_SYMLINK_MAX.
467         * sysdeps/posix/pathconf.c: Likewise.
468         * sysdeps/posix/sysconf.c: Correct spelling of _SC_MULTI_PROCESS
469         and _SC_SYMLOOP_MAX.
471 2001-04-22  Philip Blundell  <philb@gnu.org>
473         * sysdeps/arm/fpu/feenablxcpt.c: New file.
474         * sysdeps/arm/fpu/fedisablxcpt.c: New file.
475         * sysdeps/arm/fpu/fegetexcpt.c: New file.
477 2001-04-22  Philip Blundell  <philb@gnu.org>
479         * sysdeps/unix/sysv/linux/arm/sys/user.h (struct user_fpregs):
480         Renamed from struct user_fp.
481         (struct user_regs): New.
482         (struct user): Use struct user_regs rather than struct pt_regs to
483         avoid dependency on asm/ptrace.h.  Use struct user_fpregs in place
484         of struct user_fp and struct user_fp_struct.
485         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Include sys/procfs.h
486         not sys/elf.h.
488 2001-04-22  Philip Blundell  <philb@gnu.org>
490         * sysdeps/unix/sysv/linux/arm/sys/elf.h: Move contents to
491         sys/procfs.h, and tell the user to include that file instead.
492         * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove old cruft
493         surrounded with #if 0.
494         (elf_greg_t, ELF_NGREG, elf_gregset_t, elf_fpregset_t): Moved here
495         from sys/elf.h.
496         (prgregset_t, prfpregset_t): Define in terms of elf_gregset_t and
497         elf_fpregset_t respectively.
499 2001-04-22  Philip Blundell  <philb@gnu.org>
501         * sysdeps/unix/sysv/linux/arm/register-dump.h: Also print the
502         address that faulted.
504 2001-04-21  Ulrich Drepper  <drepper@redhat.com>
506         * sysdeps/generic/bits/confname.h: Add _SC_V6_* and _CS_POSIX_V6_*
507         values.
508         * sysdeps/generic/bits/environments.h: Define _POSIX_V6_* values.
509         * posix/confstr.c: Handle _CS_POSIX_V6_* values.
510         * posix/getconf.c: Handle _CS_POSIX_V6_* and _SC_V6_* values.
511         * sysdeps/posix/sysconf.c: Handle _SC_V6_* values.
513         * sysdeps/powerpc/fpu/libm-test-ulps: Add deltas for atan2f.
514         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
515         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
516         * sysdeps/mips/fpu/libm-test-ulps: Likewise.
518 2001-04-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
520         * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correct check for invalid
521         offset.
523 2001-04-21  Ulrich Drepper  <drepper@redhat.com>
525         * posix/getopt.h: Treat __cplusplus like __STDC__.
527 2001-04-20  John S. Marvin  <jsm@fc.hp.com>
529         * sysdeps/unix/sysv/linux/hppa/clone.S: Fix clone system call
530         entry point stub.
532 2001-04-20  Richard Hirst  <rhirst@linuxcare.com>
534         * elf/elf.h: Corrected R_PARISC_DIR14R (should be 6, not 5),
535         and added R_PARISC_DPREL21L and R_PARISC_DPREL14R for modutils.
537         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Removed ptrace
538         entry so the ptrace.c wrapper is used.
540 2001-04-20  Alan Modra  <amodra@one.net.au>
542         * sysdeps/hppa/dl-lookupcfg.h (_dl_function_address): Prototype.
543         (DL_FUNCTION_ADDRESS): Define.
544         (DL_DT_INIT_ADDRESS): Define.
545         (DL_DT_FINI_ADDRESS): Define.
546         * sysdeps/hppa/Versions: Add _dl_function_address.
547         * sysdeps/hppa/dl-machine.h (ELF_MACHINE_START_ADDRESS): Define.
548         * sysdeps/hppa/dl-symaddr.c (_dl_start_address): Rename to
549         _dl_function_address.
551 2001-04-21  Andreas Jaeger  <aj@suse.de>
553         * rt/aio_misc.c (handle_fildes_io): Add noreturn attribute.
554         * resolv/gai_misc.c (handle_requests): Likewise.
555         * malloc/obstack.c (print_and_abort): Likewise.
556         * malloc/mcheck.c (mabort): Likewise.
558         * sysdeps/unix/i386/i586/clock_settime.c: Include
559         "libc-internal.h" for __get_clockfreq declaration.
561 2001-04-21  Ulrich Drepper  <drepper@redhat.com>
563         * elf/dl-support.c: Include cpuclock-init.h.  Use CPUCLOCK_VARDEF and
564         CPUCLOCK_INIT if defined.
565         * sysdeps/generic/dl-sysdep.c: Likewise.
566         * sysdeps/generic/cpuclock-init.h: New file.
567         * sysdeps/unix/i386/i586/cpuclock-init.h: New file.
568         * sysdeps/unix/i386/i586/Versions: New file.
569         * sysdeps/unix/i386/i586/clock_settime.c: New file.
570         * sysdeps/unix/i386/i586/clock_gettime.c: Handle thread CPU clock
571         separately by calling __pthread_clock_gettime if this function is
572         available.  Subtract offset from tsc value before computing time value.
574 2001-04-20  Ulrich Drepper  <drepper@redhat.com>
576         * iconv/iconv_prog.c (print_known_names): If printing goes not to
577         a tty print in a more machine-friendly way.
579         * sysdeps/ieee754/ldbl-128/e_asinl.c: New file.
580         Contributed by Stephen L Moshier <moshier@mediaone.net>.
582 2001-04-20  Andreas Jaeger  <aj@suse.de>
584         * intl/Makefile (tests): Reorder conditions, tst-gettext needs msgfmt.
586 2001-04-20  Andreas Schwab  <schwab@suse.de>
588         * sysdeps/m68k/fpu/libm-test-ulps: Update.
590 2001-04-19  Alan Modra  <amodra@one.net.au>
592         * Makerules (libc_pic.os): Add $(LDFLAGS-c_pic.os).
593         * sysdeps/hppa/Makefile (LDFLAGS-c_pic.os): Define.
594         (CFLAGS-.os): Remove.
596         * sysdeps/unix/sysv/linux/hppa/sysdep.h (CALL_MCOUNT): Update comment.
598         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG, NFPREG,
599         gregset): Correct for new kernel definitions.
601 2001-04-19  Alan Modra  <alan@linuxcare.com.au>
603         * sysdeps/hppa/elf/initfini.c: Change dlt reg save to r3 and
604         generate unwind info by hand.
606 2001-04-19  Ulrich Drepper  <drepper@redhat.com>
608         * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Optimize a bit.
610         * configure.in: Correct regular expression for msgfmt.
611         Patch by Bruno Haible <haible@ilog.fr>.
613 2001-04-19  Andreas Jaeger  <aj@suse.de>
615         * po/el.po: Add comment explaining what's broken.
617         * po/Makefile (BROKEN_LINGUAS): New.
618         (ALL_LINGUAS): Don't add broken languages.
620 2001-04-19  Roland McGrath  <roland@frob.com>
622         * sysdeps/mach/hurd/mlock.c: New file.
623         * sysdeps/mach/hurd/munlock.c: New file.
624         * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK_RANGE): Define it.
626         * misc/Makefile (routines): Add mlock munlock mlockall munlockall.
627         * sysdeps/generic/mlock.c: New file.
628         * sysdeps/generic/munlock.c: New file.
629         * sysdeps/generic/mlockall.c: New file.
630         * sysdeps/generic/munlockall.c: New file.
631         * sysdeps/generic/bits/mman.h (MCL_CURRENT, MCL_FUTURE): New macros.
632         * sysdeps/unix/sysv/linux/syscalls.list (mlock, munlock,
633         mlockall, munlockall): Change caller field to - from EXTRA.
634         Don't use __ names; not used (and not declared in include/sys/mman.h).
636         * hurd/privports.c (__get_privileged_ports): Renamed with __.
637         Use __ names for calls we make.
638         (get_privileged_ports): Add alias.
639         * hurd/hurd.h: Declare it with the __ name.
640         * sysdeps/mach/hurd/reboot.c (reboot): Use __get_privileged_ports.
641         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
642         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
644         * hurd/hurdsig.c (write_corefile): Check RLIMIT_CORE limit and do
645         nothing if it's zero.
647 2001-04-19  Matthew Wilcox  <willy@ldl.fc.hp.com>
649         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL):
650         Change to return a signed result for compatibility with other
651         architectures, and correctness.
653 2001-04-19  Ulrich Drepper  <drepper@redhat.com>
655         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_32BITUIDS):
656         HPPA always had them.  Patch by Matthew Wilcox <matthew@wil.cx>.
658 2001-04-19  Andreas Jaeger  <aj@suse.de>
660         * configure.in: Require gettext 0.10.36 or newer.
662         * manual/install.texi (Tools for Compilation): Mention gettext 0.10.36.
664         * po/zh_TW.po: Remove extraneous backslashes.
666         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove unused
667         variables b and n.
669 2001-04-18  Jakub Jelinek  <jakub@redhat.com>
671         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
672         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c: New file.
673         * sysdeps/unix/sysv/linux/sparc/sparc64/swapcontext.c: New file.
674         * sysdeps/unix/sysv/linux/sparc/sparc64/setcontext.S (__setcontext):
675         Copy first word of uc_sigmask into __uc_sigmask.
676         * sysdeps/unix/sysv/linux/sparc/sparc64/getcontext.S (__getcontext):
677         Save uc_link around trap. Copy __uc_sigmask into first word of
678         uc_sigmask, clear the rest. Make sure setcontext to the created
679         context doesn't do this though.
680         * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext_i.h: New file.
681         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Add
682         uc_stack and uc_sigmask, rename old uc_sigmask to __uc_sigmask in the
683         64bit version, make uc_sigmask __sigset_t in the 32bit version.
685 2001-04-19  Andreas Jaeger  <aj@suse.de>
687         * sysdeps/unix/sysv/linux/hppa/umount.c: Fix typos in last patch.
689         * rt/Makefile (otherlibs): Added for static NSS.
691         * glibcbug.in (BUGGLIBC): Send to new alias.
693 2001-04-02  Andreas Schwab  <schwab@suse.de>
695         * Makerules (build-module): Make sure exit codes get checked
696         properly and remove unnecessary slashes.
698 2001-04-17  Ulrich Drepper  <drepper@redhat.com>
700         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
701         Handle kernels which report only three digits after the decimal point.
702         Reported by Van Okamura <van.okamura@oracle.com>.
704         * sysdeps/alpha/fpu/libm-test-ulps: Adjust error values for atan2f.
706 2001-04-17  David S. Miller  <davem@redhat.com>
708         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update for new atan2 tests.
709         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
711 2001-04-17  Jakub Jelinek  <jakub@redhat.com>
713         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Make sure
714         desired exceptions are raised for exceptional values.
715         * math/libm-test.inc (acosh_test, atan_test, atan2_test, cacos_test,
716         cacosh_test, casin_test, casinh_test, catan_test, catanh_test,
717         clog_test, log_test, log1p_test, tan_test): Increase precision of
718         expected values to satisfy ldbl-128.
719         * sysdeps/alpha/fpu/libm-test-ulps: Adjust accordingly.
720         * sysdeps/arm/libm-test-ulps: Likewise.
721         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
722         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
723         * sysdeps/m68k/fpu/libm-test-ulps: Likewise.
724         * sysdeps/mips/fpu/libm-test-ulps: Likewise.
725         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
726         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
727         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
728         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
729         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
731 2001-04-17  Andreas Jaeger  <aj@suse.de>
733         * configure.in: Move test for critical programs up.
735 2001-04-16  Stephen L Moshier  <moshier@mediaone.net>
737         * sysdeps/ieee754/flt-32/e_asinf.c (pio2_hi, pio2_lo, pio4_hi):
738         Correct the values. (pSx, qSx): Replace by shorter approximation.
739         Use f suffix on float constants.
741 2001-04-16  Ulrich Drepper  <drepper@redhat.com>
743         * sysdeps/ieee754/ldbl-128/k_tanl.c: New file.
744         Contributed by Stephen L Moshier <moshier@mediaone.net>.
746         * string/string.h: Replace const in attribute list with __const__.
748 2001-04-16  Roland McGrath  <roland@frob.com>
750         * grp/initgroups.c (initgroups) [NGROUPS_MAX != 0]: Always use sysconf
751         instead of the constant NGROUPS_MAX.  That way, the limit can be
752         raised in the kernel configuration without having to recompile libc.
754         * sysdeps/posix/euidaccess.c: Don't #include <limits.h> or try to
755         define NGROUPS_MAX; we don't use it here.
757 2001-04-16  Andreas Jaeger  <aj@suse.de>
759         * math/libm-test.inc (atan2_test): Add more testcases.
761         * iconv/gconv_db.c: Include gconv_charset.h for
762         __gconv_lookup_alias prototype.
764 2001-04-13  Ulrich Drepper  <drepper@redhat.com>
766         * sysdeps/ieee754/ldbl-128/s_atanl.c: New file.
767         Contributed by Stephen L Moshier <moshier@mediaone.net>.
769 2001-04-13  Jes Sorensen  <jes@linuxcare.com>
771         * intl/tst-codeset.c: Include string.h to get prototype for strcmp().
773 2001-04-13  Jes Sorensen  <jes@linuxcare.com>
775         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add __pad0 to
776         explicitly pad struct siginfo instead of relying on compiler padding.
778 2001-04-12  Ulrich Drepper  <drepper@redhat.com>
780         * sysdeps/ia64/Dist: Add elf/entry.h.
782         * iconvdata/Makefile (distribute): Add TESTS2.
784 2001-04-13  Jakub Jelinek  <jakub@redhat.com>
786         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_load_address):
787         Calculate load address differently.
789 2001-04-12  Bruno Haible  <haible@clisp.cons.org>
791         * iconvdata/TESTS2: New file.
792         * iconvdata/run-iconv-test.sh: Also run tests from TESTS2.
793         * iconvdata/testdata/alfabeta..UTF-8: New file.
794         * iconvdata/testdata/alfabeta..UTF-16.BE: New file.
795         * iconvdata/testdata/alfabeta..UTF-16.LE: New file.
796         * iconvdata/testdata/alfabeta..UTF-32.BE: New file.
797         * iconvdata/testdata/alfabeta..UTF-32.LE: New file.
799 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
801         * iconvdata/utf-32.c: New file.
802         * iconvdata/gconv-modules: Add entries for UTF-32, UTF-32LE, UTF-32BE.
803         * iconvdata/Makefile (modules): Add UTF-32.
804         (distribute): Add utf-32.c.
806 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
808         * iconvdata/utf-16.c (PREPARE_LOOP): Initialize 'swap' after possibly
809         changing it in the state. After incrementing 'inptr', store it back.
810         * iconvdata/unicode.c (PREPARE_LOOP): After incrementing 'inptr',
811         store it back.
813 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
815         * iconvdata/utf-16.c (gconv_init): Use MAX_NEEDED_FROM, not
816         MIN_NEEDED_FROM.
818 2001-04-11  David Mosberger  <davidm@hpl.hp.com>
820         * sysdeps/ia64/htonl.S: Drop superfluous "alloc".
821         * sysdeps/ia64/htons.S: Likewise.
823         * sysdeps/ia64/memset.S: Add unwind directives.
824         * sysdeps/ia64/strncpy.S: Likewise.
825         * sysdeps/ia64/strcat.S: Likewise.
827         * sysdeps/ia64/memccpy.S: Add unwind directives.  Drop superfluous
828         restore of ar.pfs.
829         * sysdeps/ia64/strchr.S: Likewise.
830         * sysdeps/ia64/memmove.S: Likewise.
831         * sysdeps/ia64/memcpy.S: Likewise.
832         * sysdeps/ia64/memcmp.S: Likewise.
833         * sysdeps/ia64/memchr.S: Likewise.
834         * sysdeps/ia64/strcmp.S: Likewise.
835         * sysdeps/ia64/strlen.S: Likewise.
836         * sysdeps/ia64/strcpy.S: Likewise.
837         * sysdeps/ia64/strncmp.S: Likewise.
839 2001-04-11  Jakub Jelinek  <jakub@redhat.com>
841         * wcsmbs/wchar.h (fgetwc, getwc, getwchar, fputwc, putwc, putwchar,
842         fgetws, fputws, ungetwc, getwc_unlocked, getwchar_unlocked,
843         fgetwc_unlocked, fputwc_unlocked, putwc_unlocked, putwchar_unlocked,
844         fgetws_unlocked, fputws_unlocked, wcsftime): Add __THROW.
846 2001-04-11  Andreas Jaeger  <aj@suse.de>
848         * sysdeps/mips/elf/start.S [__ASSEMBLY__]: Define it.
850 2001-04-11  Andreas Schwab  <schwab@suse.de>
852         * sysdeps/m68k/fpu/libm-test-ulps: Adjusted.
854 2001-04-11  Ulrich Drepper  <drepper@redhat.com>
856         * sysdeps/arm/stackinfo.h: New file.
858 2001-04-08  Thorsten Kukuk  <kukuk@suse.de>
860         * sunrpc/rpc_main.c: If we compile RPC thread safe, allow
861         rpcgen to generate thread safe code.
863 2001-04-10  Andreas Jaeger  <aj@suse.de>
865         * math/test-fenv.c (initial_tests): Protect FE_TONEAREST declaration.
867 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
869         * elf/dl-minimal.c (__assert_fail): Change error string.  It's
870         most of the time no bug in ld.so.
871         (__assert_perror_fail): Likewise.
873 2001-04-11  Hans-Peter Nilsson  <hp@axis.com>
875         * sysdeps/generic/bits/fenv.h (fexcept_t): Change default type
876         from struct to unsigned int.
878 2001-04-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
880         * elf/elf.h (AT_DCACHEBSIZE, AT_ICACHEBSIZE, AT_UCACHEBSIZE,
881         AT_IGNOREPPC): New defines.
882         * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Print them.
883         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
884         Define for newer powerpc kernels.
885         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Use the standard
886         DL_FIND_ARG_COMPONENTS if __ASSUME_STD_AUXV is defined.
888 2000-4-10  kaz Kojima  <kkojima@rr.iij4u.or.jp>
890         * sysdeps/sh/stackinfo.h: New file.
892 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
894         * locale/tst-C-locale.c (run_test): Add tests for locale objects.
895         * locale/newlocale.c (__newlocale): Correct setting __ctype_b,
896         __ctype_tolower, and __ctype_toupper elements.
898         * ctype/ctype_l.c: Fix definitions of __tolower_l and __toupper_l.
899         Reported by Konstantin Osipov <rabid@spylog.ru>.
901         * sysdeps/i386/fpu/libm-test-ulps: Add deltas for tgamma to help
902         the lousy AMD FPU.
904 2001-04-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
906         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: New file.
907         * sysdeps/unix/sysv/linux/powerpc/Dist: Add sys/ptrace.h.
908         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Delete wrong stuff.
909         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Correct typedefs.
911 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
913         * elf/dl-deps.c (_dl_map_object_deps): Provide complete error
914         message.  Based on a patch by HJ Lu.
916 2001-04-10  Andreas Schwab  <schwab@suse.de>
918         * math/libm-test.inc (csinh_test): Don't require the invalid
919         exception for csinh (x + iNaN), but make it optional.
921 2001-04-09  David Mosberger  <davidm@hpl.hp.com>
923         * sysdeps/ia64/elf/start.S (_start): Add unwind directives.
925         * sysdeps/generic/entry.h [!__ASSEMBLY__]: Declare _start.
926         * sysdeps/ia64/elf/entry.h: New file.
927         * sysdeps/unix/sysv/linux/mips/entry.h [!__ASSEMBLY__]: Declare
928         __start.
929         * elf/rtld.c: Don't declare ENTRY_POINT.  Use ENTRY_POINT instead
930         of &ENTRY_POINT.
931         * sysdeps/generic/dl-sysdep.c: Likewise.
932         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
933         * sysdeps/ia64/elf/start.S: Save base address of register backing
934         store in __libc_ia64_register_backing_store_base.
936 2001-04-10  Martin Schwidefsky  <schwidefsky@de.ibm.com>
938         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Fix return
939         value of getcontext.
940         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
941         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Fix return
942         value of setcontext.
943         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
944         * sysdeps/unix/sysv/linux/s390/swapcontext.c: Skip setcontext
945         call by changing the saved context.
947 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
949         * sysdeps/alpha/stackinfo.h: New file.
950         * sysdeps/ia64/stackinfo.h: New file.
952 2001-04-10  Andreas Schwab  <schwab@suse.de>
954         * sysdeps/m68k/fpu/e_pow.c: Correct handling of some exceptional
955         values.
956         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
958 2001-04-09  Ulrich Drepper  <drepper@redhat.com>
960         * sysdeps/sparc/sparc32/sparcv9/Dist: Add hp-timing.c.
961         * sysdeps/sparc/sparc64/Dist: Add hp-timing.c.
963         * libio/Makefile (distribute): Add fd_to_filename.h.
965 2001-04-05  David S. Miller  <davem@redhat.com>
967         Add hp-timing support for sparcv9/sparc64 targets.
968         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: New file
969         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: New file
970         * sysdeps/sparc/sparc64/hp-timing.c: New file
971         * sysdeps/sparc/sparc64/hp-timing.h: New file
972         * sysdeps/sparc/sparc32/sparcv9/Makefile: Build hp-timing.
973         * sysdeps/sparc/sparc64/Makefile: Likewise.
975 2001-04-09  Jakub Jelinek  <jakub@redhat.com>
977         * sysdeps/generic/fd_to_filename.h: New file.
978         * sysdeps/unix/sysv/linux/fd_to_filename.h: New file.
979         * libio/freopen.c (freopen): If FILENAME is NULL, try to get
980         filename from the open file descriptor.
981         * libio/freopen64.c (freopen64): Likewise.
983 2001-04-09  Bruno Haible  <haible@clisp.cons.org>
985         * misc/error.c (error): fflush stdout also if
986         error_print_progname != NULL.
987         (error_at_line): Likewise.
989 2001-04-07  Bruno Haible  <haible@clisp.cons.org>
991         * intl/gettextP.h (struct loaded_domain): Add codeset_cntr field.
992         (struct binding): Add codeset_cntr field.
993         (_nl_load_domain): Add domainbinding argument.
994         (_nl_init_domain_conv, _nl_free_domain_conv): New declarations.
995         (_nl_find_msg): New declaration, moved here from loadinfo.h.
996         * intl/loadinfo.h (struct loaded_l10nfile): Remove domainbinding field.
997         (_nl_make_l10nflist): Remove domainbinding argument.
998         (_nl_find_msg): Move declaration to gettextP.h.
999         * intl/bindtextdom.c (set_binding_values): Initialize ->codeset_cntr
1000         to 0.  Increment it when ->codeset is changed.
1001         * intl/dcigettext.c (DCIGETTEXT): Pass binding to _nl_find_msg.
1002         (_nl_find_msg): Add domainbinding argument.  Reinitialize the converter
1003         if domainbinding->codeset_cntr has been incremented.
1004         * intl/finddomain.c (_nl_find_domain): Don't pass domainbinding to
1005         _nl_make_l10nflist().  Pass it to _nl_load_domain() instead.
1006         * intl/l10nflist.c (_nl_make_l10nflist): Remove domainbinding argument.
1007         * intl/loadmsgcat.c (_nl_init_domain_conv): New function, extracted
1008          from _nl_load_domain.  Append //TRANSLIT also when using libiconv.
1009         (_nl_free_domain_conv): New function, extracted from _nl_unload_domain.
1010         (_nl_load_domain): Add domainbinding argument.  Call
1011         _nl_init_domain_conv.
1012         (_nl_unload_domain): Call _nl_free_domain_conv.
1013         * intl/Makefile (distribute): Add tst-codeset.sh, tstcodeset.po.
1014         (test-srcs): Add tst-codeset.
1015         (tests): Depend on tst-codeset.out.
1016         (tst-codeset.out): New rule.
1017         (CFLAGS-tst-codeset.c): New variable.
1018         * intl/tst-codeset.sh: New file.
1019         * intl/tstcodeset.po: New file.
1020         * intl/tst-codeset.c: New file.
1021         * locale/findlocale.c (_nl_find_locale): Update _nl_make_l10nflist
1022         calls.
1024 2001-04-07  Roland McGrath  <roland@frob.com>
1026         * mach/msgserver.c (__mach_msg_server_timeout): Add an assert.
1028 2001-03-31  Roland McGrath  <roland@frob.com>
1030         * sysdeps/mach/hurd/fork.c: Skip NEWPROC just like NEWTASK when
1031         copying send rights into child.  When we hit our name for our proc
1032         port, just copy NEWPROC directly instead of repeating proc_task2proc
1033         to install the child's port.
1035 2001-04-08  Roland McGrath  <roland@frob.com>
1037         * Makeconfig ($(common-objpfx)soversions.i): Grok entries with DEFAULT
1038         in second column, to provide default values for third column.
1039         * shlib-versions: Add comments about using DEFAULT in second column.
1040         (s390x-.*-linux.*): Replace individual entries with a DEFAULT entry.
1041         (cris-.*-linux.*): Likewise.
1043 2001-04-09  Ulrich Drepper  <drepper@redhat.com>
1045         * Makefile (distribute): Add scripts/documented.sh.
1046         * scripts/documented.sh: New file.
1048 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
1050         * sysdeps/unix/sysv/linux/cris/Dist: New file.
1051         * sysdeps/unix/sysv/linux/cris/Makefile: New file.
1052         * sysdeps/unix/sysv/linux/cris/_G_config.h: New file.
1053         * sysdeps/unix/sysv/linux/cris/bits/fcntl.h: New file.
1054         * sysdeps/unix/sysv/linux/cris/bits/mman.h: New file.
1055         * sysdeps/unix/sysv/linux/cris/bits/resource.h: New file.
1056         * sysdeps/unix/sysv/linux/cris/brk.c: New file.
1057         * sysdeps/unix/sysv/linux/cris/chown.c: New file.
1058         * sysdeps/unix/sysv/linux/cris/clone.S: New file.
1059         * sysdeps/unix/sysv/linux/cris/fchown.c: New file.
1060         * sysdeps/unix/sysv/linux/cris/fcntl.c: New file.
1061         * sysdeps/unix/sysv/linux/cris/fxstat.c: New file.
1062         * sysdeps/unix/sysv/linux/cris/getegid.c: New file.
1063         * sysdeps/unix/sysv/linux/cris/geteuid.c: New file.
1064         * sysdeps/unix/sysv/linux/cris/getgid.c: New file.
1065         * sysdeps/unix/sysv/linux/cris/getgroups.c: New file.
1066         * sysdeps/unix/sysv/linux/cris/getresgid.c: New file.
1067         * sysdeps/unix/sysv/linux/cris/getresuid.c: New file.
1068         * sysdeps/unix/sysv/linux/cris/getrlimit.c: New file.
1069         * sysdeps/unix/sysv/linux/cris/getrlimit64.c: New file.
1070         * sysdeps/unix/sysv/linux/cris/getuid.c: New file.
1071         * sysdeps/unix/sysv/linux/cris/lchown.c: New file.
1072         * sysdeps/unix/sysv/linux/cris/lockf64.c: New file.
1073         * sysdeps/unix/sysv/linux/cris/lxstat.c: New file.
1074         * sysdeps/unix/sysv/linux/cris/mmap.S: New file.
1075         * sysdeps/unix/sysv/linux/cris/mmap64.S: New file.
1076         * sysdeps/unix/sysv/linux/cris/msgctl.c: New file.
1077         * sysdeps/unix/sysv/linux/cris/profil-counter.h: New file.
1078         * sysdeps/unix/sysv/linux/cris/register-dump.h: New file.
1079         * sysdeps/unix/sysv/linux/cris/semctl.c: New file.
1080         * sysdeps/unix/sysv/linux/cris/setegid.c: New file.
1081         * sysdeps/unix/sysv/linux/cris/seteuid.c: New file.
1082         * sysdeps/unix/sysv/linux/cris/setfsgid.c: New file.
1083         * sysdeps/unix/sysv/linux/cris/setfsuid.c: New file.
1084         * sysdeps/unix/sysv/linux/cris/setgid.c: New file.
1085         * sysdeps/unix/sysv/linux/cris/setgroups.c: New file.
1086         * sysdeps/unix/sysv/linux/cris/setregid.c: New file.
1087         * sysdeps/unix/sysv/linux/cris/setresgid.c: New file.
1088         * sysdeps/unix/sysv/linux/cris/setresuid.c: New file.
1089         * sysdeps/unix/sysv/linux/cris/setreuid.c: New file.
1090         * sysdeps/unix/sysv/linux/cris/setrlimit.c: New file.
1091         * sysdeps/unix/sysv/linux/cris/setuid.c: New file.
1092         * sysdeps/unix/sysv/linux/cris/shmctl.c: New file.
1093         * sysdeps/unix/sysv/linux/cris/socket.S: New file.
1094         * sysdeps/unix/sysv/linux/cris/sys/ucontext.h: New file.
1095         * sysdeps/unix/sysv/linux/cris/syscall.S: New file.
1096         * sysdeps/unix/sysv/linux/cris/sysdep.S: New file.
1097         * sysdeps/unix/sysv/linux/cris/sysdep.h: New file.
1098         * sysdeps/unix/sysv/linux/cris/vfork.S: New file.
1099         * sysdeps/unix/sysv/linux/cris/xstat.c: New file.
1101 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
1103         * sysdeps/cris/Dist: New file.
1104         * sysdeps/cris/Implies: New file.
1105         * sysdeps/cris/Makefile: New file.
1106         * sysdeps/cris/__longjmp.S: New file.
1107         * sysdeps/cris/_mcount.S: New file.
1108         * sysdeps/cris/bits/endian.h: New file.
1109         * sysdeps/cris/bits/setjmp.h: New file.
1110         * sysdeps/cris/bits/string.h: New file.
1111         * sysdeps/cris/dl-machine.h: New file.
1112         * sysdeps/cris/elf/start.S: New file.
1113         * sysdeps/cris/machine-gmon.h: New file.
1114         * sysdeps/cris/memcopy.h: New file.
1115         * sysdeps/cris/memusage.h: New file.
1116         * sysdeps/cris/setjmp.S: New file.
1117         * sysdeps/cris/sysdep.h: New file.
1118         * sysdeps/cris/wordcopy.c: New file.
1120 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
1122         * elf/elf.h: Add new relocations for CRIS.
1124 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
1126         * shlib-versions: Add cases for Linux on CRIS.
1128 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
1130         * configure.in (ASM_LINE_SEP tests): Handle CRIS assembly, with
1131         ';' for comments and '@' for line separator.
1133 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
1135         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Fix
1136         typo; s/==/=/ for assignment.
1138 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
1140         * malloc/Makefile: Correct comment; mtrace is Perl, not AWK.
1142 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
1144         * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): Check for
1145         empty input before checking full output.
1147 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
1149         * iconv/gconv.c (__gconv): Don't derefer parameter cd before
1150         checking if == -1L.
1152 2001-04-08  Ulrich Drepper  <drepper@redhat.com>
1154         * inet/rexec.c (rexec_af): Avoid calling perror with errno being set.
1156 2001-04-07  Stephen L Moshier  <moshier@mediaone.net>
1158         * sysdeps/ieee754/ldbl-128/e_logl.c: Correct infinity and NaN
1159         return values.
1161 2001-04-07  Ulrich Drepper  <drepper@redhat.com>
1163         * stdlib/tst-setcontext.c (main): Add a test for setcontext.
1165         * sysdeps/unix/sysv/linux/i386/getcontext.S: New file.
1166         * sysdeps/unix/sysv/linux/i386/setcontext.S: New file.
1167         * sysdeps/unix/sysv/linux/i386/makecontext.S: New file.
1168         * sysdeps/unix/sysv/linux/i386/swapcontext.S: New file.
1169         * sysdeps/unix/sysv/linux/i386/ucontext_i.h: New file.
1170         * sysdeps/unix/sysv/linux/i386/Dist: Add ucontext_i.h.
1172 2001-04-07  Andreas Jaeger  <aj@suse.de>
1174         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Use sincos
1175         instead of separate sin and cos.
1176         (__ieee754_j1l): Likewise.
1178 2001-04-06  Ulrich Drepper  <drepper@redhat.com>
1180         * sysdeps/ia64/abort-instr.h: New file.  Code by David Mosberger.
1182         * sysdeps/ia64/atomicity.h: New file.  Copied from libstdc++.
1184         * sysdeps/i386/i486/atomicity.h: Clean up the asms.
1186         * sysdeps/generic/e_scalb.c: Don't use FE_INVALID unless it's
1187         available.
1188         * sysdeps/generic/e_scalbf.c: Likewise.
1189         * sysdeps/generic/e_scalbl.c: Likewise.
1190         Patch by Mark Hatle <fray@mvista.com>.
1192 2001-04-05  David S. Miller  <davem@redhat.com>
1194         * sysdeps/sparc/abort-instr.h: New file.
1196 2001-04-05  Matt Wilson  <msw@redhat.com>
1198         * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
1199         added code to parse new 2.4 format.
1200         (GET_NPROCS_CONF_PARSER): Likewise.
1202 2001-04-05  David S. Miller  <davem@redhat.com>
1204         * scripts/config.sub: Recognize sparcv9b like sparcv9.
1205         * configure.in: Add sparcv9b.
1206         * sysdeps/sparc/sparc32/sparcv9b/Implies: New file
1207         * sysdeps/sparc/sparc32/sparcv9b/memcpy.S: New file
1208         * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: New file
1210 2001-04-06  David Mosberger  <davidm@hpl.hp.com>
1212         * stdlib/tst-setcontext.c: Move st2[] to global scope.
1213         (f2): Verify that stack pointer is inside st2[].
1215         * sysdeps/unix/sysv/linux/ia64/getcontext.S: It helps to save r12.
1216         * sysdeps/unix/sysv/linux/ia64/setcontext.S: It helps to restore r12.
1218 2001-04-06  Ulrich Drepper  <drepper@redhat.com>
1220         * timezone/antarctica: Update from tzdata2001b.
1221         * timezone/asia: Likewise.
1222         * timezone/australasia: Likewise.
1223         * timezone/europe: Likewise.
1224         * timezone/northamerica: Likewise.
1226         * iconv/iconv_open.c: Move strip and upstr definitions...
1227         * iconv/gconv_charset.h: ...here.  New file.
1228         * iconv/gconv_db.c (once): Move to file level.
1229         (do_lookup_alias): Split out from __gconv_find_transform.
1230         (__gconv_find_transform): Call do_lookup_alias.
1231         (__gconv_loopup_alias): New function.
1232         * locale/langinfo.h: Define _NL_*_CODESET values for all categories
1233         but LC_CTYPE.
1234         * locale/categories.def: Add entries for new _NL_*_CODESET values.
1235         * locale/C-ctype.c: Use _nl_C_codeset to initialize CODESET entry.
1236         * locale/C-address.c: Initialize _NL_*_CODESET element.
1237         * locale/C-collate.c: Likewise.
1238         * locale/C-identification.c: Likewise.
1239         * locale/C-measurement.c: Likewise.
1240         * locale/C-messages.c: Likewise.
1241         * locale/C-monetary.c: Likewise.
1242         * locale/C-name.c: Likewise.
1243         * locale/C-numeric.c: Likewise.
1244         * locale/C-paper.c: Likewise.
1245         * locale/C-telephone.c: Likewise.
1246         * locale/C-time.c: Likewise.
1247         * locale/localeinfo.h: Declare _nl_C_codeset.
1248         * locale/C_name.c: Define _nl_C_codeset.
1249         * locale/findlocale.c: Before accepting locale check that the used
1250         charset does not conflict with what the locale name said.
1251         * locale/programs/ld-address.c: Emit codeset information.
1252         * locale/programs/ld-collate.c: Likewise.
1253         * locale/programs/ld-identification.c: Likewise.
1254         * locale/programs/ld-measurement.c: Likewise.
1255         * locale/programs/ld-messages.c: Likewise.
1256         * locale/programs/ld-monetary.c: Likewise.
1257         * locale/programs/ld-name.c: Likewise.
1258         * locale/programs/ld-numeric.c: Likewise.
1259         * locale/programs/ld-paper.c: Likewise.
1260         * locale/programs/ld-telephone.c: Likewise.
1261         * locale/programs/ld-time.c: Likewise.
1263         * localedata/tests-mbwc/tst_funcs.h (TST_HEAD_LOCALE): It is an error
1264         if the locale data couldn't be found.
1266         * string/Makefile: Define tst-strxfrm-ENV.
1268         * ysdeps/unix/sysv/linux/ia64/getcontext.S: Fix comment.
1270 2001-04-06  Andreas Jaeger  <aj@suse.de>
1272         * include/sys/profil.h: New file.
1274         * dlfcn/modatexit.c: Add prototypes to silence GCC.
1275         * dlfcn/modcxaatexit.c: Likewise.
1276         * elf/globalmod1.c: Likewise.
1278 2001-04-05  David S. Miller  <davem@redhat.com>
1280         * elf/elf.h (HWCAP_SPARC_ULTRA3): Define it.
1281         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Add it to
1282         capability flags table and HWCAP_IMPORTANT, increase
1283         _DL_HWCAP_COUNT to 6.
1284         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
1286 2001-04-04  David Mosberger  <davidm@hpl.hp.com>
1288         * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Fix
1289         initialization of stack_end (bug reported by Zheng Gengbin
1290         <gzheng@students.uiuc.edu>).
1292 2001-04-05  Ulrich Drepper  <drepper@redhat.com>
1294         * sysdeps/i386/fpu/libm-test-ulps: Relax errors for asinl.
1296 2001-04-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1298         * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: New file.
1300 2001-04-05  Ulrich Drepper  <drepper@redhat.com>
1302         * sysdeps/ieee754/ldbl-96/e_asinl.c: Correct handling of +-Inf.
1303         * sysdeps/i386/fpu/e_asinl.S: Removed.  Too inaccurate.
1305         * login/tst-utmp.c: Make file usable again in tst-utmpx.c.
1307 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
1309         * sysdeps/unix/sysv/aix/dl-libc.c: Don't use the ELF version,
1310         define simple replacements here.  Patch by Michael Keezer.
1312         * sysdeps/ieee754/ldbl-128/e_logl.c: New file.
1313         * sysdeps/ieee754/ldbl-96/e_asinl.c: New file.
1314         Contributed by Stephen L Moshier <moshier@mediaone.net>.
1316         * posix/fnmatch_loop.c: Undefine NEW_PATTERN when it is not used
1317         anymore.
1319 2001-04-01  Andreas Jaeger  <aj@suse.de>
1321         * sysdeps/generic/s_nextafter.c (NO_LONG_DOUBLE): Add nexttowardl
1322         alias.
1324         * sysdeps/generic/s_fma.c (NO_LONG_DOUBLE): Add fmal alias.
1326 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
1328         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Add ucontext_i.h.
1329         * sysdeps/unix/sysv/linux/s390/s390-32/Dist: Likewise.
1331 2001-04-04  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1333         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: New file.
1334         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: New file.
1335         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: New file.
1336         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: New file.
1337         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: New file.
1338         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: New file.
1339         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: New file.
1340         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: New file.
1341         * sysdeps/unix/sysv/linux/s390/swapcontext.c: New file.
1343 2001-04-04  Andreas Jaeger  <aj@suse.de>
1345         * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_NO_REL): Move to right
1346         place.
1348 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
1350         * sunrpc/rpc_scan.c (symbols): Add entry for HYPER.
1351         * sunrpc/rpc_scan.h (enum tok_kind): Add TOK_HYPER.
1352         * sunrpc/rpc_parse.c (get_type): Handle TOK_HYPER.
1353         (unsigned_dec): Likewise.
1354         Patch by atai@jezebel.dreamhost.com.
1356         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Pass
1357         pointer to int as last parameter of yp_match.
1358         Patch by kanazawa@flab.fujitsu.co.jp.
1360 2001-04-03  Ulrich Drepper  <drepper@redhat.com>
1362         * resolv/netdb.h (gai_strerror): Make return value const.
1363         * sysdeps/generic/gai_strerror.c (gai_strerror): Likewise.
1364         * sysdeps/posix/gai_strerror.c (gai_strerror): Likewise.
1365         Add strings for new error values.
1367 2001-03-29  Michael Keezer  <mkeezer@redhat.com>
1369         * posix/tst-gnuglob.c: Added ifdef _DIRENT_HAVE_D_TYPE.
1370         * login/tst-utmp.c: Handle case where ut_tv is not available but
1371         ut_time is.
1372         * sysdeps/unix/sysv/aix/utmpx.h: New file.
1373         * sysdeps/unix/sysv/aix/bits/utmpx.h: Added
1374         _HAVE_UT_TYPE/PID/ID/TV/HOST defines.
1375         * sysdeps/unix/sysv/aix/libc-start.c: Removed temp code and made stub.
1376         * sysdeps/unix/sysv/aix/gettimeofday.c: New file added routines
1377         to access RTCU timer reg.
1378         * sysdeps/unix/sysv/aix/Makefile: Remove /usr/lib/crt0.o
1379         added dl-libc, dl-open,dl-sym, dl-close to misc.
1380         * sysdeps/unix/sysv/aix/start.c: New file.  Start code.
1381         * sysdeps/unix/sysv/aix/dlldr.h: New file.  AIX __loadx defines.
1382         * sysdeps/unix/sysv/aix/dl-close.c: New file.  AIX dl-close.
1383         * sysdeps/unix/sysv/aix/dl-open.c: New file.  AIX dl-open.
1384         * sysdeps/unix/sysv/aix/dl-sym.c: New file.  AIX dl-sym.
1385         * sysdeps/unix/sysv/aix/dl-libc.c: New file.  libc_dl-xxx support.
1386         * sysdeps/generic/strtoll.c: Added SHLIB_COMPAT(libc,GLIBC_2_0,
1387         GLIBC_2_2).
1388         * sysdeps/generic/strtoull.c: Likewise.
1389         * sysdeps/powerpc/ppc-mcount.S: Added nop after bl instruction.
1390         * sysdeps/unix/sysv/aix/powerpc/memset.c: New file to include
1391         sysdeps/generic/memset.c.
1392         * sysdeps/unix/sysv/aix/getpeername.c: Define __getpeername.
1394 2001-04-03  Ulrich Drepper  <drepper@redhat.com>
1396         * iconv/Makefile (CFLAGS-charmap.c): Add -DNEED_NULL_POINTER.
1397         * locale/programs/charmap.c: Define null_pointer if
1398         NEED_NULL_POINTER is defined.
1400         * misc/dirname.c (dirname): Handle multiple slashes correctly.
1402 2001-04-03  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1404         * sysdeps/s390/s390-64/initfini.c: Fix __gmon_start__ GOT access.
1406 2001-04-03  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1408         * sysdeps/s390/s390-32/bcopy.S: Optimize for speed.
1409         * sysdeps/s390/s390-64/bcopy.S: Likewise.
1410         * sysdeps/s390/s390-32/mempcy.S: Likewise.
1411         * sysdeps/s390/s390-64/memcpy.S: Likewise.
1413 2001-04-02  Bruno Haible  <haible@clisp.cons.org>
1415         * manual/message.texi (Advanced gettext functions): More specific
1416         syntax in the plural formula examples.
1418 2001-04-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1420         * sysdeps/powerpc/atomicity.h: Silence warnings.
1421         * sysdeps/powerpc/dl-machine.h: Likewise.
1422         * sysdeps/powerpc/register-dump.h: Likewise.
1423         * sysdeps/powerpc/fpu/s_lrint.c: Likewise.
1425 2001-04-02  Andreas Jaeger  <aj@suse.de>
1427         * misc/tst-dirname.c (main): Add more tests, derived from a bug
1428         report by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
1430 2001-04-01  Andreas Jaeger  <aj@suse.de>
1432         * debug/xtrace.sh (pcprofileso): Use SLIBDIR since libpcprofile.so
1433         is installed there.
1434         * malloc/memusage.sh (memusageso): Likewise for libmemusage.so.
1436 2001-04-01  H.J. Lu  <hjl@gnu.org>
1438         * posix/annexc.c (macrofile): Renamed from TMPFILE and set to
1439         tmpnam (NULL).
1440         * stdlib/isomac.c (macrofile): Likewise.
1442 2001-03-30  Thorsten Kukuk  <kukuk@suse.de>
1444         * inet/rcmd.c: Allow AF_UNSPEC as parameter.
1445         * nis/ypclnt.c (yp_all): Print error message only at last try,
1446         check for protocoll error only if we don't have a network error.
1448 2001-04-02  Andreas Schwab  <schwab@suse.de>
1450         * resolv/res_data.c (res_isourserver): Fix cast.
1452 2001-04-02  Andreas Jaeger  <aj@suse.de>
1454         * sysdeps/unix/sysv/linux/hppa/umount.c: Add prototype for
1455         __umount2.
1457         * sysdeps/i386/dl-machine.h (RTLD_START): Don't use multi-line
1458         strings.
1459         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
1461         * sysdeps/ieee754/dbl-64/uroot.h: Add missing braces arount
1462         initializers.
1463         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Likewise.
1465         * elf/rtld.c (print_statistics)[!HP_TIMING_NONAVAIL]: Avoid
1466         warning about unused variable.
1468         * string/string.h (strndupa): Add cast for C++ conformance.
1469         (strdupa): Likewise.
1470         Fixes PR libc/2173, reported by tbrowder@home.com.
1472 2001-03-30  Roland McGrath  <roland@frob.com>
1474         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't append
1475         options after $(build-module), which is no longer a single command.
1476         (LDFLAGS-link-rpcuserlibs): New variable to hold those options.
1477         (LDFLAGS-libmachuser-link.so, LDFLAGS-libhurduser-link.so): New
1478         variables using it.  Reported by Mark Kettenis <kettenis@gnu.org>.
1480 2001-03-11  Roland McGrath  <roland@frob.com>
1482         * elf/rtld.c (dl_main): Add cast to quiet warning.
1483         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1484         * iconv/gconv_conf.c (__gconv_get_path): Likewise.
1485         (__gconv_read_conf): Likewise.
1486         * iconv/gconv_db.c (gen_steps): Likewise.
1487         (__gconv_find_transform): Likewise.
1488         * locale/programs/charmap-dir.c (fopen_uncompressed): Likewise.
1489         (fopen_uncompressed): Use const in second argument's type.
1491 2001-03-11  Roland McGrath  <roland@frob.com>
1493         * sysdeps/mach/hurd/dl-sysdep.c (__writev): New function.
1495         * mach/mach_error.h: Fix ancient #endif syntax.
1496         * hurd/hurdmalloc.c: Likewise.
1498         * sysdeps/generic/atomicity.h (exchange_and_add, atomic_add,
1499         compare_and_swap): Add volatile qualifier to first arg, to bring
1500         these prototypes in line with all the other implementations.
1501         Add a #warning to remind the builder that these are not atomic.
1503 2001-03-04  Roland McGrath  <roland@frob.com>
1505         * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Use innermore first
1506         member of TEMP_F so its type is _IO_FILE * as expected.
1508         * hurd/fopenport.c (seekio): Conditionalize type of POS argument
1509         on [USE_IN_LIBIO].  Check the value for overflow, since for libio
1510         it might exceed off_t's range.
1512 2001-02-25  Roland McGrath  <roland@frob.com>
1514         * sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): Use prototype.
1515         * sysdeps/unix/bsd/getpt.c (__posix_openpt): Likewise.
1517         * sysdeps/mach/hurd/i386/intr-msg.h (SYSCALL_EXAMINE): Make this a
1518         macro instead of an inline function,
1519         (MSG_EXAMINE): Likewise.
1521         * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): Remove extraneous ##.
1523         * hurd/get-host.c: Include <string.h> for decls of built-ins.
1524         * hurd/hurdchdir.c: Likewise.
1525         * sysdeps/mach/hurd/i386/sigreturn.c: Likweise.
1526         * sysdeps/mach/hurd/opendir.c: Likewise.
1528         * mach/mach_init.c: Include <unistd.h> for _exit decl.
1530         * mach/errsystems.awk: Give output file a trailing newline.
1532         * mach/Machrules (MIG): Prepend CC='${CC}' to the mig command, so that
1533         the script will use our compiler for the cpp stage.
1535         With --enable-all-warnings we get a whole bunch of warnings,
1536         and these are just a few fixes; there are more needed to silence it.
1537         * mach/mach/mig_support.h (__mig_strncpy, mig_strncpy): Add extern
1538         decls before extern inline defns to quiet gcc warning.
1539         * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp): Likewise.
1540         * sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Likewise.
1542 2001-03-31  Andreas Jaeger  <aj@suse.de>
1544         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWHDLC): Added.
1545         (ARPHRD_HDLC): Define as alias for ARPHRD_CISCO.
1546         (ARPHRD_CISCO): New.
1547         Changes from Linux 2.4.3.
1549 2001-03-30  Isamu Hasegawa  <isamu@yamato.ibm.com>
1551         * posix/regex.c: Avoid an access violation if malloc failes.
1553 2001-03-30  Andreas Jaeger  <aj@suse.de>
1555         * sysdeps/alpha/ldiv.S (ldiv): Add alias for imaxdiv.
1557 2001-03-29  Ulrich Drepper  <drepper@redhat.com>
1559         * posix/regex.c: Remove unnecessary ifs.
1561         * math/bits/mathcalls.h: Remove infnan declaration.
1563 2001-03-29  H.J. Lu  <hjl@gnu.org>
1565         * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF,
1566         and LOW_HALF only if _LIBC is defined and _ISOMAC is not defined.
1567         * stdlib/isomac.c (fmt): Define _LIBC and _ISOMAC.
1568         .
1569 2001-03-29  Isamu Hasegawa  <isamu@yamato.ibm.com>
1571         * posix/regex.c: Fix typo and add a sentinel.
1573 2001-03-29  Ulrich Drepper  <drepper@redhat.com>
1575         * sysdeps/unix/sysv/linux/shm_open.c: Open new file always with
1576         O_NOFOLLOW.  Suggested by Christoph Roland.
1578 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1580         * sysdeps/s390/bits/string.h: New unified 31/64 bit string.h.
1581         * sysdeps/s390/s390-32/bits/string.h: Remove.
1582         * sysdeps/s390/s390-64/bits/string.h: Remove.
1583         * sysdeps/s390/s390-32/strcmp.S: New file.
1584         * sysdeps/s390/s390-64/strcmp.S: New file.
1586 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1588         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix typo.
1589         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
1591 2001-03-27  Ulrich Drepper  <drepper@redhat.com>
1593         * version.h (VERSION): Bump to 2.2.3.
1595         * stdlib/isomac.c (fmt): Don't define _LIBC.
1596         * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF, and
1597         LOW_HALF only if _LIBC is defined.
1599         * sysdeps/i386/fpu/libm-test-ulps: Slight adjustment of yn() error.
1601         * posix/fnmatch_loop.c (FCT): Handle !() after * special like @()
1602         and +().
1603         * posix/tst-fnmatch.input: Add test cases for matching empty strings.
1605         * sysdeps/ieee754/dbl-64/endian.h: Removed.  Move definitions...
1606         * include/endian.h: ...to here.
1608 2001-03-27  kaz Kojima  <kkojima@rr.iij4u.or.jp>
1610         * sysdeps/sh/sys/ucontext.h (NFREG): Rename to NFPREG.
1611         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NFREG): Likewise.
1613 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1615         * sysdeps/unix/sysv/linux/s390/ldconfig.h: Fix typo.
1617 2001-03-26  Ulrich Drepper  <drepper@redhat.com>
1619         * sysdeps/ia64/fpu/Dist: Add new files to distribute.
1620         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Likewise.
1621         * sysdeps/unix/sysv/linux/ia64/Dist: Likewise.
1623         * gmon/Makefile (headers): Add sys/profil.h.
1625 2001-03-18  Andreas Jaeger  <aj@suse.de>
1627         * manual/install.texi (Tools for Compilation): Advise to use GCC
1628         2.95.3.
1629         (Supported Configurations): Mention s390x.
1631 2001-03-26  Ben Collins  <bcollins@debian.org>
1633         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Add MAP_* and MADV_*
1634         defines to match other architectures.
1636 2001-03-26  Ulrich Drepper  <drepper@redhat.com>
1638         * libio/Makefile (tests): Add tst-ext.
1639         * libio/tst-ext.c: New file.
1641         * libio/iosetvbuf.c (_IO_setvbuf): Clear line buffer flag for _IONBF.
1643 2001-03-25  Ulrich Drepper  <drepper@redhat.com>
1645         Add changes which were in this form in the original patch by
1646         Eric Norum <eric.norum@usask.ca>.
1647         * include/rpc/rpc.h: Remove svc_fdset, rpc_createerr, svc_pollfd, and
1648         svc_max_pollfd.
1649         * sunrpc/rpc/rpc.h: Declare __rpc_thread_svc_fdset,
1650         __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
1651         __rpc_thread_svc_max_pollfd.
1652         Define svc_fdset, get_rpc_createerr, svc_pollfd, and
1653         svc_max_pollfd.
1654         * sunrpc/rpc_thread.c: Handle first thread special, it uses the
1655         global variables.
1656         Define __rpc_thread_svc_fdset, __rpc_thread_createerr,
1657         __rpc_thread_svc_pollfd, and __rpc_thread_svc_max_pollfd.
1658         * sunrpc/Versions [libc] (GLIBC_2.2.3): Export  __rpc_thread_svc_fdset,
1659         __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
1660         __rpc_thread_svc_max_pollfd.
1661         * sunrpc/clnt_gen.c: Replace use of rpc_createerr by call to
1662         get_rpc_createerr.
1663         * sunrpc/clnt_perr.c: Likewise.
1664         * sunrpc/clnt_simp.c: Likewise.
1665         * sunrpc/clnt_tcp.c: Likewise.
1666         * sunrpc/clnt_udp.c: Likewise.
1667         * sunrpc/clnt_unix.c: Likewise.
1668         * sunrpc/pm_getport.c: Likewise.
1670         * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): getgroups32
1671         syscall checks for negative n so don't test here as well.
1673 2001-03-23  Jes Sorensen  <jes@linuxcare.com>
1675         * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Moved to ...
1676         * sysdeps/ia64/sysdep.h: ...here.
1678         * sysdeps/ia64/sysdep.h (LOCAL_ENTRY): Define.
1679         * sysdeps/ia64/sysdep.h (LOCAL_LEAF): Define.
1681         * sysdeps/ia64/_mcount.S (_mcount_ret_helper): Use LOCAL_LEAF() to
1682         declare instead of LEAF().  Suggestion from David Mosberger.
1684 2001-03-21  David Mosberger  <davidm@hpl.hp.com>
1686         * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Add unwind
1687         directives.
1688         (PSEUDO): Drop .psr and .lsb directives.
1690         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Ditto.  Add unwind
1691         directives.
1692         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Ditto.
1694         * sysdeps/ia64/elf/start.S: Misc cleanup: remove .psr and .lsb
1695         directives etc.
1696         * sysdeps/unix/sysv/linux/ia64/brk.S: Ditto.
1697         * sysdeps/unix/sysv/linux/ia64/__longjmp.S: Ditto.
1698         * sysdeps/ia64/_mcount.S: Remove .psr and .lsb directives (no
1699         longer needed).  Add unwind directives.
1701         * sysdeps/ia64/sysdep.h: Define ASM_UNW_PRLG_RP, ASM_UNW_PRLG_PFS,
1702         ASM_UNW_PRLG_PSP, ASM_UNW_PRLG_PR, and ASM_UNW_PRLG_GRSAVE.
1704 2001-03-21  Paul Eggert  <eggert@twinsun.com>
1706         * posix/regex.h (RE_INVALID_INTERVAL_ORD): New macro.
1707         (RE_SYNTAX_POSIX_EGREP): Use it.
1708         * posix/regex.c (regex_compile): Implement it.
1710 2001-03-21  Paul Eggert  <eggert@twinsun.com>
1712         * posix/regex.c (GET_UNSIGNED_NUMBER): Check for overflow.
1713         Rewrite to avoid duplicate code.
1715 2001-03-21  H.J. Lu  <hjl@gnu.org>
1717         * elf/Makefile (tests): Don't depend on $(objpfx)tst-pathopt.out
1718         for cross-compiling.
1719         ($(objpfx)tst-pathopt.out): Undo the last change.
1721 2001-03-24  Mark Kettenis  <kettenis@gnu.org>
1723         * sysdeps/mach/hurd/i386/bits/sigcontext.h (sc_sp, sc_fp, sc_pc,
1724         sc_ps): Define as aliases for sc_uesp, sc_ebl, sc_eip and sc_efl.
1726         * sysdeps/mach/hurd/i386/init-first.c: Include <assert.h>.
1727         (_dl_argv): Declare.
1728         (init) [SHARED]: Readjust _dl_argv if we switched to a new stack.
1730 2001-03-22  Andreas Jaeger  <aj@suse.de>
1732         * iconvdata/Makefile (generated): Add iconv-test.xxx.
1734         * posix/Makefile (generated): Add bug-regex2.mtrace and
1735         bug-regex2-mem.
1737 2001-03-21  Ulrich Drepper  <drepper@redhat.com>
1739         * csu/version.c (__gnu_get_libc_release): Add prototype.
1740         (__gnu_get_libc_version): Likewise.
1741         * include/gnu/libc-version.h: Remove prototypes for not exported
1742         functions.
1744 2001-03-21  Jes Sorensen  <jes@linuxcare.com>
1746         * sysdeps/unix/sysv/linux/ia64/makecontext.c: Include libintl.h
1747         for internationalized printfs to work.
1749 2001-03-09  Bruno Haible  <haible@clisp.cons.org>
1751         * intl/dcigettext.c (transmem_block_t): Change to unsigned char, to
1752         avoid compiler warning.
1753         (_nl_find_msg): Add casts to avoid compiler warnings.
1755 2001-03-21  Ulrich Drepper  <drepper@redhat.com>
1757         * gmon/Makefile (routines): Add sprofil.
1758         (tests): Add tst-sprofil.
1759         (noprof): Add sprofil.
1760         * gmon/Versions [libc] (GLIBC_2.2.3): Add sprofil.
1762 2001-03-20  David Mosberger  <davidm@hpl.hp.com>
1764         * sysdeps/generic/sprofil.c: New file.
1765         * sysdeps/posix/sprofil.c: New file.
1766         * gmon/tst-sprofil.c: New file.
1767         * gmon/sys/profil.h: New file.
1769 2001-03-20  Andreas Schwab  <schwab@suse.de>
1771         * include/unistd.h: Adjust prototype of __gethostname.
1773 2001-03-20  Jakub Jelinek  <jakub@redhat.com>
1775         * sysdeps/sparc/stackinfo.h: New file.
1777 2001-03-21  Andreas Jaeger  <aj@suse.de>
1779         * elf/global.c (main): Use proper prototype.
1781 2001-03-20  Ulrich Drepper  <drepper@redhat.com>
1783         * sunrpc/Makefile (routines): Add rpc_thread.
1784         (CPPFLAGS): Add -D_RPC_THREAD_SAFE.
1785         * sunrpc/rpc_thread.c: New file.
1786         * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_destroy.
1787         * sunrpc/auth_none.c: Don't use global variables.  Access state in
1788         thread-local storage.
1789         * sunrpc/clnt_perr.c: Likewise.
1790         * sunrpc/clnt_raw.c: Likewise.
1791         * sunrpc/clnt_simp.c: Likewise.
1792         * sunrpc/key_call.c: Likewise.
1793         * sunrpc/rpc_common.c: Likewise.
1794         * sunrpc/svc.c: Likewise.
1795         * sunrpc/svc_raw.c: Likewise.
1796         * sunrpc/svc_simple.c: Likewise.
1797         * sunrpc/svcauth_des.c: Likewise.
1798         * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
1799         _HURD_THREADVAR_RPC_VARS.
1800         * sysdeps/generic/bits/libc-tsd.h: Mention _LIBC_TSD_KEY_RPC_VARS.
1801         * include/rpc/rpc.h: Define data structures for internal thread-local
1802         "global" variables.
1803         Based on patches by Eric Norum <eric.norum@usask.ca>.
1805         * elf/dl-load.c: Various little optimizations.
1807         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Return
1808         LINUX_LINK_MAX only if the statfs function is not implemented for
1809         the filesystem.
1811         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Return
1812         LINUX_LINK_MAX only if the fstatfs function is not implemented for
1813         the filesystem.
1815 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
1817         * elf/dl-dst.h (DL_DST_COUNT): Add __builtin_expect.
1819         * elf/dl-load.c (_dl_dst_count): Make DST recognition more robust.
1820         (_dl_dst_substitute): Likewise.
1822 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
1824         * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC]: Use fstat, not fstat64.
1826 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
1828         * intl/gettextP.h (struct expression): Add operators lnot, less_than,
1829         greater_than, less_or_equal, greater_or_equal. Replace args2/args3
1830         union by a 'nargs' counter and an 'args[]' array.
1831         * intl/plural.y: Don't include stdarg.h.
1832         (new_exp): Take an array of arguments instead of varargs.
1833         (new_exp_0, new_exp_1, new_exp_2, new_exp_3): New functions.
1834         ('?' ':'): Make right-associative.
1835         (EQUOP2): New token, replaces '=' and '!'.
1836         (CMPOP2): New token.
1837         (ADDOP2): New token, replaces '+' and '-'.
1838         (MULOP2): New token, replaces '*', '/' and '%'.
1839         ('!'): New token.
1840         (exp): Add rules for CMPOP2 and '!'. Don't call YYABORT.
1841         (start): Call YYABORT here.
1842         (FREE_EXPRESSION): Update.
1843         (yylex): Don't skip "\\n". Recognize comparison and '!' operators.
1844         Update for new token symbols.
1845         * intl/loadmsgcat.c (plvar, plone, germanic_plural,
1846         init_germanic_plural): Update.
1847         * intl/dcigettext.c (_nl_find_msg): Optimize for space.
1848         (plural_eval): Recognize comparison and '!' operators. Optimize for
1849         space.
1851 2001-03-10  Bruno Haible  <haible@clisp.cons.org>
1853         * intl/loadmsgcat.c (_nl_load_domain): locale_charset() doesn't return
1854         NULL any more.
1856 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
1858         * intl/loadmsgcat.c: Include headers needed for alloca().
1859         (freea): New macro.
1860         (_nl_load_domain): Add fallback code for platforms lacking alloca.
1861         * intl/localealias.c: (ADD_BLOCK, FREE_BLOCK): Remove macros.
1862         (freea): New macro.
1863         (read_alias_file): Simplify fallback code for platforms lacking
1864         alloca.
1866 2001-01-07  Bruno Haible  <haible@clisp.cons.org>
1868         * intl/gettextP.h (__gettextdebug): Remove declaration.
1869         (__gettext_free_exp, __gettextparse): Convert prototype to K&R C
1870         syntax.
1871         (gettext_free_exp__, gettextparse__): New non-libc declarations.
1872         * intl/plural.y [!_LIBC]: Define gettextparse__, gettext_free_exp__,
1873         not __gettextparse, __gettext_free_exp.
1874         * intl/loadmsgcat.c [!_LIBC]: Use gettextparse__, not __gettextparse.
1876 2001-02-24  Bruno Haible  <haible@clisp.cons.org>
1878         * intl/dcigettext.c: Update comment about HAVE_LOCALE_NULL.
1880 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
1882         * intl/loadmsgcat.c (_nl_load_domain): Add fallback code for platforms
1883         lacking strtoul, like SunOS4.
1885 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
1887         * intl/l10nflist.c (_nl_normalize_codeset): Use tolower, not _tolower.
1889 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
1891         * intl/bindtextdom.c (set_binding_values): Convert prototype to K&R C
1892         syntax.
1893         * intl/dcigettext.c (transcmp): Convert to K&R C syntax.
1894         * intl/explodename.c (_nl_find_language): Convert to K&R C syntax.
1895         * intl/plural.y (__gettext_free_exp, yylex, yyerror): Convert to K&R C
1896         syntax.
1898 2001-01-07  Bruno Haible  <haible@clisp.cons.org>
1900         * intl/gettextP.h (gettext__, dgettext__, dcgettext__, textdomain__,
1901         bindtextdomain__, bind_textdomain_codeset__): New declarations, from
1902         old libgettext.h.
1903         * intl/bindtextdom.c: Include libgnuintl.h instead of libgettext.h.
1904         * intl/dcgettext.c: Likewise.
1905         * intl/dcigettext.c: Likewise.
1906         * intl/dcngettext.c: Likewise.
1907         * intl/dngettext.c: Likewise.
1908         * intl/finddomain.c: Likewise.
1909         * intl/ngettext.c: Likewise.
1910         * intl/textdomain.c: Likewise.
1911         * intl/dgettext.c: Include libgnuintl.h instead of libgettext.h.
1912         Include gettextP.h.
1913         * intl/gettext.c: Likewise.  Don't include locale.h.
1915 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
1917         * intl/gettextP.h (ZERO): New macro.
1918         (struct binding): Always use ZERO.
1919         * intl/bindtextdom.c (offsetof): Provide fallback for platforms that
1920         lack it, like SunOS4.
1921         (set_binding_values): Use offsetof, not sizeof.
1922         * intl/dcigettext.c (offsetof): Provide fallback for platforms that
1923         lack it, like SunOS4.
1924         (ZERO): Remove macro.
1925         (struct transmem_list): Use ZERO.
1926         (DCIGETTEXT): Use offsetof, not sizeof.
1928 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
1930         * intl/gettextP.h: Include <stddef.h>. Include gettext.h, for
1931         nls_uint32.
1932         * intl/bindtextdom.c: Don't include gettext.h.
1933         * intl/dcgettext.c: Likewise.
1934         * intl/dcigettext.c: Likewise.
1935         * intl/dcngettext.c: Likewise.
1936         * intl/dngettext.c: Likewise.
1937         * intl/finddomain.c: Likewise.
1938         * intl/localealias.c: Likewise.
1939         * intl/ngettext.c: Likewise.
1940         * intl/plural.y: Likewise.
1941         * intl/textdomain.c: Likewise.
1943 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
1945         * intl/gettext.h: Don't include <stdio.h>.
1947 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
1949         * intl/Makefile (CPPFLAGS): Set LOCALEDIR instead of GNULOCALEDIR.
1950         * intl/dcigettext.c (_nl_default_dirname): Initialize with LOCALEDIR.
1952 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
1954         * sysdeps/unix/i386/i686/tempname.c: New file.
1956         * sysdeps/posix/tempname.c (__gen_tempname): If RANDOM_BITS is
1957         defined use this macro to get some bits of randomness instead of
1958         the usual gettimeofday or time calls.
1960 2001-03-16  Paul Eggert  <eggert@twinsun.com>
1962         * sysdeps/posix/tempname.c (uint64_t): Define to uintmax_t if
1963         not defined, and if UINT64_MAX is not defined.
1965 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
1967         * elf/cache.c: Mark and have translated a few more messages.
1969 2001-03-19  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1971         * elf/cache.c: Add case for FLAG_S390_LIB64.
1972         * sysdeps/generic/ldconfig.h: Add define for FLAG_S390_LIB64.
1973         * sysdeps/unix/sysv/linux/s390/ldconfig.h: New file.
1974         * sysdeps/unix/sysv/linux/s390/readelflib.c: New file.
1976 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
1978         * string/Makefile (tests): Add tst-strxfrm.
1979         * string/tst-strxfrm.c: New file.  Based on a test case by Paul Eggert.
1980         * string/Depend: New file.
1982 2001-03-19  Paul Eggert  <eggert@twinsun.com>
1984         * string/strxfrm.c (strxfrm): strxfrm should return 0, not 1,
1985         when given the empty string in nontrivial locales.
1987 2001-03-17  H.J. Lu  <hjl@gnu.org>
1989         * manual/Makefile (install): Use $(INSTALL_DATA) instead of
1990         cp to install `dir'.
1992 2001-03-19  Andreas Schwab  <schwab@suse.de>
1994         * Makerules (build-shlib): Make sure exit codes get checked
1995         properly.
1997 2001-03-18  Ulrich Drepper  <drepper@redhat.com>
1999         * Makerules (build-shlib): Remove unnecessary slashes introduced in
2000         last change.
2002         * configure.in: Test for -Bgroup option of linker.
2003         * config.make.in: Define have-Bgroup.
2005         * conform/data/unistd.h-data: Require gethostname.
2006         * posix/unistd.h: Make gethostname prototype available for
2007         __USE_XOPEN2K.
2009         * crypt/Makefile: When generating DSO link with libc_nonshared.a.
2010         * debug/Makefile: Likewise.
2011         * dlfcn/Makefile: Likewise.
2012         * hesiod/Makefile: Likewise.
2013         * iconvdata/extra-module.mk: Likewise.
2014         * locale/Makefile: Likewise.
2015         * login/Makefile: Likewise.
2016         * math/Makefile: Likewise.
2017         * nis/Makefile: Likewise.
2018         * nss/Makefile: Likewise.
2019         * resolv/Makefile: Likewise.
2020         * rt/Makefile: Likewise.
2022 2001-03-17  Ulrich Drepper  <drepper@redhat.com>
2024         * inet/Makefile (tests): Remove left-over comment.
2026         * posix/unistd.h (gethostname): Change type of second parameter
2027         back to size_t as per upcoming XPG6.
2028         * sysdeps/unix/sysv/aix/gethostname.c: Change type of second
2029         parameter back to size_t as per upcoming XPG6.
2030         * sysdeps/unix/sysv/sysv4/gethostname.c: Likewise.
2031         * sysdeps/unix/sysv/gethostname.c: Likewise.
2032         * sysdeps/mach/hurd/gethostname.c: Likewise.
2033         * sysdeps/generic/gethostname.c: Likewise.
2035 2001-03-16  Ulrich Drepper  <drepper@redhat.com>
2037         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
2038         Handle NaN here.
2040         * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext):
2041         Internationalize.
2043 2001-02-06  Jakub Jelinek  <jakub@redhat.com>
2045         * elf/dl-load.c (_dl_map_object): Don't test l_opencount when
2046         looking for name matches.
2048 2001-02-26  Jakub Jelinek  <jakub@redhat.com>
2050         * sysdeps/generic/sigcontextinfo.h (CALL_SIGHANDLER): Define.
2051         * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
2052         * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
2053         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
2054         * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
2055         * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
2056         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
2057         * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
2058         * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
2059         * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
2060         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
2061         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
2063 2001-03-16  Ulrich Drepper  <drepper@redhat.com>
2065         * sysdeps/ieee754/ldbl-96/s_erfl.c: New file.
2066         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
2068         * sysdeps/i386/fpu/libm-test-ulps: Adjust for addition of erfl and
2069         erfcl.
2070         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2072 2001-03-16  David Mosberger  <davidm@hpl.hp.com>
2074         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
2075         Drop hack that was needed for 2.1.1 kernel headers.
2077         * sysdeps/unix/sysv/linux/ia64/ucontext_i.h: New file.
2079         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Rewrite to make it
2080         overlay with kernel's "struct sigcontext".
2082         * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep_headers): Add
2083         sys/rse.h for "misc" subdir.
2084         (sysdep_routines): Add __start_context for "stdlib" subdir.
2086         * sysdeps/unix/sysv/linux/ia64/sys/rse.h: New file (based on
2087         kernel file of the same name).
2089         * stdlib/Makefile (tests): Add tst-setcontext.
2090         * stdlib/tst-setcontext.c: New file (based on a sample program by
2091         Uli Drepper).
2093         * sysdeps/unix/sysv/linux/ia64/setcontext.S: New file.
2094         * sysdeps/unix/sysv/linux/ia64/getcontext.S: New file.
2095         * sysdeps/unix/sysv/linux/ia64/__start_context.S: New file.
2096         * sysdeps/unix/sysv/linux/ia64/makecontext.c: New file.
2097         * sysdeps/unix/sysv/linux/ia64/swapcontext.c: New file.
2099         * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): Use extr.u
2100         instead of shift & and.
2102 2001-03-16  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2104         * sysdeps/s390/s390-64/bits/huge_val.h: Move to...
2105         * sysdeps/s390/bits/huge_val.h: ...here.
2106         * sysdeps/s390/s390-32/bit/huge_val.h: Remove.
2107         * sysdeps/s390/s390-64/ffs.c: Move to...
2108         * sysdeps/s390/ffs.c: ...here.
2109         * sysdeps/s390/s390-32/ffs.c: Remove.
2111 2001-03-16  Jakub Jelinek  <jakub@redhat.com>
2113         * elf/ldconfig.c (search_dir): Remove bogus diagnostic, instead
2114         update osversion from more recent library.
2116 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2118         * sysdeps/unix/sysv/linux/s390/Dist: Move to...
2119         * sysdeps/unix/sysv/linux/s390/s390-32/Dist: ...here.
2120         * sysdeps/unix/sysv/linux/s390/Makefile: Move to...
2121         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: ...here.
2122         * sysdeps/unix/sysv/linux/s390/Versions: Move to...
2123         * sysdeps/unix/sysv/linux/s390/s390-32/Versions: ...here.
2124         * sysdeps/unix/sysv/linux/s390/alphasort64.c: Move to...
2125         * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: ...here.
2126         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Move to...
2127         * sysdeps/unix/sysv/linux/s390/s390-32/bits/fcntl.h: ...here.
2128         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Move to...
2129         * sysdeps/unix/sysv/linux/s390/s390-32/bits/mman.h: ...here.
2130         * sysdeps/unix/sysv/linux/s390/bits/resource.h: Move to...
2131         * sysdeps/unix/sysv/linux/s390/s390-32/bits/resource.h: ...here.
2132         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Move to...
2133         * sysdeps/unix/sysv/linux/s390/s390-32/bits/stat.h: ...here.
2134         * sysdeps/unix/sysv/linux/s390/chown.c: Move to...
2135         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: ...here.
2136         * sysdeps/unix/sysv/linux/s390/clone.S: Move to...
2137         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: ...here.
2138         * sysdeps/unix/sysv/linux/s390/fchown.c: Move to...
2139         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: ...here.
2140         * sysdeps/unix/sysv/linux/s390/fcntl.c: Move to...
2141         * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: ...here.
2142         * sysdeps/unix/sysv/linux/s390/fxstat.c: Move to...
2143         * sysdeps/unix/sysv/linux/s390/s390-32/fxstat.c: ...here.
2144         * sysdeps/unix/sysv/linux/s390/getdents64.c: Move to...
2145         * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: ...here.
2146         * sysdeps/unix/sysv/linux/s390/getegid.c: Move to...
2147         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: ...here.
2148         * sysdeps/unix/sysv/linux/s390/geteuid.c: Move to...
2149         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: ...here.
2150         * sysdeps/unix/sysv/linux/s390/getgid.c: Move to...
2151         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: ...here.
2152         * sysdeps/unix/sysv/linux/s390/getgroups.c: Move to...
2153         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: ...here.
2154         * sysdeps/unix/sysv/linux/s390/getresgid.c: Move to...
2155         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: ...here.
2156         * sysdeps/unix/sysv/linux/s390/getresuid.c: Move to...
2157         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: ...here.
2158         * sysdeps/unix/sysv/linux/s390/getrlimit.c: Move to...
2159         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: ...here.
2160         * sysdeps/unix/sysv/linux/s390/getrlimit64.c: Move to...
2161         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: ...here.
2162         * sysdeps/unix/sysv/linux/s390/getuid.c: Move to...
2163         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: ...here.
2164         * sysdeps/unix/sysv/linux/s390/lchown.c: Move to...
2165         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: ...here.
2166         * sysdeps/unix/sysv/linux/s390/lockf64.c: Move to...
2167         * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: ...here.
2168         * sysdeps/unix/sysv/linux/s390/lxstat.c: Move to...
2169         * sysdeps/unix/sysv/linux/s390/s390-32/lxstat.c: ...here.
2170         * sysdeps/unix/sysv/linux/s390/mmap.S: Move to...
2171         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: ...here.
2172         * sysdeps/unix/sysv/linux/s390/mmap64.S: Move to...
2173         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: ...here.
2174         * sysdeps/unix/sysv/linux/s390/msgctl.c: Move to...
2175         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: ...here.
2176         * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: Move to...
2177         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: ...here.
2178         * sysdeps/unix/sysv/linux/s390/readdir64.c: Move to...
2179         * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: ...here.
2180         * sysdeps/unix/sysv/linux/s390/readdir64_r.c: Move to...
2181         * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: ...here.
2182         * sysdeps/unix/sysv/linux/s390/register-dump.h: Move to...
2183         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: ...here.
2184         * sysdeps/unix/sysv/linux/s390/scandir64.c: Move to...
2185         * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: ...here.
2186         * sysdeps/unix/sysv/linux/s390/semctl.c: Move to...
2187         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: ...here.
2188         * sysdeps/unix/sysv/linux/s390/setegid.c: Move to...
2189         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: ...here.
2190         * sysdeps/unix/sysv/linux/s390/seteuid.c: Move to...
2191         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: ...here.
2192         * sysdeps/unix/sysv/linux/s390/setfsgid.c: Move to...
2193         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: ...here.
2194         * sysdeps/unix/sysv/linux/s390/setfsuid.c: Move to...
2195         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: ...here.
2196         * sysdeps/unix/sysv/linux/s390/setgid.c: Move to...
2197         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: ...here.
2198         * sysdeps/unix/sysv/linux/s390/setgroups.c: Move to...
2199         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: ...here.
2200         * sysdeps/unix/sysv/linux/s390/setregid.c: Move to...
2201         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: ...here.
2202         * sysdeps/unix/sysv/linux/s390/setresgid.c: Move to...
2203         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: ...here.
2204         * sysdeps/unix/sysv/linux/s390/setresuid.c: Move to...
2205         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: ...here.
2206         * sysdeps/unix/sysv/linux/s390/setreuid.c: Move to...
2207         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: ...here.
2208         * sysdeps/unix/sysv/linux/s390/setrlimit.c: Move to...
2209         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: ...here.
2210         * sysdeps/unix/sysv/linux/s390/setuid.c: Move to...
2211         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: ...here.
2212         * sysdeps/unix/sysv/linux/s390/shmctl.c: Move to...
2213         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: ...here.
2214         * sysdeps/unix/sysv/linux/s390/socket.S: Move to...
2215         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: ...here.
2216         * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Move to...
2217         * sysdeps/unix/sysv/linux/s390/s390-32/sys/procfs.h: ...here.
2218         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Move to...
2219         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: ...here.
2220         * sysdeps/unix/sysv/linux/s390/syscall.S: Move to...
2221         * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: ...here.
2222         * sysdeps/unix/sysv/linux/s390/syscalls.list: Move to...
2223         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: ...here.
2224         * sysdeps/unix/sysv/linux/s390/sysdep.S: Move to...
2225         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: ...here.
2226         * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
2227         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here.
2228         * sysdeps/unix/sysv/linux/s390/versionsort64.c: Move to...
2229         * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: ...here.
2230         * sysdeps/unix/sysv/linux/s390/xstat.c: Move to...
2231         * sysdeps/unix/sysv/linux/s390/s390-32/xstat.c: ...here.
2233 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2235         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: New file.
2236         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: New file.
2237         * sysdeps/unix/sysv/linux/s390/s390-64/bits/elfclass.h: New file.
2238         * sysdeps/unix/sysv/linux/s390/s390-64/bits/fcntl.h: New file.
2239         * sysdeps/unix/sysv/linux/s390/s390-64/bits/ipc.h: New file.
2240         * sysdeps/unix/sysv/linux/s390/s390-64/bits/mman.h: New file.
2241         * sysdeps/unix/sysv/linux/s390/s390-64/bits/msq.h: New file.
2242         * sysdeps/unix/sysv/linux/s390/s390-64/bits/resource.h: New file.
2243         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sem.h: New file.
2244         * sysdeps/unix/sysv/linux/s390/s390-64/bits/shm.h: New file.
2245         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: New file.
2246         * sysdeps/unix/sysv/linux/s390/s390-64/bits/siginfo.h: New file.
2247         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigstack.h: New file.
2248         * sysdeps/unix/sysv/linux/s390/s390-64/bits/stat.h: New file.
2249         * sysdeps/unix/sysv/linux/s390/s390-64/bits/types.h: New file.
2250         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: New file.
2251         * sysdeps/unix/sysv/linux/s390/s390-64/fstatfs64.c: New file.
2252         * sysdeps/unix/sysv/linux/s390/s390-64/ftruncate64.c: New file.
2253         * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: New file.
2254         * sysdeps/unix/sysv/linux/s390/s390-64/fxstat64.c: New file.
2255         * sysdeps/unix/sysv/linux/s390/s390-64/getdents.c: New file.
2256         * sysdeps/unix/sysv/linux/s390/s390-64/getdents64.c: New file.
2257         * sysdeps/unix/sysv/linux/s390/s390-64/getrlimit64.c: New file.
2258         * sysdeps/unix/sysv/linux/s390/s390-64/glob.c: New file.
2259         * sysdeps/unix/sysv/linux/s390/s390-64/glob64.c: New file.
2260         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: New file.
2261         * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: New file.
2262         * sysdeps/unix/sysv/linux/s390/s390-64/lxstat64.c: New file.
2263         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: New file.
2264         * sysdeps/unix/sysv/linux/s390/s390-64/mmap64.c: New file.
2265         * sysdeps/unix/sysv/linux/s390/s390-64/pread64.c: New file.
2266         * sysdeps/unix/sysv/linux/s390/s390-64/pwrite64.c: New file.
2267         * sysdeps/unix/sysv/linux/s390/s390-64/readdir.c: New file.
2268         * sysdeps/unix/sysv/linux/s390/s390-64/readdir64.c: New file.
2269         * sysdeps/unix/sysv/linux/s390/s390-64/readdir64_r.c: New file.
2270         * sysdeps/unix/sysv/linux/s390/s390-64/readdir_r.c : New file.
2271         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: New file.
2272         * sysdeps/unix/sysv/linux/s390/s390-64/setrlimit64.c: New file.
2273         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: New file.
2274         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: New file.
2275         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c: New file.
2276         * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: New file.
2277         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: New file.
2278         * sysdeps/unix/sysv/linux/s390/s390-64/statfs64.c: New file.
2279         * sysdeps/unix/sysv/linux/s390/s390-64/sys/procfs.h: New file.
2280         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: New file.
2281         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: New file.
2282         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: New file.
2283         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: New file.
2284         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: New file.
2285         * sysdeps/unix/sysv/linux/s390/s390-64/truncate64.c: New file.
2286         * sysdeps/unix/sysv/linux/s390/s390-64/xstat.c: New file.
2287         * sysdeps/unix/sysv/linux/s390/s390-64/xstat64.c: New file.
2289 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2291         * sysdeps/s390/Dist: Move to...
2292         * sysdeps/s390/390-32/Dist: ...here.
2293         * sysdeps/s390/Implies: Move to...
2294         * sysdeps/s390/s390-32/Implies: ...here.
2295         * sysdeps/s390/Makefile: Move to...
2296         * sysdeps/s390/s390-32/Makefile: ...here.
2297         * sysdeps/s390/Versions: Move to...
2298         * sysdeps/s390-32/s390/Versions: ...here.
2299         * sysdeps/s390/add_n.S: Move to...
2300         * sysdeps/s390/s390-32/add_n.S: ...here.
2301         * sysdeps/s390/addmul_1.S: Move to...
2302         * sysdeps/s390/s390-32/addmul_1.S: ...here.
2303         * sysdeps/s390/atomicity.h: Move to...
2304         * sysdeps/s390/s390-32/atomicity.h: ...here.
2305         * sysdeps/s390/backtrace.c: Move to...
2306         * sysdeps/s390/s390-32/backtrace.c: ...here.
2307         * sysdeps/s390/bcopy.S: Move to...
2308         * sysdeps/s390/s390-32/bcopy.S: ...here.
2309         * sysdeps/s390/bits/byteswap.h: Move to...
2310         * sysdeps/s390/s390-32/bits/byteswap.h: ...here.
2311         * sysdeps/s390/bits/huge_val.h: Move to...
2312         * sysdeps/s390/s390-32/bits/huge_val.h: ...here.
2313         * sysdeps/s390/bsd-_setjmp.S: Move to...
2314         * sysdeps/s390/s390-32/bsd-_setjmp.S: ...here.
2315         * sysdeps/s390/bsd-setjmp.S: Move to...
2316         * sysdeps/s390/s390-32/bsd-setjmp.S: ...here.
2317         * sysdeps/s390/bzero.S: Move to...
2318         * sysdeps/s390/s390-32/bzero.S: ...here.
2319         * sysdeps/s390/elf/bsd-_setjmp.S: Move to...
2320         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: ...here.
2321         * sysdeps/s390/elf/bsd-setjmp.S: Move to...
2322         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: ...here.
2323         * sysdeps/s390/elf/start.S: Move to...
2324         * sysdeps/s390/s390-32/elf/start.S: ...here.
2325         * sysdeps/s390/ffs.c: Move to...
2326         * sysdeps/s390/s390-32/ffs.c: ...here.
2327         * sysdeps/s390/memchr.S: Move to...
2328         * sysdeps/s390/s390-32/memchr.S: ...here.
2329         * sysdeps/s390/memcpy.S: Move to...
2330         * sysdeps/s390/s390-32/memcpy.S: ...here.
2331         * sysdeps/s390/memset.S: Move to...
2332         * sysdeps/s390/s390-32/memset.S: ...here.
2333         * sysdeps/s390/mul_1.S: Move to...
2334         * sysdeps/s390/s390-32/mul_1.S: ...here.
2335         * sysdeps/s390/s390-mcount.S: Move to...
2336         * sysdeps/s390/s390-32/s390-mcount.S: ...here.
2337         * sysdeps/s390/strcpy.S: Move to...
2338         * sysdeps/s390/s390-32/strcpy.S: ...here.
2339         * sysdeps/s390/strncpy.S: Move to...
2340         * sysdeps/s390/s390-32/strncpy.S: ...here.
2341         * sysdeps/s390/sub_n.S: Move to...
2342         * sysdeps/s390/s390-32/sub_n.S: ...here.
2344 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2346         * sysdeps/s390/s390-64/Dist: New file.
2347         * sysdeps/s390/s390-64/Implies: New file.
2348         * sysdeps/s390/s390-64/Makefile: New file.
2349         * sysdeps/s390/s390-64/__longjmp.c: New file.
2350         * sysdeps/s390/s390-64/add_n.S: New file.
2351         * sysdeps/s390/s390-64/atomicity.h: New file.
2352         * sysdeps/s390/s390-64/backtrace.c: New file.
2353         * sysdeps/s390/s390-64/bcopy.S: New file.
2354         * sysdeps/s390/s390-64/bits/byteswap.h: New file.
2355         * sysdeps/s390/s390-64/bits/huge_val.h: New file.
2356         * sysdeps/s390/s390-64/bits/setjmp.h: New file.
2357         * sysdeps/s390/s390-64/bits/string.h: New file.
2358         * sysdeps/s390/s390-64/bsd-_setjmp.S: New file.
2359         * sysdeps/s390/s390-64/bsd-setjmp.S: New file.
2360         * sysdeps/s390/s390-64/bzero.S: New file.
2361         * sysdeps/s390/s390-64/dl-machine.h: New file.
2362         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: New file.
2363         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: New file.
2364         * sysdeps/s390/s390-64/elf/setjmp.S: New file.
2365         * sysdeps/s390/s390-64/elf/start.S: New file.
2366         * sysdeps/s390/s390-64/ffs.c: New file.
2367         * sysdeps/s390/s390-64/initfini.c: New file.
2368         * sysdeps/s390/s390-64/memchr.S: New file.
2369         * sysdeps/s390/s390-64/memcpy.S: New file.
2370         * sysdeps/s390/s390-64/memset.S: New file.
2371         * sysdeps/s390/s390-64/s390x-mcount.S: New file.
2372         * sysdeps/s390/s390-64/setjmp.S: New file.
2373         * sysdeps/s390/s390-64/strcpy.S: New file.
2374         * sysdeps/s390/s390-64/strncpy.S: New file.
2375         * sysdeps/s390/s390-64/sub_n.S: New file.
2376         * sysdeps/s390/s390-64/sysdep.h: New file.
2378 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2380         * scripts/config.guess: Add support for Linux on 64 bit S/390.
2381         * scripts/config.sub: Likewise.
2383 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2385         * configure.in: Add support for 64 bit S/390.
2387         * elf/elf.h: Add new relocations for 64 bit S/390.
2389         * shlib-versions: Add rules for Linux on 64 bit S/390.
2391 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2393         * sysdeps/s390/__longjmp.c: Move to...
2394         * sysdeps/s390/s390-32/__longjmp.c: ...here.  Add code
2395         to load the floating point registers that should be saved
2396         according to the ABI.
2398         * sysdeps/s390/bits/setjmp.h: Move to...
2399         * sysdeps/s390/s390-32/bits/setjmp.h: ...here.  Avoid
2400         the use of long long in the __jmp_buf type definition.
2402         * sysdeps/s390/bits/string.h: Move to...
2403         * sysdeps/s390/s390-32/bits/string.h: ...here.  Add several missing
2404         #ifndef _FORCE_INLINES.
2406         * sysdeps/s390/dl-machine.h: Move to...
2407         * sysdeps/s390/s390-32/dl-machine.h: ...here.  Add a check for the
2408         executables EI_CLASS in elf_machine_matches_host.
2410         * sysdeps/s390/elf/setjmp.S: Move to...
2411         * sysdeps/s390/s390-32/elf/setjmp.S: ...here.  Replace
2412         branches to globally defined symbol __sigsetjmp by branches to
2413         a local label (this avoids the generation of a R_390_PC16DBL
2414         relocation in -fpic code).
2416         * sysdeps/s390/gmp-mparam.h: Use defines from <bits/wordsize.h> to
2417         calculate BITS_PER_MP_LIMB, BYTES_PER_MP_LIMB and BITS_PER_LONGINT.
2419         * sysdeps/s390/initfini.c: Move to...
2420         * sysdeps/s390/s390-32/initfini.c: ...here.  Replace ALIGN with
2421         ".align 4,0x07".
2423         * sysdeps/s390/setjmp.S: Move to...
2424         * sysdeps/s390/s390-32/setjmp.S: ...here.  Add code to store the
2425         floating point registers that should be saved according to the ABI.
2427         * sysdeps/s390/sys/ucontext.h: Remove since it is unused.
2429         * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
2430         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here. Include
2431         sysdeps/s390/s390-32/sysdep.h instead of sysdeps/s390/sysdep.h.
2433 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2435         * configure.in: Change machine=s390 to machine=s390/s390-32.
2437         * elf/elf.h: Correct comment for R_390_PLT16DBL.
2439 2001-03-12  Jakub Jelinek  <jakub@redhat.com>
2441         * csu/Makefile (abi-tag.h): Define OS and version separately, allow
2442         version to be overriden from config.h.
2443         * csu/abi-note.S: Use OS and version separately, include config.h.
2444         * elf/dl-load.c (_dl_osversion): New.
2445         (_dl_map_object_from_fd): Kill some warnings.
2446         (open_verify): Check .note.ABI-tag of the library if present.
2447         * elf/Makefile (CPPFLAGS-dl-load.c): Add -I$(csu-objpfx).
2448         * elf/cache.c (struct cache_entry): Add osversion.
2449         (print_entry): Print osversion.
2450         (print_cache): Pass osversion to it.
2451         (compare): Sort according to osversion.
2452         (save_cache): Set osversion.
2453         (add_to_cache): Add osversion argument.
2454         * sysdeps/generic/ldconfig.h (add_to_cache, process_file,
2455         process_elf_file): Add osversion argument.
2456         * elf/readlib.c (process_file): Likewise.
2457         * sysdeps/generic/readelflib.c (process_elf_file): Likewise.
2458         * sysdeps/unix/sysv/linux/ia64/readelflib.c (process_elf_file,
2459         process_elf32_file, process_elf64_file): Likewise.
2460         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file,
2461         process_elf32_file, process_elf64_file): Likewise.
2462         * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file,
2463         process_elf32_file, process_elf64_file): Likewise.
2464         * elf/ldconfig.c (manual_link): Pass it.
2465         (search_dir): Issue diagnostic if two libs with the same soname in
2466         the same directory have different .note.ABI-tag.  Record osversion in
2467         dlib_entry and use it from there.
2468         (struct lib_entry): Remove.
2469         (struct dlib_entry): Add osversion.
2470         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Check
2471         osversion.
2472         * sysdeps/generic/dl-cache.h (struct file_entry_new): Replace __unused
2473         field with osversion.
2474         * sysdeps/generic/ldsodefs.h (_dl_osversion): Declare.
2475         * sysdeps/unix/sysv/linux/init-first.c: Include ldsodefs.h.
2476         * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Save kernel
2477         version in _dl_osversion.
2478         * sysdeps/unix/sysv/linux/configure.in: Define __ABI_TAG_VERSION.
2479         * Makerules (build-shlib-helper, build-module-helper): New.
2480         (build-shlib, build-module-helper): Make sure .note.ABI-tag comes
2481         early.
2482         * config.h.in (__ABI_TAG_VERSION): Add.
2483         * elf/dl-minimal.c (__strtoul_internal): Set endptr on return.
2484         * sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS):
2485         Handle LD_ASSUME_KERNEL.
2486         * sysdeps/unix/sysv/linux/dl-librecon.h: New.
2488 2001-03-15  Ulrich Drepper  <drepper@redhat.com>
2490         * timezone/antarctica: Update from tzdata2001a.
2491         * timezone/asia: Likewise.
2492         * timezone/australasia: Likewise.
2493         * timezone/backward: Likewise.
2494         * timezone/etcetera: Likewise.
2495         * timezone/europe: Likewise.
2496         * timezone/leapseconds: Likewise.
2497         * timezone/northamerica: Likewise.
2498         * timezone/southamerica: Likewise.
2499         * timezone/systemv: Likewise.
2500         * timezone/yearistype: Likewise.
2501         * timezone/zone.tab: Likewise.
2502         * timezone/tzdump.c: Update from tzcode2001a.
2504 2001-03-15  H.J. Lu  <hjl@gnu.org>
2506         * intl/Makefile: Fix a typo.
2508 2001-03-14  David Mosberger  <davidm@hpl.hp.com>
2510         * gmon/gmon.c (write_call_graph): Avoid unaligned accesses when
2511         writing arc structures.
2513 2001-03-15  H.J. Lu  <hjl@gnu.org>
2515         * elf/Makefile ($(objpfx)tst-pathopt.out): Protected against
2516         cross-compiling.
2518 2001-03-13  Andreas Schwab  <schwab@suse.de>
2520         * posix/PTESTS2C.sed: Replace literal CRs by `\r'.
2522 2001-03-15  Ulrich Drepper  <drepper@redhat.com>
2524         * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Fix test
2525         for control message fitting into message data.
2526         Patch by James Antill <james@and.org>.
2528         * posix/tst-fnmatch.input: Add test case for FNM_PERIOD handling with
2529         FNM_EXTMATCH.
2531         * posix/fnmatch_loop.c: Optimize handling of ?() and @().
2532         * posix/fnmatch.c: Define STRLEN and STRCAT appropriately.
2534         * posix/Versions [libc] (GLIBC_2.2.3): Add fnmatch.
2535         * posix/fnmatch.c: Define with new default version GLIBC_2.2.3 to
2536         avoid running binaries with libc versions without FNM_EXTMATCH support.
2538         * include/wchar.h: Add prototype for __wcscat.
2539         * wcsmbs/wcscat.c: Define __wcscat and make wcscat weak alias.
2541         * posix/fnmatch.h (FNM_EXTMATCH): Define.
2542         * posix/fnmatch.c (NO_LEADING_PERIOD): Define.
2543         (posixly_correct): Move global variable here.
2544         (INT, EXT, END): Name new functions defined in fnmatch_loop.c.
2545         (fnmatch): Pretty printing.
2546         * posix/fnmatch_loop.c: Add code to handle FNM_EXTMATCH.
2547         * posix/tst-fnmatch.c: Recognize EXTMATCH flag.
2548         * posix/tst-fnmatch.input: Add tests for extended matching.
2550         * posix/testfnm.c: Add test for patterns with multiple ** before /.
2551         * posix/fnmatch_loop.c: Fix problem with the test above.
2553 2001-03-14  Ulrich Drepper  <drepper@redhat.com>
2555         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove
2556         reference to usqrt.
2558         * resolv/res_data.c (fp_nquery): Call __res_ninit not __res_init.
2560 2001-03-12  Andreas Jaeger  <aj@suse.de>
2562         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
2563         Use EM_X86_64 instead of EM_X8664.
2565 2001-03-12  Ulrich Drepper  <drepper@redhat.com>
2567         * sysdeps/ieee754/dbl-64/upow.h: Define nZERO and nINF.
2569         * sysdeps/ieee754/dbl-64/e_remainder.c: Fix handling of boundary
2570         conditions.
2572         * sysdeps/ieee754/dbl-64/e_pow.c: Fix handling of boundary
2573         conditions.
2575         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Handle Inf and NaN
2576         correctly.
2577         (__cos): Likewise.
2579         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Handle NaN
2580         correctly.
2581         (__ieee754_acos): Likewise.
2583 2001-03-12  Andreas Jaeger  <aj@suse.de>
2585         * sysdeps/unix/sysv/linux/s390/sysdep.h (_LINUX_S390_SYSDEP_H):
2586         Fix typo.  Patch by Martin Schwidefsky  <schwidefsky@de.ibm.com>.
2588         * sysdeps/s390/bits/string.h: Protect __STRING_INLINE against
2589         redefinition.
2591 2001-03-11  Roland McGrath  <roland@frob.com>
2593         * sysdeps/mach/hurd/configure.in: Add a sanity check on $prefix.
2595 2001-03-11  Ulrich Drepper  <drepper@redhat.com>
2597         * sysdeps/ieee754/dbl-64/endian.h: Define also one of BIG_ENDI and
2598         LITTLE_ENDI.
2600         * sysdeps/ieee754/dbl-64/MathLib.h (Init_Lib): Use void as
2601         parameter list.
2603         Last-bit accurate math library implementation by IBM Haifa.
2604         Contributed by Abraham Ziv <ziv@il.ibm.com>, Moshe Olshansky
2605         <olshansk@il.ibm.com>, Ealan Henis <ealan@il.ibm.com>, and
2606         Anna Reitman <reitman@il.ibm.com>.
2607         * math/Makefile (dbl-only-routines): New variable.
2608         (libm-routines): Add $(dbl-only-routines).
2609         * sysdeps/ieee754/dbl-64/e_acos.c: Empty, definition is in e_asin.c.
2610         * sysdeps/ieee754/dbl-64/e_asin.c: Replaced with accurate asin
2611         implementation.
2612         * sysdeps/ieee754/dbl-64/e_atan2.c: Replaced with accurate atan2
2613         implementation.
2614         * sysdeps/ieee754/dbl-64/e_exp.c: Replaced with accurate exp
2615         implementation.
2616         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't use __kernel_sin and
2617         __kernel_cos.
2618         * sysdeps/ieee754/dbl-64/e_log.c: Replaced with accurate log
2619         implementation.
2620         * sysdeps/ieee754/dbl-64/e_remainder.c: Replaced with accurate
2621         remainder implementation.
2622         * sysdeps/ieee754/dbl-64/e_pow.c: Replaced with accurate pow
2623         implementation.
2624         * sysdeps/ieee754/dbl-64/e_sqrt.c: Replaced with accurate sqrt
2625         implementation.
2626         * sysdeps/ieee754/dbl-64/k_cos.c: Empty, definition is in s_sin.c.
2627         * sysdeps/ieee754/dbl-64/k_sin.c: Empty, definition is in s_sin.c.
2628         * sysdeps/ieee754/dbl-64/s_atan.c: Replaced with accurate atan
2629         implementation.
2630         * sysdeps/ieee754/dbl-64/s_cos.c: Empty, definition is in s_sin.c.
2631         * sysdeps/ieee754/dbl-64/s_sin.c: Replaced with accurate sin/cos
2632         implementation.
2633         * sysdeps/ieee754/dbl-64/s_sincos.c: Rewritten to not use __kernel_sin
2634         and __kernel_cos.
2635         * sysdeps/ieee754/dbl-64/s_tan.c: Replaced with accurate tan
2636         implementation.
2637         * sysdeps/ieee754/dbl-64/Dist: Add new non-code files.
2638         * sysdeps/ieee754/dbl-64/MathLib.h: New file.
2639         * sysdeps/ieee754/dbl-64/asincos.tbl: New file.
2640         * sysdeps/ieee754/dbl-64/atnat.h: New file.
2641         * sysdeps/ieee754/dbl-64/atnat2.h: New file.
2642         * sysdeps/ieee754/dbl-64/branred.c: New file.
2643         * sysdeps/ieee754/dbl-64/branred.h: New file.
2644         * sysdeps/ieee754/dbl-64/dla.h: New file.
2645         * sysdeps/ieee754/dbl-64/doasin.c: New file.
2646         * sysdeps/ieee754/dbl-64/doasin.h: New file.
2647         * sysdeps/ieee754/dbl-64/dosincos.c: New file.
2648         * sysdeps/ieee754/dbl-64/dosincos.h: New file.
2649         * sysdeps/ieee754/dbl-64/endian.h: New file.
2650         * sysdeps/ieee754/dbl-64/halfulp.c: New file.
2651         * sysdeps/ieee754/dbl-64/mpa.c: New file.
2652         * sysdeps/ieee754/dbl-64/mpa.h: New file.
2653         * sysdeps/ieee754/dbl-64/mpa2.h: New file.
2654         * sysdeps/ieee754/dbl-64/mpatan.c: New file.
2655         * sysdeps/ieee754/dbl-64/mpatan.h: New file.
2656         * sysdeps/ieee754/dbl-64/mpatan2.c: New file.
2657         * sysdeps/ieee754/dbl-64/mpexp.c: New file.
2658         * sysdeps/ieee754/dbl-64/mpexp.h: New file.
2659         * sysdeps/ieee754/dbl-64/mplog.c: New file.
2660         * sysdeps/ieee754/dbl-64/mplog.h: New file.
2661         * sysdeps/ieee754/dbl-64/mpsqrt.c: New file.
2662         * sysdeps/ieee754/dbl-64/mpsqrt.h: New file.
2663         * sysdeps/ieee754/dbl-64/mptan.c: New file.
2664         * sysdeps/ieee754/dbl-64/mydefs.h: New file.
2665         * sysdeps/ieee754/dbl-64/powtwo.tbl: New file.
2666         * sysdeps/ieee754/dbl-64/root.tbl: New file.
2667         * sysdeps/ieee754/dbl-64/sincos.tbl: New file.
2668         * sysdeps/ieee754/dbl-64/sincos32.c: New file.
2669         * sysdeps/ieee754/dbl-64/sincos32.h: New file.
2670         * sysdeps/ieee754/dbl-64/slowexp.c: New file.
2671         * sysdeps/ieee754/dbl-64/slowpow.c: New file.
2672         * sysdeps/ieee754/dbl-64/uasncs.h: New file.
2673         * sysdeps/ieee754/dbl-64/uatan.tbl: New file.
2674         * sysdeps/ieee754/dbl-64/uexp.h: New file.
2675         * sysdeps/ieee754/dbl-64/uexp.tbl: New file.
2676         * sysdeps/ieee754/dbl-64/ulog.h: New file.
2677         * sysdeps/ieee754/dbl-64/ulog.tbl: New file.
2678         * sysdeps/ieee754/dbl-64/upow.h: New file.
2679         * sysdeps/ieee754/dbl-64/upow.tbl: New file.
2680         * sysdeps/ieee754/dbl-64/urem.h: New file.
2681         * sysdeps/ieee754/dbl-64/uroot.h: New file.
2682         * sysdeps/ieee754/dbl-64/usncs.h: New file.
2683         * sysdeps/ieee754/dbl-64/utan.h: New file.
2684         * sysdeps/ieee754/dbl-64/utan.tbl: New file.
2685         * sysdeps/i386/fpu/branred.c: New file.
2686         * sysdeps/i386/fpu/doasin.c: New file.
2687         * sysdeps/i386/fpu/dosincos.c: New file.
2688         * sysdeps/i386/fpu/halfulp.c: New file.
2689         * sysdeps/i386/fpu/mpa.c: New file.
2690         * sysdeps/i386/fpu/mpatan.c: New file.
2691         * sysdeps/i386/fpu/mpatan2.c: New file.
2692         * sysdeps/i386/fpu/mpexp.c: New file.
2693         * sysdeps/i386/fpu/mplog.c: New file.
2694         * sysdeps/i386/fpu/mpsqrt.c: New file.
2695         * sysdeps/i386/fpu/mptan.c: New file.
2696         * sysdeps/i386/fpu/sincos32.c: New file.
2697         * sysdeps/i386/fpu/slowexp.c: New file.
2698         * sysdeps/i386/fpu/slowpow.c: New file.
2699         * sysdeps/ia64/fpu/branred.c: New file.
2700         * sysdeps/ia64/fpu/doasin.c: New file.
2701         * sysdeps/ia64/fpu/dosincos.c: New file.
2702         * sysdeps/ia64/fpu/halfulp.c: New file.
2703         * sysdeps/ia64/fpu/mpa.c: New file.
2704         * sysdeps/ia64/fpu/mpatan.c: New file.
2705         * sysdeps/ia64/fpu/mpatan2.c: New file.
2706         * sysdeps/ia64/fpu/mpexp.c: New file.
2707         * sysdeps/ia64/fpu/mplog.c: New file.
2708         * sysdeps/ia64/fpu/mpsqrt.c: New file.
2709         * sysdeps/ia64/fpu/mptan.c: New file.
2710         * sysdeps/ia64/fpu/sincos32.c: New file.
2711         * sysdeps/ia64/fpu/slowexp.c: New file.
2712         * sysdeps/ia64/fpu/slowpow.c: New file.
2713         * sysdeps/m68k/fpu/branred.c: New file.
2714         * sysdeps/m68k/fpu/doasin.c: New file.
2715         * sysdeps/m68k/fpu/dosincos.c: New file.
2716         * sysdeps/m68k/fpu/halfulp.c: New file.
2717         * sysdeps/m68k/fpu/mpa.c: New file.
2718         * sysdeps/m68k/fpu/mpatan.c: New file.
2719         * sysdeps/m68k/fpu/mpatan2.c: New file.
2720         * sysdeps/m68k/fpu/mpexp.c: New file.
2721         * sysdeps/m68k/fpu/mplog.c: New file.
2722         * sysdeps/m68k/fpu/mpsqrt.c: New file.
2723         * sysdeps/m68k/fpu/mptan.c: New file.
2724         * sysdeps/m68k/fpu/sincos32.c: New file.
2725         * sysdeps/m68k/fpu/slowexp.c: New file.
2726         * sysdeps/m68k/fpu/slowpow.c: New file.
2728         * iconvdata/gconv-modules: Add a number of alias, mostly for IBM
2729         codepages.
2731 2001-03-11  Andreas Jaeger  <aj@suse.de>
2733         * elf/elf.h (EM_*): Synch with official list.
2735 2001-03-07  David Mosberger  <davidm@hpl.hp.com>
2737         * sysdeps/ia64/bits/fenv.h (FE_NONIEEE_ENV): New macro.
2739 2001-03-07  Jes Sorensen  <jes@linuxcare.com>
2741         * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Remove unused
2742         variables addr & len.
2744 2001-02-22  Jes Sorensen  <jes@linuxcare.com>
2746         * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Remove
2747         punctuation in asm constraint.
2749 2001-03-07  Mark Kettenis  <kettenis@gnu.org>
2751         * resolv/netdb.h [__USE_GNU]: Define __need_timespec and include
2752         <time.h> to get definition of `struct timespec'.
2754 2001-03-08  Jakub Jelinek  <jakub@redhat.com>
2756         * elf/rtld.c (dl_main): If tracing, warn about undefined symbols if
2757         LD_WARN=1, not if LD_WARN is unset.
2759 2001-03-07  Andreas Schwab  <schwab@suse.de>
2761         * elf/ldconfig.h: Moved to ...
2762         * sysdeps/generic/ldconfig.h: ... here.
2763         * sysdeps/unix/sysv/linux/i386/ldconfig.h: New file.
2764         * sysdeps/unix/sysv/linux/m68k/ldconfig.h: New file.
2765         * sysdeps/unix/sysv/linux/ia64/ldconfig.h: New file.
2766         * elf/readlib.c (interpreters, known_libs): Use
2767         SYSDEP_KNOWN_INTERPRETER_NAMES and SYSDEP_KNOWN_LIBRARY_NAMES
2768         instead of hard coding old names.
2770 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
2772         * catgets/Makefile (generated): Add test-gencat.h.
2773         (sample.SJIS.cat): Also generate header.
2774         * catgets/sample.SJIS: Add new set and message, both with symbolic
2775         names.
2776         * catgets/test-gencat.sh: Also compare generated header with what
2777         we expect.
2779 2001-03-07  Jakub Jelinek  <jakub@redhat.com>
2781         * catgets/gencat.c (read_input_file): Preserve properly symbolic
2782         names.
2784 2001-03-06  Andreas Jaeger  <aj@suse.de>
2786         * sysdeps/s390/dl-machine.h (elf_machine_relplt): Removed, it's not
2787         needed.
2788         (elf_machine_pltrel_p): Likewise.
2789         * sysdeps/powerpc/dl-machine.h: Likewise.
2790         * sysdeps/generic/dl-machine.h (elf_machine_pltrel_p): Likewise.
2792 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
2794         * sysdeps/unix/sysv/linux/arm/Dist: Add dl-procinfo.c and
2795         dl-procinfo.h.
2797 2001-03-05  Philip Blundell  <philb@gnu.org>
2799         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c: New file.
2800         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h: New file.
2801         * sysdeps/unix/sysv/linux/arm/Makefile [subdir=elf]
2802         (sysdep-dl-routines, sysdep_routines, sysdep-rtld-routines): Add
2803         dl-procinfo.
2805 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
2807         * dlfcn/tstatexit.c (main): Don't perform the test if __dso_handle
2808         is not available.
2809         * dlfcn/tstcxaatexit.c (main): Likewise.
2811 2001-03-10  Andreas Jaeger  <aj@suse.de>
2813         * sysdeps/i386/fpu/libm-test-ulps: Revert last patch.
2815 2001-03-09  Andreas Jaeger  <aj@suse.de>
2817         * sysdeps/s390/dl-machine.h (elf_machine_matches_host): Handle
2818         both new and old EM_S390 values.
2819         (EM_S390_OLD): New constant.
2821         * elf/elf.h (EM_S390): Use official value.
2823 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
2825         * conform/data/sys/socket.h-data: Allow SO* symbols.
2827 2001-03-07  Andreas Schwab  <schwab@suse.de>
2829         * sysdeps/ia64/fpu/Makefile: Modify sysdep_routines instead of
2830         routines, and sysdep-CPPFLAGS instead of CPPFLAGS.
2832 2001-03-07  Andreas Jaeger  <aj@suse.de>
2834         * resolv/Makefile (routines): Only build gai_sigqueue when threads
2835         are available.
2837 2001-03-07  Jakub Jelinek  <jakub@redhat.com>
2839         * elf/ldconfig.c (_dl_sysdep_message): Remove.
2840         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Include
2841         ldsodefs.h.
2842         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
2844         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Use
2845         _dl_error_printf instead of _dl_sysdep_error.
2846         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
2847         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h (_dl_procinfo):
2848         Use _dl_printf instead of _dl_sysdep_message.
2849         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h (_dl_procinfo):
2850         Likewise.
2852 2001-03-06  Ben Collins  <bcollins@debian.org>
2854         * manual/arith.texi (Integers): Fix documentation of fast and
2855         least integer typedefs.
2857 2001-03-06  Jakub Jelinek  <jakub@redhat.com>
2859         * resolv/Depend: New file.
2860         * resolv/Makefile (extra-libs, tests): Build libanl and ga_test only
2861         when libpthread is built.
2863 2001-03-06  Andreas Jaeger  <aj@suse.de>
2865         * sysdeps/i386/fpu/libm-test-ulps: Add some deltas.
2867         * sysdeps/sh/dl-machine.h (elf_machine_rela): Add missing comma.
2868         Patch by kaz Kojima <kkojima@rr.iij4u.or.jp>.
2870 2001-03-05  Ulrich Drepper  <drepper@redhat.com>
2872         * stdlib/Versions: Remove __new_exitfn again.  Not needed.
2874 2001-03-05  Andreas Jaeger  <aj@suse.de>
2876         * stdlib/msort.c (qsort): Don't use alloca in a function call.
2878 2001-03-05  Ulrich Drepper  <drepper@redhat.com>
2880         * sysdeps/unix/sysv/linux/bits/stat.h (__S_TYPEISMQ, __S_TYPEISSEM,
2881         __S_TYPEISSHM): Rewrite to enforce correct use the macros.  They still
2882         always return zero.
2883         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
2884         * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
2885         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
2886         * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Likewise.
2887         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
2888         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
2889         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
2891 2001-03-04  Andreas Jaeger  <aj@suse.de>
2893         * stdlib/longlong.h: Don't use multi-line strings.
2894         * iconvdata/tst-loading.c: Likewise.
2896         * csu/Makefile ($(objpfx)version-info.h): Don't use multi-line
2897         string.
2899 2001-03-04  Ulrich Drepper  <drepper@redhat.com>
2901         * sysdeps/ia64/fpu/libm-test-ulps: Adjust for addition of lgammal.
2903         * rt/lio_listio.c: Add a few asserts.
2905         * elf/global.c: New file.
2906         * elf/globalmod1.c: New file.
2907         * elf/Makefile: Add rules to build and run global.
2909         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Define SI_ASYNCNL.
2910         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
2911         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
2912         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2913         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
2915         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: New file.
2916         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
2918         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Fix handling of boundary cases.
2920         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Always initialize sign variable.
2921         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
2923         * sysdeps/i386/fpu/libm-test-ulps: Adjust after addition of lgammal.
2925         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Fix typo in last change.
2927 2001-03-04  Andreas Jaeger  <aj@suse.de>
2929         * resolv/tst-aton.c: Add testcase for IP with four periods.
2931         * resolv/inet_addr.c: Don't recognize an IP with four periods.
2932         Patch by Andre' Breiler <A.Breiler@gmx.net>.
2934 2001-02-27  Philip Blundell  <pb@futuretv.com>
2936         * elf/elf.h: Add new ARM definitions from latest (B-01)
2937         specification.  Correct naming of EF_ARM_ALIGN8 et al.
2939 2001-03-04  Ulrich Drepper  <drepper@redhat.com>
2941         * stdio-common/tst-printf.sh: Remove bashisms.
2942         Patch by Matthew Clarke <Matthew_Clarke@mindlink.bc.ca>.
2944 2001-03-03  Ulrich Drepper  <drepper@redhat.com>
2946         * Versions.def: Add libanl definition.
2947         * shlib-versions: Add entry for libanl.
2948         * resolv/Makefile (distribute): Add gai_misc.h and ga_test.c.
2949         (routines): Add gai_sigqueue.
2950         (extra-libs): Add libanl.
2951         (libanl-routines): New variable.
2952         Add rules to build libanl and ga_test.
2953         * resolv/Versions [libc] (GLIBC_2.2.3): Add __gai_sigqueue.
2954         [libanl]: New library.
2955         * resolv/netdb.h: Add definitions for libanl.
2956         * resolv/getaddrinfo_a.c: New file.
2957         * resolv/gai_cancel.c: New file.
2958         * resolv/gai_error.c: New file.
2959         * resolv/gai_misc.c: New file.
2960         * resolv/gai_misc.h: New file.
2961         * resolv/gai_notify.c: New file.
2962         * resolv/gai_suspend.c: New file.
2963         * resolv/ga_test.c: New file.
2964         * sysdeps/generic/gai_sigqueue.c: New file.
2965         * sysdeps/unix/sysv/linux/gai_sigqueue.c: New file.
2966         * sysdeps/generic/bits/siginfo.h: Allow __need_sigevent_t being defined
2967         and provide only that definition.
2968         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
2969         * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
2970         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
2971         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
2972         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2973         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
2975         * rt/aio_misc.c: Fix typos in comments.
2976         * rt/lio_listio.c: Pretty printing.  Little optimization in request
2977         list handling.
2979         * elf/rtld.c: Remove commented out code.
2981         * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC):
2982         Update for real 2.4 kernels.
2984 2001-03-01  Ulrich Drepper  <drepper@redhat.com>
2986         * elf/dl-load.c: Pretty printing.
2988         * elf/dl-object.c (_dl_new_object): Don't add the loader's scope
2989         twice.
2991 2001-02-28  Ulrich Drepper  <drepper@redhat.com>
2993         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle
2994         relocations which are not in ld.so if RTLD_BOOTSTRAP is defined.
2996         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
2998         * elf/dl-misc.c (_dl_debug_vdprintf): Fix typo visible on 64-bit
2999         machines.
3001         * sysdeps/unix/sysv/linux/powerpc/sysdep.h (C_TEXT): Define.
3003 2001-02-27  Ulrich Drepper  <drepper@redhat.com>
3005         * sysdeps/powerpc/elf/libc-start.c: Use new output functions and
3006         _dl_debug_mask.
3008         * elf/Versions [ld]: Don't export _dl_debug_message anymore.  Export
3009         _dl_debug_printf.
3010         * elf/dl-misc.c: Remove definition of _dl_sysdep_output and
3011         _dl_debug_message.  Define _dl_debug_vdprintf, _dl_debug_printf,
3012         _dl_debug_printf_c, and _dl_printf.
3013         * sysdeps/generic/ldsodefs.h: Don't declare _dl_sysdep_output,
3014         _dl_debug_message, _dl_sysdep_message, _dl_sysdep_error, and
3015         _dl_sysdep_fatal.  Declare _dl_debug_printf, _dl_debug_printf_c,
3016         _dl_printf, _dl_error_printf, and _dl_fatal_printf.
3017         * elf/dl-close.c: Replace use of old output functions with the new
3018         ones.
3019         * elf/dl-deps.c: Likewise.
3020         * elf/dl-error.c: Likewise.
3021         * elf/dl-fini.c: Likewise.
3022         * elf/dl-init.c: Likewise.
3023         * elf/dl-load.c: Likewise.
3024         * elf/dl-lookup.c: Likewise.
3025         * elf/dl-minimal.c: Likewise.
3026         * elf/dl-open.c: Likewise.
3027         * elf/dl-profile.c: Likewise.
3028         * elf/dl-reloc.c: Likewise.
3029         * elf/dl-version.c: Likewise.
3030         * elf/do-lookup.h: Likewise.
3031         * elf/rtld.c: Likewise.
3032         * sysdeps/generic/dl-cache.c: Likewise.
3033         * sysdeps/generic/dl-sysdep.c: Likewise.
3034         * sysdeps/generic/libc-start.c: Likewise.
3035         * sysdeps/i386/dl-machine.h: Likewise.
3036         * sysdeps/arm/dl-machine.h: Likewise.
3037         * sysdeps/hppa/dl-machine.h: Likewise.
3038         * sysdeps/m68k/dl-machine.h: Likewise.
3039         * sysdeps/powerpc/dl-machine.h: Likewise.
3040         * sysdeps/s390/dl-machine.h: Likewise.
3041         * sysdeps/sh/dl-machine.h: Likewise.
3042         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
3043         * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
3044         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
3046         * sysdeps/generic/ldsodefs.h: Remove _dl_secure declaration.
3048         * dlfcn/Makefile: Don't run tstatexit test unless .hidden is
3049         supported by assembler.
3051         * sysdeps/generic/ldsodefs.h: Remove commented-out variable
3052         declaractions.
3054         * elf/rtld.c: Little optimizations in handling _dl_lazy.
3056         * elf/cache.c (save_cache): Portability changes.
3057         * elf/dl-profile.c (_dl_start_profile): Likewise.
3059         * elf/sln.c: Cleanups.  Remove arbitrary limits.
3061         * elf/dl-close.c: Replace _dl_debug_* variables with _dl_debug_mask.
3062         * elf/dl-deps.c: Likewise.
3063         * elf/dl-fini.c: Likewise.
3064         * elf/dl-init.c: Likewise.
3065         * elf/dl-load.c: Likewise.
3066         * elf/dl-lookup.c: Likewise.
3067         * elf/dl-open.c: Likewise.
3068         * elf/dl-reloc.c: Likewise.
3069         * elf/dl-support.c: Likewise.
3070         * elf/dl-version.c: Likewise.
3071         * elf/do-lookup.h: Likewise.
3072         * elf/rtld.c: Likewise.
3073         * sysdeps/generic/dl-cache.c: Likewise.
3074         * sysdeps/generic/ldsodefs.h: Likewise.
3075         * sysdeps/generic/libc-start.c: Likewise.
3076         * elf/Versions: Don't export _dl_debug_impcalls and _dl_debug_files.
3077         Export _dl_debug_mask.
3078         * Versions.def: Define GLIBC_2.2.3 for ld.
3080 2001-02-26  Greg McGary  <greg@mcgary.org>
3082         * sysdeps/unix/make-syscalls.sh (ptr): Handle `V' keyletter.
3084 2001-02-26  Paul Eggert  <eggert@twinsun.com>
3086         Modify mkstemp.c and tempname.c so that they can be used by
3087         GNU applications on non-glibc platforms.
3089         * misc/mkstemp.c (__GT_FILE): Define to zero if not defined.
3091         * sysdeps/posix/tempname.c: Include <config.h> if HAVE_CONFIG_H.
3092         Include <stddef.h>, <stdint.h>, <string.h> only if
3093         STDC_HEADERS || _LIBC.
3094         Include <fcntl.h> only if HAVE_FCNTL_H || _LIBC.
3095         Include <unistd.h> only if HAVE_UNISTD_H || _LIBC.
3096         Include <sys/time.h> only if HAVE_SYS_TIME_H || _LIBC.
3097         (__set_errno): Define this macro if <errno.h> doesn't.
3098         (P_tmpdir, TMP_MAX, __GT_FILE, __GT_BIGFILE, __GT_DIR, __GT_NOCREATE):
3099         Define these macros if <stdio.h> doesn't.
3100         (S_ISDIR, S_IRUSR, S_IWUSR, S_IXUSR):
3101         Define these macros if <sys/stat.h> doesn't.
3102         Ignore <sys/stat.h> S_ISDIR if STAT_MACROS_BROKEN.
3103         (stat64, __getpid, __gettimeofday, __mkdir, __open, __open64,
3104         lxstat64, __xstat64): Define if not _LIBC.
3105         (struct_stat64): New macro.
3106         (direxists, __gen_tempname): Use it, to avoid a
3107         portability problem with Solaris 8.
3108         (__secure_getenv): Define if ! (HAVE___SECURE_GETENV || _LIBC).
3109         (__gen_tempname): Invoke gettimeofday only if
3110         HAVE_GETTIMEOFDAY || _LIBC; otherwise, fall back on plain "time".
3111         Use portable macros like S_IRUSR | S_IWUSR rather than nonportable
3112         octal values like 0600.
3114 2001-02-26  Ulrich Drepper  <drepper@redhat.com>
3116         * sysdeps/ieee754/ldbl-96/e_jnl.c: New file.
3117         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
3119         * sysdeps/i386/fpu/libm-test-ulps: Update for jnl and ynl introduction.
3120         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3122         * posix/wordexp-test.c (testit): Remove warnings.
3124         * dlfcn/Makefile (distribute): Add modatexit.c and modcxaatexit.c.
3125         (tests): Add tstatexit and tstcxaatexit.
3126         (module-names): Add modatexit and modcxaatexit.
3127         Add rules to build and run tstatexit and tstcxaatexit.
3128         * dlfcn/modatexit.c: New file.
3129         * dlfcn/modcxaatexit.c: New file.
3130         * dlfcn/tstatexit.c: New file.
3131         * dlfcn/tstcxaatexit.c: New file.
3133         * io/Makefile: Pass -DHAVE_DOT_HIDDEN to stat and mknod functions if
3134         .hidden is available.
3135         * io/stat.c: If .hidden is available use it to avoid exporting
3136         functions.
3137         * io/fstat.c: Likewise.
3138         * io/lstat.c: Likewise.
3139         * io/stat64.c: Likewise.
3140         * io/fstat64.c: Likewise.
3141         * io/lstat64.c: Likewise.
3142         * sysdeps/generic/mknod.c: Likewise.
3144         * malloc/mtrace.c: Use __cxa_atexit and not atexit.
3145         * sysdeps/generic/bb_init_func.c: Likewise.
3146         * sysdeps/generic/libc-start.c: Likewise.
3148         * stdlib/atexit.c (__new_exitfn): Move to cxa_atexit.c.
3149         (atexit): Implement using __cxa_atexit.
3150         Use .hidden if availble to avoid exporting atexit.
3151         * stdlib/cxa_atexit.c (__new_exitfn): Moved to here from atexit.c.
3152         * stdlib/Versions: Export __new_exitfn for GLIBC_2.2.3.
3153         * stdlib/Makefile (routines): Add old_atexit.
3154         (static-only-routines): Add atexit.
3155         Pass -DHAVE_DOT_HIDDEN for atexit.c if .hidden is available.
3156         * stdlib/old_atexit.c: New file.
3158         * intl/Makefile: Remove bogus endif.
3160 2001-02-26  Andreas Jaeger  <aj@suse.de>
3162         * iconvdata/Makefile (tests): Fix typo in last patch.
3164         * intl/Makefile (tests): Run mtrace-tst-gettext only when perl is
3165         available.
3166         Reported by Achim Gottinger <achim@gentoo.org>.
3168 2001-02-25  Andreas Jaeger  <aj@suse.de>
3170         * intl/Makefile (plural.c): Reorder rules so that they work if
3171         BISON doesn't exist.
3173 2001-02-25  Ulrich Drepper  <drepper@redhat.com>
3175         * intl/locale.alias: Don't use nb_NO but define aliases for it.
3177 2001-02-23  Ulrich Drepper  <drepper@redhat.com>
3179         * sysdeps/i386/strtok.S: Continue to return NULL after the first
3180         time this happened.
3182 2001-02-23  Andreas Jaeger  <aj@suse.de>
3184         * string/tester.c (test_strtok_r): Add testcase.
3185         (test_strtok_r): Always initialize cp for proper checking.
3187         * sysdeps/generic/strtok.c (strtok): Handle case of first strtok
3188         returning NULL correctly.
3189         Patch by Fumitoshi UKAI <ukai@debian.or.jp>.
3190         * sysdeps/generic/strtok_r.c (__strtok_r): Likewise.
3192 2001-02-23  Ulrich Drepper  <drepper@redhat.com>
3194         * sysdeps/unix/sysv/aix/bits/types.h: Define __need_NULL before
3195         including <stddef.h>.
3196         * sysdeps/unix/sysv/aix/write.c: Define alias __libc_write.
3197         * include/libc-symbols.h (weak_alias): Don't use .weak if
3198         HAVE_ASM_GLOBAL_DOT_NAME is defined.
3199         Patches by Michael Keezer <mkeezer@redhat.com>.
3201         * sysdeps/generic/ftime.c: Don't include <sys/time.h> at all.
3202         Patch by Michael Keezer <mkeezer@redhat.com>.
3204         * sysdeps/unix/sysv/aix/Dist: Remove restf.S and savef.S.
3205         * sysdeps/unix/sysv/aix/Makefile [$(subdir) == misc]
3206         (sysdep_routines): Remove restf.S and savef.S.
3207         * sysdeps/unix/sysv/aix/restf.S. Removed.
3208         * sysdeps/unix/sysv/aix/savef.S. Removed.
3209         * sysdeps/powerpc/fprrest.S: Use C_TEXT to define label.  Also define
3210         alternative names used on some platforms.
3211         * sysdeps/powerpc/fprsave.S: Likewise.
3212         * sysdeps/powerpc/gprrest0.S: Likewise.
3213         * sysdeps/powerpc/gprrest1.S: Likewise.
3214         * sysdeps/powerpc/gprsave0.S: Likewise.
3215         * sysdeps/powerpc/gprsave1.S: Likewise.
3216         Patch by Michael Keezer <mkeezer@redhat.com>.
3218 2001-02-22  Ulrich Drepper  <drepper@redhat.com>
3220         * sysdeps/i386/elf/start.S (_fp_hw): Actually define label.
3222 2001-02-22  Andreas Jaeger  <aj@suse.de>
3224         * string/tst-strtok.c (main): Fix error messages.
3226 2001-02-22  Andreas Jaeger  <aj@suse.de>
3228         * math/Makefile: Remove omit-long-double-fcts.
3230 2001-02-18  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
3232         * sysdeps/mips/bsd-_setjmp.S (_setjmp): Reorder instructions to
3233         avoid problems on MIPS I.
3234         * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
3236         * sysdeps/mips/dl-machine.h (RTLD_START): Remove duplicate ".set
3237         noreorder".
3239 2001-02-21  Ulrich Drepper  <drepper@redhat.com>
3241         * posix/fnmatch_loop.c: Handle ranges outside glibc correctly.
3243         * sysdeps/generic/ftime.c: Include <time.h>.
3245         * configure.in: Don't check for libgd if user passed --without-gd.
3246         Patch by Achim Gottinger <achim@gentoo.org>.
3248         * sysdeps/i386/i686/strtok.S: Continue to return NULL after the
3249         first time this happened.
3250         * string/Makefile (tests): Add tst-strtok.
3252 2001-02-21  Andreas Jaeger  <aj@suse.de>
3254         * string/tst-strtok.c: New testcase, reported by
3255         Andrew Church <achurch@achurch.org>.
3257 2001-02-20  Ulrich Drepper  <drepper@redhat.com>
3259         * libio/iofwide.c: Remove fwide alias.
3261 2001-02-20  Andreas Jaeger  <aj@suse.de>
3263         * iconvdata/Makefile (tests): Only run mtrace-tst-loading if perl
3264         is available.
3265         Reported by Achim Gottinger <achim@gentoo.org>.
3267 2001-02-19  Ulrich Drepper  <drepper@redhat.com>
3269         * iconv/tst-iconv1.c (main): Remove debugging code.
3271         * sysdeps/ieee754/flt-32/e_powf.c: Handle x == +-1 correctly.
3272         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3274         * sysdeps/generic/e_scalb.c: Set invalid exception for invalid
3275         parameters.
3276         * sysdeps/generic/e_scalbf.c: Likewise.
3277         * sysdeps/generic/e_scalbl.c: Likewise.
3279         * sysdeps/ia64/fpu/Makefile (libm-sysdep-routines): Add libm_error,
3280         libm_frexp4, libm_frexp4f, libm_frexp4l, and all the functions also
3281         in libc.
3282         (routines): Replace libm_error with libc_libm_error.
3283         * sysdeps/ia64/fpu/Dist: Add libc_libm_error.c.
3284         * sysdeps/ia64/fpu/libc_libm_error.c: New file.
3286 2001-02-18  Mark Kettenis  <kettenis@gnu.org>
3288         * malloc/mtrace.c [USE_IN_LIBIO]: Define fopen as _IO_fopen64.
3289         (mtrace): Revert 2001-02-13 patch: use fopen instead of fopen64.
3291 2001-02-17  H.J. Lu  <hjl@gnu.org>
3293         * sysdeps/unix/sysv/linux/ia64/clone2.S: Use clone2 and don't use
3294         scratch registers across the system call.
3296 2001-02-19  Andreas Jaeger  <aj@suse.de>
3298         * malloc/Makefile (tests): Run mtrace only when perl is available.
3299         Reported by Achim Gottinger <achim@gentoo.org>.
3301 2001-02-19  Ulrich Drepper  <drepper@redhat.com>
3303         * sysdeps/ieee754/ldbl-96/e_j1l.c: New file.
3304         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
3306         * sysdeps/i386/fpu/libm-test-ulps: Adjust error values for j1 and y1.
3307         * sysdeps/ia64/fpu/libm-test-ulps: Adjust error values for y1.
3308         * math/libm-test.inc (j1_test): Mark constants as long double.
3309         (jn_test): Likewise.
3310         (y1_test): Likewise.
3311         (yn_test): Likewise.
3313         * libio/iogetline.c: Move return until after last statement.
3315         * localedata/show-ucs-data.c: Don't show < > for better readability.
3317         * sysdeps/ia64/fpu/Dist: New file.
3318         * sysdeps/ia64/fpu/Makefile: New file.
3319         * sysdeps/ia64/fpu/Versions: New file.
3320         * sysdeps/ia64/fpu/e_acos.S: New file.
3321         * sysdeps/ia64/fpu/e_acosf.S: New file.
3322         * sysdeps/ia64/fpu/e_acosl.S: New file.
3323         * sysdeps/ia64/fpu/e_asin.S: New file.
3324         * sysdeps/ia64/fpu/e_asinf.S: New file.
3325         * sysdeps/ia64/fpu/e_asinl.S: New file.
3326         * sysdeps/ia64/fpu/e_atan2.S: New file.
3327         * sysdeps/ia64/fpu/e_atan2f.S: New file.
3328         * sysdeps/ia64/fpu/e_atan2l.c: New file.
3329         * sysdeps/ia64/fpu/e_cosh.S: New file.
3330         * sysdeps/ia64/fpu/e_coshf.S: New file.
3331         * sysdeps/ia64/fpu/e_coshl.S: New file.
3332         * sysdeps/ia64/fpu/e_exp.S: New file.
3333         * sysdeps/ia64/fpu/e_expf.S: New file.
3334         * sysdeps/ia64/fpu/e_expl.c: New file.
3335         * sysdeps/ia64/fpu/e_fmod.S: New file.
3336         * sysdeps/ia64/fpu/e_fmodf.S: New file.
3337         * sysdeps/ia64/fpu/e_fmodl.S: New file.
3338         * sysdeps/ia64/fpu/e_hypot.S: New file.
3339         * sysdeps/ia64/fpu/e_hypotf.S: New file.
3340         * sysdeps/ia64/fpu/e_hypotl.S: New file.
3341         * sysdeps/ia64/fpu/e_log.S: New file.
3342         * sysdeps/ia64/fpu/e_log10.c: New file.
3343         * sysdeps/ia64/fpu/e_log10f.c: New file.
3344         * sysdeps/ia64/fpu/e_log10l.c: New file.
3345         * sysdeps/ia64/fpu/e_logf.S: New file.
3346         * sysdeps/ia64/fpu/e_logl.c: New file.
3347         * sysdeps/ia64/fpu/e_pow.S: New file.
3348         * sysdeps/ia64/fpu/e_powf.S: New file.
3349         * sysdeps/ia64/fpu/e_powl.S: New file.
3350         * sysdeps/ia64/fpu/e_rem_pio2.c: New file.
3351         * sysdeps/ia64/fpu/e_rem_pio2f.c: New file.
3352         * sysdeps/ia64/fpu/e_remainder.S: New file.
3353         * sysdeps/ia64/fpu/e_remainderf.S: New file.
3354         * sysdeps/ia64/fpu/e_remainderl.S: New file.
3355         * sysdeps/ia64/fpu/e_scalb.S: New file.
3356         * sysdeps/ia64/fpu/e_scalbf.S: New file.
3357         * sysdeps/ia64/fpu/e_scalbl.S: New file.
3358         * sysdeps/ia64/fpu/e_sinh.S: New file.
3359         * sysdeps/ia64/fpu/e_sinhf.S: New file.
3360         * sysdeps/ia64/fpu/e_sinhl.S: New file.
3361         * sysdeps/ia64/fpu/e_sqrt.S: New file.
3362         * sysdeps/ia64/fpu/e_sqrtf.S: New file.
3363         * sysdeps/ia64/fpu/e_sqrtl.S: New file.
3364         * sysdeps/ia64/fpu/k_rem_pio2.c: New file.
3365         * sysdeps/ia64/fpu/k_rem_pio2f.c: New file.
3366         * sysdeps/ia64/fpu/k_rem_pio2l.c: New file.
3367         * sysdeps/ia64/fpu/libm_atan2_reg.S: New file.
3368         * sysdeps/ia64/fpu/libm_error.c: New file.
3369         * sysdeps/ia64/fpu/libm_frexp4.S: New file.
3370         * sysdeps/ia64/fpu/libm_frexp4f.S: New file.
3371         * sysdeps/ia64/fpu/libm_frexp4l.S: New file.
3372         * sysdeps/ia64/fpu/libm_reduce.S: New file.
3373         * sysdeps/ia64/fpu/libm_support.h: New file.
3374         * sysdeps/ia64/fpu/libm_tan.S: New file.
3375         * sysdeps/ia64/fpu/s_atan.S: New file.
3376         * sysdeps/ia64/fpu/s_atanf.S: New file.
3377         * sysdeps/ia64/fpu/s_atanl.S: New file.
3378         * sysdeps/ia64/fpu/s_cbrt.S: New file.
3379         * sysdeps/ia64/fpu/s_cbrtf.S: New file.
3380         * sysdeps/ia64/fpu/s_cbrtl.S: New file.
3381         * sysdeps/ia64/fpu/s_ceil.S: New file.
3382         * sysdeps/ia64/fpu/s_ceilf.S: New file.
3383         * sysdeps/ia64/fpu/s_ceill.S: New file.
3384         * sysdeps/ia64/fpu/s_cos.S: New file.
3385         * sysdeps/ia64/fpu/s_cosf.S: New file.
3386         * sysdeps/ia64/fpu/s_cosl.S: New file.
3387         * sysdeps/ia64/fpu/s_expm1.S: New file.
3388         * sysdeps/ia64/fpu/s_expm1f.S: New file.
3389         * sysdeps/ia64/fpu/s_expm1l.S: New file.
3390         * sysdeps/ia64/fpu/s_floor.S: New file.
3391         * sysdeps/ia64/fpu/s_floorf.S: New file.
3392         * sysdeps/ia64/fpu/s_floorl.S: New file.
3393         * sysdeps/ia64/fpu/s_frexp.c: New file.
3394         * sysdeps/ia64/fpu/s_frexpf.c: New file.
3395         * sysdeps/ia64/fpu/s_frexpl.c: New file.
3396         * sysdeps/ia64/fpu/s_ilogb.S: New file.
3397         * sysdeps/ia64/fpu/s_ilogbf.S: New file.
3398         * sysdeps/ia64/fpu/s_ilogbl.S: New file.
3399         * sysdeps/ia64/fpu/s_ldexp.S: New file.
3400         * sysdeps/ia64/fpu/s_ldexpf.S: New file.
3401         * sysdeps/ia64/fpu/s_ldexpl.S: New file.
3402         * sysdeps/ia64/fpu/s_log1p.S: New file.
3403         * sysdeps/ia64/fpu/s_log1pf.S: New file.
3404         * sysdeps/ia64/fpu/s_log1pl.S: New file.
3405         * sysdeps/ia64/fpu/s_logb.S: New file.
3406         * sysdeps/ia64/fpu/s_logbf.S: New file.
3407         * sysdeps/ia64/fpu/s_logbl.S: New file.
3408         * sysdeps/ia64/fpu/s_matherrf.c: New file.
3409         * sysdeps/ia64/fpu/s_matherrl.c: New file.
3410         * sysdeps/ia64/fpu/s_modf.S: New file.
3411         * sysdeps/ia64/fpu/s_modff.S: New file.
3412         * sysdeps/ia64/fpu/s_modfl.S: New file.
3413         * sysdeps/ia64/fpu/s_nearbyint.S: New file.
3414         * sysdeps/ia64/fpu/s_nearbyintf.S: New file.
3415         * sysdeps/ia64/fpu/s_nearbyintl.S: New file.
3416         * sysdeps/ia64/fpu/s_rint.S: New file.
3417         * sysdeps/ia64/fpu/s_rintf.S: New file.
3418         * sysdeps/ia64/fpu/s_rintl.S: New file.
3419         * sysdeps/ia64/fpu/s_round.S: New file.
3420         * sysdeps/ia64/fpu/s_roundf.S: New file.
3421         * sysdeps/ia64/fpu/s_roundl.S: New file.
3422         * sysdeps/ia64/fpu/s_scalbn.S: New file.
3423         * sysdeps/ia64/fpu/s_scalbnf.S: New file.
3424         * sysdeps/ia64/fpu/s_scalbnl.S: New file.
3425         * sysdeps/ia64/fpu/s_significand.S: New file.
3426         * sysdeps/ia64/fpu/s_significandf.S: New file.
3427         * sysdeps/ia64/fpu/s_significandl.S: New file.
3428         * sysdeps/ia64/fpu/s_sin.c: New file.
3429         * sysdeps/ia64/fpu/s_sincos.c: New file.
3430         * sysdeps/ia64/fpu/s_sincosf.c: New file.
3431         * sysdeps/ia64/fpu/s_sincosl.c: New file.
3432         * sysdeps/ia64/fpu/s_sinf.c: New file.
3433         * sysdeps/ia64/fpu/s_sinl.c: New file.
3434         * sysdeps/ia64/fpu/s_tan.S: New file.
3435         * sysdeps/ia64/fpu/s_tanf.S: New file.
3436         * sysdeps/ia64/fpu/s_tanl.S: New file.
3437         * sysdeps/ia64/fpu/s_trunc.S: New file.
3438         * sysdeps/ia64/fpu/s_truncf.S: New file.
3439         * sysdeps/ia64/fpu/s_truncl.S: New file.
3440         * sysdeps/ia64/fpu/w_acos.c: New file.
3441         * sysdeps/ia64/fpu/w_acosf.c: New file.
3442         * sysdeps/ia64/fpu/w_acosl.c: New file.
3443         * sysdeps/ia64/fpu/w_asin.c: New file.
3444         * sysdeps/ia64/fpu/w_asinf.c: New file.
3445         * sysdeps/ia64/fpu/w_asinl.c: New file.
3446         * sysdeps/ia64/fpu/w_atan2.c: New file.
3447         * sysdeps/ia64/fpu/w_atan2f.c: New file.
3448         * sysdeps/ia64/fpu/w_atan2l.c: New file.
3449         * sysdeps/ia64/fpu/w_cosh.c: New file.
3450         * sysdeps/ia64/fpu/w_coshf.c: New file.
3451         * sysdeps/ia64/fpu/w_coshl.c: New file.
3452         * sysdeps/ia64/fpu/w_exp.c: New file.
3453         * sysdeps/ia64/fpu/w_expf.c: New file.
3454         * sysdeps/ia64/fpu/w_fmod.c: New file.
3455         * sysdeps/ia64/fpu/w_fmodf.c: New file.
3456         * sysdeps/ia64/fpu/w_fmodl.c: New file.
3457         * sysdeps/ia64/fpu/w_hypot.c: New file.
3458         * sysdeps/ia64/fpu/w_hypotf.c: New file.
3459         * sysdeps/ia64/fpu/w_hypotl.c: New file.
3460         * sysdeps/ia64/fpu/w_log.c: New file.
3461         * sysdeps/ia64/fpu/w_log10.c: New file.
3462         * sysdeps/ia64/fpu/w_log10f.c: New file.
3463         * sysdeps/ia64/fpu/w_log10l.c: New file.
3464         * sysdeps/ia64/fpu/w_logf.c: New file.
3465         * sysdeps/ia64/fpu/w_logl.c: New file.
3466         * sysdeps/ia64/fpu/w_pow.c: New file.
3467         * sysdeps/ia64/fpu/w_powf.c: New file.
3468         * sysdeps/ia64/fpu/w_powl.c: New file.
3469         * sysdeps/ia64/fpu/w_remainder.c: New file.
3470         * sysdeps/ia64/fpu/w_remainderf.c: New file.
3471         * sysdeps/ia64/fpu/w_remainderl.c: New file.
3472         * sysdeps/ia64/fpu/w_scalb.c: New file.
3473         * sysdeps/ia64/fpu/w_scalbf.c: New file.
3474         * sysdeps/ia64/fpu/w_scalbl.c: New file.
3475         * sysdeps/ia64/fpu/w_sqrt.c: New file.
3476         * sysdeps/ia64/fpu/w_sqrtf.c: New file.
3477         * sysdeps/ia64/fpu/w_sqrtl.c: New file.
3478         * sysdeps/ia64/fpu/libm-test-ulps: Adjust for long double
3479         implementation.
3480         * sysdeps/ia64/fpu/bits/mathdef.h: Correct float_t and double_t types.
3481         Change FP_ILOGBNAN for new implementation.
3482         * Verions.def: Add 2.2.3 versions.
3484 2001-02-18  Ulrich Drepper  <drepper@redhat.com>
3486         * math/libm-test.inc (scalb_test): Require invalid exception being
3487         raised for invalid parameters.
3488         * sysdeps/i386/fpu/e_scalb.S: Raise invalid exception if necessary.
3489         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3490         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3492 2001-02-18  Mark Kettenis  <kettenis@gnu.org>
3494         * sysdeps/mach/getsysstats.c (__get_phys_pages): Change return
3495         value to long int.
3496         (__get_avphys_pages): Likewise.
3498 2001-02-18  Ulrich Drepper  <drepper@redhat.com>
3500         * math/libm-test.inc (pow_test): Correct expected results for x == +-1.
3501         * sysdeps/i386/fpu/e_pow.S: Handle x == +-1 correctly.
3502         * sysdeps/i386/fpu/e_powf.S: Likewise.
3503         * sysdeps/i386/fpu/e_powl.S: Likewise.
3505         * sysdeps/i386/fpu/bits/mathinline.h: Remove pow inline code.
3507 2001-02-17  Ulrich Drepper  <drepper@redhat.com>
3509         * math/Makefile (libm-calls): It's e_exp2 not s_exp2.
3511         * sysdeps/generic/s_exp2l.c: Renamed to...
3512         * sysdeps/generic/e_exp2l.c: ...this.   New file.
3513         * sysdeps/i386/fpu/s_exp2.S: Renamed to...
3514         * sysdeps/i386/fpu/e_exp2.S: ...this.   New file.
3515         * sysdeps/i386/fpu/s_exp2f.S: Renamed to...
3516         * sysdeps/i386/fpu/e_exp2f.S: ...this.   New file.
3517         * sysdeps/i386/fpu/s_exp2l.S: Renamed to...
3518         * sysdeps/i386/fpu/e_exp2l.S: ...this.   New file.
3519         * sysdeps/ieee754/flt-32/s_exp2f.c: Renamed to...
3520         * sysdeps/ieee754/flt-32/e_exp2f.c: ...this.   New file.
3521         * sysdeps/ieee754/dbl-64/s_exp2.c: Renamed to...
3522         * sysdeps/ieee754/dbl-64/e_exp2.c: ...this.   New file.
3523         * sysdeps/m68k/fpu/s_exp2.c: Renamed to...
3524         * sysdeps/m68k/fpu/e_exp2.c: ...this.   New file.
3525         * sysdeps/m68k/fpu/s_exp2f.c: Renamed to...
3526         * sysdeps/m68k/fpu/e_exp2f.c: ...this.   New file.
3527         * sysdeps/m68k/fpu/s_exp2l.c: Renamed to...
3528         * sysdeps/m68k/fpu/e_exp2l.c: ...this.   New file.
3530 2001-02-17  Andreas Jaeger  <aj@suse.de>
3532         * configure.in: Allow gcc 3.
3534 2001-02-16  Ulrich Drepper  <drepper@redhat.com>
3536         * math/w_acos.c: Move to ...
3537         * sysdeps/generic/w_acos.c: ...here.  New file.
3538         * math/w_acosf.c: Move to ...
3539         * sysdeps/generic/w_acosf.c: ...here.  New file.
3540         * math/w_acosh.c: Move to ...
3541         * sysdeps/generic/w_acosh.c: ...here.  New file.
3542         * math/w_acoshf.c: Move to ...
3543         * sysdeps/generic/w_acoshf.c: ...here.  New file.
3544         * math/w_acoshl.c: Move to ...
3545         * sysdeps/generic/w_acoshl.c: ...here.  New file.
3546         * math/w_acosl.c: Move to ...
3547         * sysdeps/generic/w_acosl.c: ...here.  New file.
3548         * math/w_asin.c: Move to ...
3549         * sysdeps/generic/w_asin.c: ...here.  New file.
3550         * math/w_asinf.c: Move to ...
3551         * sysdeps/generic/w_asinf.c: ...here.  New file.
3552         * math/w_asinl.c: Move to ...
3553         * sysdeps/generic/w_asinl.c: ...here.  New file.
3554         * math/w_atan2.c: Move to ...
3555         * sysdeps/generic/w_atan2.c: ...here.  New file.
3556         * math/w_atan2f.c: Move to ...
3557         * sysdeps/generic/w_atan2f.c: ...here.  New file.
3558         * math/w_atan2l.c: Move to ...
3559         * sysdeps/generic/w_atan2l.c: ...here.  New file.
3560         * math/w_atanh.c: Move to ...
3561         * sysdeps/generic/w_atanh.c: ...here.  New file.
3562         * math/w_atanhf.c: Move to ...
3563         * sysdeps/generic/w_atanhf.c: ...here.  New file.
3564         * math/w_atanhl.c: Move to ...
3565         * sysdeps/generic/w_atanhl.c: ...here.  New file.
3566         * math/w_cosh.c: Move to ...
3567         * sysdeps/generic/w_cosh.c: ...here.  New file.
3568         * math/w_coshf.c: Move to ...
3569         * sysdeps/generic/w_coshf.c: ...here.  New file.
3570         * math/w_coshl.c: Move to ...
3571         * sysdeps/generic/w_coshl.c: ...here.  New file.
3572         * math/w_drem.c: Move to ...
3573         * sysdeps/generic/w_drem.c: ...here.  New file.
3574         * math/w_dremf.c: Move to ...
3575         * sysdeps/generic/w_dremf.c: ...here.  New file.
3576         * math/w_dreml.c: Move to ...
3577         * sysdeps/generic/w_dreml.c: ...here.  New file.
3578         * math/w_exp10.c: Move to ...
3579         * sysdeps/generic/w_exp10.c: ...here.  New file.
3580         * math/w_exp10f.c: Move to ...
3581         * sysdeps/generic/w_exp10f.c: ...here.  New file.
3582         * math/w_exp10l.c: Move to ...
3583         * sysdeps/generic/w_exp10l.c: ...here.  New file.
3584         * math/w_exp2.c: Move to ...
3585         * sysdeps/generic/w_exp2.c: ...here.  New file.
3586         * math/w_exp2f.c: Move to ...
3587         * sysdeps/generic/w_exp2f.c: ...here.  New file.
3588         * math/w_exp2l.c: Move to ...
3589         * sysdeps/generic/w_exp2l.c: ...here.  New file.
3590         * math/w_fmod.c: Move to ...
3591         * sysdeps/generic/w_fmod.c: ...here.  New file.
3592         * math/w_fmodf.c: Move to ...
3593         * sysdeps/generic/w_fmodf.c: ...here.  New file.
3594         * math/w_fmodl.c: Move to ...
3595         * sysdeps/generic/w_fmodl.c: ...here.  New file.
3596         * math/w_hypot.c: Move to ...
3597         * sysdeps/generic/w_hypot.c: ...here.  New file.
3598         * math/w_hypotf.c: Move to ...
3599         * sysdeps/generic/w_hypotf.c: ...here.  New file.
3600         * math/w_hypotl.c: Move to ...
3601         * sysdeps/generic/w_hypotl.c: ...here.  New file.
3602         * math/w_j0.c: Move to ...
3603         * sysdeps/generic/w_j0.c: ...here.  New file.
3604         * math/w_j0f.c: Move to ...
3605         * sysdeps/generic/w_j0f.c: ...here.  New file.
3606         * math/w_j0l.c: Move to ...
3607         * sysdeps/generic/w_j0l.c: ...here.  New file.
3608         * math/w_j1.c: Move to ...
3609         * sysdeps/generic/w_j1.c: ...here.  New file.
3610         * math/w_j1f.c: Move to ...
3611         * sysdeps/generic/w_j1f.c: ...here.  New file.
3612         * math/w_j1l.c: Move to ...
3613         * sysdeps/generic/w_j1l.c: ...here.  New file.
3614         * math/w_jn.c: Move to ...
3615         * sysdeps/generic/w_jn.c: ...here.  New file.
3616         * math/w_jnf.c: Move to ...
3617         * sysdeps/generic/w_jnf.c: ...here.  New file.
3618         * math/w_jnl.c: Move to ...
3619         * sysdeps/generic/w_jnl.c: ...here.  New file.
3620         * math/w_lgamma.c: Move to ...
3621         * sysdeps/generic/w_lgamma.c: ...here.  New file.
3622         * math/w_lgammaf.c: Move to ...
3623         * sysdeps/generic/w_lgammaf.c: ...here.  New file.
3624         * math/w_lgammaf_r.c: Move to ...
3625         * sysdeps/generic/w_lgammaf_r.c: ...here.  New file.
3626         * math/w_lgammal.c: Move to ...
3627         * sysdeps/generic/w_lgammal.c: ...here.  New file.
3628         * math/w_lgammal_r.c: Move to ...
3629         * sysdeps/generic/w_lgammal_r.c: ...here.  New file.
3630         * math/w_lgamma_r.c: Move to ...
3631         * sysdeps/generic/w_lgamma_r.c: ...here.  New file.
3632         * math/w_log10.c: Move to ...
3633         * sysdeps/generic/w_log10.c: ...here.  New file.
3634         * math/w_log10f.c: Move to ...
3635         * sysdeps/generic/w_log10f.c: ...here.  New file.
3636         * math/w_log10l.c: Move to ...
3637         * sysdeps/generic/w_log10l.c: ...here.  New file.
3638         * math/w_log.c: Move to ...
3639         * sysdeps/generic/w_log.c: ...here.  New file.
3640         * math/w_logf.c: Move to ...
3641         * sysdeps/generic/w_logf.c: ...here.  New file.
3642         * math/w_logl.c: Move to ...
3643         * sysdeps/generic/w_logl.c: ...here.  New file.
3644         * math/w_pow.c: Move to ...
3645         * sysdeps/generic/w_pow.c: ...here.  New file.
3646         * math/w_powf.c: Move to ...
3647         * sysdeps/generic/w_powf.c: ...here.  New file.
3648         * math/w_powl.c: Move to ...
3649         * sysdeps/generic/w_powl.c: ...here.  New file.
3650         * math/w_remainder.c: Move to ...
3651         * sysdeps/generic/w_remainder.c: ...here.  New file.
3652         * math/w_remainderf.c: Move to ...
3653         * sysdeps/generic/w_remainderf.c: ...here.  New file.
3654         * math/w_remainderl.c: Move to ...
3655         * sysdeps/generic/w_remainderl.c: ...here.  New file.
3656         * math/w_scalb.c: Move to ...
3657         * sysdeps/generic/w_scalb.c: ...here.  New file.
3658         * math/w_scalbf.c: Move to ...
3659         * sysdeps/generic/w_scalbf.c: ...here.  New file.
3660         * math/w_scalbl.c: Move to ...
3661         * sysdeps/generic/w_scalbl.c: ...here.  New file.
3662         * math/w_sinh.c: Move to ...
3663         * sysdeps/generic/w_sinh.c: ...here.  New file.
3664         * math/w_sinhf.c: Move to ...
3665         * sysdeps/generic/w_sinhf.c: ...here.  New file.
3666         * math/w_sinhl.c: Move to ...
3667         * sysdeps/generic/w_sinhl.c: ...here.  New file.
3668         * math/w_sqrtl.c: Move to ...
3669         * sysdeps/generic/w_sqrtl.c: ...here.  New file.
3670         * math/w_tgamma.c: Move to ...
3671         * sysdeps/generic/w_tgamma.c: ...here.  New file.
3672         * math/w_tgammaf.c: Move to ...
3673         * sysdeps/generic/w_tgammaf.c: ...here.  New file.
3674         * math/w_tgammal.c: Move to ...
3675         * sysdeps/generic/w_tgammal.c: ...here.  New file.
3677         * locale/programs/ld-address.c (address_finish): Add 'S' to allow
3678         formats for postal_fmt.
3680 2001-02-16  Jakub Jelinek  <jakub@redhat.com>
3682         * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Add
3683         __ftruncate64 alias.
3684         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (ftruncate):
3685         Likewise.
3687 2001-02-15  David Mosberger  <davidm@hpl.hp.com>
3689         * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): No need to
3690         do "loadrs".  Writing to bspstore already takes care of
3691         invalidating the "clean" partition.
3693 2001-02-16  Andreas Schwab  <schwab@suse.de>
3695         * sysdeps/m68k/fpu/s_nextafterl.c: New file.
3696         * sysdeps/m68k/fpu/s_fpclassifyl.c: New file.
3698 2001-02-15  Jakub Jelinek  <jakub@redhat.com>
3700         * posix/regex.c (init_syntax_once): Add prototype.
3701         (TRANSLATE): If MBS_SUPPORT, translate all characters up to '\xff'.
3702         (re_search_2): Avoid warning.
3703         (count_mbs_length): Add prototype.
3704         * posix/tst-regex3.c: New file.
3705         * posix/Makefile (tests): Add bug-regex3.
3707 2001-02-15  Ulrich Drepper  <drepper@redhat.com>
3709         * stdio-common/Makefile (tests): Add tst-gets.
3710         * stdio-common/tst-gets.c: New file.
3711         * stdio-common/tst-gets.input: New file.
3713         * elf/elf.h (DT_CHECKSUM): Define.
3715         * sysdeps/generic/strtoll.c: Don't export __strto*_internal as
3716         default symbol.
3717         * sysdeps/generic/strtoull.c: Likewise.
3719 2001-02-14  Wolfram Gloger  <wg@malloc.de>
3721         * malloc/malloc.c (new_heap): When allocating large chunk aligned
3722         to HEAP_MAX_SIZE, prefer one with lower address, to avoid `holes'
3723         between the heaps.
3725 2001-02-14  Ulrich Drepper  <drepper@redhat.com>
3727         * math/libm-test.inc (j0_test): Check whether sincos is available.
3728         (j1_test): Likewise.
3729         (jn_test): Likewise.
3730         (y0_test): Likewise.
3731         (y1_test): Likewise.
3732         (yn_test): Likewise.
3734         * posix/tst-gnuglob.c: Make a few entries DT_UNKNOWN and teach
3735         fake filesystem routines to handle this.
3737         * time/sys/time.h: Make settimeofday and adjtime available if
3738         _BSD_SOURCE.
3740         * time/sys/time.h: Make timer* macros available for BSD.
3742         * iconvdata/gb18030.c: Update for Dec 2000 re-release of GB18030.
3743         Patch by Yong Li <rigel863@yahoo.com>.
3745         * sysdeps/generic/glob.c (CONVERT_DIRENT_DIRENT64): Fix copying of
3746         name.
3748         * posix/Makefile (tests): Add tst-gnuglob.
3749         * posix/tst-gnuglob.c: New file.
3751 2001-02-13  H.J. Lu  <hjl@gnu.org>
3753         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __ftruncate64.
3755 2001-02-13  Ulrich Drepper  <drepper@redhat.com>
3757         * locale/programs/ld-paper.c (paper_output): Pretty printing.
3759         * iconvdata/Makefile (modules): Add GBBIG5.
3760         (distribute): Add gbbig5.c.
3761         * iconvdata/gconv-modules: Add entries for GBBIG5 module.
3763         * iconvdata/gbbig5.c: New file.
3764         Contributed by Yong Li <rigel863@yahoo.com>.
3766 2001-02-13  Philip Blundell  <pb@futuretv.com>
3768         * manual/crypt.texi: Remove outdated references to crypt add-on.
3770         * manual/creature.texi: Improve wording slightly.
3772 2001-02-13  Ulrich Drepper  <drepper@redhat.com>
3774         * io/ftw.c: Always use readdir64.
3775         * io/ftw64.c: Likewise.
3776         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3777         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3778         * sysdeps/generic/glob.c: Likewise.  Convert results of gl_readdir
3779         callback to dirent.  Still allow compiling outside glibc.
3780         * sysdeps/gnu/glob64.c: Define COMPILE_GLOB64.
3781         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
3783         * malloc/mtrace.c: Use fopen64.
3784         * posix/spawni.c: Use __open64.
3785         * sysdeps/unix/opendir.c: Likewise.
3786         * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
3788         * sysdeps/generic/ftruncate64.c: Define __ftruncate64 and make old
3789         name a weak alias.
3790         * sysdeps/unix/sysv/aix/ftruncate64.c: Likewise.
3791         * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise.
3792         * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
3793         * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Likewise.
3795         * resolv/res_data.c: Add cast to avoid warning.
3797         * include/unistd.h: Declare __ftruncate64.
3799         * sysdeps/generic/utmp_file.c: Use LFS functions and types.
3801         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use __lseek64
3802         instead of __lseek.
3804 2001-02-13  Andreas Jaeger  <aj@suse.de>
3806         * login/getutent_r.c: Include <stdlib.h> for NULL.
3807         * login/getutid_r.c: Likewise.
3809 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
3811         * sysdeps/dbl-64/e_j0.c: Little optimization, use sincos.
3812         * sysdeps/dbl-64/e_j1.c: Likewise.
3813         * sysdeps/dbl-64/e_jn.c: Likewise.
3814         * sysdeps/flt-32/e_j0f.c: Likewise.
3815         * sysdeps/flt-32/e_j1f.c: Likewise.
3816         * sysdeps/ldbl-96/e_j0l.c: Likewise.
3818 2000-12-02  H.J. Lu  <hjl@gnu.org>
3820         * resolv/res_libc.c (res_init): Don't make it default.
3822 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
3824         * manual/debug.texi: Improved the wording.
3825         Patch by Philip Blundell <pb@futuretv.com>.
3827 2001-02-12  Andreas Jaeger  <aj@suse.de>
3829         * posix/Makefile (tests): Don't run bug-regex2 when
3830         cross-compiling.
3832         * libio/Makefile (tests): Don't run test-freopen when
3833         cross-compiling.
3835         * manual/stdio.texi (Streams and I18N): Fix typos.
3837 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
3839         * sysdeps/i386/fpu/libm-test-ulps: Adjust for errors in y0l.
3841         * math/libm-test.inc (j0_test): Make expected results long double
3842         constants.
3843         (y0_test): Likewise.
3845         * sysdeps/ieee754/ldbl-96/e_j0l.c: New file.
3846         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
3848 2001-02-11  Jakub Jelinek  <jakub@redhat.com>
3850         * sysdeps/generic/strtoll.c (__strtoq_internal): Ressurect alias
3851         which was exported from libc.
3852         * sysdeps/generic/strtoull.c (__strtouq_internal): Likewise.
3854 2001-02-12  Andreas Jaeger  <aj@suse.de>
3856         * manual/arith.texi (Parsing of Integers): Fix some wordings.
3858 2001-02-11  Ulrich Drepper  <drepper@redhat.com>
3860         * sysdeps/generic/getsysstat.c: Change return value of get_phys_pages
3861         and get_avphys_page to long int.
3862         * sysdeps/unix/sysv/linux/getsysstat.c: Likewise.
3863         * include/sys/sysinfo.h: Likewise.
3864         * sysdeps/generic/sys/sysinfo.h: Likewise.
3865         * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
3867         * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Fail if we
3868         cannot return as many values as the user asked for.
3870 2001-02-11  Andreas Jaeger  <aj@suse.de>
3872         * manual/resource.texi (Memory Resources): Fix typo.
3874         * libio/Makefile ($(objpfx)test-freopen.out): Pass
3875         run-program-prefix.
3877         * libio/test-freopen.sh: Use run_program_prefix.
3879 2001-02-10  Andreas Jaeger  <aj@suse.de>
3881         * stdlib/Makefile (tests): Don't run tst-fmtmsg when
3882         cross-compiling.
3883         ($(objpfx)tst-fmtmsg.out): Pass run-program-prefix.
3885         * stdlib/tst-fmtmsg.sh (test): Use run_program_prefix for static
3886         only builds.
3888         * elf/Makefile (tests): Only run tst-pathopt with shared libs.
3890         * posix/Makefile: Fix typo, it's build-static-nss.
3892         * iconv/Makefile (extra-objs): New.
3894 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
3896         * sysdeps/unix/stime.c: Include <time.h>.
3898         * sysdeps/mach/hurd/setitimer.c: Include <time.h>.
3900 2001-02-10  Andreas Jaeger  <aj@suse.de>
3902         * manual/string.texi (Search Functions): Fix typo.
3904 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
3906         * sysdeps/unix/bsd/times.c: Reorder includes and add <time.h>.
3907         (timeval_to_clock_t): Add clk_tck argument and use that instead of
3908         CLK_TCK.
3909         (__times): Use __getclktck to get the number of clock ticks per
3910         second and use its return value instead of CLK_TCK.
3912 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
3914         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (_HAVE_SA_LEN): Define.
3916 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
3918         * sysdeps/mach/gettimeofday.c: Include <stddef.h>.
3920 2001-02-10  Andreas Jaeger  <aj@suse.de>
3922         * wctype/wcfuncs.c (func): Add prototype declarations to avoid
3923         warning.
3925 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
3927         * posix/Makefile: Add rules to build and run bug-regex2.
3928         * posix/bug-regex2.c: New file.
3930 2001-02-10  Jakub Jelinek  <jakub@redhat.com>
3932         * posix/regex.c (convert_mbs_to_wcs): Change is_binary to char *.
3933         (regex_compile): Likewise.
3934         (FREE_VARIABLES): Don't free is_binary1 and is_binary2.
3935         (re_match_2_internal): Use just is_binary instead of two variables.
3936         Use REGEX_TALLOC to allocate it and FREE_VAR to free on failure.
3938 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
3940         * version.h (VERSION): Bump to 2.2.2.
3942         * iconv/Makefile (distribute): Add iconv_charmap.c and
3943         dummy-repertoire.c.
3944         * elf/Makefile (distribute): Add firstobj.c.
3945         * Makefile (distribute): Add include/pthread.h.
3947         * configure.in: Require makeinfo version 4.
3949         * libio/tst_wscanf.c (main): Add cast to avoid warning.
3950         * libio/tst_swscanf.c (main): Likewise..
3952 2001-02-09  Jakub Jelinek  <jakub@redhat.com>
3954         * sysdeps/generic/setenv.c (unsetenv): Remove const from len.
3955         * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, fdim): Don't define if
3956         __NO_MATH_INLINES.
3957         * sysdeps/i386/dl-machine.h (elf_machine_rel): Only declare refsym
3958         if not RTLD_BOOTSTRAP.
3959         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
3960         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
3962 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
3964         * locale/programs/linereader.c (get_ident): Stop loop if EOF.  Use
3965         lr_ungetc to push back last read character.
3966         * locale/programs/linereader.h (lr_ungetc): Don't push back is
3967         character is EOF.
3968         (lr_ignore_rest): Don't warn about garbage if it is really the end
3969         of the file.
3971         * manual/Makefile: Use ifnottext and not ifinfo to protect Top node
3972         definition.
3974 2001-02-08  Ulrich Drepper  <drepper@redhat.com>
3976         * Makerules (build-shlib): Work around different order of
3977         processing of -B option in different gcc versions.
3979         * posix/regex.c: Fix alignment problem.
3980         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
3982         * sysdeps/alpha/strrchr.S: Little optimization.
3983         Patch by Richard Henderson <rth@redhat.com>.
3985         * sysdeps/alpha/alphaev67/strrchr.S: New file.
3986         Contributed by Rick Gorton <rick.gorton@alpha-processor.com>.
3988 2001-02-08  kaz Kojima  <kkojima@rr.iij4u.or.jp>
3990         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Correct function name
3991         in the assembler end directive.
3993 2001-02-08  Andreas Jaeger  <aj@suse.de>
3995         * manual/stdio.texi (Closing Streams): Fix typos.
3997 2001-02-07  Ulrich Drepper  <drepper@redhat.com>
3999         * sysdeps/alpha/alphaev67/strncat.S: Align last write address.
4000         Patch by Richard Henderson <rth@redhat.com>.
4001         Reported by Claus-Justus Heine <heine@instmath.rwth-aachen.de>.
4003         * stdlib/strfmon.c [USE_IN_LIBIO]: Define lock variable and store
4004         pointer in FILE structure before calling _IO_init.
4005         * stdlib/Makefile: Add -D_IO_MTSAFE_IO to CFLAGS for strfmon and
4006         strfmon_l if necessary.
4007         Reported by Jury Gerold <gjury@grips.com>.
4009         * sysdeps/gnu/netinet/tcp.h: Correct values of TCP_ macros.
4010         Patch by Pekka.Pietikainen@cern.ch.
4012         * posix/regex.c: Correct several problems with 64-bit architectures
4013         introduced in the MBS changes.
4014         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
4016 2001-02-07  Jakub Jelinek  <jakub@redhat.com>
4018         * math/tgmath.h: Only add l suffixes if __NO_LONG_DOUBLE_MATH is
4019         not defined.
4020         * sysdeps/alpha/fpu/bits/mathinline.h: Honour __NO_MATH_INLINES.
4022 2001-02-07  Andreas Jaeger  <aj@suse.de>
4024         * manual/install.texi (Tools for Compilation): Fix typo.
4025         Reported by Pavel Machek <pavel@bug.ucw.cz>.
4027 2001-02-07  Ulrich Drepper  <drepper@redhat.com>
4029         * stdlib/strtod.c: Never stop prematurely reading digits before the
4030         decimal point is found.  Compute exponent limit for negative exponents
4031         correctly.  For numbers ending in all zeros eat the zeros even before
4032         the decimal point if the exponent is negative [PR libc/2072].
4033         * stdlib/Makefile (tests): Add bug-strtod.
4034         * stdlib/bug-strtod.c: New file.
4036 2001-02-07  Andreas Jaeger  <aj@suse.de>
4038         * posix/bug-regex1.c: Include <wchar.h> for fwide.
4040 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
4042         * posix/regex.c (regex_compile): Don't store pointer in wchar_t array.
4043         Store index.
4044         (compile_range): Handle index being passed, not pointer.
4045         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
4047         * posix/regex.c: Fix a cast in the code for bracket handling which
4048         caused 8-bit uncleanliness.
4049         Patch by Michal Jaegermann <michal@ellpspace.math.ualberta.ca>.
4051         * posix/Makefile (tests): Add bug-regex1.
4052         * posix/bug-regex1.c: New file.
4053         Contributed by Jim Meyering <jim@meyering.net>.
4055         * posix/regex.c: Many cleanups for incorrect format strings.
4057 2001-02-06  Andreas Jaeger  <aj@suse.de>
4059         * time/time.h (CLK_TCK): Check for !__STRICT_ANSI.
4061 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
4063         * locale/programs/locale.c (write_locales): Use scandir to read
4064         directory so that the entries are sorted.
4066 2001-02-06  Andreas Jaeger  <aj@suse.de>
4068         * include/pthread.h: New file.
4070         * wctype/wctype.h: Move internal interfaces from here to...
4071         * include/wctype.h: ...here.
4073         * wcsmbs/wchar.h: Move __wcslen from here to...
4074         * include/wchar.h: ...here.
4076         * posix/sys/wait.h: Move __wait from here to...
4077         * include/sys/wait.h: ...here.
4079         * string/string.h: Move __ffs and __strerror_r from here to...
4080         * include/string.h: ...here.
4082         * stdlib/stdlib.h: Move __on_exit from here to...
4083         * include/stdlib.h: ...here.
4085         * libio/stdio.h: Move __vsnprintf from here to...
4086         * include/stdio.h: ...here.
4088 2001-02-06  Andreas Schwab  <schwab@suse.de>
4090         * sysdeps/unix/sysv/linux/ia64/ioperm.c: Don't include kernel
4091         headers.
4093         * timezone/Makefile: Don't assume that $(inst_zonedir) is a subdir
4094         of $(inst_datadir).
4096 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
4098         * iconvdata/Makefile: Add dependency for bug-iconv2.out.
4100 2001-02-06  Andreas Jaeger  <aj@suse.de>
4102         * elf/firstobj.c: Add prototype.
4104         * posix/regex.c (convert_mbs_to_wcs): Make static, add prototype
4105         (truncate_wchar): Likewise.
4107 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
4109         * locale/programs/locale.c: Implement --verbose option for -a
4110         which prints detailed information about the locales.
4112 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
4114         * sunrpc/xdr_rec.c (set_input_fragment): Change type of header
4115         variable to uint32_t.
4116         Reported by Ulrich Weigand <weigand@immd1.informatik.uni-erlangen.de>.
4118 2001-02-04  Bruno Haible  <haible@clisp.cons.org>
4120         * locale/C-translit.h.in: Add transliterations for CJK units of
4121         measurement.
4123 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
4125         * elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf
4126         string.  Include <inttypes.h> instead of <stdint.h>.
4128         * localedata/Makefile (tests): Add bug-iconv-trans.
4129         Define bug-iconv-trans-ENV.
4130         * localedata/bug-iconv-trans.c: New file.
4132 2001-02-04  Bruno Haible  <haible@clisp.cons.org>
4134         * iconv/gconv_trans.c (__gconv_transliterate): Use a temporary output
4135         pointer, to avoid accumulating output from incomplete (unsuccessful)
4136         transliteration attempts.
4138 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
4140         * elf/ldconfig.c (search_dir): Use PRIx64 instead of Lx in printf
4141         string.  Include <inttypes.h> instead of <stdint.h>.
4143         * configure.in: Add check for bison.
4144         * config.make.in: Define BISON variable.
4145         * intl/Makefile: Use BISON instead of YACC when generating plural.c.
4146         Rename YFLAGS to BISONFLAGS.
4148 2001-02-05  Andreas Jaeger  <aj@suse.de>
4150         * io/test-lfs.c (do_test): Test lseek64 return value, call
4151         test_ftello.
4152         (test_ftello): New function to test ftello64 and fseeko64.
4154         * signal/signal.h: Move __sigaction from here to...
4155         * include/signal.h: ...here.
4157         * io/fcntl.h: Move __fcntl and __open to...
4158         * include/fcntl.h: ...here.
4160 2001-02-04  Philip Blundell  <philb@gnu.org>
4162         * configure.in: Distinguish ARM from Thumb.
4164 2001-02-04  Philip Blundell  <philb@gnu.org>
4166         * sysdeps/arm/dl-machine.h (elf_machine_rel): Correct handling of
4167         PC24 relocs with negative value.
4169 2001-02-04  Ulrich Drepper  <drepper@redhat.com>
4171         * iconv/Makefile (iconv_prog-modules): Define.  Add vpath to find
4172         files in locale/programs.  Add CFLAGS definition to allow compiling
4173         localedef files.
4174         * iconv/dummy-repertoire.c: New file.
4175         * iconv/iconv_charmap.c: New file.
4176         * iconv/iconv_prog.h: New file.
4177         * iconv/iconv_prog.c: Make verbose and omit_invalid global.
4178         (main): If parameter for -f and -t contain slashes try first to resolve
4179         the strings as filenames of charmap files.  Use them for conversion
4180         in this case.
4181         * iconvdata/run-iconv-test.sh: If charmaps exist also run tests with
4182         iconv getting charmap names as parameters.
4183         * locale/programs/linereader.c (lr_token): Take extra parameters
4184         verbose and pass it to get_string.
4185         (get_string): Take extra parameters verbose.
4186         * locale/programs/charmap.c (parse_charmap): Take extra parameters
4187         verbose and be_quiet.  Change all callers of lr_token and
4188         parse_charmap.
4189         * locale/programs/charmap.h: Likewise.
4190         * locale/programs/ld-address.c: Likewise.
4191         * locale/programs/ld-collate.c: Likewise.
4192         * locale/programs/ld-ctype.c: Likewise.
4193         * locale/programs/ld-identification.c: Likewise.
4194         * locale/programs/ld-measurement.c: Likewise.
4195         * locale/programs/ld-messages.c: Likewise.
4196         * locale/programs/ld-monetary.c: Likewise.
4197         * locale/programs/ld-name.c: Likewise.
4198         * locale/programs/ld-numeric.c: Likewise.
4199         * locale/programs/ld-paper.c: Likewise.
4200         * locale/programs/ld-telephone.c: Likewise.
4201         * locale/programs/ld-time.c: Likewise.
4202         * locale/programs/linereader.c: Likewise.
4203         * locale/programs/linereader.h: Likewise.
4204         * locale/programs/localedef.c: Likewise.
4205         * locale/programs/locfile.c: Likewise.
4206         * locale/programs/locfile.h: Likewise.
4207         * locale/programs/repertoire.c: Likewise.
4209 2001-02-03  Ulrich Drepper  <drepper@redhat.com>
4211         * iconv/iconv_prog.c (main): If output file name is "-" write to
4212         stdout.
4213         (main): If -f or -t argument is missing use charset of the current
4214         locale.
4216 2001-02-03  Andreas Jaeger  <aj@suse.de>
4218         * sysdeps/i386/elf/start.S (_start): Align stack to 16-byte
4219         boundary for SSE/SSE-2 alignment.
4221         * posix/Makefile ($(objpfx)annexc.out): Also pass sysincludes to
4222         annexc.
4224 2001-02-03  Ulrich Drepper  <drepper@redhat.com>
4226         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: File was using crlf.
4227         Remove comma at end of enum.
4229         * elf/dl-init.c: Add a few __builtin_expect.
4231         * hesiod/hesiod.c: Remove unnecessary code.  Remove all uses of strcat.
4233 2001-02-02  Ulrich Drepper  <drepper@redhat.com>
4235         * hesiod/hesiod.c (hesiod_resolve): Also search HS records if
4236         errno is ECONNREFUSED.
4238         * posix/Makefile: Define MBS_SUPPORT for regex.c.
4239         * posix/regex.c: Implement multibyte character handling.
4240         Patch by Isamu Hasegawa <isamu@yamato.ibm.co.jp>.
4242         * string/tst-svc.input: Add two more test cases.
4243         * string/tst-svc.expect: Modify to reflect new test cases.
4245 2001-02-01  Jakub Jelinek  <jakub@redhat.com>
4247         * sysdeps/posix/getaddrinfo.c (gaih_local, gaih_inet): Replace all
4248         tp->name tests with tp->name[0] tests.
4250 2001-01-29  Ben Collins  <bcollins@debian.org>
4252         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r):
4253         Fix check for name == NULL.
4255 2001-02-01  Ulrich Drepper  <drepper@redhat.com>
4257         * elf/Makefile: Add rules to build and run initfirst test.
4258         * elf/initfirst.c: New file.
4259         * elf/firstobj.c: New file.
4261         * Makerules (build-shlib): Add $(extra-B-$(@F:lib%.so=%).so).
4262         * configure.in: Test for -z initfirst linker option.
4263         * config.make.in: Add have-z-initfirst.
4264         * elf/dl-init.c (_dl_init): Split out actual initialization code in
4265         new function call_init.  If _dl_initfirst is non-NULL initialize first.
4266         * elf/dl-load.c (_dl_map_from_fd): If DF_1_INITFIRST flag is set
4267         remember object in _dl_initfirst.
4268         * elf/soinit.c: Remove special support for calling
4269         __pthread_initialize_minimal.
4271         * conform/conformtest.pl: Add missing $prepend in type test.
4273 2001-01-31  Ulrich Drepper  <drepper@redhat.com>
4275         * elf/elf.h (SHT_CHECKSUM): New definition.
4277         * posix/fnmatch_loop.c: Remove incorrect reverse condition in
4278         [. .] matching.  Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
4279         * posix/tst-fnmatch.input: Add tests for [. .] in locales.
4281 2001-01-31  Mark Kettenis  <kettenis@gnu.org>
4283         * misc/sys/select.h: Include <bits/time.h> instead of <sys/time.h>
4284         to get definition of `struct timeval'.
4286 2001-01-31  Ulrich Drepper  <drepper@redhat.com>
4288         * posix/tst-fnmatch.input: Add test cases for de_DE.UTF-8 locale.
4289         * posix/fnmatch_loop.c: Fix handling of [= =] for multibyte charsets.
4291 2001-01-30  Ulrich Drepper  <drepper@redhat.com>
4293         * iconv/gconv_open.c (__gconv_open): Set conv_flags if IGNORE is
4294         seen, not flags.
4296         * nis/nis_findserv.c: Include <time.h>.
4298 2001-01-30  Yong Li  <yong.li@asu.edu>
4300         * iconv/iconv_prog.c (main): Correct error handling method name.
4302 2001-01-29  Ben Collins  <bcollins@debian.org>
4304         * sysdeps/sparc/fpu/fraiseexcpt.c: Include <float.h>.
4305         * sysdeps/hppa/fpu/fraiseexcpt.c: Likewise.
4306         * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
4307         * sysdeps/s390/fpu/fraiseexcpt.c: Likewise.
4309 2001-01-30  Ulrich Drepper  <drepper@redhat.com>
4311         * locale/programs/ld-measurement.c (measurement_finish): Fix a typo.
4312         Patch by Marko Myllynen <myllynen@lut.fi>.
4314         * string/bits/string2.h (__strpbrk_c2): Correct parameter types
4315         (int instead of char).
4316         (__strpbrk_c3): Likewise.
4317         Reported by GOTO Masanori <gotom@debian.or.jp>.
4319         * sysdeps/generic/bits/sockaddr.h: Remove SA_LEN macro.
4320         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Likewise.
4321         * include/sys/socket.h: Add SA_LEN here for internal use.
4322         Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
4324 2001-01-29  Ulrich Drepper  <drepper@redhat.com>
4326         * malloc/Makefile: Don't build memusagestat if cross-compiling.
4328         * sysdeps/generic/dl-sysdep.c (set_seen): Fix typo.
4330         * math/libm-test.inc (rint_test): Add a few more tests for round
4331         to even rounding.
4333 2001-01-28  Ulrich Drepper  <drepper@redhat.com>
4335         * conform/data/pthread.h-data: Correct return type of pthread_exit.
4337         * conform/conformtest.pl: Add -fno-builtin to CFLAGS.
4339         * conform/data/stdlib.h-data: Add _Exit.
4341         * inet/arpa/inet.h: Don't include <sys/types.h>.  Define socklen_t
4342         if not already happened.
4343         * inet/netinet/in.h: Don't include <sys/types.h>, use <bits/types.h>.
4344         Don't include <limits.h> and <bits/sockaddr.h>.
4346         * conform/data/netinet/in.h-data: Allow all of <inttypes.h>.
4348         * conform/data/spawn.h-data: Allow all of <sched.h>.
4350         * sysdeps/ia64/fpu/fraiseexcpt.c: Include <float.h>.  Removed
4351         unused variable.
4353         * sunrpc/xdr_rec.c (xdrrec_getpos): Add cast to long to avoid warning.
4354         * sunrpc/xdr_sizeof.c (x_inline): Likewise.
4356         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include <float.h>.
4358         * conform/conformtest.pl: Define $mustprepend{"stdio.h"}.
4359         * libio/stdio.h: Define va_list correctly.
4361         * conform/data/pthread.h-data: Make priority protocol related
4362         functions optional.  Fix typos.
4364         * posix/sched.h: Define sched_priority as __sched_priority.
4365         * sysdeps/generic/bits/sched.h (struct sched_param): Rename element
4366         to __sched_priority.
4367         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4369 2001-01-27  Ulrich Drepper  <drepper@redhat.com>
4371         * sysdeps/generic/clock_getcpuclockid.c: Include <time.h> instead
4372         of <sys/time.h>.
4374         * sysdeps/unix/stime.c: Include <stddef.h> for NULL.
4375         * sysdeps/unix/time.c: Likewise.
4377         * conform/data/time.h-data: CLK_TCK is not in XPG6.  Fix tzname entry.
4378         * sysdeps/mach/hurd/bits/time.h: Don't define CLK_TCK for XPG6.
4379         * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
4380         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
4381         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
4382         * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
4383         * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
4384         * time/time.h: Likewise.
4386         * conform/conformtest.pl (@headers): Add complex.h and tgmath.h.
4387         * conform/data/complex.h-data: New file.
4388         * conform/data/tgmath.h-data: New file.
4390         * conform/data/wchar.h-data: Add missing functions.
4392         * sysdeps/gnu/bits/utmpx.h: Define RUN_LVL only if __USE_GNU.
4394         * conform/data/termios.h-data: Add missing const in tcsetattr()
4395         prototype.
4397         * posix/sys/wait.h: Include <signal.h> and <sys/resource.h>.
4398         Don't define pid_t here.
4400         * conform/data/sys/utsname.h-data: Don't provide fixed array sizes.
4402         * conform/data/sys/time.h-data: Allow sys/select.h.
4403         * conform/data/sys/un.h-data: Fix typo.
4404         * time/sys/time.h: Don't include all of <time.h>, just struct timeval.
4405         * sysdeps/posix/clock_getres.c: Include <time.h> instead of
4406         <sys/time.h>.
4407         * sysdeps/unix/clock_nanosleep.c: Likewise.
4408         * sysdeps/unix/i386/clock_getcpuclockid.c: Likewise.
4409         * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
4410         * sysdeps/unix/clock_gettime.c: Also include <time.h>.
4411         * sysdeps/unix/clock_settime.c: Likewise.
4413         * sysdeps/generic/pselect.c: Include <stddef.h> for NULL.
4414         * login/getutent.c: Likewise.
4415         * login/getutid.c: Likewise.
4416         * login/getutline.c: Likewise.
4418         * socket/sys/un.h: Define SUN_LEN only if __USE_MISC.
4420         * sysdeps/unix/sysv/linux/bits/statvfs.h: Change type of f_fsid field
4421         to unsigned long.  Add __f_unused.  Define _STATVFSBUF_F_UNUSED.
4422         * sysdeps/unix/sysv/linux/internal_statvfs.c: Adjust initialization of
4423         f_fsid field after change in struct statvfs.
4424         * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: New file.
4425         * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: New file.
4426         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: New file.
4428         * conform/data/sys/stat.h-data: Remove isfdtype.  Use
4429         optional-macro.
4431         * conform/data/sys/socket.h-data: Fix typos.  Correct getsockopt,
4432         recvfrom, send, and socketpair prototypes.  Add allow lines.
4433         * socket/sys/socket.h: Include <sys/uio.h>.
4434         Don't use fancy __SOCKADDR_ARG definition unless __USE_GNU.
4435         Fix type of second parameter of listen.
4436         Don't declare isfdtype unless __USE_MISC.
4437         * sysdeps/generic/listen.c: Fix type of second parameter of listen.
4438         * sysdeps/mach/hurd/listen.c: Likewise.
4439         * sysdeps/generic/bits/socket.h (struct sockaddr_storage): Define
4440         ss_family and __ss_family.
4441         * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
4442         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4443         (struct msghdr): Change type of msg_iovlen to int and type of
4444         msg_controllen to socklen_t.
4445         * sysdeps/unix/sysv/linux/alpha/bits/socket.h: New file.
4446         * sysdeps/unix/sysv/linux/ia64/bits/socket.h: New file.
4447         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: New file.
4448         * inet/rcmd.c (rcmd_af): __ss_family is now ss_family.
4449         (rresvport_af): Likewise.
4451         * conform/data/sys/shm.h-data: SHMLBA is not required to by a constant.
4452         * conform/conformtest.pl: Implement handling of symbol.
4454         * signal/signal.h: Fix handling of __need_* symbols.
4455         * misc/sys/select.c: Define fd_set here.  Remove __fd_set.  Define
4456         fd_mask only if __USE_MISC.  Declare pselect for __USE_XOPEN2K.
4457         * include/sys/select.h: Use fd_set not __fd_set.
4458         * sysdeps/generic/bits/select.h: Likewise.
4459         * sysdeps/i386/bits/select.h: Likewise.
4460         * sysdeps/generic/bits/types.h: Don't define __fd_mask, __NFDBITS,
4461         __FDELT, __FDMASK, and __fd_set here.
4462         * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
4463         * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
4464         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
4465         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
4466         * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
4467         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
4468         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
4469         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
4470         * time/sys/time.h: Define struct timeval before including <time.h>
4471         and <sys/select.h>.
4473         * conform/data/sys/time.h-data: fd_set is a typedef.
4474         * conform/data/sys/select.h-data: New file.
4475         * conform/data/sys/mman.h-data: Make typed mem stuff optional.
4476         * conform/conformtest.pl (@headers): Add sys/select.h.
4477         (type, optional-type): Unless testing a typedef instantiate object.
4478         Implement optional-function.
4480         * math/test-misc.c: Include <float.h>.
4482 2001-01-27  Andreas Jaeger  <aj@suse.de>
4484         * misc/efgcvt_r.c: Include <float.h>.
4486 2001-01-26  Ulrich Drepper  <drepper@redhat.com>
4488         * conform/data/stdlib.h-data: Account for XPG6 changes.
4489         * stdlib/stdlib.h (__random): Change return value type to long.
4490         (posix_memalign): Cleanup parameter names.
4491         (setenv, unsetenv): Make available for __USE_XOPEN2K.
4492         Change return type of unsetenv to int.
4493         (qecvt, qgcvt, qfcvt): Declare only if __USE_MISC.
4494         * include/stdlib.h: Change return type of unsetenv to int.
4495         Change return type of random to long int.
4496         * sysdeps/generic/setenv.c (unsetenv): Change return type to int.
4497         Return -1 and set errno if parameter is invalid.
4498         * stdlib/random.c (__random): Change return value type to long.
4500         * conform/data/stdio.h-data: Account for changes in XPG6.
4502         * conform/data/spawn.h-data: Correct posix_spawnattr_setflags
4503         prototype.
4505         * conform/conformtest.pl: Define $mustprepend{"signal.h"}.
4506         * conform/data/signal.h-data: Fix sigev_notify_function entry.
4507         Fix typo (SIGVALRM -> SIGVTALRM).
4508         * sysdeps/unix/sysv/linux/bits/siginfo.h: Define sigev_notify_attr
4509         with real type.
4510         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
4511         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
4512         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
4513         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4514         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
4516         * conform/conformtest.pl: Implement optional-element.  Define
4517         $mustprepend{"sched.h"}.
4518         * conform/data/sched.h-data: Make sporadic scheduler definitions
4519         optional.
4521         * pwd/pwd.h: Don't define getpwent_r for XPG.
4523         * io/sys/poll.h: Define nfds_t and use it in poll prototype.
4524         * sysdeps/generic/poll.c: Use nfds_t type in function definition.
4525         * sysdeps/mach/hurd/poll.c: Likewise.
4526         * sysdeps/unix/bsd/poll.c: Likewise.
4527         * sysdeps/unix/sysv/linux/poll.c: Likewise.
4528         * sysdeps/unix/sysv/aix/poll.c: Likewise.
4529         * sysdeps/generic/bits/poll.h: Define NPOLLFILE only if __USE_MISC.
4530         * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
4531         * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
4532         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
4533         * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
4534         * conform/data/poll.h-data: Fix typo in poll prototype.
4536         * sysdeps/gnu/netinet/tcp.h: Define everything but TCP_ macros
4537         only if __USE_MISC.
4538         * conform/data/netinet/tcp.h-data: Reserved prefix TCP_.
4540         * sysdeps/gnu/net/if.h: Cleanup namespace.  Define IF_NAMESIZE.
4542         * inet/netinet/in.h: Make IPPROTO_ constants also macros.
4544         * conform/conformtest.pl: Implement optional-type.
4546         * resolv/netdb.h: Include <netinet/in.h> not <sys/socket.h>.  Include
4547         <rpc/netdb.h> only if __USE_MISC.  Include <stdint.h> instead of
4548         defining uint32_t here.  Define IPPORT_RESERVED.
4549         (struct hostent): Type of h_length element is int.
4550         (getnameinfo): Type of flags parameter is unsigned int.
4551         * inet/getnameinfo.c (getnameinfo): flags argument is unsigned.
4552         * conform/data/netdb.h-data: Add many missing definitions.
4554         * conform/conformtest.pl: Implement optional-macro.
4555         * conform/data/math.h-data: Update for XPG6.
4557         * math/math.h (HUGE): Define as FLT_MAX value but don't use
4558         FLT_MAX.  Don't include <float.h>.
4559         (MAXFLOAT): Likewise.
4561         * math/math.h: Define MATH_ERRNO and MATH_ERREXCEPT.
4563         * include/bits/xopen_lim.h: Don't define FOPEN_MAX here.
4565         * conform/data/limits.h-data: Mark constants as optional wherever
4566         appropriate.
4568         * posix/bits/posix2_lim.h: Set correct values for
4569         _POSIX2_COLL_WEIGHTS_MAX and _POSIX2_CHARCLASS_NAME_MAX.  Remove
4570         EQUIV_CLASS_MAX.
4572         * posix/bits/posix1_lim.h: Define _POSIX_TZNAME_MAX as 6.
4573         Required by POSIX.
4575         * intl/loadmsgcat.c: Include <locale.h.> for _LIBC.
4577         * conform/data/netinet/in.h-data: Add reserved prefixes.
4579         * conform/data/arpa/inet.h-data: Fix a few typos.
4581 2001-01-26  Andreas Jaeger  <aj@suse.de>
4583         * sysdeps/generic/strtol.c: Include <locale.h>
4584         * stdlib/strtod.c: Likewise
4585         * stdlib/strfmon.c: Likewise.
4586         * string/strcoll.c: Likewise.
4587         * string/strxfrm.c: Likewise.
4588         * wctype/wcfuncs_l.c: Likewise.
4589         * wctype/wctype_l.c: Likewise.
4590         * wctype/wctrans_l.c: Likewise.
4592         * include/bits/locale.h: New file.
4594 2001-01-26  Ulrich Drepper  <drepper@redhat.com>
4596         * locale/langinfo.h: Correct logic in #ifs when defining YESSTR
4597         and NOSTR.
4599         * locale/Makefile (headers): Add bits/locale.h.
4600         * locale/langinfo.h: Don't include <locale.h>.  Include <bits/locale.h>
4601         and use __LC_ constants instead of LC_.
4602         * locale/locale.h: Include <bits/locale.h> and define LC_ constants
4603         using __LC_ constants.
4604         * locale/bits/locale.h: New file.
4605         * locale/loadlocale.c: Include <locale.h>.
4606         * locale/nl_langinfo.h: Likewise.
4608         * posix/glob.h: Cleanup namespace for non-_GNU_SOURCE case.
4610         * io/sys/stat.h: Define S_IFSOCK for XPG6.
4612         * conform/data/fcntl.h-data: posix_madvise is not expected here.
4614         * conform/conformtest.pl: Fix handling of macro-str.
4616         * conform/data/inttypes.h-data: Add missing definition and all of
4617         stdint.h-data.
4619         * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Bump to 20.
4621 2001-01-25  Ulrich Drepper  <drepper@redhat.com>
4623         * conform/conformtest.pl (@headers): Add stdint.h.
4624         * conform/data/stdint.h-data: New file.
4626         * conform/conformtest.pl: Recognize options --headers and
4627         --dialect.  Add dialect-specific CFLAGS.
4629         * conform/conformtest.pl: Implement handling of recursive
4630         allow-header.
4632         * conform/data/locale.h-data: Add new struct lconv members.
4634         * posix/wordexp.h: Correct definition of wordexp_t.
4635         * posix/wordexp.c: Moved to ...
4636         * sysdeps/generic/wordexp.c: ...here.  New file.
4637         * sysdeps/unix/sysv/linux/alpha/wordexp.c: New file.
4638         * sysdeps/unix/sysv/linux/ia64/wordexp.c: New file.
4639         * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: New file.
4640         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.2.2): Add
4641         wordexp.
4642         * sysdeps/unix/sysv/linux/ia64/Versions: Likewise.
4643         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
4645         * math/tgmath.h: Pretty printing.
4647         * math/Makefile (tests): Add test-tgmath.
4648         (CFLAGS-test-tgmath.c): New variable.
4649         * math/test-tgmath.c: New file.  Contributed by Jakub Jelinek.
4651         * conform/conformtest.pl: Handle allow-header in secondary headers
4652         correctly.
4654         * conform/data/fcntl.h-data: Mark symbols introduced in XPG6 with
4655         #ifdef.
4657         * conform/data/netinet/in.h-data: Use correct comment character.
4658         * conform/data/sys/stat.h-data: Likewise.
4660 2001-01-25  Jakub Jelinek  <jakub@redhat.com>
4662         * math/tgmath.h (__TGMATH_BINARY_FIRST_REAL_ONLY,
4663         __TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY,
4664         __TGMATH_TERNARY_REAL_ONLY): Use proper arguments to
4665         __builtin_classify_type, add ##f suffixes where appropriate.
4666         (__TGMATH_UNARY_REAL_IMAG): Remove extraneous left parenthesis.
4667         (__TGMATH_BINARY_REAL_IMAG): Likewise, use proper arguments to
4668         __builtin_classify_type.
4669         (fma): Fix spelling of first argument.
4671 2001-01-25  Ulrich Drepper  <drepper@redhat.com>
4673         * conform/data/unistd.h-data: Mark functions removed in XPG6
4674         correctly.
4676         * posix/unistd.h: Don't make functions removed in XPG6 available if
4677         __USE_XOPEN2K.
4679         * conform/conformtest.pl: Implement optional-constant.
4680         * conform/data/unistd.h-data: Use optional-constant wherever
4681         appropriate.
4683         * sysdeps/generic/bits/confname.h: Correct names of _SC_PBS
4684         constants and add _SC_STREAMS.
4685         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
4687         * sysdeps/unix/sysv/linux/statvfs64.c: Rename to __statvfs64 and
4688         make old name weak alias.
4689         * sysdeps/generic/statvfs64.c: Likewise.
4690         * sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and
4691         make old name weak alias.
4692         * sysdeps/generic/fstatvfs64.c: Likewise.
4693         * include/sys/statvfs.h: New file.
4695         * sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE,
4696         _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and
4697         _PC_REC_XFER_ALIGN.
4698         * sysdeps/posix/pathconf.c (__pathconf): Implement handling of
4699         _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
4700         _PC_REC_MIN_XFER_SIZE, and _PC_REC_XFER_ALIGN.
4701         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
4703         * conform/conformtest.pl: Run Unix tests for XPG6.
4704         Implement handling of known namespace violations.
4705         Improve printing of results.
4707         * posix/unistd.h (usleep): Correct return type.
4708         * sysdeps/unix/sysv/linux/usleep.c: Correct return type.
4709         * sysdeps/unix/bsd/usleep.c: Correct return type.
4710         * sysdeps/mach/usleep.c: Correct return type.
4711         * sysdeps/generic/usleep.c: Correct return type.
4713         * posix/unistd.h (sync): Correct return type.
4714         * sysdeps/generic/sync.c: Likewise.
4715         * sysdeps/mach/hurd/sync.c: Likewise.
4717         * sysdeps/generic/bits/confname.h (_SC_IOV_MAX): New definition.
4719         * posix/unistd.h: Make seteuid and setegid available for XPG6.
4721         * wcsmbs/wchar.h: Get FILE definition for XPG5.
4723         * conform/data/ctype.h-data: Use correct comment form.
4724         * conform/data/errno.h-data: Likewise.
4725         * conform/data/math.h-data: Likewise.
4726         * conform/data/mqueue.h-data: Likewise.
4727         * conform/data/netdb.h-data: Likewise.
4728         * conform/data/pthread.h-data: Likewise.
4730 2001-01-24  Ulrich Drepper  <drepper@redhat.com>
4732         * conform/data/wordexp.h-data: Fix typo.
4734         * conform/conformtest.pl: Handle allow-header correctly.
4736         * conform/data/time.h-data: Use correct comment form.
4738         * conform/conformtest.pl (checknamespace): Ignore #undef lines.
4740         * configure.in: Comment out binutils version test.
4742         * stdlib/strtod.c (str_to_mpn): Correct parsing of thousands
4743         separators.
4744         Reported by Lagardere Jean-Francois <LAGARDEREJ@thmulti.com>.
4746         * stdlib/tst-strtod.c (locale_test): New function.
4747         (main): Call locale_test.
4748         * stdlib/Makefile (tst-strtod-ENV): New variable.
4750 2001-01-24  Mark Kettenis  <kettenis@gnu.org>
4752         * hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost
4753         declaration of value such that we actually return the value of the
4754         environment variable.
4756 2001-01-24  Andreas Jaeger  <aj@suse.de>
4758         * sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl
4759         prototype.
4760         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
4762         * include/sys/sysctl.h: New file.
4764 2001-01-23  Andreas Jaeger  <aj@suse.de>
4766         * stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to
4767         isomac.
4769         * elf/dl-load.c (_dl_init_paths): Don't use strdupa in function
4770         arguments.  Reported by Jiri Kubicek <kubicek@bitsmart.com>,
4771         closes PR libc/2039.
4773         * manual/install.texi (Tools for Compilation): Change required
4774         binutils version.
4776 2001-01-22  Andreas Jaeger  <aj@suse.de>
4778         * configure.in: Add test for new enough binutils version, move
4779         compiler/binutils test up.
4781         * Versions.def: Add version GLIBC_2.2.2.
4783 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
4785         * iconvdata/TESTS: UTF-8 test data for IBM932 and IBM943 are now
4786         available.
4787         * iconvdata/testdata/IBM932: New file.
4788         * iconvdata/testdata/IBM932..UTF8: New file.
4789         * iconvdata/testdata/IBM943: New file.
4790         * iconvdata/testdata/IBM943..UTF8: New file.
4791         Contributed by Masahide Washizawa <washi@jp.ibm.com>.
4793 2001-01-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
4795         * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset.
4797 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
4799         * malloc/malloc.c: Remove a few unnecessary initializers of global
4800         variables.
4802 2000-12-09  H.J. Lu  <hjl@gnu.org>
4804         * nss/Makefile (routines): Add digits_dots.
4805         * nss/Versions (libc): Add __nss_hostname_digits_dots to GLIBC_2.2.2.
4806         * nss/digits_dots.c (__nss_hostname_digits_dots): Turn template
4807         into a function.
4808         * nss/nsswitch.h (__nss_hostname_digits_dots): New internal NSS
4809         function.
4810         * nss/getXXbyYY.c (H_ERRNO_VAR_P): New definition.
4811         (TYPE_VAR_P): Likewise.
4812         (FLAGS_VAR): Likewise.
4813         (AF_VAR_P): Likewise.
4814         (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
4815         instead of including digits_dots.c.
4816         * nss/getXXbyYY_r.c (H_ERRNO_VAR_P): New definition.
4817         (TYPE_VAR_P): Likewise.
4818         (FLAGS_VAR): Likewise.
4819         (AF_VAR_P): Likewise.
4820         (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
4821         instead of including digits_dots.c.
4823 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
4825         * sysdeps/posix/getaddrinfo.c: Reduce .data size.
4827 2001-01-21  Andreas Jaeger  <aj@suse.de>
4829         * elf/constload2.c: Add prototype for init.
4831 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
4833         * stdlib/stdlib.h (drand48_data): Make available only for
4834         __USE_MISC.  Rename elements to protect namespace.  Change type
4835         and position of a and init element.
4836         * stdlib/drand48-iter.c: Don't handle unsigned short > 16 bit
4837         differently.  Adjust for drand48_data change.  Don't compute a here,
4838         it comes from drand48_data.
4839         * stdlib/lcong48_r.c: Don't handle unsigned short > 16 bit
4840         differently.  Adjust for drand48_data change.  Compute a here.
4841         * stdlib/srand48_r.c: Likewise.
4842         * stdlib/drand48.c: Adjust for drand48_data change.
4843         * stdlib/lrand48.c: Likewise.
4844         * stdlib/mrand48.c: Likewise.
4845         * stdlib/seek48.c: Likewise.
4846         * stdlib/drand48_r.c: Likewise.
4847         * stdlib/lrand48_r.c: Likewise.
4848         * stdlib/mrand48_r.c: Likewise.
4849         * stdlib/seed48_r.c: Likewise.  Don't handle unsigned short > 16 bit
4850         differently.
4851         * stdlib/erand48_r.c: Don't handle unsigned short > 16 bit differently.
4852         * stdlib/jrand48_r.c: Likewise.
4854         * po/sv.po: Update from translation team.
4856 2001-01-21  Andreas Jaeger  <aj@suse.de>
4858         * stdio-common/vfprintf.c (vfprintf): Add casts.
4860 2001-01-20  Ulrich Drepper  <drepper@redhat.com>
4862         * iconvdata/run-iconv-test.sh: Reorgnize a bit to allow running only
4863         the ASCII test.
4864         * iconvdata/TESTS: Add entries for IBM932 and IBM943.
4866         * iconvdata/Makefile (modules): Add IBM932 and IBM943.
4867         * iconvdata/gconv-modules: Add entries for IBM932 and IBM943.
4868         * iconvdata/ibm932.c: New file.
4869         * iconvdata/ibm932.h: New file.
4870         * iconvdata/ibm943.c: New file.
4871         * iconvdata/ibm943.h: New file.
4872         Patches by Masahide Washizawa <washi@jp.ibm.com>.
4874         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo
4875         preventing optimization from being done.  Set the correct type bit
4876         in seen.  Don't define and use _dl_base_addr unless
4877         NEED_DL_BASE_ADDR is defined.
4879         * io/ftw.c (ftw_dir): Add slash after directory name if there
4880         wasn't any.  Reported by loris <loris@iol.it>.
4881         * io/Makefile (tests): Add bug-ftw2.
4882         * io/bug-ftw2.c: New file.
4884 2001-01-19  Ulrich Drepper  <drepper@redhat.com>
4886         * stdlib/jrand48_r.c (__jrand48_r): Correct constructing of
4887         results.  Reported by Jeff Higham <jhigham@algorithmics.com>.
4888         * stdlib/tst-rand48.c: New file.
4889         * stdlib/Makefile (tests): Add tst-rand48.
4891         * locale/newlocale.c (__newlocale): Fix test for setting all
4892         categories.
4894 2001-01-19  Mark Kettenis  <kettenis@gnu.org>
4896         * sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes,
4897         but change looking up the initial directory port in a similar way
4898         as done by _hurd_change_directory_port_from_name.
4899         * hurd/fchroot.c (fchroot): Likewise.
4901 2001-01-18  Ulrich Drepper  <drepper@redhat.com>
4903         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If HAVE_AUX_XID is
4904         defined don't look whether the AT_*ID values were set.
4905         If HAVE_AUX_PAGESIZE is defined don't look whether the pagesize is set.
4906         (_dl_show_auxv): Rewrite to avoid switch statement.
4907         * sysdeps/unix/sysv/linux/kernel-features.h: Define
4908         __ASSUME_AT_PAGESIZE for kernel >= 2.4.1.
4909         * sysdeps/unix/sysv/linux/ldsodefs.h: Define HAVE_AUX_XID.
4910         Define HAVE_AUX_PAGESIZE if __ASSUME_AT_PAGESIZE is defined.
4912         * sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect.
4913         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
4914         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
4916         * elf/rtld.c (process_envvars): Call __strtoul_internal instead of
4917         strtoul.
4918         * elf/dl-minimal.c (strtol, __strtol_internal, strtoul): Removed.
4919         (__sigjmp_save): Set __mask_was_saved to zero since we don't save
4920         anything.
4921         * dlfcn/eval.c (__strtol_internal): Define here.
4922         (eval): Use __strtol_internal instead of strtol.
4924         * elf/elf.h: Add a few more EF_MIPS_* constants.
4926 2001-01-17  Ulrich Drepper  <drepper@redhat.com>
4928         * manual/Makefile (chapters): Add debug.
4929         * manual/debug.texi: New file.
4930         * manual/examples/execinfo.c: New file.
4931         Patch by suckfish@ihug.co.nz.
4933 2001-01-17  Andreas Schwab  <schwab@suse.de>
4935         * sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid
4936         invalid asm.
4938 2001-01-17  Andreas Jaeger  <aj@suse.de>
4940         * nscd/connections.c (nscd_run): Use proper format specifier.
4942 2001-01-16  Ulrich Drepper  <drepper@redhat.com>
4944         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Move x86_cap_flags and
4945         x86_platforms data into new file after prepending _dl_.  Change
4946         users.
4947         * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: New file.
4948         * sysdeps/unix/sysv/linux/i386/Dist: Add dl-procinfo.c.
4949         * sysdeps/unix/sysv/linux/i386/Makefile: Add rules to build
4950         dl-procinfo.c.
4952         * setjmp/setjmp.h: Cleanup definition of setjmp macro.
4954         * sysdeps/i386/elf/bsd-setjmp.S: Real implementation.
4955         * sysdeps/i386/elf/bsd-_setjmp.S: Removed.
4956         * sysdeps/i386/elf/setjmp.S (setjmp): Removed here.
4957         (_setjmp): Likewise.
4958         * sysdeps/i386/bsd-_setjmp.S: Real implementation.
4959         * sysdeps/i386/bsd-setjmp.S: Real implementation.
4960         * sysdeps/i386/bits/setjmp.h: Remove PUSH_SIGNAL_MASK definition.
4961         * sysdeps/i386/setjmp.S: Remove PIC support.  This is the non-ELF
4962         version.
4964 2001-01-16  Andreas Jaeger  <aj@suse.de>
4966         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix
4967         misapplied last patch.
4969 2001-01-15  Ulrich Drepper  <drepper@redhat.com>
4971         * stdlib/random.c (__initstate): Clean up a cast.
4972         (__setstate): Likewise.
4974         * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove select
4975         syscall handling.  The generic Linux version should work.
4977 2001-01-15  Andreas Jaeger  <aj@suse.de>
4979         * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
4981         * stdio-common/tstscanf.c (main): Add two testcases for '*' modifier.
4983 2001-01-14  Jakub Jelinek  <jakub@redhat.com>
4985         * nss/getent.c (print_aliases, aliases_keys, ethers_keys,
4986         netgroup_keys, print_rpc, rpc_keys, print_shadow, shadow_keys):
4987         New functions.
4988         (group_keys, hosts_keys, network_keys, passwd_keys, protocols_keys):
4989         If number is 0, list all.
4990         (services_keys): Likewise.  Lookup aliases as well.
4991         (databases): New table.
4992         (build_doc): Prepare argp doc text with list of supported databases.
4993         (main): Change to table driven processing.
4995 2001-01-14  Thorsten Kukuk <kukuk@suse.de>
4997         * sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about these
4998         functions.
5000 2001-01-03  Jakub Jelinek  <jakub@redhat.com>
5002         * sunrpc/xdr.c (xdr_long, xdr_u_long): Return FALSE if trying to
5003         encode value which does not fit in the 32bit type.
5005 2001-01-15  Hiroyuki Machida <machida@sm.sony.co.jp>
5007         * sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
5008         Change type of CTX to (struct sigcontext *).
5009         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise.
5010         (GET_FRAME): Likewise.
5011         (GET_STACK): Likewise.
5012         (SIGCONTEXT): Likewise. Add 2nd arg _code.
5013         (SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.
5015 2001-01-13  Ulrich Drepper  <drepper@redhat.com>
5017         * manual/texinfo.tex: Update from upstream version.
5019 2001-01-13  Jakub Jelinek  <jakub@redhat.com>
5021         * inet/ether_ntoh.c (lookup_function): Change arguments to match
5022         _nss_*_getntohost_r prototype.
5023         (ether_ntohost): Pass errno pointer to NSS function.
5025 2001-01-12  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
5027         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value.
5028         (MAP_LOCKED): New definition.
5029         (MAP_NORESERVE): New definition.
5031 2001-01-12  Ulrich Drepper  <drepper@redhat.com>
5033         * assert/assert.h: Use static_cast instead of C-style cast for C++.
5034         Patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>.
5036 2001-01-12  Ben Collins  <bcollins@debian.org>
5038         * sysdeps/generic/segfault.c (install_handler): Use access, not
5039         __access.
5041 2001-01-12  Andreas Jaeger  <aj@suse.de>
5043         * posix/fnmatch_loop.c (FCT): Remove signed warnings.
5044         * posix/wordexp.c (do_parse_glob): Likewise.
5045         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
5046         * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
5047         * elf/dl-open.c (_dl_open): Likewise.
5048         * elf/dl-close.c (_dl_close): Likewise.
5049         * elf/dl-load.c (_dl_map_object): Likewise.
5050         * iconv/iconv_prog.c (process_fd): Likewise.
5051         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
5053         * locale/localeinfo.h (struct locale_data): Use __flexarr instead
5054         of a zero-length array.
5056 2001-01-11  Jakub Jelinek  <jakub@redhat.com>
5058         * stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func.
5059         * stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument.
5060         * stdlib/cxa_on_exit.c: Remove.
5061         * stdlib/Makefile: Revert last patch.
5062         * stdlib/Versions: Likewise.
5063         * include/stdlib.h: Likewise.
5064         * stdlib/exit.h: Revert last patch.
5065         (struct exit_function): Add second argument to cxa fn.
5066         * stdlib/exit.c: Revert last patch.
5067         (exit): Add hidden second argument.
5069 2001-01-11  H.J. Lu  <hjl@gnu.org>
5071         * elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ...
5072         * elf/dl-open.c (_dl_open): Here.
5073         * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock):
5074         Make it static.
5075         (_dl_static_init): Initialize the variables every time when possible.
5076         * sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT):
5077         Undefine it first.
5079 2001-01-11  Ulrich Drepper  <drepper@redhat.com>
5081         * stdlib/Makefile (routines): Add cxa_on_exit.
5082         * stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit.
5083         * stdlib/cxa_on_exit.c: New file.
5084         * include/stdlib.h: Add prototype for __cxa_on_exit.
5085         * stdlib/exit.c: Handle ef_cxa2.
5086         * stdlib/exit.h (enum): Add ef_cxa2.
5087         (struct exit_function): Add cxa2.
5089         * Versions.def [ld]: Add GLIBC_2.2.1.
5091 2001-01-10  H.J. Lu  <hjl@gnu.org>
5093         * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries.
5094         * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add
5095         dl-static.
5096         * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init.
5097         * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined.
5098         * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file.
5099         * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file.
5100         * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
5102 2001-01-11  Ulrich Drepper  <drepper@redhat.com>
5104         * libio/stdio.h: Remove definition of off_t.
5106 2001-01-11  Andreas Jaeger  <aj@suse.de>
5108         * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
5109         <mkuhn@acm.org>.
5111 2001-01-10  Ulrich Drepper  <drepper@redhat.com>
5113         * sunrpc/Makefile (distribute): Add errqueue.h.
5115 2001-01-10  H.J. Lu  <hjl@gnu.org>
5117         * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve
5118         r9, r10 and r11 for language specific registers.
5120 2001-01-10  Jakub Jelinek  <jakub@redhat.com>
5122         * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the
5123         UDP socket.
5124         (clntudp_call): Handle MSG_ERRQUEUE.
5125         * sysdeps/generic/errqueue.h: New file.
5126         * sysdeps/unix/sysv/linux/errqueue.h: New file.
5128 2001-01-10  H.J. Lu  <hjl@gnu.org>
5130         * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
5132 2001-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
5134         * CONFORMANCE: Update.
5136 2001-01-09  Ulrich Drepper  <drepper@redhat.com>
5138         * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
5139         Minimal cleanups.  Add assert to ensure memory handling is correct.
5141         * manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value.
5142         Reported by Ben Collins <bcollins@debian.org>.
5144         * time/strftime.c (my_strftime): Mark previous GNU extensions
5145         which are now in C99 as such.
5147 2001-01-08  Ulrich Drepper  <drepper@redhat.com>
5149         * elf/rtld.c (process_envvars): Place output files for profiling
5150         in SUID binaries in /var/profile.
5152         * elf/dl-load.c (_dl_map_object): Don't look in cache for
5153         preloading in SUID binaries.
5155         * elf/dl-profile.c (_dl_start_profile): Open the output file with
5156         O_NOFOLLOW if possible.
5158         * include/stdlib.h: Add __posix_openpt declaration.
5159         * stdlib/stdlib.h: Add posix_openpt declaration.
5160         * login/Versions: Add posix_openpt for GLIBC_2.2.1.
5161         * sysdeps/generic/getpt.c: Define posix_openpt.
5162         * sysdeps/unix/bsd/getpt.c: Likewise.
5163         * sysdeps/unix/sysv/linux/getpt.c: Likewise.
5165         * time/Makefile (tests): Add tst-mktime.
5166         * time/tst-mktime.c: New file.
5168         * posix/tst-dir.c (main): One more mkdir() test.
5170         * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
5171         Remove getpagesize syscall.  We assume that the pagesize is always
5172         determined from the auxiliary vector.
5174         * intl/dcigettext.c: Fix a few warnings.
5175         Patch by Bruno Haible <haible@ilog.fr>.
5177 2001-01-08  Andreas Jaeger  <aj@suse.de>
5179         * io/test-lfs.c (do_test): Check lseek64 return for EINVAL.
5180         Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
5182 2001-01-08  Ulrich Drepper  <drepper@redhat.com>
5184         * sysdeps/generic/segfault.c (install_handler): Check output file
5185         name with access().
5187         * resolv/res_query.c: Use simply getenv() for HOSTALIASES.
5188         * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
5190         * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
5192         * malloc/memusage.c (me): Use access() to determine whether we
5193         should write the output file or not.
5195         * libio/bits/stdio.h (printf): Define macro to map printf call to
5196         fprintf which gcc can optimize.
5197         * stdio-common/printf.c: Undefine printf.
5199 2001-01-07  Ulrich Drepper  <drepper@redhat.com>
5201         * sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last
5202         patch.  We must use unsigned int for l member of union.
5204         * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call
5205         _dl_aux_init for shared libraries.
5207         * sysdeps/unix/sysv/linux/glob64.c: Moved to ...
5208         * sysdeps/gnu/glob64.c: ...here.  New file.
5210 2001-01-07  Ben Collins  <bcollins@debian.org>
5212         * manual/examples/longopt.c: Make the "struct option" a little
5213         more like it should be, adding usage of required_argument,
5214         noargument and such, and also setting the options string right.
5216         * manual/sysinfo.texi (Load Average): New section, documents
5217         getloadavg().
5219 2001-01-06  Ulrich Drepper  <drepper@redhat.com>
5221         * version.h (VERSION): Bump to 2.2.1.
5223         * sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
5224         * sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S.
5225         * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S.
5226         * dlfcn/Makefile (distribute): Add errmsg1mod.c.
5227         * Makefile (distribute): Add include/libc-internal.h.
5228         * libio/Makefile (distribute): Avoid overwriting.
5230         * iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in
5231         buffer and table handling.
5233 2001-01-05  H.J. Lu  <hjl@gnu.org>
5235         * elf/dl-support.c (non_dynamic_init): Move the auxiliary
5236         vector checking to ...
5237         (_dl_aux_init): Here. New function. Defined only if
5238         HAVE_AUX_VECTOR is defined.
5240         * sysdeps/generic/libc-start.c (__libc_start_main): Call
5241         _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined.
5243         * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call
5244         _dl_aux_init.
5246         * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed.
5247         (HAVE_AUX_VECTOR): Defined.
5248         (_dl_aux_init): Declared.
5250 2001-01-05  Ben Collins  <bcollins@debian.org>
5252         * manual/string.texi (Finding Tokens in a String): Document XPG
5253         basename() and dirname(), as well as GNU basename().
5255 2001-01-05  Jakub Jelinek  <jakub@redhat.com>
5257         * Makeconfig (preprocess-version): Replace -traditional with
5258         -x assembler-with-cpp.
5260 2001-01-05  Joseph S. Myers  <jsm28@cam.ac.uk>
5262         * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj
5263         for GCC 2.97 or later.
5265 2001-01-05  Ben Collins  <bcollins@debian.org>
5267         * manual/stdio.texi (getline): Clarify the return value in the
5268         case of EOF being reached before a newline.
5270 2001-01-04  Jakub Jelinek  <jakub@redhat.com>
5272         * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful,
5273         FALSE otherwise.
5274         (pmap_set, pmap_unset): Check __get_myaddress return value.
5276 2001-01-05  Mark Kettenis  <kettenis@gnu.org>
5278         * sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>.
5279         (struct ether_addr): Declare ether_addr_octet member as
5280         `u_int8_t'.  Add __attribute__ ((__packed__)).
5282 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
5284         * sysdeps/mach/hurd/readdir64.c: New file.
5285         * sysdeps/mach/hurd/readdir64_r.c: New file.
5287 2001-01-07  Mark Kettenis  <kettenis@gnu.org>
5289         * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about
5290         `struct statfs' and `struct statvfs' being identical.
5291         * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
5293 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
5295         * sysdeps/mach/hurd/fstatfs64.c: New file.
5296         * sysdeps/mach/hurd/fstatvfs64.c: New file.
5297         * sysdeps/mach/hurd/statfs64.c: New file.
5298         * sysdeps/mach/hurd/statvfs64.c: New file.
5299         * sysdeps/mach/hurd/statfsconv.c: New file.
5300         * sysdeps/mach/hurd/Dist: Add statfsconv.c.
5302 2001-01-06  Ulrich Drepper  <drepper@redhat.com>
5304         * iconv/skeleton.c: Reset outbuf for next round of the loop.
5305         Reported by Owen Taylor <otaylor@redhat.com>.
5306         * iconv/Makefile (tests): Add tst-iconv3.
5307         * iconv/tst-iconv3.c: New file.
5309         * iconvdata/ibm930.c: Fix handling of state.  Optimize a bit.
5310         * iconvdata/ibm933.c: Likewise.
5311         * iconvdata/ibm935.c: Likewise.
5312         * iconvdata/ibm937.c: Likewise.
5313         * iconvdata/ibm939.c: Likewise.
5314         * iconvdata/ibm930.h: Adjust single byte table for optimization.
5315         * iconvdata/ibm933.h: Likewise.
5316         * iconvdata/ibm935.h: Likewise.
5317         * iconvdata/ibm939.h: Likewise.
5319         * iconvdata/testdata/IBM930: Add misssing SI.
5320         * iconvdata/testdata/IBM933: Likewise.
5321         * iconvdata/testdata/IBM935: Likewise.
5322         * iconvdata/testdata/IBM937: Likewise.
5323         * iconvdata/testdata/IBM939: Likewise.
5325 2001-01-06  Andreas Jaeger  <aj@suse.de>
5327         * configure.in: Check for old add-ons that shouldn't be used with
5328         current glibc anymore.
5330 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
5332         * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number
5333         instead of -1 on failure.  Don't forget to copy file name into
5334         *ENTRY if successful.  Set *RESULT to NULL upon reaching the end
5335         of the directory.
5337 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
5339         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
5340         copy st_atime member.
5342 2001-01-05  Ulrich Drepper  <drepper@redhat.com>
5344         * io/ftw.c (ftw_dir): Don't add a second slash at the beginning
5345         for searches from the root directory.
5346         Reported by loris <loris@iol.it> [PR libc/1991].
5347         * io/Makefile (tests): Add bug-ftw1.
5348         * io/bug-ftw1.c: New file.
5350         * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
5351         if it is not available.  Instead use it only if it is available.
5352         * sysdeps/unix/sysv/linux/ldsodefs.h: New file.
5354         * iconv/gconv_simple.c (internal_ics4_loop): Correct test for
5355         overflowing output buffer.
5356         (internal_ucs4_loop_unaligned): Likewise.
5357         (ucs4_internal_loop): Likewise.
5358         (ucs4_internal_loop_unaligned): Likewise.
5359         (internal_ucs4le_loop): Likewise.
5360         (internal_ucs4le_loop_unaligned): Likewise.
5361         (ucs4le_internal_loop): Likewise.
5362         (ucs4le_internal_loop_unaligned): Likewise.
5363         Reported by Owen Taylor <otaylor@redhat.com>.
5364         * iconv/Makefile (tests): Add tst-iconv2.
5365         * iconv/tst-iconv2.c: New file.
5367 2001-01-04  H.J. Lu  <hjl@gnu.org>
5369         * elf/dl-support.c (DL_FIND_AUXV): New.  Defined if not defined.
5370         (_dl_clktck): Declared.
5371         (non_dynamic_init): Take 3 arguments.
5372         Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.
5374 2001-01-01  Bruno Haible  <haible@clisp.cons.org>
5376         Finish implementation of plural form handling.
5377         * intl/dcigettext.c (known_translation_t): Rename 'domain' field to
5378         'domainname'.  Remove 'plindex' field. Add 'domain' and
5379         'translation_length' fields.
5380         (transcmp): Don't compare 'plindex' fields.
5381         (plural_lookup): New function.
5382         (DCIGETTEXT): Change cache handing in the plural case.  Don't call
5383         plural_eval before the translation and its catalog file have been
5384         found. Remove plindex from cache key.  Add 'translation_length' and
5385         'domain' to cache result.
5386         (_nl_find_msg): Remove index argument, return length of translation
5387         to the caller instead.  Weaken comparison of string lengths, to account
5388         for plural entries.  Call iconv() on the entire result string, not
5389         only on the portion needed so far.
5390         * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
5391         argument.
5392         * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
5394 2001-01-04  Ulrich Drepper  <drepper@redhat.com>
5396         * intl/plural.y (yylex): Minimal improvement in number scanner.
5398 2000-07-31  Bruno Haible  <haible@clisp.cons.org>
5400         * intl/plural.y: Include config.h. Needed to define 'inline' away for
5401         C compilers that don't support it.
5402         (yylex): Don't use gcc specific case range syntax.
5403         * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
5404         compilers.
5406 2000-10-12  Bruno Haible  <haible@clisp.cons.org>
5408         * intl/finddomain.c: Remove unneeded includes.
5410 2000-10-12  Bruno Haible  <haible@clisp.cons.org>
5412         * intl/localealias.c (memcpy): Return first argument, just like the
5413         real memcpy function does.
5414         * intl/bindtextdom.c (memcpy): Likewise.
5415         * intl/finddomain.c (memcpy): Likewise.
5416         * intl/l10nflist.c (memcpy): Likewise.
5417         * intl/textdomain.c (memcpy): Likewise.
5418         From Paul Eggert <eggert@twinsun.com>.
5420 2001-01-03  Jakub Jelinek  <jakub@redhat.com>
5422         * resolv/resolv.h (struct __res_state): Add nsinit field.
5423         * resolv/res_send.c (res_nsend): Use it instead of nscount.
5424         * resolv/res_init.c (__res_vinit): Initialize it.
5425         (res_nclose): Clear it instead of nscount.
5427 2001-01-04  Ulrich Drepper  <drepper@redhat.com>
5429         * malloc/mtrace.pl: Fix matching of addresses.
5430         Patch by Aharon Robbins <arnold@skeeve.com>.
5432         * Versions.def (ld): Add GLIBC_2.2.
5434         * catgets/gencat.c: Copyright 2001.
5435         * csu/version.c: Likewise.
5436         * debug/catchsegv.sh: Likewise.
5437         * debug/xtrace.sh: Likewise.
5438         * elf/ldconfig.c: Likewise.
5439         * elf/sprof.c: Likewise.
5440         * iconv/iconv_prog.c: Likewise.
5441         * locale/locale.c: Likewise.
5442         * locale/localedef.c: Likewise.
5443         * malloc/memusage.sh: Likewise.
5444         * malloc/mtrace.pl: Likewise.
5445         * nscd/nscd.c: Likewise.
5446         * posix/getconf.c: Likewise.
5448 2001-01-04  Mark Kettenis  <kettenis@gnu.org>
5450         * include/stdio.h: Only provide __getwc_unlocked prototype if
5451         USE_IN_LIBIO is defined.
5453 2001-01-04  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5455         * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code
5456         handling.
5458 2001-01-03  Andreas Schwab  <schwab@suse.de>
5460         * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias.
5461         * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias.
5463         * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias.
5464         * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix
5465         strtoull alias.
5466         * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias.
5467         * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix
5468         wcstoull alias.
5470         * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this
5471         directory.
5472         * sysdeps/generic/strtol_l.c: Likewise.
5473         * sysdeps/generic/strtoul_l.c: Likewise.
5474         * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c.
5476         * sysdeps/wordsize-64/strtol_l.c: Fix alias.
5477         * sysdeps/wordsize-64/strtoul_l.c: Likewise.
5478         * sysdeps/wordsize-64/wcstol_l.c: Fix alias.
5479         * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
5481 2001-01-04  Andreas Jaeger  <aj@suse.de>
5483         * nss/nsswitch.c: Include files for missing prototypes, remove
5484         buggy declaration of prototypes.
5486 2001-01-03  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
5488         * resolv/Versions: Fix bracing.
5489         * sysdeps/powerpc/soft-fp/Versions: Likewise.
5490         * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
5492 2001-01-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
5494         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
5496 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
5498         * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
5499         Suggested by Minko Markov <mmarkov@home.com>.
5501 2001-01-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
5503         * sysdeps/powerpc/elf/start.S (__data_start): Make it global.
5504         * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
5505         the failing symbol.
5506         (__process_machine_rela): Pass symbol to dl_reloc_overflow().
5508 2001-01-02  Ben Collins  <bcollins@debian.org>
5510         * time/tzset.c (tzset_internal): Make sure we fall back to UTC
5511         if TZ is not set and TZDEFAULT is not present.
5513 2001-01-01  Ben Collins  <bcollins@debian.org>
5515         * string/strings.h: Make sure we declare our functions even if
5516         string.h is already included, based on whether or not __USE_BSD is
5517         defined.
5519 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
5521         * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
5522         other dlopen() and dlsym().
5523         Based on a patch by Ben Collins <bcollins@debian.org>.
5525 2001-01-02  Andreas Jaeger  <aj@suse.de>
5527         * dlfcn/errmsg1.c (main): Call dlerror initially.
5528         Reported by Ben Collins <bcollins@debian.org>.
5530 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
5532         * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
5533         value is ignored if the selected locale is the C locale.
5534         * intl/tst-gettext.c: Set locale for above change.
5535         * intl/tst-translit.c: Likewise.
5537 2001-01-02  Andreas Jaeger  <aj@suse.de>
5539         * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
5540         (_IO_switch_to_wget_mode): Likewise.
5541         (_IO_sputbackwc): Likewise.
5542         (_IO_sungetwc): Use wint_t for result.
5544         * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done.
5546         * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct
5547         signedness.
5549         * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked
5550         to (int) to avoid warnings.
5551         * stdio-common/printf_fp.c (putc): Likewise.
5552         * stdio-common/printf_size.c (putc): Likewise.
5554         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make
5555         constant unsigned.
5557 2001-01-01  Andreas Jaeger  <aj@suse.de>
5559         * inet/rcmd.c (rcmd_af): Use socklen_t for len.
5561 2000-12-31  Andreas Jaeger  <aj@suse.de>
5563         * include/libc-internal.h: Add prototype for __libc_freeres.
5565         * sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
5566         for prototypes, remove redundant prototypes.
5567         * gmon/gmon.c: Likewise.
5568         * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
5569         * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
5570         * malloc/mtrace.c: Likewise.
5572         * sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
5573         prototypes.
5574         * elf/soinit.c: Likewise.
5575         * sysdeps/generic/prof-freq.c: Likewise.
5576         * sysdeps/mach/hurd/profil.c: Likewise.
5577         * debug/noophooks.c: Likewise.
5578         * debug/pcprofile.c: Likewise.
5579         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
5580         * sysdeps/generic/get_clockfreq.c: Likewise.
5581         * malloc/set-freeres.c: Likewise.
5583         * locale/localeinfo.h: Add internal prototypes.
5585         * elf/rtld.c (dl_main): Fix prototype.
5587         * iconvdata/tst-table-to.c (main): Use return instead of exit to
5588         avoid warning.
5590         * nis/rpcsvc/yp_prot.h: Remove __P.
5591         * nis/rpcsvc/ypupd.h: Likewise.
5592         * nis/rpcsvc/yp.h: Likewise.
5594         * sunrpc/rpc_main.c: Add noreturn attributes.
5595         * sunrpc/rpc_scan.h: Likewise.
5597         * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.
5599         * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.
5601         * sunrpc/proto.h: Add noreturn attributes to error and crash.
5603         * posix/bsd-getpgrp.c: Add prototype to avoid warning.
5605         * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.
5607         * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.
5609         * include/rpc/rpc_msg.h: Add prototypes for some functions.
5610         * include/rpc/auth.h: Likewise.
5611         * include/rpc/auth_des.h: Likewise.
5612         * include/rpc/clnt.h: Likewise.
5613         * include/rpc/rpc.h: Likewise.
5614         * include/rpc/svc.h: Likewise.
5615         * include/rpc/svc_auth.h: Likewise.
5617         * include/rpc/des_crypt.h: New file.
5619         * malloc/memusagestat.c (main): Use return instead of exit to
5620         avoid warning.
5621         * io/pwd.c (main): Likewise.
5622         * iconvdata/tst-table-from.c (main): Likewise.
5623         * ctype/test_ctype.c (main): Likewise.
5624         * setjmp/tst-setjmp.c (main): Likewise.
5625         * signal/tst-signal.c (main): Likewise.
5626         * stdlib/tst-strtol.c (main): Likewise.
5627         * stdlib/tst-strtod.c (main): Likewise.
5628         * stdlib/tst-strtoll.c (main): Likewise.
5629         * stdlib/tst-xpg-basename.c (main): Likewise.
5630         * dirent/tst-seekdir.c (main): Likewise.
5631         * grp/testgrp.c (main): Likewise.
5632         * inet/test_ifindex.c (main): Likewise.
5633         * io/test-utime.c (main): Likewise.
5634         * posix/test-vfork.c (main): Likewise.
5635         * posix/testfnm.c (main): Likewise.
5636         * stdio-common/temptest.c (main): Likewise.
5637         * stdio-common/test_rdwr.c (main): Likewise.
5638         * stdio-common/tst-fileno.c (main): Likewise.
5639         * stdio-common/tst-sscanf.c (main): Likewise.
5640         * stdio-common/tstscanf.c (main): Likewise.
5641         * string/bug-strncat1.c (main): Likewise.
5642         * string/bug-strpbrk1.c (main): Likewise.
5643         * string/bug-strspn1.c (main): Likewise.
5644         * string/test-ffs.c (main): Likewise.
5645         * string/tst-inlcall.c (main): Likewise.
5646         * string/tst-svc.c (main): Likewise.
5647         * timezone/test-tz.c (main): Likewise.
5648         * wctype/test_wcfuncs.c (main): Likewise.
5649         * wctype/test_wctype.c (main): Likewise.
5651         * stdlib/tst-random.c: Add attribute noreturn to fail.
5653 2000-12-28  Wolfram Gloger  <wg@malloc.de>
5655         * malloc/malloc.c (MALLOC_COPY): Handle case if source and
5656         destination overlap.  Assume dest is always below source if
5657         overlapping.
5659 2000-12-30  Ulrich Drepper  <drepper@redhat.com>
5661         * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
5662         object was not yet initialized.
5664 2000-12-28  H.J. Lu  <hjl@gnu.org>
5666         * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
5667         is always consistent even if its dependency is failed.
5669         * elf/dl-open.c (_dl_open): Increment the open count before
5670         calling _dl_close () in case of failure.
5672         * elf/neededtest4.c: New file.
5673         * elf/neededobj5.c: New file.
5674         * elf/neededobj6.c: New file.
5676         * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
5677         (tests): Add neededtest4.
5678         (modules-names): Add neededobj5 and neededobj6.
5679         ($(objpfx)neededobj6.so): New target.
5680         ($(objpfx)neededtest4): New target.
5681         ($(objpfx)neededtest4.out): New target.
5683 2000-12-28  Joseph S. Myers  <jsm28@cam.ac.uk>
5685         * misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
5686         * stdlib/monetary.h: Add strfmon format attributes.
5688 2000-12-28  Roland McGrath  <roland@frob.com>
5690         * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
5691         __mempcpy does it for us.
5693 2000-12-28  Andreas Jaeger  <aj@suse.de>
5695         * sysdeps/generic/dl-environ.c: Add prototype for unsetenv.
5697         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
5698         __new_setrlimit.
5700         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
5701         __old_getrlimit64.
5703         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
5704         __new_getrlimit.
5706         * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
5707         __chown_is_lchown and __real_chown.
5709         * sysdeps/generic/ldsodefs.h: Add noreturn attribute to
5710         _dl_reloc_bad_type.
5712         * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
5713         up GCC's warning about "deprecated use of label at end of compound
5714         statement."
5715         * sunrpc/rpc_cout.c (emit_inline): Likewise.
5717         * gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
5718         prototypes.
5719         Remove struct bb and __bb_head since those are declared by
5720         sys/gmon.h.
5722 2000-12-22  Ben Collins  <bcollins@debian.org>
5724         * manual/charset.texi: Fix typo in description of WCHAR_MAX.
5726         * manual/argp.texi: Document argp_domain as part of struct argp.
5728 2000-12-28  Andreas Jaeger  <aj@suse.de>
5730         * catgets/Makefile (generated): Add sample.SJIS.cat.
5732         * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
5734         * elf/dl-minimal.c: Add prototypes.
5736         * include/locale.h: Add internal prototypes.
5737         * include/sys/gmon.h: Likewise.
5739         * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
5741 2000-12-27  Ben Collins  <bcollins@debian.org>
5743         * elf/dl-open.c (_dl_open): Correctly set the new objname pointer
5744         when reallocating the error strings.
5745         Reported by Kalle Olavi Niemitalo <kon@iki.fi>
5747 2000-12-27  Ulrich Drepper  <drepper@redhat.com>
5749         * dlfcn/Makefile (tests): Add errmsg1.
5750         (modules-names): Add errmsg1mod.
5751         Add rules to run errmsg1.
5752         * dlfcn/errmsg1.c: New file.
5753         * dlfcn/errmsg1mod.c: New file.
5755         * dlfcn/dlerror.c (dlerror): Always create output string which
5756         includes object file name.
5758         * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
5759         if we would go through it only once.
5760         Patch by Rick Gorton <rick.gorton@api-networks.com>.
5762         * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
5763         Patch by Richard Henderson <rth@redhat.com>.
5765 2000-12-27  Jakub Jelinek  <jakub@redhat.com>
5767         * malloc/malloc.c (memmove): Add prototypes.
5768         (MALLOC_MEMMOVE): Define.
5769         (chunk_realloc): Use it instead of MALLOC_COPY if source and
5770         destination might overlap.
5772 2000-12-27  Andreas Jaeger  <aj@suse.de>
5774         * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
5775         function.
5776         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
5777         * locale/programs/locale.c (show_locale_vars): Likewise.
5778         (show_info): Likewise.
5779         * locale/programs/ld-collate.c (collate_output): Likewise.
5780         * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
5781         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
5782         * stdlib/rpmatch.c (rpmatch): Likewise.
5784         * setjmp/tst-setjmp.c: Make local functions static.
5785         * setjmp/jmpbug.c: Likewise.
5786         * signal/tst-signal.c: Likewise.
5787         * stdio-common/tfformat.c: Likewise.
5788         * string/tst-svc.c: Likewise.
5789         * time/clocktest.c: Likewise.
5790         * time/tst-getdate.c: Likewise.
5791         * dirent/list.c: Likewise.
5792         * dirent/opendir-tst1.c: Likewise.
5793         * posix/runtests.c: Likewise.
5794         * posix/tst-getaddrinfo.c: Likewise.
5795         * posix/tst-chmod.c: Likewise.
5796         * posix/wordexp-test.c: Likewise.
5797         * misc/tst-efgcvt.c: Likewise.
5798         * timezone/tst-timezone.c: Likewise.
5799         * rt/tst-clock.c: Likewise.
5800         * rt/tst-shm.c: Likewise.
5801         * rt/tst-aio2.c: Likewise.
5802         * rt/tst-aio3.c: Likewise.
5803         * rt/tst-aio4.c: Likewise.
5804         * rt/tst-aio5.c: Likewise.
5806         * dlfcn/failtest.c: Add prototype for foo.
5808         * dlfcn/glrefmain.c: Add prototype for do_test.
5810         * dlfcn/tst-dladdr.c: Add prototype for do_test.
5812         * string/test-ffs.c (main): Add prototype for nested function.
5814         * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
5816         * nss/XXX-lookup.c: Add prototype to shut up GCC.
5818         * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
5819         setetherent prototype.
5820         Add internal interfaces.
5822         * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
5823         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
5825         * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
5827         * nis/nis_intern.h: Add prototype for __pmap_getnisport.
5829         * nss/nss_files/files-ethers.c: Include netinet/ether.h to get
5830         prototypes, remove struct etherent since it's declared in ether.h.
5831         Fix ntohost declaration.
5833         * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
5835         * include/getopt.h: Add internal interfaces.
5836         * include/termios.h: Likewise.
5837         * include/resolv.h: Likewise.
5838         * include/netdb.h: Likewise.
5839         * include/grp.h: Likewise.
5840         * include/pwd.h: Likewise.
5841         * include/shadow.h: Likewise.
5842         * include/rpc/netdb.h: Likewise.
5843         * include/setjmp.h: Likewise.
5845         * include/stdio.h: Add prototypes for compatibility functions.
5846         * include/grp.h: Likewise.
5847         * include/pwd.h: Likewise.
5848         * include/shadow.h: Likewise.
5850         * include/fenv.h: Define internal interfaces.
5852 2000-12-27  Ulrich Drepper  <drepper@redhat.com>
5854         * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
5855         argument case separately.
5856         * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
5858 2000-12-27  Andreas Jaeger  <aj@suse.de>
5860         * include/sys/wait.h: Add some prototypes.
5861         * Rules (dummy.c): Create also prototype to shut up GCC.
5863 2000-12-27  Andreas Jaeger  <aj@suse.de>
5865         * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
5866         it's not needed at the moment.
5867         * sysdeps/generic/if_index.c (__protocol_available): Likewise.
5868         * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
5870 2000-12-26  Andreas Jaeger  <aj@suse.de>
5872         * libio/getc_u.c: Include stdio.h via system path to get internal
5873         prototypes.
5874         * libio/getwc_u.c: Likewise.
5876         * stdlib/strfmon.c: Fix prototype of __printf_fp.
5878         * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
5879         __printf_fp prototypes to ...
5880         * include/printf.h: ...here.
5882         * include/stdio.h: Add some internal prototypes to shut up GCC.
5883         * include/stdlib.h: Likewise.
5885         * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
5886         declaration.
5888         * include/signal.h: Add prototypes for internal sigpause
5889         interfaces.
5891 2000-12-26  Ulrich Drepper  <drepper@redhat.com>
5893         * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
5894         64bit platforms.  Reported by Dave Gilbert <gilbertd@treblig.org>.
5896         * string/Makefile (tests): Add tst-bswap.
5897         * string/tst-bswap.c: New file.
5899 2000-12-11  Bruno Haible  <haible@clisp.cons.org>
5901         * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
5903 2000-12-26  Ulrich Drepper  <drepper@redhat.com>
5905         * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
5906         Patch by Ed Connell <Ed.Connell@sas.com>.
5908 2000-12-24  Ulrich Drepper  <drepper@redhat.com>
5910         * locale/iso-639.def: Correct one entry.  Add two missing entries.
5912         * locale/iso-4217.def: Change entry for Eritrea.
5913         Reported by Daniel Yacob <yacob@geez.org>.
5915 2000-12-23  Ben Collins  <bcollins@debian.org>
5917         * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
5918         description.
5920         * manual/stdio.texi (Dynamic Output): Document the return value of
5921         asprintf.  Also make the asprintf/snprintf examples a little
5922         better (check for some error returns).
5924 2000-12-22  Andreas Jaeger  <aj@suse.de>
5926         * include/stdio.h: Add __ftrylockfile prototype.
5928 2000-12-21  H.J. Lu  <hjl@gnu.org>
5930         * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
5931         Make sign_exponent element signed.
5933         * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
5934         Fix a typo.
5936         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
5938 2000-12-21  Andreas Jaeger  <aj@suse.de>
5940         * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
5941         * inet/ether_hton.c: Likewise
5942         * inet/ether_ntoh.c: Likewise.
5944         * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
5945         declaration to match prototype.
5947         * include/netinet/ether.h (struct etherent): Declare here so that
5948         all implementations use the same struct.
5950         * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
5951         prototypes.
5952         (struct ether): Removed.
5953         Use struct etherent instead of ether everywhere.
5955         * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
5957         * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
5959         * sunrpc/publickey.c: Include auth_des.h for prototypes.
5961 2000-12-20  Ulrich Drepper  <drepper@redhat.com>
5963         * math/test-misc.c: Add more tests for nextafter functions.
5965         * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
5966         normal correctly.  Correct test for sign.
5967         Based on a patch by HJ Lu.
5969 2000-12-19  Ulrich Drepper  <drepper@redhat.com>
5971         * Makeconfig (preprocess-version): Add -traditional to gcc call.
5972         Cleanup sed calls.
5974 2000-12-19  Andreas Jaeger  <aj@suse.de>
5976         * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
5978         * nis/nis_intern.h: Add prototype for __do_niscall3.
5980         * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
5981         match prototype.
5983         * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
5985         * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
5987         * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
5989 2000-12-18  Ulrich Drepper  <drepper@redhat.com>
5991         * math/test-misc.c: Add more tests for nextafter.
5992         * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
5993         * sysdeps/ieee754/ldbl-96/math_ldbl.h
5994         (ieee_long_double_shape_type): Make sign_exponent element signed.
5996         * manual/message.texi: Add Estonian to plural overview list.
5997         Correct rule for Slavic languages.
5998         Patch by Stanislav Brabec <utx@penguin.cz>.
6000         * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
6002 2000-12-18  Andreas Jaeger  <aj@suse.de>
6004         * test-skeleton.c: Use temp_name_list instead of name_list to
6005         avoid collision with name_list from inet/netgroup.h.
6007         * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
6009         * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
6010         * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
6011         * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
6012         * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
6014         * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
6015         declaration to match prototype.
6016         * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
6017         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
6018         * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
6019         Likewise.
6020         * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
6021         * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
6022         * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
6023         * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
6024         (_nss_nis_getservbyport_r): Likewise.
6025         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
6026         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
6027         * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
6028         (_nss_nis_setnetent): Likewise
6029         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
6030         (_nss_nis_endnetgrent): Likewise.
6031         * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
6032         Likewise.
6033         (_nss_nisplus_setnetgrent): Likewise.
6034         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
6035         * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
6036         * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
6037         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
6038         Likewise.
6039         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
6040         Likewise.
6041         * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
6042         Likewise.
6043         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
6044         Likewise.
6045         * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
6046         * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
6047         * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
6048         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
6049         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
6050         (_nss_dns_getnetbyaddr_r): Likewise.
6052 2000-12-17  Andreas Jaeger  <aj@suse.de>
6054         * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
6055         parameter.
6057         * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
6058         unused attribute to shut up gcc warnings.
6060         * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
6061         * sysdeps/generic/k_tanl.c: Likewise.
6062         * sysdeps/generic/k_cosl.c: Likewise.
6063         * sysdeps/generic/e_j0l.c: Likewise.
6064         * sysdeps/generic/e_j1l.c: Likewise.
6065         * sysdeps/generic/e_jnl.c: Likewise.
6066         * sysdeps/generic/e_lgammal_r.c: Likewise.
6068         * elf/vismain.c: Move prototypes for functions in vismod*.c to
6069         vismod.h.
6070         * elf/vismod.h: New file.
6071         * elf/Makefile (distribute): Add vismod.h.
6072         * elf/vismod1.c: Include vismod.h.
6073         * elf/vismod2.c: Likewise.
6074         * elf/vismod3.c: Likewise.
6076         * elf/constload3.c: Add prototype declarations to shut up gcc.
6077         * elf/failobj.c: Likewise.
6078         * elf/nodelmod3.c: Likewise.
6079         * elf/filtmod1.c: Likewise.
6080         * elf/filtmod2.c: Likewise.
6081         * elf/reldepmod1.c: Likewise.
6082         * elf/reldepmod2.c: Likewise.
6083         * elf/reldepmod3.c: Likewise.
6084         * elf/reldepmod4.c: Likewise.
6085         * elf/unload2dep.c: Likewise.
6086         * elf/unload2mod.c: Likewise.
6087         * elf/ltglobmod1.c: Likewise.
6088         * elf/pathoptobj.c: Likewise.
6089         * elf/neededobj1.c: Likewise.
6090         * elf/neededobj2.c: Likewise.
6091         * elf/neededobj3.c: Likewise.
6092         * elf/neededobj4.c: Likewise.
6093         * elf/nextmod1.c: Likewise.
6094         * elf/nextmod2.c: Likewise.
6096         * locale/programs/ld-collate.c (collate_finish): Don't use labels
6097         at end of compound statement.
6098         * locale/programs/locale.c (show_info): Likewise.
6099         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
6101 2000-12-16  Jakub Jelinek  <jakub@redhat.com>
6103         * catgets/gencat.c (read_input_file): Avoid calling obstack_free
6104         with a pointer not returned by obstack_ functions.
6106 2000-12-16  Ulrich Drepper  <drepper@redhat.com>
6108         * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
6109         version.
6110         (struct stat64): Likewise.
6111         Reported by Michael Keezer <mkeezer@redhat.com>.
6113         * timezone/asia: Update from tzdata2000h.
6114         * timezone/australasia: Likewise.
6115         * timezone/backward: Likewise.
6116         * timezone/europe: Likewise.
6117         * timezone/northamerica: Likewise.
6118         * timezone/southamerica: Likewise.
6119         * timezone/zone.tab: Likewise.
6121 2000-12-14  Jakub Jelinek  <jakub@redhat.com>
6123         * io/ftw.c (ftw_dir): If process_entry returned non-zero result
6124         and dir.stream is NULL, only free dir.content.
6125         * io/ftwtest.c (cb, main): Add --early-exit option to test it.
6126         * io/ftwtest-sh: Test with --early-exit.
6128 2000-12-13  Jakub Jelinek  <jakub@redhat.com>
6130         * misc/efgcvt.c (FCVT_MAXDIG): Define.
6131         (FCVT_BUFPTR): New variable.
6132         (fcvt): If fcvt_r returns -1 on the static short buffer,
6133         try to malloc a sufficiently large one and retry.
6134         (free_mem): New function.
6135         * misc/qefgcvt.c (FCVT_MAXDIG): Define.
6136         * misc/tst-efgcvt.c (fcvt_tests): Add new test.
6138 2000-12-15  Ulrich Drepper  <drepper@redhat.com>
6140         * misc/dirname.c (dirname): Fix search for second to last slash.
6142 2000-12-13  Andreas Jaeger  <aj@suse.de>
6144         * misc/tst-dirname.c (main): Fix typo in test to really use
6145         the examples from Unix98.
6146         Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
6148 2000-12-09  H.J. Lu  <hjl@gnu.org>
6150         * sysdeps/ia64/fpu/s_fabs.S: New file.
6151         * sysdeps/ia64/fpu/s_fabsf.S: New file.
6152         * sysdeps/ia64/fpu/s_fabsl.S: New file.
6154 2000-12-15  Andreas Jaeger  <aj@suse.de>
6156         * stdio-common/scanf9.c (main): Reformat and change to avoid
6157         warnings.
6159         * stdio-common/tstdiomisc.c: Make local functions static.
6160         * stdio-common/tst-printf.c: Likewise.
6162         * elf/constload2.c: Add prototype declarations to shut up gcc.
6163         * elf/dep1.c: Likewise.
6164         * elf/dep2.c: Likewise.
6165         * elf/dep3.c: Likewise.
6166         * elf/dep4.c: Likewise.
6167         * elf/ltglobmod2.c: Likewise.
6169         * libio/fmemopen.c: Make local functions static.
6171         * elf/Makefile (distribute): Added testobj.h.
6173         * elf/testobj.h: New file.
6175         * elf/testobj1.c: Include testobj.h and move prototype
6176         declarations to testobj.h.
6177         * elf/testobj2.c: Likewise.
6178         * elf/testobj3.c: Likewise.
6179         * elf/testobj4.c: Likewise.
6180         * elf/testobj5.c: Likewise.
6181         * elf/testobj6.c: Likewise.
6182         * elf/testobj1_1.c: Likewise.
6183         * elf/preloadtest.c: Likewise.
6185 2000-12-15  Ben Collins  <bcollins@debian.org>
6187         * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
6188         Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
6190 2000-12-14  H.J. Lu  <hjl@gnu.org>
6192         * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
6193         field in a float is 8 bits, not 11 bits.
6195 2000-12-13  Jakub Jelinek  <jakub@redhat.com>
6197         * math/test-misc.c (main): Adjust m for IEEE quad long double.
6199 2000-12-13  Andreas Jaeger  <aj@suse.de>
6201         * manual/message.texi (Using gettextized software): Fix typo.
6203         * manual/charset.texi (Converting a Character): Fix mbstouwcs
6204         program to compile.
6205         Patch by Martin Buchholz <martin@xemacs.org>.
6207         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
6208         Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
6210 2000-12-11  Andreas Jaeger  <aj@suse.de>
6212         * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
6213         kernel_sigset_t and use it.
6214         Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
6216 2000-12-10  Richard Henderson  <rth@redhat.com>
6218         * sysdeps/alpha/alphaev67/fpu/Implies: New file.
6219         * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
6220         * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
6222 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
6224         * sysdeps/alpha/htonl.S: Fix a typo.
6226 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
6228         * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
6230 2000-12-10  Andreas Jaeger  <aj@suse.de>
6232         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
6233         cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
6234         Drepper <drepper@redhat.com>.
6236 2000-12-09  Andreas Jaeger  <aj@suse.de>
6238         * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
6240         * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
6241         generic version.
6242         Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
6244         * locale/programs/ld-collate.c (handle_ellipsis): Fix format
6245         string.
6247         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
6248         format string.
6250         * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
6251         * nscd/connections.c (handle_request): Likewise.
6252         * nscd/pwdcache.c (addpwbyname): Likewise.
6253         * nscd/grpcache.c (addgrbyname): Likewise.
6255         * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
6257 2000-12-09  Ulrich Drepper  <drepper@redhat.com>
6259         * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
6261         * Makeconfig (default_cflags): Make -O2 the default for stable
6262         releases.
6264 2000-12-08  H.J. Lu  <hjl@gnu.org>
6266         * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
6267         * sysdeps/ia64/fpu/s_isinf.S: This.
6268         Add a .pred.rel.mutex note to avoid false report.
6270         * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
6271         * sysdeps/ia64/fpu/s_isnan.S: This.
6273         * sysdeps/ia64/fpu/s_fpclassify.S: New file.
6274         * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
6275         * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
6276         * sysdeps/ia64/fpu/s_isinff.S: New file.
6277         * sysdeps/ia64/fpu/s_isinfl.S: New file.
6278         * sysdeps/ia64/fpu/s_isnanf.S: New file.
6279         * sysdeps/ia64/fpu/s_isnanl.S: New file.
6280         * sysdeps/ia64/fpu/s_finite.S: New file.
6281         * sysdeps/ia64/fpu/s_finitef.S: New file.
6282         * sysdeps/ia64/fpu/s_finitel.S: New file.
6283         * sysdeps/ia64/fpu/s_signbit.S: New file.
6284         * sysdeps/ia64/fpu/s_signbitf.S: New file.
6285         * sysdeps/ia64/fpu/s_signbitl.S: New file.
6286         * sysdeps/ia64/fpu/s_copysign.S: New file.
6287         * sysdeps/ia64/fpu/s_copysignf.S: New file.
6288         * sysdeps/ia64/fpu/s_copysignl.S: New file.
6290 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
6292         * math/libm-test.inc (main): Fix typos in messages.
6294         * string/stratcliff.c: Add test for rawmemchr.
6296 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
6298         * elf/dl-open.c (_dl_open): If objname points right after errstring,
6299         allocate it together with errstring using alloca.
6300         * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
6301         to "", because it might point to local stack.
6303 2000-12-05  H.J. Lu  <hjl@gnu.org>
6305         * nss/Makefile (routines): Add getnssent and getnssent_r.
6306         * nss/nsswitch.h (__nss_setent): New internal NSS function.
6307         (__nss_endent): Likewise.
6308         (__nss_getent_r): Likewise.
6309         (__nss_getent): Likewise.
6310         * nss/getnssent_r.c: New file.
6311         * nss/getnssent.c: New file.
6312         * nss/getXXent.c (H_ERRNO_VAR): Updated.
6313         (GETFUNC_NAME): Updated to call __nss_getent ().
6314         * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
6315         (STAYOPEN_TMPVAR): Updated.
6316         (STAYOPEN_VAR): Updated.
6317         (SETFUNC_NAME): Updated to call __nss_setent ().
6318         (ENDFUNC_NAME): Updated to call __nss_endent ().
6319         (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
6321 2000-12-08  Andreas Jaeger  <aj@suse.de>
6323         * nscd/dbg_log.h (dbg_log): Correct attribute.
6325 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
6327         * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
6328         cp + len.  Compute where from dirname.
6329         Reported by <jreiser@BitWagon.com>.
6331 2000-12-08  Richard Henderson  <rth@twiddle.net>
6333         * sysdeps/alpha/_mcount.S: Fix typo.
6334         * sysdeps/alpha/strncpy.S: Likewise.
6336         * sysdeps/alpha/alphaev6/Implies: New file.
6337         * sysdeps/alpha/alphaev67/Implies: New file.
6338         * sysdeps/alpha/alphaev67/ffs.S: New file.
6339         * sysdeps/alpha/alphaev67/ffsll.S: New file.
6340         * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
6341         * sysdeps/alpha/alphaev67/stpcpy.S: New file.
6342         * sysdeps/alpha/alphaev67/stpncpy.S: New file.
6343         * sysdeps/alpha/rawmemchr.S: New file.
6344         * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
6345         * sysdeps/alpha/strcpy.S: Likewise.
6347         From GMP 3.1.1:
6348         * sysdeps/alpha/alphaev6/addmul_1.s: New file.
6350         From rick.gorton@alpha-processor.com:
6351         * sysdeps/alpha/alphaev6/memchr.S: New file.
6352         * sysdeps/alpha/alphaev6/memcpy.S: New file.
6353         * sysdeps/alpha/alphaev6/memset.S: New file.
6354         * sysdeps/alpha/alphaev6/stxcpy.S: New file.
6355         * sysdeps/alpha/alphaev6/stxncpy.S: New file.
6356         * sysdeps/alpha/alphaev67/strcat.S: New file.
6357         * sysdeps/alpha/alphaev67/strchr.S: New file.
6358         * sysdeps/alpha/alphaev67/strlen.S: New file.
6359         * sysdeps/alpha/alphaev67/strncat.S: New file.
6360         * sysdeps/alpha/htonl.S: Use a shorter sequence.
6362 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
6364         * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
6365         Reported by <pspencer@fields.utoronto.ca>.
6367 2000-12-07  Jes Sorensen  <jes@linuxcare.com>
6369         * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
6370         Pointed out by Hans Boehm.
6372 2000-12-07  H.J. Lu  <hjl@gnu.org>
6374         * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
6376 2000-12-07  Andreas Jaeger  <aj@suse.de>
6378         * misc/error.c: Add format attributes for __error and __error_at_line.
6380         * nscd/dbg_log.h: Add format attribute.
6382 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
6384         * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
6385         Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
6387 2000-12-07  Dan Pop  <Dan.Pop@cern.ch>
6389         * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
6391 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
6393         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
6394         (sysdep_routines): Add uitrunc.
6395         * sysdeps/unix/sysv/aix/uitrunc.c: New file.
6396         Patches by Michael Keezer <mkeezer@redhat.com>.
6398 2000-12-06  Roland McGrath  <roland@frob.com>
6400         * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
6401         argument data, since it will be used to copy out too (for INOUT).
6402         Reported by Marcus Brinkmann <marcus@gnu.org>.
6404         * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
6405         (__ioctl): Use uintptr_t instead of unsigned long int.
6407 2000-12-06  Jim Wilson  <wilson@redhat.com>
6409         * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
6411 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
6413         * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
6414         x.5 rounding correctly.
6416 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
6418         * stdio-common/perror.c (perror): Conditionalize code dealing with
6419         wide-oriented streams on USE_IN_LIBIO.
6421 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
6423         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
6424         as internal_function.
6426 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
6428         * sysdeps/alpha/elf/start.S (__data_start): Define.
6430 2000-12-05  H.J. Lu  <hjl@gnu.org>
6432         * nss/getXXent_r.c (setup): Change the return type to int.
6434 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
6436         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
6437         (sysdep_routines): Add restf and savef.
6438         * sysdeps/unix/sysv/aix/restf.c: New file.
6439         * sysdeps/unix/sysv/aix/savef.c: New file.
6440         Patches by Michael Keezer <mkeezer@redhat.com>.
6442         * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
6443         if O_DIRECTORY is not defined.
6444         Patch by Michael Keezer <mkeezer@redhat.com>.
6446         * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
6447         Patch by Michael Keezer <mkeezer@redhat.com>.
6449         * locale/programs/linereader.c (get_toplvl_escape): Recognize more
6450         than 4 bytes in escape sequence.
6451         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
6453 2000-12-05  Andreas Jaeger  <aj@suse.de>
6455         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
6456         set mips2.
6458         * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
6460         * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
6462         * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
6463         Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
6465         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
6466         internal_function.
6467         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
6468         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
6470         * sysdeps/generic/dl-cache.c: Remove declaration of
6471         _dl_sysdep_read_whole_file.
6473         * elf/dl-load.c (_dl_map_object): Remove declaration of
6474         _dl_load_cache_lookup.
6476         * sysdeps/generic/ldsodefs.h: Add declarations of
6477         _dl_load_cache_lookup, _dl_unload_cache,
6478         _dl_sysdep_read_whole_file, _dl_sysdep_start and
6479         _dl_sysdep_start_cleanup.
6481         * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
6482         now.
6484         * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
6485         * sysdeps/generic/dl-environ.c: Likewise.
6487         * stdio-common/printf_fp.c: Include <gmp.h> instead of
6488         <stdlib/gmp.h>.
6489         * math/atest-exp.c: Likewise.
6490         * math/atest-exp2.c: Likewise.
6491         * math/atest-sincos.c: Likewise.
6492         * stdio-common/_itoa.c: Likewise.
6493         * stdio-common/_itowa.c: Likewise.
6495         * include/gmp.h: New file with internal prototypes.
6497         * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
6498         here to...
6499         * include/setjmp.h: ...here.
6501         * locale/Makefile (routines): Remove codeset_name since it's not
6502         needed anywhere.
6504         * locale/codeset_name.c: Removed.
6506 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
6508         * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
6510 2000-12-05  Andreas Jaeger  <aj@suse.de>
6512         * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
6514 2000-12-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
6516         * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
6517         available.
6519 2000-12-05  Andreas Jaeger  <aj@suse.de>
6521         * nss/test-netdb.c: Mark local functions as static to avoid
6522         warnings.
6523         (main): Use return to silence warning.
6525         * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
6527         * stdio-common/test-popen.c: Mark local functions as static to
6528         avoid warnings.
6529         (main): Use return to silence warning.
6531         * stdlib/testsort.c (compare): Mark as static to avoid warning.
6533         * assert/test-assert.c: Mark local functions as static to avoid
6534         warnings.
6535         * assert/test-assert-perr.c: Likewise.
6537         * math/libm-test.inc (main): Use return to silence warnings.
6539 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
6541         * math/fenv.h: Fix typo in comment.
6543         * math/test-misc.c (main): Add a few more over and underflow tests
6544         for scalb.
6546         * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
6547         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6548         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6549         * math/w_scalb.c: Don't use matherr except in SVID mode.
6550         * math/w_scalbf.c: Likewise.
6551         * math/w_scalbl.c: Likewise.
6552         * math/test-misc.c: Add test for NaN and scalbl.
6553         Reported by Fred J. Tydeman <tydeman@tybor.com>.
6555 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
6557         * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
6558         * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
6559         * include/libc-symbols.h (strong_alias): Define special version
6560         for HAVE_ASM_GLOBAL_DOT_NAME.
6561         (weak_alias): Likewise.
6562         * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
6563         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
6564         (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
6565         getutxline, pututxline, and utmpxname.
6566         * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
6567         * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
6568         * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
6569         * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
6570         * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
6571         * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
6572         * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
6573         * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup.  Add comments.
6574         * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
6575         Patches by Michael Keezer <mkeezer@redhat.com>.
6577 2000-12-04  H.J. Lu  <hjl@gnu.org>
6579         * configure.in: Change --with-oldest-abi=ABI to
6580         --enable-oldest-abi=ABI.
6582 2000-12-02  Bruno Haible  <haible@clisp.cons.org>
6584         * stdio-common/perror.c (perror): If stderr is wide-oriented, use
6585         fwprintf instead of fprintf.
6587 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
6589         * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
6590         DECIMAL_DIG definitions.
6591         * sysdeps/arm/fpu/bits/mathdef.h: Likewise
6592         * sysdeps/generic/bits/mathdef.h: Likewise
6593         * sysdeps/i386/fpu/bits/mathdef.h: Likewise
6594         * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
6595         * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
6596         * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
6597         * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
6598         * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
6600 2000-12-03  Ulrich Drepper  <drepper@redhat.com>
6602         * math/test-fenv.c (main): Use return instead of exit to avoid warning.
6604         * math/atest-exp.c: Mark local functions as static to avoid warnings.
6605         * math/atest-exp2.c: Likewise.
6606         * math/atest-sincos.c: Likewise.
6608         * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
6609         Reported by Fred J. Tydeman <tydeman@tybor.com>.
6611         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
6612         the handling of denormalized numbers.
6614         * math/test-misc.c (main): Test for fpclassify and pseudo denormal
6615         numbers on x86.
6616         * sysdeps/i386/fpu/fpclassifyl.c: New file.
6618         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
6619         pseudo denormal representation of LDBL_MIN.
6621         * iconvdata/SJIS.irreversible: Remove unnecessary entries.
6622         * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
6624         * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
6625         * iconvdata/jis0208.c: Likewise.
6626         * iconvdata/jis0212.c: Likewise.
6627         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
6629         * math/test-misc.c (main): More tests for frexp and some for
6630         fpclassify and isnormal.
6632         * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
6633         test for subnormal.
6634         Reported by Fred J. Tydeman <tydeman@tybor.com>.
6636         * math/test-misc.c (main): Add tests for frexp.
6637         Reported by Fred J. Tydeman <tydeman@tybor.com>.
6638         * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
6640 2000-12-02  H.J. Lu  <hjl@gnu.org>
6642         * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
6643         '\0' to wcschr.
6645 2000-12-02  Ulrich Drepper  <drepper@redhat.com>
6647         * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
6648         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6649         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6651         * sysdeps/generic/glob.c: Adjust types of several variables to
6652         avoid warnings.
6654 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
6656         * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
6658 2000-11-30  Roland McGrath  <roland@frob.com>
6660         * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
6661         (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
6662         allow multiple instances using the same function name in one file.
6664 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
6666         * configure.in: Correct test for pserver CVS access.
6668 2000-11-28  H.J. Lu  <hjl@gnu.org>
6670         * libio/libio.h: Remove extra "#if ... #endif".
6672 2000-11-29  H.J. Lu  <hjl@gnu.org>
6674         * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
6676 2000-12-01  H.J. Lu  <hjl@gnu.org>
6678         * nss/getXXbyYY_r.c: Fix verioned symbol handling.
6679         * nss/getXXent_r.c: Likewise.
6680         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6682 2000-11-30  H.J. Lu  <hjl@gnu.org>
6684         * scripts/abi-versions.awk (oldest_abi): New variable.
6685         Handle the oldest ABI supported.
6687         * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
6688         for scripts/abi-versions.awk.
6690         * configure.in: Add --with-oldest-abi=ABI.
6691         * configure: Rebuild.
6693         * config.make.in (oldest-abi): New.
6695         * config.h.in (GLIBC_OLDEST_ABI): New.
6697         * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
6699 2000-11-30  Jakub Jelinek  <jakub@redhat.com>
6701         * locale/setlocale.c (setname): Free for all categories, not just
6702         LC_ALL.
6703         (setlocale): Store a copy of string passed by user, not the string
6704         itself.
6706 2000-11-30  Roland McGrath  <roland@frob.com>
6708         * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
6709         rather than _hurd_fd_subinit, so it happens after it's safe to use
6710         libc facilities like malloc.
6712 2000-11-28  Andreas Jaeger  <aj@suse.de>
6714         * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
6715         declaration, adjust declaration of __syscall_getdents to match
6716         kernel.
6718 2000-11-29  H.J. Lu  <hjl@gnu.org>
6720         * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
6722 2000-11-29  Andreas Jaeger  <aj@suse.de>
6724         * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
6726 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
6728         * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
6729         * dlfcn/defaultmod2.c: Likewise.
6730         * dlfcn/dlopen.c: Likewise.
6731         * dlfcn/dlopenold.c: Likewise.
6732         * dlfcn/failtestmod.c: Likewise.
6733         * dlfcn/glreflib1.c: Likewise.
6734         * dlfcn/glreflib2.c: Likewise.
6735         * dlfcn/eval.c: Likewise.  Add attributes.
6737         * ctype/ctype-extn.c: Define isblank and not __isblank.
6739         * time/strftime.c: Add const where necessary to avoid warnings.
6740         * time/strptime.c (strptime_internal): Add casts to avoid warnings.
6742 2000-11-22  Paul Eggert  <eggert@twinsun.com>
6744         * time/strftime.c (my_strftime): Do not invoke mbrlen with a
6745         size of (size_t) -1; it's not portable.
6747 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
6749         * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
6750         crappy i486 FPU.
6751         Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
6753 2000-11-14  Jes Sorensen  <jes@linuxcare.com>
6755         * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
6757         * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
6758         _mcount is required by profiled binaries.
6760         * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
6761         * sysdeps/ia64/machine-gmon.h: ...here.
6763 2000-11-28  Masahide Washizawa  <washi@jp.ibm.com>
6765         * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
6766         (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
6767         and ibm1129.h.
6768         * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
6769         IBM1129.
6770         * iconvdata/ibm922.c: New file.
6771         * iconvdata/ibm922.h: New file.
6772         * iconvdata/ibm1124.c: New file.
6773         * iconvdata/ibm1124.h: New file.
6774         * iconvdata/ibm1129.c: New file.
6775         * iconvdata/ibm1129.h: New file.
6776         * iconvdata/testdata/IBM922: New file.
6777         * iconvdata/testdata/IBM922..UTF8: New file.
6778         * iconvdata/testdata/IBM1124: New file.
6779         * iconvdata/testdata/IBM1124..UTF8: New file.
6780         * iconvdata/testdata/IBM1129: New file.
6781         * iconvdata/testdata/IBM1129..UTF8: New file.
6783 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
6785         * catgets/gencat.c (normalize_line): Take extra parameter with escape
6786         character.  Change callers.
6787         (open_conversion): Determine mapping of 0x5c as wchar_t value.
6788         * catgets/Makefile: Add rules to build and run test-gencat.
6789         * catgets/sample.SJIS: New file.
6790         * catgets/test-gencat.c: New file.
6791         * catgets/test-gencat.sh: New file.
6792         Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
6794 2000-11-28  Andreas Jaeger  <aj@suse.de>
6796         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
6797         Linux version.
6799 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
6801         * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
6803 2000-11-28  Andreas Jaeger  <aj@suse.de>
6805         * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
6806         __flexarr.
6807         * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
6808         Likewise.
6810 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
6812         * misc/getusershell.c: Make strings in okshells array const.
6813         * misc/regexp.c: Add const to cast to avoid warnings.
6814         * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
6815         * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
6816         __setresuid.
6817         * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
6818         setresgid.
6819         * misc/error.c: Add prototypes for __error and __error_at_line.
6820         * misc/mntent_r.c (__getmntent_r): Add break at end of switch
6821         statement to avoid warning.
6822         * test-skeleton.c: Mark timeout_handler with noreturn.
6823         * iconv/skeleton.c (get16u): Add const to cast.
6824         (get32u): Likewise.
6825         * iconvdata/gb18030.c: Likewise.
6826         * iconvdata/iso-2022-cn-ext.c: Likewise.
6827         * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
6828         * iconvdata/big5.c: Likewise.
6829         * iconvdata/big5hkscs.c: Likewise.
6830         * iconvdata/iso_6937.c: Likewise.
6831         * iconvdata/iso_6937-2.c: Likewise.
6832         * iconvdata/t.61.c: Likewise.
6833         * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
6834         * iconvdata/unicode.c: Likewise.
6835         * iconvdata/utf-16.c: Likewise.
6836         * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
6837         * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
6838         with little code shuffling.
6840         * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
6841         the problems introduced when the user selects -O3.
6843         * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
6844         * misc/sys/cdefs.h: Define __flexarr.
6845         Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
6847         * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
6848         * iconv/skeleton.c: Likewise.
6849         * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
6850         * iconv/loop.c (get16): Add const to cast.
6851         (get32): Likewise.
6853 2000-11-27  Andreas Jaeger  <aj@suse.de>
6855         * login/programs/pt_chown.c (do_pt_chown): Mark function as static
6856         to avoid warning.
6857         * login/programs/utmpdump.c (print_entry): Likewise.
6859 2000-11-25  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
6861         * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
6862         in a single asm as they may be used to access other stored
6863         registers.
6864         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
6866 2000-11-27  Andreas Jaeger  <aj@suse.de>
6868         * rt/tst-aio.c: Mark test functions as static to avoid warnings.
6869         * rt/tst-aio64.c: Likewise.
6871 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
6873         * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
6874         for gencat run.
6875         (libc.cat): Likewise.
6876         * catgets/gencat.c: Implement handling of message catalogs encoded
6877         with stateful character sets.
6878         Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
6880 2000-11-26  Ulrich Drepper  <drepper@redhat.com>
6882         * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
6884         * inet/getnameinfo.c: Adjust casts to avoid warnings.
6885         * inet/rcmd.c: Likewise.
6886         * inet/ruserpass.c: Likewise.
6887         * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
6888         IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
6889         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
6890         IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
6891         IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
6892         IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
6893         * include/aliases.h: Add prototypes for internal __getalias* functions.
6894         * include/netdb.h: Add prototypes for __old_gethostent_r,
6895         __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
6896         __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
6897         __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
6898         __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
6899         * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
6900         __old_getrpcbynumber_r, __old_getrpcent_r.
6902         * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
6903         __getrpcent_r prototypes.
6905 2000-11-25  Ulrich Drepper  <drepper@redhat.com>
6907         * string/strcoll.c: Add casts to avoid warnings.
6908         * string/strnlen.c: Likewise.
6909         * string/strxfrm.c: Likewise.
6910         * sysdeps/generic/_strerror.c: Likewise.
6911         * sysdeps/generic/memrchr.c: Likewise.
6912         * sysdeps/generic/strcasestr.c: Likewise.
6913         * sysdeps/generic/strstr.c: Likewise.
6915         * locale/weight.h (findidx): Add const to cast to avoid warning.
6917         * elf/loadfail.c: Little cosmetic changes to avoid warnings.
6918         * elf/loadtest.c: Likewise.
6919         * elf/multiload.c: Likewise.
6920         * elf/next.c: Likewise.
6921         * elf/nodelete.c: Likewise.
6922         * elf/noload.c: Likewise.
6923         * elf/order.c: Likewise.
6924         * elf/origtest.c: Likewise.
6925         * elf/preloadtest.c: Likewise.
6926         * elf/restest1.c: Likewise.
6928         * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
6929         parameter of asm must be in %ecx.
6931         * string/tester.c: Mark test functions as static to avoid warnings.
6933         * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
6934         preserve value over different gconv-modules files.
6936 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
6938         * locale/findlocale.c: Add casts to avoid warnings.
6939         * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
6940         * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
6941         to avoid warnings.
6942         * misc/tsearch.c (const_node): New type.
6943         (trecurse): Correct casts to avoid warnings.
6944         (__twalk): Likewise.
6945         * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
6946         LONG_BIT.
6948         * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
6950         * test-skeleton.c: Mark local functions as static to avoid warnings.
6952 2000-11-23  H.J. Lu  <hjl@gnu.org>
6954         * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
6955         support the background job.
6956         Fix a typo.
6958 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
6960         * iconv/gconv_conf.c (insert_module): Replace old entry if new one
6961         has same names but lower cost.
6963 2000-11-23  Jakub Jelinek  <jakub@redhat.com>
6965         * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
6966         which never occur during bootstrap.
6967         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6969 2000-11-23  Andreas Jaeger  <aj@suse.de>
6971         * nss/nss_files/files-hosts.c: Remove getipnodebyname.
6973         * nss/Versions: Remove _nss_files_getipnodebyname_r.
6975         * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
6977 2000-11-18  Martin Buchholz  <martin@xemacs.org>
6979         * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
6980         (called++) return;'
6982 2000-11-21  Alan Modra  <alan@linuxcare.com.au>
6984         * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
6986         * csu/abi-note.S: Correct comment for operating system number.
6988 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
6990         * Versions.def: Add GLIBC_2.2.1 for glibc.
6992 2000-11-22  Andreas Schwab  <schwab@suse.de>
6994         * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
6995         * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
6997 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
6999         * rt/aio_suspend.c (aio_suspend): Convert timeout value to
7000         absolute time for pthread_cond_timedwait call.
7001         Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
7003         * rt/Makefile (tests): Add tst-aio6.
7004         * rt/tst-aio6.c: New file.
7006 2000-11-23  Andreas Jaeger  <aj@suse.de>
7008         * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
7010 2000-11-22  Andreas Jaeger  <aj@suse.de>
7012         * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
7014 2000-11-21  Martin Schwidefsky  <schwidefsky@de.ibm.com>
7016         * sysdeps/s390/bits/string.h: Make strncat always add a \0.
7018 2000-11-21  Andreas Schwab  <schwab@suse.de>
7020         * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
7021         * sysdeps/arm/setjmp.S: Likewise.
7022         * sysdeps/arm/fpu/setjmp.S: Likewise.
7023         * sysdeps/i386/setjmp.S: Likewise.
7024         * sysdeps/i386/elf/setjmp.S: Likewise.
7025         * sysdeps/s390/setjmp.S: Likewise.
7026         * sysdeps/s390/elf/setjmp.S: Likewise.
7027         * sysdeps/sh/sh3/setjmp.S: Likewise.
7028         * sysdeps/sh/sh4/setjmp.S: Likewise.
7029         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
7030         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
7031         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
7032         * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
7034 2000-11-21  Andreas Jaeger  <aj@suse.de>
7036         * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
7037         NORETURN, fix parameter list.
7039         * string/bug-strncat1.c (main): Fix typo.
7040         Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
7042 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
7044         * configure.in: Add --enable-all-warnings.
7045         * config.make.in (all-warnings): New variable.
7046         * Makeconfig (+gccwarn): Define with many more warnings if
7047         all-warnings is yes.
7049 2000-11-20  Jakub Jelinek  <jakub@redhat.com>
7051         * iconvdata/bug-iconv2.c (main): Use %zd in format string.
7052         * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
7053         * malloc/tst-valloc.c (main): Cast valloc return value to long.
7054         * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
7055         * math/test-fpucw.c (main): Use %lx in format string, cast
7056         control words to long.
7057         * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
7058         * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
7059         large that it is unsigned warning.
7061         * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
7062         it to long on sparc64.
7064 2000-11-20  Andreas Jaeger  <aj@suse.de>
7066         * nscd/nscd.h (termination_handler): Add noreturn attribute.
7067         (receiv_print_stats): Likewise.
7069         * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
7071 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
7073         * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
7075         * csu/gmon-start.c: Always have prototype for __gmon_start.
7076         * csu/version.c: Add prototypes for __libc_print_version and
7077         __libc_main.
7078         * iconv/gconv.c: Include gconv_int.h and gconv.h.
7079         * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
7080         and __to_name.
7081         * iconv/gconv_builtin.h: Add ASCII module definitions.
7082         * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
7083         (add_module): Add cast to avoid warning.  Rework construction of
7084         strings for new module.
7085         * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
7086         (derivation_compare): Likewise.
7087         * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
7088         (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
7089         * iconv/gconv_int.h (__gconv_path_elem): Remove const.
7090         (struct gconv_alias): Remove const from fromname and toname.
7091         * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
7092         for loop functions.
7093         (internal_ucs4_loop): Use correct const-ness.
7094         (ucs4_internal_loop): Likewise.
7095         (internal_ucs4le_loop): Likewise.
7096         (ucs4le_internal_loop_single): Likewise.
7097         * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
7098         to_idx, to_tbl, winbuf, winbufend const.  Change casts in
7099         assignments appropriately.
7100         (struct known_trans): Remove const from fname.
7101         (trans_compare): Make s1 and s2 const.
7102         * iconv/loop.c (LOOPFC): Make outend parameter const.  Add cast to
7103         avoid warning.
7104         * iconv/skeleton.c: Remove cast in calls of loop functions.
7105         * iconvdata/gconv-modules: Remove US-ASCII definitions.
7106         * iconvdata/iso646.c: Remove US_ASCII support.
7107         * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
7108         * include/unistd.h: Add __libc_check_standard_fds prototype.
7109         * string/bits/string2.h (__mempcpy_args): Add const to casts.
7110         * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
7111         _fini.
7112         * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
7113         * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
7114         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
7115         warning.
7116         * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
7117         __libc_init_first and _dl_start.
7118         * intl/dcigettext.c (transcmp): Make s1 and s2 const.
7119         (DCIGETTEXT): Make domaindata variable const.
7120         * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
7121         to avoid warning.
7123 2000-11-20  Hiroyuki Machida  <machida@sm.sony.co.jp>
7125         * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
7127         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
7128         time_t to 'long int' not, 'unsigned int'.  Use 'long int' for
7129         __unused? members.
7131         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
7132         value defined in /usr/include/asm-mips/fcntl.h.
7134 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
7136         * stdio-common/Makefile (tests): Add test-vfprintf.
7137         (test-vfprintf-ENV): New variable.
7138         * stdio-common/test-vfprintf.c: New file.
7140         * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
7142         * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
7143         (tst-mbrtowc-ENV): New variable.
7144         (tst-wcrtomb-ENV): New variable.
7145         * wcsmbs/tst-mbrtowc.c: New file.
7146         * wcsmbs/tst-wcrtomb.c: New file.
7148 2000-11-16  Andreas Jaeger  <aj@suse.de>
7150         * manual/install.texi (Tools for Compilation): Update
7151         documentation for GCC 2.95.2.
7153 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
7155         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
7156         if IPv4 and IPv6 requests timed out.
7158 2000-11-18  Akim Demaille  <akim@epita.fr>
7160         * malloc/obstack.h: Formatting changes.
7161         (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
7162         prevents type checking.
7163         (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
7164         cast the value to (void *): assigning a `foo *' to a `void *'
7165         variable is valid.
7166         (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
7168 2000-11-17  Ulrich Drepper  <drepper@redhat.com>
7170         * scripts/config.guess: Update from upstream maintainer.
7171         * scripts/config.sub: Likewise.
7173 2000-11-16  Ulrich Drepper  <drepper@redhat.com>
7175         * libio/freopen.c (freopen): Reset _mode after succesful reopening.
7176         * libio/freopen64.c (freopen64): Likewise.
7177         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7179         * libio/Makefile: Add rules to build and run test-freopen.
7180         * libio/test-freopen.c: New file.
7181         * libio/test-freopen.sh: New file.
7183 2000-11-15  H.J. Lu  <hjl@gnu.org>
7185         * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
7186         ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
7187         (DL_DT_FINI_ADDRESS): Likewise.
7189         * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
7190         return type to ElfW(Addr).
7191         (_dl_function_address): New prototype.
7192         (DL_FUNCTION_ADDRESS): Defined.
7193         (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
7194         (DL_DT_FINI_ADDRESS): Likewise.
7196         * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
7198         * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
7199         (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
7201         * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
7202         (_dl_function_address): This.
7204         * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
7205         function pointer for DT_FINI.
7206         * elf/dl-close.c (_dl_close): Likewise.
7208         * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
7209         function pointer for DT_INIT.
7211 2000-11-16  Jakub Jelinek  <jakub@redhat.com>
7213         * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
7214         end of wexpbuf buffer.
7216 2000-11-16  Andreas Jaeger  <aj@suse.de>
7218         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
7219         definition of F_GETLK, F_SETLK, F_SETLKW.
7221 2000-11-16  Andreas Jaeger  <aj@suse.de>
7223         * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
7224         it's not defined.
7226 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
7228         * dlfcn/default.c (main): Add test for dladdr of main returning
7229         argv[0] in dli_fname field.
7231 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
7233         * Makeconfig (run-program-prefix): Move test-static test into the
7234         variable.
7236         * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
7237         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
7238         schedule instructions.
7239         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
7240         schedule instructions, fix a bug in copying auxiliary data.
7242 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
7244         * manual/startup.texi (Program Arguments): Fix type of main's envp
7245         parameter.
7246         Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
7248         * iconvdata/gconv-modules: Add CP950 alias.
7250 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
7252         * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
7253         syscall-list.h goal.
7254         * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
7256 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
7258         * intl/Makefile: tst-gettext2.sh does not need a third parameter.
7260         * intl/tst-gettext2.sh: Copy locale data.  Adjust LOCPATH.  Verify
7261         output of program.
7263         * intl/tst-gettext2.c: Set C locale if setting other locale
7264         failed.  Use gettext() not _().
7266         * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
7267         successfully loaded a new locale.
7269 2000-11-13  Andreas Jaeger  <aj@suse.de>
7271         * configure.in: Require gcc 2.95 or newer.
7273 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
7275         * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
7276         Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
7278 2000-11-11  Jim Meyering  <meyering@lucent.com>
7280         * string/strndup.c (strndup): Cast return value to `char *'.
7282 2000-11-15  Jim Meyering  <meyering@ascend.com>
7284         * sysdeps/generic/memchr.c: Remove some useless parentheses.
7285         [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
7286         [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
7287         [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
7288         Also #undef __memchr.
7289         Use `weak_alias' only if it's defined.
7291 2000-11-10  H.J. Lu  <hjl@gnu.org>
7293         * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
7295 2000-11-15  Andreas Jaeger  <aj@suse.de>
7297         * elf/chroot_canon.c: Include <stdint.h>.
7299         * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
7300         (print_entry): Likewise.
7301         (add_to_cache): Likewise.
7303         * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
7305         * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
7306         (path_hwcap): Likewise.
7307         (search_dir): Likewise.
7309         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
7311         * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
7313         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
7314         (_dl_platform_string): New.
7315         (_DL_HWCAP_PLATFORM): New.
7316         (_dl_string_platform): New.
7317         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
7319         * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
7320         (_dl_string_platform): New.
7321         (_DL_HWCAP_PLATFORM): New.
7322         (_dl_platform_string): New.
7324         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
7325         recognition.
7326         (_DL_HWCAP_COUNT): New.
7327         (_dl_string_platform): New.
7328         (_DL_HWCAP_PLATFORM): New.
7329         (_dl_platform_string): New.
7331 2000-11-14  Ulrich Drepper  <drepper@redhat.com>
7333         * iconvdata/gconv-modules: Add CP936 as alias for GBK.
7335 2000-11-14  Andreas Jaeger  <aj@suse.de>
7337         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
7339 2000-11-13  Roland McGrath  <roland@frob.com>
7341         * hurd/get-host.c (_hurd_get_host_config): Fix last change.
7343 2000-11-13  Marcus Brinkmann <marcus@gnu.org>
7345         * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
7346         underrun and make sure the result is null terminated even if there
7347         is no trailing newline.
7349 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
7351         * sysdeps/alpha/fpu/libm-test-ulps: Update.
7353 2000-11-10  H.J. Lu  <hjl@gnu.org>
7355         * sysdeps/ia64/fpu/libm-test-ulps: Updated.
7357 2000-11-10  Andreas Jaeger  <aj@suse.de>
7359         * elf/ldconfig.c (create_links): Fix alloca calculation.
7360         Patch by Ben Collins <bcollins@debian.org>.
7362 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
7364         * inet/getnameinfo.c (getnameinfo): Use correct destination
7365         parameter for if_indextoname.
7366         Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
7368 2000-11-09  H.J. Lu  <hjl@gnu.org>
7370         * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
7371         xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
7372         xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
7373         xdr_keystatus.
7375         * time/Versions (GLIBC_2.1): Move getitimer to...
7376         * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
7378 2000-11-03  Bruno Haible  <haible@clisp.cons.org>
7380         * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
7381         "make install", to work around a binary incompatibility between
7382         glibc 2.1 and glibc 2.2 gconv modules.
7384 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
7386         * intl/locale.alias: Add thai.
7387         Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
7389 2000-11-07  Akim Demaille  <akim@epita.fr>
7391         * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
7392         argument `data' for consistency with the prototypes.
7393         Qualify it `const'.
7394         (obstack_copy, obstack_copy0): Rename the second argument as
7395         `address' for consistency.  Qualify it `const'.
7396         * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
7397         (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
7398         `const' their input argument (`data' or `address').
7399         Adjust the corresponding macros to include `const' in casts.
7401 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
7403         * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
7404         target family.
7406 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
7408         * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
7409         socket creation.
7411 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
7413         * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
7414         ai_protocol by internal table if service was not given.
7416 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
7418         * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
7419         numerical port was specified with protocol without socktype.
7421 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
7423         * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
7425 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
7427         * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
7429 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
7431         * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
7432         sin6_scope_id field.
7434 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
7436         * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
7438 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
7440         * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
7442 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
7444         * inet/getnameinfo.c: Wake-up sin6_scope_id support in
7445         getnameinfo(): check for whether sin6_socpe_id exist was wrong.
7447 2000-11-09  Martin Schwidefsky  <mschwide@nc.boeblingen.de.ibm.com>
7449         * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
7450         * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
7452 2000-11-09  H.J. Lu  <hjl@gnu.org>
7454         * io/Versions (GLIBC_2.1.1): Remove lockf64.
7457 See ChangeLog.11 for earlier changes.