* COPYING: Fix Y2k bug in sample copyright notices.
[platform/upstream/glibc.git] / ChangeLog
1 2001-07-06  Paul Eggert  <eggert@twinsun.com>
2
3         * manual/argp.texi: Remove ignored LGPL copyright notice; it's
4         not appropriate for documentation anyway.
5         * manual/libc-texinfo.sh: "Library General Public License" ->
6         "Lesser General Public License".
7         * COPYING: Fix Y2k bug in sample copyright notices.
8         * manual/lesser.texi: Renamed from manual/lgpl.texinfo,
9         as fsf.org uses the name "lesser.texi".
10         * manual/Makefile (texis): Follow rename.
11
12
13 2001-07-06  Andreas Jaeger  <aj@suse.de>
14
15         * All files under GPL/LGPL version 2: Place under LGPL version
16         2.1.
17
18 2001-07-05  Andreas Jaeger  <aj@suse.de>
19
20         Synch with Linux 2.4.6:
21         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_BLUETOOTH):
22         New.
23         (AF_BLUETOOTH): New.
24
25         * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h
26         (PF_BLUETOOTH): New.
27         (AF_BLUETOOTH): New.
28
29         * sysdeps/unix/sysv/linux/mips/bits/socket.h (AF_BLUETOOTH): New.
30         (PF_BLUETOOTH): New.
31
32         * sysdeps/unix/sysv/linux/ia64/bits/socket.h (AF_BLUETOOTH): New.
33         (PF_BLUETOOTH): New.
34
35         * sysdeps/unix/sysv/linux/alpha/bits/socket.h (PF_BLUETOOTH): New.
36         (AF_BLUETOOTH): New.
37
38         * sysdeps/unix/sysv/linux/bits/socket.h (PF_BLUETOOTH): New.
39         (AF_BLUETOOTH): New.
40
41         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_IEEE80211): New.
42
43         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (N_HCI): New.
44
45         * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h (N_HCI): New.
46
47         * sysdeps/unix/sysv/linux/bits/ioctl-types.h (N_HCI): New.
48
49 2001-07-04  Roland McGrath  <roland@frob.com>
50
51         * hurd/hurdsig.c (_hurd_internal_post_signal): For SS->suspended
52         wakeup message, use MACH_MSG_TYPE_MAKE_SEND for the receiver port
53         rather than doing a mach_port_insert_right call first.
54
55 2001-06-26  Roland McGrath  <roland@frob.com>
56
57         * hurd/hurdioctl.c: Include <string.h> for memcpy decl.
58
59 2001-07-03  Andreas Jaeger  <aj@suse.de>
60
61         * sysdeps/unix/sysv/sysv4/solaris2/configure.in: Remove check for
62         crypt add-on.
63
64 2001-07-01  Mark Kettenis  <kettenis@gnu.org>
65
66         * sysdeps/mach/hurd/if_index.c: Redone to use new interfaces in
67         the Hurd pfinet server, using equivalent code from the Linux
68         version in sysdeps/unix/sysv/linux/if_index.c. In detail:
69         Include <unistd.h>, <error.h>, <sys/ioctl.h>, <hurd/ioctl.h> and
70         <hurd/pfinet.h>.  Don't include <sys/mman.h> and <hurd/fsys.h>
71         anymore.
72         (if_nametoindex): New implementation using SIOCGIFINDEX.
73         (if_freenameindex): Straight copy of the Linux version.
74         (if_nameindex): New implementation based on pfinet_siocgifconf and
75         SIOCGIFINDEX.
76         (if_indextoname): New implementation using SIOCGIFNAME.
77         (map_interfaces): Function removed.
78         From Marcus Brinkmann <marcus@gnu.org>.
79
80 2001-06-30  Jakub Jelinek  <jakub@redhat.com>
81
82         * sysdeps/powerpc/dl-machine.c (__elf_preferred_address): Prefer
83         gaps below main executable.
84
85 2001-06-19  Andreas Jaeger  <aj@suse.de>
86
87         * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
88         Handle profiling.
89
90 2001-06-29  Andreas Jaeger  <aj@suse.de>
91
92         * sysdeps/ieee754/ldbl-128/s_asinhl.c: New file.
93         Patch by Stephen L Moshier <moshier@mediaone.net>.
94
95 2001-06-28  Ulrich Drepper  <drepper@redhat.com>
96
97         * manual/argp.texi: Tons of cleanups.
98         Patch by Clifford U. Smith <cuel@swbell.net>.
99
100 2001-06-28  Mark Kettenis  <kettenis@gnu.org>
101
102         * manual/users.texi (Setting Groups): Correct initgroups
103         documentation.  Add documentation for getgrouplist.
104
105 2001-06-28  H.J. Lu  <hjl@gnu.org>
106
107         * locale/findlocale.c (locale_file_list): Renamed to ...
108         (_nl_locale_file_list): This.  Make it extern.
109         (free_mem): Move to ...
110         * locale/setlocale.c (free_mem): Here.
111
112 2001-06-28  Mark Kettenis  <kettenis@gnu.org>
113
114         * sysdeps/mach/hurd/read.c: Include <hurd/fd.h>.
115         (__libc_read): Don't call __pread.  Use _hurd_fd_read directly
116         instead.
117         * sysdeps/mach/hurd/write.c: Include <hurd/fd.h>.
118         (__libc_write): Don't call __pwrite.  Use _hurd_fd_write directly
119         instead.
120
121         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Add back
122         -Wl,-soname option lost in 2001-06-16 change.
123
124 2001-06-27  Ulrich Drepper  <drepper@redhat.com>
125
126         * posix/tst-regex.c: Pass REG_NEWLINE to regcomp.  Add extra tests.
127         Restrict printing of string in debug mode to 100 characters to make
128         the output useful for long input texts.
129
130         * posix/Makefile: Add rules to build and run tst-regex.
131
132 2001-06-20  Isamu Hasegawa  <isamu@yamato.ibm.com>
133
134         * posix/regex.c (FREE_WCS_BUFFERS): New macro to free buffers.
135         (re_search_2): Invoke convert_mbs_to_wcs and FREE_WCS_BUFFERS.
136         (wcs_re_match_2_internal): Check whether the wcs buffers need
137         seting up or not, and skip seting up routin if not needed.
138
139 2001-06-26  Isamu Hasegawa  <isamu@yamato.ibm.com>
140
141         * posix/regex.c (count_mbs_length): Use binary search for optimization.
142
143 2001-06-27  Ulrich Drepper  <drepper@redhat.com>
144
145         * posix/tst-regex.c: Fix several bugs.  Add more tests.
146
147 2001-06-26  Mark Kettenis  <kettenis@gnu.org>
148
149         * hurd/Makefile (user-interfaces): Add pfinet.
150         * hurd/hurdioctl.c: Include <hurd/pfinet.h>, <net/if.h> and
151         <netinet/in.h>.
152         (siocgifconf): New function.  Register it with HURD_HANDLE_IOCTL
153         as the handler for SIOCGIFCONF.
154         * sysdeps/mach/hurd/bits/ioctls.h: Modify SIOCSIFFLAGS and
155         SIOCGIFFLAGS to be of IOC type ifreq_short.  Modify SIOCSIFMETRIC
156         and SIOCGIFMETRIC to be of IOC type ifreq_int.  Add new macro
157         definitions for SIOCGIFMTU, SIOCSIFMTU, SIOCGIFINDEX and
158         SIOCGIFNAME.
159         From Marcus Brunkmann <marcus@gnu.org>.
160
161 2001-06-25  Ulrich Drepper  <drepper@redhat.com>
162
163         * sysdeps/gnu/net/if.h: Correct _IOT_ifreq and add _IOT_ifreq_short
164         and _IOT_ifreq_int.  Patch by Mark Kettenis <kettenis@wins.uva.nl>.
165
166         * elf/dl-deps.c (_dl_map_object_deps): Fix handling of failing
167         _dl_catch_error calls.
168
169 2001-06-22  Jakub Jelinek  <jakub@redhat.com>
170
171         * posix/regex.c (regex_compile, re_match_2_internal): Fix comment
172         typos.
173
174 2001-06-01  Wolfram Gloger  <wg@malloc.de>
175
176         * malloc/malloc.c (malloc_atfork, free_atfork): Use a unique value
177         ATFORK_ARENA_PTR, not 0, for the thread-specific arena pointer
178         when malloc_atfork is in use.
179
180 2001-06-22  Andreas Jaeger  <aj@suse.de>
181
182         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Add parenthese
183         to avoid warnings.
184
185         * sysdeps/i386/fpu/e_expl.c (__ieee754_expl): Remove unused
186         variable.
187         Add unused attributes to avoid warnings.
188
189         * elf/reldep4mod4.c: Add prototype to avoid warning.
190         * elf/reldep4mod2.c: Likewise.
191
192         * sysdeps/i386/fpu/e_expl.c: Include <math_private.h> for
193         prototypes.
194
195 2001-06-18  Roland McGrath  <roland@frob.com>
196
197         * hurd/hurd/fd.h (_hurd_fd_error_signal): Change return type to int.
198
199 2001-06-20  Alexandre Oliva  <aoliva@redhat.com>
200
201         * sysdeps/unix/sysv/settimeofday.c: Include time.h.
202
203 2001-06-19  Martin Schwidefsky  <schwidefsky@de.ibm.com>
204
205         * sysdeps/unix/sysv/linux/s390/s390-64/dl-cache.h: New file.
206
207 2001-05-09  Michael Keezer  <mkeezer@redhat.com>
208
209         * Makeconfig: Added AIX-ld support for DSO.
210         * Makerules: Likewise.
211         * dlfcn/Makefile (defaultmod1.so): Added libc_nonshared.
212         (defaultmod2.so): Likewise.
213         * debug/Makefile: Conditionalize use of elf/ld.so.
214         * iconvdata/Makefile: Moved LDFLAG rpath/soname info into Makeconfig.
215
216         * sysdeps/unix/sysv/aix/Makefile: Added dl-support.c and dl-error.c.
217         * sysdeps/unix/sysv/aix/Makefile: Made (f/g)rsave(0/1) &
218         (f/g)prrest(0/1) static only.
219         * sysdeps/unix/sysv/aix/gettimeofday.c: Removed #if 0.
220         * sysdeps/unix/sysv/aix/start.c: Define __dso_handle if not ELF but
221         shared.
222         * sysdeps/unix/sysv/aix/setitimer.c: New file.
223         * sysdeps/unix/sysv/aix/sleep.c: New file.
224         * sysdeps/unix/sysv/aix/usleep.c: New file.
225         * sysdeps/unix/sysv/aix/dl-addr.c: New file.
226         * sysdeps/unix/sysv/aix/dl-error.c: New file.
227         * sysdeps/unix/sysv/aix/dl-support.c: New file.
228         * sysdeps/unix/sysv/aix/powerpc/register-dump.h: New file.
229
230 2001-06-19  Ulrich Drepper  <drepper@redhat.com>
231
232         * po/es.po: Update from translation team.
233
234 2001-06-19  Andreas Jaeger  <aj@suse.de>
235
236         * sysdeps/ieee754/ldbl-128/s_tanhl.c: New file.
237
238         * math/libm-test.inc (tanh_test): Test for 2^-56.
239
240         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Make sure result
241         equals argument when x < 2^-55.
242         Patches by Stephen L. Moshier <moshier@na-net.ornl.gov>.
243
244 2001-06-17  Alan Modra  <amodra@bigpond.net.au>
245
246         * sysdeps/hppa/dl-machine.h (elf_machine_rela): handle relocs
247         at unaligned address.
248
249 2001-06-18  Ulrich Drepper  <drepper@redhat.com>
250
251         * posix/regex.c: Reorganize code to build code twice, once for single
252         byte, once for multi-byte charsets.  Choose function set adequate for
253         locale at runtime.
254         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
255
256         * po/nl.po: Update from translation team.
257
258 2001-06-09  Bruno Haible  <haible@clisp.cons.org>
259
260         * iconvdata/gconv-modules (BIG5HKSCS): New alias BIG5-HKSCS.
261         (ISO-8859-14): New aliases ISO_8859-14 and ISO-CELTIC.
262         * iconvdata/tst-tables.sh: For BIG5HKSCS, use BIG5-HKSCS charmap.
263
264 2001-05-26  Bruno Haible  <haible@clisp.cons.org>
265
266         * iconvdata/tst-tables.sh: For SJIS module, use SHIFT_JIS charmap.
267         * manual/charset.texi: Write Shift_JIS, not Shift-JIS.
268
269 2001-06-17  Roland McGrath  <roland@frob.com>
270
271         * sysdeps/pthread/aio_misc.h (LIO_DSYNC): Define to LIO_NOP + 1,
272         not LIO_READ + 1 (which is the value of LIO_WRITE!).
273
274         * Makerules (build-module-helper-objlist): New variable,
275         broken out of build-module.  Insert --whole-archive/--no-whole-archive
276         immediately each *_pic.a file in the link object list.
277         (whole-archive): New variable, used by that.
278         (build-module-objlist): New variable using build-module-helper-objlist.
279         (build-module, build-module-helper): Use it.
280         (build-shlib-objlist): New variable using build-module-helper-objlist.
281         (build-shlib): Use that.
282         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Likewise.
283
284         * posix/spawni.c: Moved to ...
285         * sysdeps/posix/spawni.c: ... here.
286         * sysdeps/generic/spawni.c: New file.
287
288 2001-06-16  Roland McGrath  <roland@frob.com>
289
290         * hurd/Makefile (routines): Add lookup-retry.
291         * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Broken out ...
292         * hurd/lookup-retry.c: ... into here, new file.
293         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Call that instead
294         using of duplicate code here.
295
296         * hurd/hurdexec.c (_hurd_exec): Be robust for DTABLESIZE==0.
297
298 2001-06-17  Ulrich Drepper  <drepper@redhat.com>
299
300         * po/ja.po: Update from translation team.
301
302 2001-06-04  Bruno Haible  <haible@clisp.cons.org>
303
304         * locale/programs/locfile.c (siblings_uncached, siblings, full_read,
305         compare_files): New functions.
306         (write_locale_data): Use xmalloc.  Compare the file with the locale
307         data files for the same category in other locales, and reuse it if
308         possible and safe.
309
310 2001-06-07  Mark Kettenis  <kettenis@gnu.org>
311
312         * grp/initgroups.c (initgroups): Factor out re-usable code into...
313         (internal_getgrouplist): ... new function.
314         (getgrouplist): New function.
315         * grp/grp.h (getgrouplist): New prototype.
316         * grp/Versions [2.2.4]: Add getgrouplist.
317
318 2001-06-16  Ulrich Drepper  <drepper@redhat.com>
319
320         * inet/netinet/ip6.h: Fix comments in ip6_hdr.
321         Patch by Pekka Savola <pekkas@netcore.fi>.
322
323 2001-06-15  Roland McGrath  <roland@frob.com>
324
325         * rt/Makefile (aio-routines, clock-routines, timer-routines): New
326         variables, broken out of librt-routines.
327         (librt-routines): Set using those.
328         (extra-libs, extra-libc-others, tests): Set these unconditionally.
329         (distribute): No need for $(librt-map) or $(librt-routines:=.c) here.
330         * sysdeps/generic/aio_fsync.c: New file.
331         * sysdeps/generic/aio_misc.c: New file.
332         * sysdeps/generic/aio_write.c: New file.
333         * sysdeps/generic/aio_write64.c: New file.
334         * sysdeps/generic/aio_read64.c: New file.
335         * sysdeps/generic/aio_read.c: New file.
336         * sysdeps/generic/aio_notify.c: New file.
337         * sysdeps/generic/lio_listio64.c: New file.
338         * sysdeps/generic/lio_listio.c: New file.
339         * sysdeps/generic/aio_cancel.c: New file.
340         * sysdeps/generic/aio_misc.h: New file.
341         * sysdeps/generic/aio_suspend.c: New file.
342         * rt/aio_cancel.c: Moved to ...
343         * sysdeps/pthread/aio_cancel.c: ... here.
344         * rt/aio_fsync.c: Moved to ...
345         * sysdeps/pthread/aio_fsync.c: ... here.
346         * rt/aio_misc.c: Moved to ...
347         * sysdeps/pthread/aio_misc.c: ... here.
348         * rt/aio_misc.h: Moved to ...
349         * sysdeps/pthread/aio_misc.h: ... here.
350         * rt/aio_notify.c: Moved to ...
351         * sysdeps/pthread/aio_notify.c: ... here.
352         * rt/aio_read.c: Moved to ...
353         * sysdeps/pthread/aio_read.c: ... here.
354         * rt/aio_read64.c: Moved to ...
355         * sysdeps/pthread/aio_read64.c: ... here.
356         * rt/aio_suspend.c: Moved to ...
357         * sysdeps/pthread/aio_suspend.c: ... here.
358         * rt/aio_write.c: Moved to ...
359         * sysdeps/pthread/aio_write.c: ... here.
360         * rt/aio_write64.c: Moved to ...
361         * sysdeps/pthread/aio_write64.c: ... here.
362         * rt/lio_listio.c: Moved to ...
363         * sysdeps/pthread/lio_listio.c: ... here.
364         * rt/lio_listio64.c: Moved to ...
365         * sysdeps/pthread/lio_listio64.c: ... here.
366
367 2001-06-14  Roland McGrath  <roland@frob.com>
368
369         * configure.in: Let sysdeps Implies files in add-ons bring in
370         sysdeps directories from the main source and other add-ons too.
371
372 2001-06-15  Jakub Jelinek  <jakub@redhat.com>
373
374         * math/test-misc.c (main): Add tests for nextafter and nexttoward
375         with +-Inf as second argument.
376
377         * sysdeps/generic/s_nexttowardf.c (__nexttowardf): Only check for
378         NaN, not Inf.
379         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Fix check for NaN.
380         * sysdeps/i386/fpu/s_nexttoward.c: New.
381         * sysdeps/i386/fpu/s_nexttowardf.c: New.
382         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Simplify
383         check for NaN, optimize x==+-0 handling.
384         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf): Likewise.
385         * sysdeps/ieee754/ldbl-96/s_nextafterl.c (__nextafterl): Simplify
386         check for NaN, fix sign in x==+-0 case.
387         * sysdeps/ia64/fpu/s_nexttoward.c: New.
388         * sysdeps/ia64/fpu/s_nexttowardf.c: New.
389
390 2001-06-15  H.J. Lu  <hjl@gnu.org>
391
392         * rt/tst-aio2.c (do_test): Initialize cb.aio_offset to 0.
393         * rt/tst-aio3.c (do_test): Likewise.
394         * rt/tst-aio4.c (do_test): Likewise.
395         * rt/tst-aio5.c (do_test): Likewise.
396         * rt/tst-aio6.c (do_test): Likewise.
397
398 2001-06-15  Andreas Schwab  <schwab@suse.de>
399
400         * sysdeps/m68k/fpu/bits/mathinline.h: Don't define log2 as inline.
401         * sysdeps/m68k/fpu/mathimpl.h: Define __ieee754_log2 as inline.
402
403 2001-06-15  Andreas Jaeger  <aj@suse.de>
404
405         * gmon/tst-sprofil.c (fac): Make static to avoid compiler warning.
406
407 2001-06-14  Andreas Schwab  <schwab@suse.de>
408
409         * elf/ldconfig.c (search_dir): Fix check for regular file.
410
411         * sysdeps/m68k/fpu/e_log2f.c: Fix typo.
412         * sysdeps/m68k/fpu/e_log2l.c: Fix typo.
413
414 2001-06-14  Roland McGrath  <roland@frob.com>
415
416         * sysdeps/mach/hurd/bits/fcntl.h [ __USE_POSIX199309 || __USE_UNIX98]:
417         (O_DSYNC, O_RSYNC): New macros, both defined to O_SYNC as Linux does.
418
419 2001-06-13  Roland McGrath  <roland@frob.com>
420
421         * rt/aio_notify.c: Include <unistd.h> for _POSIX_REALTIME_SIGNALS.
422
423         * sysdeps/mach/hurd/fork.c (LOSE): Put `goto lose' in dead code
424         so the label is not considered unused.
425
426         * sysdeps/mach/hurd/pwrite64.c: New file.
427         * sysdeps/mach/hurd/pread64.c: New file.
428
429         * sysdeps/mach/hurd/pread.c
430         (__libc_pread): Define this name, with __pread as an alias.
431         * sysdeps/mach/hurd/pwrite.c
432         (__libc_pwrite): Define this name, with __pwrite as an alias.
433
434         Implement POSIX "shared memory objects" as regular
435         files residing in the /var/run/shm/ directory.
436         This works on any system that supports _POSIX_MAPPED_FILES,
437         to make it also support _POSIX_SHARED_MEMORY_OBJECTS.
438         * sysdeps/posix/shm_open.c: New file.
439         * sysdeps/posix/shm_unlink.c: New file.
440         * sysdeps/mach/hurd/bits/posix_opt.h
441         (_POSIX_SHARED_MEMORY_OBJECTS): Define it.
442
443         * rt/aio_notify.c (__aio_notify_only) [! _POSIX_REALTIME_SIGNALS]:
444         Use raise instead of __aio_sigqueue.
445
446         * sysdeps/mach/hurd/pread.c: Fail with EINVAL if OFFSET is negative.
447         * sysdeps/mach/hurd/pwrite.c: Likewise.
448
449         * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu.*): libc=0.3
450         [USE_IN_LIBIO && !GLIBC_OLDEST_ABI] (.*-.*-gnu-gnu.*): Use GLIBC_2.2.4
451         as default version set.
452
453 2001-06-13  Ulrich Drepper  <drepper@redhat.com>
454
455         * libio/iolibio.h (_IO_freopen): Correct last parameter to
456         _IO_file_open.
457         (_IO_freopen64): Likewise.
458         Reported by simanek@quantum.karlov.mff.cuni.cz [PR libc/2326].
459
460         * elf/elf.h: Add a few more EM_* constants.
461
462 2001-06-12  Bruno Haible  <haible@clisp.cons.org>
463
464         * intl/dcigettext.c (DCIGETTEXT): Release the lock before returning.
465
466 2001-06-09  Ben Collins  <bcollins@debian.org>
467
468         * sysdeps/unix/sysv/linux/bits/termios.h: Define __MAX_BAUD.
469         * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
470         * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
471         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
472         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
473         * sysdeps/unix/sysv/linux/speed.c: Use __MAX_BAUD instead of
474         hardcoded B400000.
475
476 2001-06-13  Ulrich Drepper  <drepper@redhat.com>
477
478         * time/sys/time.h: Don't use enum __itimer_which ever for
479         __itimer_which_t for C++.
480         Reported by Martin Buchholz <martin@xemacs.org>.
481
482         * po/fr.po: Update from translation team.
483
484 2001-06-12  H.J. Lu  <hjl@gnu.org>
485
486         * configure.in: Fix typos in missing program names.
487         * configure: Regenerated.
488
489 2001-06-12  Andreas Jaeger  <aj@suse.de>
490
491         * iconvdata/tst-table-to.c: Include string.h for strcmp prototype.
492
493         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Add ULPs for tanh (-0.7).
494
495 2001-06-11  Andreas Jaeger  <aj@suse.de>
496
497         * sysdeps/ieee754/ldbl-128/e_coshl.c: New file.  Contributed by
498         Stephen L Moshier <moshier@mediaone.net>.
499
500         * aclocal.m4: Quote AC_FD_MSG and AC_FD_CC.
501
502         * sysdeps/powerpc/fpu/libm-test-ulps: Add ULPs for tanh (-0.7).
503         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
504
505 2001-06-11  Michael Deutschmann  <michael@talamasca.ocis.net>
506
507         * rt/tst-aio4.c (do_test): Test whether rt signals are supported.
508         Use my_signo instead of MY_SIGNO and initialize it so that the
509         used signal is always available.
510
511 2001-06-11  Andreas Jaeger  <aj@suse.de>,
512             Michael Deutschmann  <michael@talamasca.ocis.net>
513
514         * io/test-lfs.c (do_prepare): Clean up error messages.
515         (test_ftello): Check for EFBIG and ENOSPC, clean up error messages.
516         (do_test): Likewise.
517
518 2001-06-11  Andreas Jaeger  <aj@suse.de>
519
520         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (IXANY, IUCLC,
521         IMAXBEL): Make always visible since they're needed by POSIX.
522         Closes PR libc/2320, reported by Chris Yeoh <cyeoh@samba.org>.
523
524 2001-06-10  Ben Collins  <bcollins@debian.org>
525
526         * sysdeps/arm/elf/start.S: Use #function, not @function, for
527         .type of _start.
528
529         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Include limits.h to get
530         INT_MAX.
531
532 2001-06-07  H.J. Lu  <hjl@gnu.org>
533
534         * sunrpc/rpc/rpc.h: Add __BEGIN_DECLS/__END_DECLS.
535
536 2001-06-10  Roland McGrath  <roland@frob.com>
537
538         * elf/reldep4mod2.c: Use fully typed decls to avoid warnings.
539         * elf/reldep4mod4.c: Likewise.
540
541 2001-06-10  Mark Kettenis  <kettenis@gnu.org>
542
543         * hurd/hurd/threadvar.h: Add prototype for __hurd_errno_location.
544
545 2001-06-08  Andreas Schwab  <schwab@suse.de>
546
547         * posix/regex.c (re_match_2_internal) [case wordbeg, wordend]:
548         Don't dereference at end of string.
549
550 2001-06-06  Roland McGrath  <roland@frob.com>
551
552         * sysdeps/mach/hurd/getsockopt.c: Fix handling of returned buffer size.
553         From Robert Bihlmeyer <robbe@orcus.priv.at>.
554
555 2001-06-06  Ulrich Drepper  <drepper@redhat.com>
556
557         * po/ko.po: Update from translation team.
558
559 2001-06-06  Andreas Jaeger  <aj@suse.de>
560
561         * manual/llio.texi (Memory-mapped I/O): Clarify that mapping is to
562         offset+length-1.
563         Reported by Robert Bernecky <bernecky@acm.org>.
564
565 2001-06-06  Jakub Jelinek  <jakub@redhat.com>
566
567         * sysdeps/cris/elf/start.S: Fix a typo introduced by last patch.
568         * sysdeps/ia64/elf/start.S: Likewise.
569         * sysdeps/sh/elf/start.S: Likewise.
570         * sysdeps/s390/s390-32/elf/start.S: Likewise.
571         * sysdeps/s390/s390-64/elf/start.S: Likewise.
572
573 2001-06-05  Matthew Wilcox  <willy@ldl.fc.hp.com>
574
575         * sysdeps/hppa/bsd-_setjmp.S: New.
576         * sysdeps/hppa/bsd-setjmp.S: New.
577
578         * sysdeps/hppa/dl-machine.h: Reformat asm statements to remove new
579         gcc warnings about multi-line strings.
580
581         * sysdeps/unix/sysv/linux/hppa/getrlimit.c: Remove.
582         * sysdeps/unix/sysv/linux/hppa/setrlimit.c: Remove.
583
584         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Call getrlimit,
585         setrlimit directly instead of using wrappers.
586
587 2001-05-01  Richard Hirst  <rhirst@linuxcare.com>
588
589         * sysdeps/unix/sysv/linux/hppa/syscall.S: remove dummy syscall.
590         * sysdeps/unix/sysv/linux/hppa/sysdep.c: implement syscall.
591
592 2001-06-05  Philipp Thomas  <pthomas@suse.de>
593
594         * nis/nis_call.c (__nisbind_connect): Don't mark for translation
595         what can't be translated.
596
597 2001-06-06  Ulrich Drepper  <drepper@redhat.com>
598
599         * timezone/zic.c: Update from tzcode2001c.
600         * timezone/private.h: Likewise.
601         * timezone/africa: Update from tzdata2001c.
602         * timezone/asia: Likewise.
603         * timezone/europe: Likewise.
604         * timezone/northamerica: Likewise.
605         * timezone/southamerica: Likewise.
606         * timezone/zone.tab: Likewise.
607
608 2001-06-04  Bruno Haible  <haible@clisp.cons.org>
609
610         * iconv/loop.c (UNICODE_TAG_HANDLER): New macro.
611         * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Invoke
612         UNICODE_TAG_HANDLER.
613         (__gconv_transform_internal_ucs2): Likewise.
614         (__gconv_transform_internal_ucs2reverse): Likewise.
615         * iconvdata/8bit-gap.c (BODY for TO_LOOP): Invoke UNICODE_TAG_HANDLER.
616         * iconvdata/8bit-generic.c (BODY for TO_LOOP): Likewise.
617         * iconvdata/ansi_x3.110.c (BODY for TO_LOOP): Likewise.
618         * iconvdata/big5.c (BODY for TO_LOOP): Likewise.
619         * iconvdata/big5hkscs.c (BODY for TO_LOOP): Likewise.
620         * iconvdata/cp1255.c (BODY for TO_LOOP): Likewise.
621         * iconvdata/cp1258.c (BODY for TO_LOOP): Likewise.
622         * iconvdata/euc-cn.c (BODY for TO_LOOP): Likewise.
623         * iconvdata/euc-jp.c (BODY for TO_LOOP): Likewise.
624         * iconvdata/euc-kr.c (BODY for TO_LOOP): Likewise.
625         * iconvdata/euc-tw.c (BODY for TO_LOOP): Likewise.
626         * iconvdata/gbk.c (BODY for TO_LOOP): Likewise.
627         * iconvdata/ibm930.c (BODY for TO_LOOP): Likewise.
628         * iconvdata/ibm932.c (BODY for TO_LOOP): Likewise.
629         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
630         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
631         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
632         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
633         * iconvdata/ibm943.c (BODY for TO_LOOP): Likewise.
634         * iconvdata/iso646.c (BODY for TO_LOOP): Likewise.
635         * iconvdata/iso8859-1.c (BODY for TO_LOOP): Likewise.
636         * iconvdata/iso_6937.c (BODY for TO_LOOP): Likewise.
637         * iconvdata/iso_6937-2.c (BODY for TO_LOOP): Likewise.
638         * iconvdata/iso-2022-cn.c (BODY for TO_LOOP): Likewise.
639         * iconvdata/iso-2022-cn-ext.c (BODY for TO_LOOP): Likewise.
640         * iconvdata/iso-2022-kr.c (BODY for TO_LOOP): Likewise.
641         * iconvdata/johab.c (BODY for TO_LOOP): Likewise.
642         * iconvdata/sjis.c (BODY for TO_LOOP): Likewise.
643         * iconvdata/t.61.c (BODY for TO_LOOP): Likewise.
644         * iconvdata/uhc.c (BODY for TO_LOOP): Likewise.
645         * iconvdata/unicode.c (BODY for TO_LOOP): Likewise.
646         * iconvdata/iso-2022-jp.c (TAG_none, TAG_language, TAG_language_j,
647         TAG_language_ja, TAG_language_k, TAG_language_ko, TAG_language_z,
648         TAG_language_zh, CURRENT_TAG_MASK): New enum values.
649         (EMIT_SHIFT_TO_INIT): Don't emit an escape sequence if ASCII_set
650         is already selected but set2 or tag are set.
651         (conversion): New enum type.
652         (cvlist_t): New type.
653         (CVLIST, CVLIST_FIRST, CVLIST_REST): New macros.
654         (conversion_lists): New array.
655         (BODY for TO_LOOP): Keep track of Unicode 3.1 language tag.  If "ja",
656         prefer conversion to Japanese character sets.  If "zh", prefer
657         conversion to GB2312.  If "ko", prefer conversion to KSC5601.  Small
658         optimizations.
659         (INIT_PARAMS): Add tag.
660         (UPDATE_PARAMS): Add tag.
661
662 2001-06-04  Bruno Haible  <haible@clisp.cons.org>
663
664         * locale/programs/locfile.c (write_locale_data): Before creat(),
665         unlink the file, to avoid crashing the processes that mmap it.  Change
666         a double slash to a single slash.  Free fname in case of error return.
667
668 2001-06-02  Jakub Jelinek  <jakub@redhat.com>
669
670         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Mostly revert 2000-12-03
671         changes, do the special handling for denormal numbers, not for
672         normalized numbers (patch by <trevin@xmission.com>).
673
674         * math/test-misc.c (main): Test frexpl with denormal arguments.
675
676 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
677
678         * math/libm-test.inc (llround_test): Add two new llround tests.
679         * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Don't allow
680         overflow when rounding away from zero.
681
682 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
683
684         * math/Makefile (libm-calls): Add e_log2, w_log2, remove s_log2.
685         * math/math_private.h (__ieee754_log2, __ieee754_log2f,
686         __ieee754_log2l): New prototypes.
687         * sysdeps/generic/w_log2.c: New file.
688         * sysdeps/generic/w_log2f.c: New file.
689         * sysdeps/generic/w_log2l.c: New file.
690         * sysdeps/generic/s_log2l.c: Move...
691         * sysdeps/generic/e_log2l.c: ...to here.  Rename to __ieee754_log2l.
692         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle log2(0)
693         and log2(x < 0).
694         * sysdeps/i386/fpu/s_log2.S: Move...
695         * sysdeps/i386/fpu/e_log2.S: ...to here.  Rename to __ieee754_log2.
696         * sysdeps/i386/fpu/s_log2f.S: Move...
697         * sysdeps/i386/fpu/e_log2f.S: ...to here.  Rename to __ieee754_log2f.
698         * sysdeps/i386/fpu/s_log2l.S: Move...
699         * sysdeps/i386/fpu/e_log2l.S: ...to here.  Rename to __ieee754_log2l.
700         * sysdeps/m68k/fpu/s_log2.c: Move...
701         * sysdeps/m68k/fpu/e_log2.c: ...to here.  Rename to __ieee754_log2.
702         * sysdeps/m68k/fpu/s_log2f.c: Move...
703         * sysdeps/m68k/fpu/e_log2f.c: ...to here.  Rename to __ieee754_log2f.
704         * sysdeps/m68k/fpu/s_log2l.c: Move...
705         * sysdeps/m68k/fpu/e_log2l.c: ...to here.  Rename to __ieee754_log2l.
706         * sysdeps/ieee754/dbl-64/s_log2.c: Move...
707         * sysdeps/ieee754/dbl-64/e_log2.c: ...to here.  Rename to
708         __ieee754_log2.
709         * sysdeps/ieee754/flt-32/s_log2f.c: Move...
710         * sysdeps/ieee754/flt-32/e_log2f.c: ...to here.  Rename to
711         __ieee754_log2f.
712
713 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
714
715         * sysdeps/generic/w_exp2.c (u_threshold): Lower threshold so that
716         even arguments which result in denormalized exp2 are accepted.
717         (__exp2): Arguments equal to u_threshold already result into
718         underflow.
719         * sysdeps/generic/w_exp2f.c (u_threshold, __exp2f): Likewise.
720         * sysdeps/generic/w_exp2l.c (u_threshold, __exp2l): Likewise.
721         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Lomark was too
722         low, with corrected lowmark use greaterequal, not greater.
723         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
724
725 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
726
727         * math/libm-test.inc (ilogb_test): Test that ilogb(+-Inf) == INT_MAX.
728         * sysdeps/i386/fpu/s_ilogb.S (__ilogb): Return INT_MAX for +-Inf.
729         * sysdeps/i386/fpu/s_ilogbf.S (__ilogbf): Likewise.
730         * sysdeps/i386/fpu/s_ilogbl.S (__ilogbl): Likewise.
731         * sysdeps/ieee754/dbl-64/s_ilogb.c (__ilogb): Likewise.
732         * sysdeps/ieee754/flt-32/s_ilogbf.c (__ilogbf): Likewise.
733         * sysdeps/ieee754/ldbl-128/s_ilogbl.c (__ilogbl): Likewise.
734         * sysdeps/ieee754/ldbl-96/s_ilogbl.c (__ilogbl): Likewise.
735
736 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
737
738         * sysdeps/generic/w_coshl.c (__coshl): Test if finite argument
739         gave non-finite result instead of using constant in generic
740         version.
741         * sysdeps/generic/w_coshf.c (__coshf): Likewise.
742         * sysdeps/generic/w_cosh.c (__cosh): Likewise.
743         * sysdeps/generic/w_exp10.c (o_threshold, u_threshold): Remove.
744         (__exp10): Test if finite argument gave non-finite result.
745         * sysdeps/generic/w_exp10f.c (o_threshold, u_threshold, __exp10f):
746         Likewise.
747         * sysdeps/generic/w_exp10l.c (o_threshold, u_threshold, __exp10l):
748         Likewise.
749
750 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
751
752         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Fix
753         overflow threshold constant (log(LDBL_MAX)+M_LN2l).
754
755 2001-05-29  Bruno Haible  <haible@clisp.cons.org>
756
757         * locale/programs/ld-ctype.c (idx_table): New struct type.
758         (idx_table_init, idx_table_get, idx_table_add): New functions.
759         (MAX_CHARNAMES_IDX): Remove macro.
760         (locale_ctype_t): Change type of charnames_idx field.
761         (ctype_startup): Change initialization of charnames_idx field.
762         (find_idx): Use idx_table_get and idx_table_add for speed.
763
764         * locale/programs/charmap.c (charmap_new_char): Fix ucs4 value
765         computation of characters in a range.
766
767 2001-05-29  Bruno Haible  <haible@clisp.cons.org>
768
769         * iconvdata/gb18030.c (__fourbyte_to_ucs1): Add mappings for <U03F4>,
770         <U03F5>.
771         (__ucs_to_gb18030_tab1): Likewise.
772         (BODY for FROM_LOOP): Add mapping for <U00010000>..<U0010FFFF>.
773         (BODY for TO_LOOP): Likewise.
774         * iconvdata/tst-table-charmap.sh: Update for charmaps containing
775         <U00xxxxxx> syntax.
776         * iconvdata/tst-table-from.c (bmp_only): New variable.
777         (utf8_decode): If bmp_only, don't return characters outside Unicode
778         plane 0.
779         (main): When testing UTF-8 or GB18030, set bmp_only to 1.  Don't print
780         a conversion line if utf8_decode returns NULL.
781         * iconvdata/tst-table-to.c (main): When testing encodings other than
782         UTF-8 and GB18030, loop upto U+30000 instead of U+10000.  Use UTF-8
783         instead of UCS-2 as input.
784         * iconvdata/tst-table.sh: For GB18030, use only the part < 0x10000
785         of the charmap.
786
787 2001-05-29  Bruno Haible  <haible@clisp.cons.org>
788
789         * iconvdata/cns11643l1.c: Update to Unicode 3.1.
790         (__cns11643l1_to_ucs4_tab): Regenerated.
791         (__cns11643l1_from_ucs4_tab12): Regenerated.
792         * iconvdata/cns11643.c: Update to Unicode 3.1.
793         (__cns11643l14_to_ucs4_tab): Remove array.
794         (__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab,
795         __cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab,
796         __cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New arrays.
797         (__cns11643_from_ucs4p0_tab): Renamed from __cns11643_from_ucs4_tab.
798         (__cns11643_from_ucs4p2_tab): New array.
799         * iconvdata/cns11643.h (__cns11643l14_to_ucs4_tab): Remove declaration.
800         (__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab,
801         __cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab,
802         __cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New declarations.
803         (cns11643_to_ucs4): Treat planes 3, 4, 5, 6, 7, 15 instead of 14.
804         (__cns11643_from_ucs4_tab): Remove declaration.
805         (__cns11643_from_ucs4p0_tab, __cns11643_from_ucs4p2_tab): New
806         declarations.
807         (ucs4_to_cns11643): Update for new arrays.  Treat U+3400..U+4DFF and
808         U+20000..U+2A6D6.
809         * iconvdata/cns11643l2.h (__cns11643_from_ucs4_tab): Remove
810         declaration.
811         (__cns11643_from_ucs4p0_tab): New declaration.
812         (ucs4_to_cns11643l2): Update for new arrays.
813         * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): Handle planes
814         3 to 7.
815         (BODY for TO_LOOP): Handle planes 3 to 7, instead of plane 14.
816         * iconvdata/EUC-TW.irreversible: New file.
817         * iconvdata/tst-table.sh: Use it.
818         * iconvdata/Makefile (distribute): Add CP1255.irreversible,
819         CP1258.irreversible, EUC-TW.irreversible.
820
821 2001-05-29  Bruno Haible  <haible@clisp.cons.org>
822
823         * locale/C-translit.h.in: Add transliterations for new Unicode 3.1
824         mathematical symbols.
825
826 2001-06-05  Andreas Jaeger  <aj@suse.de>
827
828         * manual/stdio.texi (Portable Positioning): Fix description of
829         fpos_t and fpos64_t.
830
831 2001-06-06  Ulrich Drepper  <drepper@redhat.com>
832
833         * sysdeps/generic/wordexp.c: Undo last patch.  Use strndupa instead.
834
835         * po/sk.po: Update from translation team.
836
837 2001-06-05  Andreas Jaeger  <aj@suse.de>
838
839         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Recognize
840         tmpfs, patch by Stanislav Brabec <utx@penguin.cz>.
841         Closes PR libc/2315.
842
843 2001-06-05  Ulrich Drepper  <drepper@redhat.com>
844
845         * sysdeps/generic/wordexp.c: Add missing free.
846         Patch by yeti@physics.muni.cz.
847
848 2001-06-02  Tom Browder  <tbrowder@home.com>
849
850         * misc/tst-tsearch.c (mangle_tree): Ensure array indices are
851         within bounds when lag > 0.
852
853 2001-06-05  Ulrich Drepper  <drepper@redhat.com>
854
855         * po/tr.po: New file.
856
857 2001-06-05  Andreas Jaeger  <aj@suse.de>
858
859         * manual/libm-err-tab.pl (parse_ulps): Fix typo.
860
861 2001-06-04  H.J. Lu  <hjl@gnu.org>
862
863         * sysdeps/alpha/elf/start.S: Add .type for the entry point.
864         * sysdeps/arm/elf/start.S: Likewise.
865         * sysdeps/hppa/elf/start.S: Likewise.
866         * sysdeps/i386/elf/start.S: Likewise.
867         * sysdeps/m68k/elf/start.S: Likewise.
868         * sysdeps/mips/elf/start.S: Likewise.
869         * sysdeps/ia64/elf/start.S: Likewise.
870         * sysdeps/sh/elf/start.S: Likewise.
871         * sysdeps/s390/s390-32/elf/start.S: Likewise.
872         * sysdeps/s390/s390-64/elf/start.S: Likewise.
873         * sysdeps/cris/elf/start.S: Likewise.
874
875 2001-06-04  Bruce Mitchener  <bruce@cubik.org>
876
877         * manual/resource.texi: Correct setpriority/nice documentation.
878
879         * sysdeps/unix/nice.c: Correct nice() implementation.
880
881 2001-06-04  Andreas Jaeger  <aj@suse.de>
882
883         * sysdeps/ieee754/ldbl-128/e_sinhl.c: New file, contributed by
884         Stephen L Moshier <moshier@mediaone.net>.
885
886 2001-06-03  Roland McGrath  <roland@frob.com>
887
888         * Makefile (postclean): Remove obsolete sysd-Makefile.
889
890 2001-06-01  Roland McGrath  <roland@frob.com>
891
892         * sysdeps/alpha/fpu/fclrexcpt.c: #include <shlib-compat.h>
893         and use compat_symbol/versioned_symbol instead of plain
894         symbol_version/default_symbol_version.
895         * sysdeps/alpha/fpu/fegetenv.c: Likewise.
896         * sysdeps/alpha/fpu/fesetenv.c: Likewise.
897         * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
898         * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
899         * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
900         * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
901         * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
902         * sysdeps/arm/fpu/fegetenv.c: Likewise.
903         * sysdeps/arm/fpu/fesetenv.c: Likewise.
904         * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
905         * sysdeps/arm/fpu/fsetexcptflg.c: Likewise.
906         * sysdeps/i386/fpu/fclrexcpt.c: Likewise.
907         * sysdeps/i386/fpu/fegetenv.c: Likewise.
908         * sysdeps/i386/fpu/fesetenv.c: Likewise.
909         * sysdeps/i386/fpu/feupdateenv.c: Likewise.
910         * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
911         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
912         * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
913         * sysdeps/m68k/fpu/fclrexcpt.c: Likewise.
914         * sysdeps/m68k/fpu/fegetenv.c: Likewise.
915         * sysdeps/m68k/fpu/fesetenv.c: Likewise.
916         * sysdeps/m68k/fpu/feupdateenv.c: Likewise.
917         * sysdeps/m68k/fpu/fgetexcptflg.c: Likewise.
918         * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
919         * sysdeps/m68k/fpu/fsetexcptflg.c: Likewise.
920         * sysdeps/powerpc/fclrexcpt.c: Likewise.
921         * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
922         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
923         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
924         * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
925         * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
926         * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
927
928         * iconvdata/cp1258.c: Include <stdlib.h> for abort decl.
929         * iconvdata/iso-2022-cn-ext.c: Likewise.
930
931 2001-06-01  Andreas Jaeger  <aj@suse.de>
932
933         * Versions.def: Add version 2.2.4.
934
935 2001-06-01  Ulrich Drepper  <drepper@redhat.com>
936
937         * socket/Makefile (routines): Add sockatmark.
938         * socket/Versions [GLIBC_2.2.4]: Add sockatmark.
939         * socket/sys/socket.h: Add prototype for sockatmark.
940         * sysdeps/generic/sockatmark.c: New file.
941         * sysdeps/unix/sockatmark.c: New file.
942
943 2001-06-01  Andreas Jaeger  <aj@suse.de>
944
945         * sysdeps/unix/sysv/linux/speed.c (cfsetispeed): Max speed is
946         B4000000.
947         (cfsetospeed): Likewise.
948         Reported by Lukasz Trabinski <lukasz@lt.wsisiz.edu.pl>.
949
950 2001-05-31  Joseph S. Myers  <jsm28@cam.ac.uk>
951
952         * misc/sys/cdefs.h (__restrict_arr): Define to empty for C++.
953
954 2001-05-30  Martin Schwidefsky  <schwidefsky@de.ibm.com>
955
956         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: greg_t
957         needs to have the same aligment as the kernel structure.
958
959 2001-05-29  Jakub Jelinek  <jakub@redhat.com>
960
961         * sunrpc/rpc/types.h (u_char, u_short, u_int, u_long, quad_t,
962         u_quad_t, fsid_t, daddr_t, caddr_t): Make sure the types are defined.
963         * posix/sys/types.h (u_char, u_short, u_int, u_long, quad_t,
964         u_quad_t, fsid_t, daddr_t, caddr_t): Protect the __USE_BSD typedefs
965         against multiple definition.
966
967 2001-05-30  Ulrich Drepper  <drepper@redhat.com>
968
969         * po/da.po: Update from translation team.
970
971 2001-05-29  Andreas Jaeger  <aj@suse.de>
972
973         * sysdeps/ieee754/ldbl-128/e_acosl.c: New file, contributed by
974         Stephen L Moshier <moshier@mediaone.net>.
975
976         * math/libm-test.inc (sinh_test): Add new test case.
977
978         * sysdeps/ieee754/ldbl_96/e_sinhl.c (__ieee754_sinhl): sinhl(x) =
979         x when x < 2^-32.
980         Patch by Stephen L Moshier <moshier@mediaone.net>.
981
982 2001-05-23  Andreas Jaeger  <aj@suse.de>
983
984         * iconvdata/testdata/WINDOWS-1255..UTF-8: Renamed to...
985         * iconvdata/testdata/WINDOWS-1255..UTF8: this.
986
987 2001-05-27  Andreas Jaeger  <aj@suse.de>
988
989         * manual/stdio.texi (String Streams): Fix fmemopen description.
990         Reported by Michal Kochanowicz <michal@michal.waw.pl>.
991
992 2001-05-26  H.J. Lu <hjl@gnu.org>
993
994         * sysdeps/unix/sysv/linux/mips/syscalls.list: Change sigsuspend
995         to s_sigsuspend.  Add s_mmap2.
996
997         * sysdeps/mips/atomicity.h: New file.
998
999         * sysdeps/unix/sysv/linux/mips/getsysstats.c: New file.
1000
1001         * sysdeps/unix/sysv/linux/mips/bits/ipc.h (ipc_perm): Put
1002         back __key.
1003
1004 2001-05-25  Bruce Mitchener  <bruce@cubik.org>
1005
1006         * manual/ctype.texi: Minor fix.
1007         * manual/install.texi: Likewise.
1008         * manual/startup.texi: Likewise.
1009         * manual/examples/dir.c: Use perror() rather than puts().
1010
1011 2001-05-25  David Mosberger  <davidm@hpl.hp.com>
1012
1013         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Put stuff following
1014         #endif directive inside a comment to avoid compiler warnings.
1015
1016 2001-05-25  Philipp Thomas  <pthomas@suse.de>
1017
1018         * nis/nis_print.c (nis_nstype2str): Don't mark names of
1019         naming services for translation, only UNKNOWN needs it.
1020         Add comment to prevent it for the future.
1021
1022 2001-05-25  Joseph S. Myers  <jsm28@cam.ac.uk>
1023
1024         * misc/sys/cdefs.h (__restrict_arr): Define appropriately for GCC
1025         3.1 and non-GCC C99 compilers.
1026
1027 2001-05-22  David Mosberger  <davidm@hpl.hp.com>
1028
1029         * sysdeps/ia64/memmove.S: Increase MEMLAT from 6 to 21 for better
1030         performance.
1031         * sysdeps/ia64/memcpy.S: Likewise.
1032
1033         * sysdeps/ia64/bcopy.S: New file.
1034
1035         * sysdeps/ia64/bzero.S: New file (derived from memset.S).
1036
1037 2001-05-26  Ulrich Drepper  <drepper@redhat.com>
1038
1039         * sysdeps/ia64/fpu/libm-test-ulps: Add deltas for tanh(-0.7).
1040
1041 2001-05-24  Ulrich Drepper  <drepper@redhat.com>
1042
1043         * iconvdata/Makefile: Add rules for CP10007.
1044         * iconvdata/gconv-modules: Add entries for CP10007 ad MacCyrillic.
1045         * iconvdata/cp10007.c: New file.
1046         * iconvdata/tst-tables.sh: Add CP10007.
1047
1048 2001-05-23  kaz Kojima  <kkojima@rr.iij4u.or.jp>
1049
1050         * sysdeps/sh/dl-machine.h (_dl_runtime_resolve): Handle newer PLT.
1051         (_dl_runtime_profile): Likewise..
1052
1053 2001-05-23  Thorsten Kukuk  <kukuk@suse.de>
1054
1055         * sysdeps/posix/getaddrinfo.c: Support for AF_UNIX commented out.
1056         * posix/tst-getaddrinfo.c: Remove AF_UNIX test.
1057
1058 2001-05-19  H.J. Lu  <hjl@gnu.org>
1059
1060         * elf/dl-deps.c (_dl_map_object_deps): Pass objname and
1061         errstring of the failed DSO to _dl_signal_error ().
1062
1063 2001-05-23  Ulrich Drepper  <drepper@redhat.com>
1064
1065         * iconvdata/gconv-modules: Add more aliases to enable use in
1066         locale names.
1067
1068 2001-05-23  Andreas Jaeger  <aj@suse.de>
1069
1070         * sysdeps/unix/sysv/linux/ia64/Makefile (CFLAGS-initfini.s):
1071         Remove, it's not used anywhere anymore.
1072         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile
1073         (CFLAGS-initfini.s): Likewise.
1074         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
1075         (CFLAGS-initfini.s): Likewise.
1076         * sysdeps/unix/sysv/linux/powerpc/Makefile (CFLAGS-initfini.s):
1077         Likewise.
1078         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-initfini.s):
1079         Likewise.
1080
1081 2001-05-21  Bruno Haible  <haible@clisp.cons.org>
1082
1083         * wcsmbs/mbrtowc.c (mbrtowc): Remove local variable 'flush', always
1084         use 0 instead, and rely on the converter to do the flush.
1085         * wcsmbs/tst-mbrtowc.c (utf8_test_1): New function, taken from
1086         utf8_test.
1087         (utf8_test_2, utf8_test_3): New function.
1088         (utf8_test): Call utf8_test_1, utf8_test_2, utf8_test_3.
1089
1090 2001-05-22  Jakub Jelinek  <jakub@redhat.com>
1091
1092         * elf/dl-close.c (_dl_close): Save imap->l_reldeps, not map->l_reldeps.
1093
1094         * elf/Makefile (distribute): Add reldep4mod[1234].c.
1095         (tests): Add reldep4.
1096         (modules-names): Add reldep4mod[1234].
1097         (reldep4mod1.so, reldep4mod2.so, reldep4, reldep4.out): New rules.
1098         * elf/reldep4.c: New file.
1099         * elf/reldep4mod1.c: Likewise.
1100         * elf/reldep4mod2.c: Likewise.
1101         * elf/reldep4mod3.c: Likewise.
1102         * elf/reldep4mod4.c: Likewise.
1103
1104 2001-05-18  Jakub Jelinek  <jakub@redhat.com>
1105
1106         * elf/dl-lookup.c (PROTECTED): Remove defines.
1107         (add_dependency): Mark it with internal_function.
1108         (_dl_do_lookup, _dl_do_lookup_versioned): New functions.
1109         (_dl_lookup_symbol, _dl_lookup_symbol_skip,
1110         _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip): Use
1111         it if we don't want do_lookup* inlined.
1112
1113 2001-05-18  Jakub Jelinek  <jakub@redhat.com>
1114
1115         * include/link.h (struct r_scope_elem): Remove r_duplist and
1116         r_nduplist fields.
1117         * elf/dl-load.c (_dl_map_object_from_fd): Don't initialize them.
1118         * elf/dl-lookup.c (_dl_lookup_symbol_skip): Look in r_list, not
1119         r_duplist.
1120         (_dl_lookup_versioned_symbol_skip): Likewise.
1121         * elf/dl-deps.c (struct list): Remove dup field, rename unique to next.
1122         (_dl_map_object_deps): Don't compute duplicate list.
1123
1124         * elf/dl-symbol.c: Removed.
1125         * elf/Makefile (routines): Remove dl-symbol.
1126
1127 2001-05-22  Ulrich Drepper  <drepper@redhat.com>
1128
1129         * po/el.po: Update from translation team.
1130         * po/sv.po: Likewise.
1131
1132 2001-05-20  Bruno Haible  <haible@clisp.cons.org>
1133
1134         * iconvdata/cp1255.c: Completely rewritten.
1135         * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1255.
1136         * iconvdata/testdata/WINDOWS-1255: New file.
1137         * iconvdata/testdata/WINDOWS-1255..UTF8: New file.
1138         * iconvdata/TESTS: Add WINDOWS-1255 test.
1139         * iconvdata/CP1255.irreversible: New file.
1140
1141 2001-05-20  Bruno Haible  <haible@clisp.cons.org>
1142
1143         * iconvdata/cp1258.c: Completely rewritten.
1144         * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1258.
1145         * iconvdata/testdata/WINDOWS-1258: New file.
1146         * iconvdata/testdata/WINDOWS-1258..UTF8: New file.
1147         * iconvdata/TESTS: Add WINDOWS-1258 test.
1148         * iconvdata/tst-table-from.c (try): Reset the iconv descriptor before
1149         the main call, and flush it afterwards.
1150         (utf8_decode): Return a string, possibly containing several Unicode
1151         characters.
1152         (main): Update all utf8_decode calls.
1153         * iconvdata/CP1258.irreversible: New file.
1154
1155 2001-05-20  Bruno Haible  <haible@clisp.cons.org>
1156
1157         * iconv/gconv.c (__gconv): For flush without output, pass do_flush = 2.
1158         * iconv/skeleton.c: Distinguish do_flush = 1 and do_flush = 2.  In the
1159         first case, set outbuf, outstart, outend, and call PREPARE_LOOP before
1160         EMIT_SHIFT_TO_INIT; then pass the output produced by this step down to
1161         the next step.  In the second case, clear the state without calling
1162         EMIT_SHIFT_TO_INIT.
1163         * iconvdata/ibm930.c (EMIT_SHIFT_TO_INIT): Use outbuf instead of
1164         data->__outbuf, and outend instead of data->__outbufend.
1165         * iconvdata/ibm933.c (EMIT_SHIFT_TO_INIT): Likewise.
1166         * iconvdata/ibm935.c (EMIT_SHIFT_TO_INIT): Likewise.
1167         * iconvdata/ibm937.c (EMIT_SHIFT_TO_INIT): Likewise.
1168         * iconvdata/ibm939.c (EMIT_SHIFT_TO_INIT): Likewise.
1169         * iconvdata/iso-2022-cn.c (EMIT_SHIFT_TO_INIT): Likewise.
1170         * iconvdata/iso-2022-cn-ext.c (EMIT_SHIFT_TO_INIT): Likewise.
1171         * iconvdata/iso-2022-jp.c (EMIT_SHIFT_TO_INIT): Likewise.
1172         * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Likewise.
1173         * iconvdata/utf-7.c (EMIT_SHIFT_TO_INIT): Likewise.
1174
1175 2001-05-21  Jakub Jelinek  <jakub@redhat.com>
1176
1177         * elf/rtld.c (dl_main): Compute l_map_end for the main program.
1178         * elf/dl-sym.c (_dl_sym): Don't check for l_addr == 0.
1179         If match == _dl_loaded, caller can still come from the main program.
1180         (_dl_vsym): Likewise.
1181         * elf/dl-open.c (dl_open_worker): Don't check for l_addr == 0.
1182         * elf/dl-error.c (_dl_signal_error): Change NULL objname into "".
1183         * elf/restest2.c: New test.
1184         * elf/Makefile (tests): Add restest2.
1185         (restest2, LDFLAGS-restest2): Add rules.
1186
1187 2001-05-22  Ulrich Drepper  <drepper@redhat.com>
1188
1189         * intl/Makefile: Add a few more dependencies to avoid races in the
1190         test shell scripts.
1191
1192 2001-05-22  Andreas Jaeger  <aj@suse.de>
1193
1194         * sysdeps/ieee754/ldbl-128/s_log1pl.c: New file, contributed by
1195         Stephen L Moshier <moshier@mediaone.net>.
1196
1197 2001-05-22  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1198
1199         * sysdeps/s390/s390-32/backtrace.c: Make backtrace return the
1200         return addresses instead of the stack pointers.
1201         * sysdeps/s390/s390-64/backtrace.c: Likewise.
1202
1203 2001-05-21  Jakub Jelinek  <jakub@redhat.com>
1204
1205         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Include
1206         bits/sigcontext.h instead of bits/sigstack.h.
1207         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Add
1208         multiple-inclusion guards.
1209
1210 2001-05-21  Andreas Jaeger  <aj@suse.de>
1211
1212         * locale/programs/ld-collate.c (handle_ellipsis): Fix message.
1213         Patch by Philipp Thomas <pthomas@suse.de>.
1214
1215 2001-05-17  Bruce Mitchener  <bruce@cubik.org>
1216
1217         * manual/arpg.texi: Spelling, misc fixes.
1218         * manual/arith.texi: Likewise.
1219         * manual/crypt.texi: Likewise.
1220         * manual/debug.texi: Likewise.
1221         * manual/getopt.texi: Likewise.
1222         * manual/intro.texi: Likewise.
1223         * manual/memory.texi: Likewise.
1224         * manual/nss.texi: Likewise.
1225         * manual/pattern.texi: Likewise.
1226         * manual/process.texi: Likewise.
1227         * manual/resource.texi: Likewise.
1228         * manual/search.texi: Likewise.
1229         * manual/setjmp.texi: Likewise.
1230         * manual/signal.texi: Likewise.
1231         * manual/socket.texi: Likewise.
1232         * manual/stdio.texi: Likewise.
1233         * manual/string.texi: Likewise.
1234         * manual/sysinfo.texi: Likewise.
1235         * manual/terminal.texi: Likewise.
1236         * manual/llio.texi: Document madvise().
1237
1238 2001-05-20  Roland McGrath  <roland@frob.com>
1239
1240         * Makeconfig (sysdep-makeconfigs): Include any Makeconfig files
1241         found within $(add-ons) directories too.
1242         [linuxthreads add-on]: Move variable settings for linuxthreads
1243         to new file linuxthreads/Makeconfig.
1244
1245 2001-05-20  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1246
1247         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
1248         Define for linux >= 2.4.5 on powerpc.
1249         (__ASSUME_MMAP2_SYSCALL): Likewise.
1250
1251 2001-05-19  Roland McGrath  <roland@frob.com>
1252
1253         * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Don't leak the
1254         result port when failing with ELOOP.  Do the ELOOP check when
1255         following an absolute symlink target as well as relative.
1256         Remove #ifdef SYMLOOP_MAX conditional--it should always be defined.
1257
1258 2001-05-18  Andreas Jaeger  <aj@suse.de>
1259
1260         * po/fr.po: Free software is "logiciel libre".
1261         Patch by Martin Michlmayr <tbm@cyrius.com>.
1262
1263         * sysdeps/powerpc/elf/libc-start.c: Use __cxa_atexit.
1264         Patch by ekato@ees.hokudai.ac.jp, closes PR libc/2271.
1265
1266 2001-05-17  David Mosberger  <davidm@hpl.hp.com>
1267
1268         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: New file.
1269
1270 2001-05-17  Ulrich Drepper  <drepper@redhat.com>
1271
1272         * elf/dl-profile.c (_dl_mcount): Check whether state is
1273         GMON_PROF_ON before doing anything.
1274
1275 2001-05-17  H.J. Lu  <hjl@gnu.org>
1276
1277         * elf/sprof.c (read_symbols): Move "++symtab" into the while loop.
1278
1279 2001-05-17  Ulrich Drepper  <drepper@redhat.com>
1280
1281         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Use
1282         CHECK_SIGSET_NULL_OK and not CHECK_SIGSET for all parameters.
1283         Reported by Mark Burton <markb@ordern.com>.
1284
1285 2001-05-17  Jakub Jelinek  <jakub@redhat.com>
1286
1287         * elf/ldconfig.c (add_dir): Only warn about stat failure if
1288         opt_verbose.
1289         (search_dir): Likewise.
1290
1291 2001-05-17  Ulrich Drepper  <drepper@redhat.com>
1292
1293         * sysdeps/i386/i486/atomicity.h (exchange_and_add): Correct second
1294         parameter of xaddl.  Patch by H . J . Lu <hjl@lucon.org>.
1295
1296 2001-05-14  Bruno Haible  <haible@clisp.cons.org>
1297
1298         * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): If SO is seen
1299         without previous announcement, reject it regularly, don't abort.
1300
1301 2001-05-16  Ulrich Drepper  <drepper@redhat.com>
1302
1303         * math/tgmath.h: Fix handling of int parameters to binary and
1304         ternary functions.  Reported by mitr@volny.cz.
1305
1306         * math/test-tgmath.c: Add tests for calls with integer parameters.
1307
1308 2001-05-15  Jakub Jelinek  <jakub@redhat.com>
1309
1310         * sunrpc/rpc_thread.c (rpc_default): Remove.
1311         (__rpc_thread_destroy): Use __libc_tsd_RPC_VARS_mem instead of
1312         rpc_default.
1313         (rpc_thread_multi, __rpc_thread_svc_fdset, __rpc_thread_createerr,
1314         __rpc_thread_svc_pollfd, __rpc_thread_svc_max_pollfd): Likewise.
1315         * sunrpc/auth_none.c (authnone_private): Fix a typo.
1316
1317 2001-05-16  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1318
1319         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Fix stack allocation.
1320
1321 2001-05-16  Bruce Mitchener  <bruce@cubik.org>
1322
1323         * manual/llio.texi: Many grammar and typo fixes to the section on AIO.
1324
1325 2001-05-15  Andreas Jaeger  <aj@suse.de>
1326
1327         * sysdeps/ieee754/ldbl-128/s_expm1l.c: New file, contributed by
1328         Stephen L Moshier <moshier@mediaone.net>.
1329
1330         * sysdeps/i386/fpu/libm-test-ulps: Adjust for change.
1331
1332         * math/libm-test.inc: Add comment with ToDo.
1333
1334         * sysdeps/i386/fpu/e_expl.c: Rewritten to C and using a more
1335         accurate algorithm.  Patch by Stephen L Moshier <moshier@mediaone.net>.
1336
1337         * sysdeps/i386/fpu/e_expl.S: Removed.
1338
1339 2001-05-14  Roland McGrath  <roland@frob.com>
1340
1341         * csu/Makefile ($(objpfx)g$(start-installed-name)): Turn this into a
1342         static pattern rule also that also covers
1343         $(objpx)g$(static-start-installed-name).
1344         [$(start-installed-name) != $(static-start-installed-name)]
1345         (extra-objs, omit-deps, install-lib): Add
1346         $(static-start-installed-name) and g$(static-start-installed-name).
1347         * sysdeps/mach/hurd/i386/Makefile: Don't add crt0.o to those here;
1348         just setting static-start-installed-name is now sufficient.
1349         (extra-objs): Add static-start.o here.
1350         (CFLAGS-initfini.s): Remove obsolete variable.
1351         * sysdeps/mach/hurd/i386/Makeconfig: New file.
1352         Define static-start-installed-name here.
1353
1354         * Makeconfig: Include existing $(full_config_sysdirs:=/Makeconfig).
1355         * Make-dist (+sysdep-tsrcs): Look for Makeconfig files.
1356
1357         * Makerules ($(+sysdir_pfx)sysd-Makefile): Remove this target and
1358         associated hair.  Instead, just use $(wildcard ...) in the include.
1359
1360         * configure.in (critic_missing, aux_missing): Collect in these vars
1361         the names of the missing programs, and include them in the error msgs.
1362         * configure: Regenerated.
1363
1364 2001-05-14  Andreas Jaeger  <aj@suse.de>
1365
1366         * sysdeps/i386/fpu/libm-test-ulps: Adjust for new tests.
1367
1368         * math/libm-test.inc (tanh_test): Add testcases for last tanh bug.
1369
1370 2001-05-14  Stephen L Moshier <moshier@mediaone.net>
1371
1372         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Fix sign test.
1373
1374 2001-05-11  Jakub Jelinek  <jakub@redhat.com>
1375
1376         * posix/regex.c (re_match_2_internal): Swap mbs_offset and csize
1377         as well if swapping strings.
1378         Make sure stop is not past end of second string.
1379         * posix/bug-regex4.c: New test.
1380         * posix/Makefile (tests): Add bug-regex4.
1381
1382 2001-05-10  Andreas Jaeger  <aj@suse.de>
1383
1384         * manual/install.texi (Linux): Clarify that Linux 2.2 is minimal
1385         requirement.
1386
1387 2001-05-12  Andreas Jaeger  <aj@suse.de>
1388
1389         * sysdeps/ieee754/dbl-64/s_sin.c: Include "math_private.h" for
1390         internal prototypes.
1391         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1392         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1393         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1394         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1395         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1396         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1397         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
1398
1399         * math/math_private.h: Add prototypes for internal functions of
1400         the IBM Accurate Mathematical Library.
1401
1402         * sysdeps/ieee754/dbl-64/s_atan.c: Include "math.h" for
1403         prototypes.
1404         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1405
1406         * sysdeps/ieee754/dbl-64/e_asin.c: Include "math_private.h" for
1407         internal prototypes.
1408         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1409         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1410         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1411         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1412         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1413         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1414         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1415         * sysdeps/generic/e_rem_pio2l.c: Likewise.
1416         (__ieee754_rem_pio2l): Fix prototype.
1417
1418         * math/math_private.h (__copysign): Add internal prototype.
1419
1420 2001-05-11  Andreas Jaeger  <aj@suse.de>
1421
1422         * sysdeps/unix/sysv/linux/configure.in: Move binutils check to...
1423         * sysdeps/unix/sysv/linux/mips/configure.in: ...here.  New file.
1424
1425 2001-05-11  Andreas Jaeger  <aj@suse.de>
1426
1427         * sysdeps/unix/sysv/linux/configure.in: Check binutils version on
1428         MIPS.
1429
1430         * sysdeps/mips/rtld-ldscript.in: Removed unneeded binary output
1431         format directive.  Patch by Steven J. Hill <sjhill@cotw.com>.
1432
1433 2001-05-11  Roland McGrath  <roland@frob.com>
1434
1435         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't use
1436         $(build-module) here, since we don't need the full magilla.
1437         Just use $(build-module-helper) and append our special options.
1438
1439 2001-05-09  Andreas Schwab  <schwab@suse.de>
1440
1441         * sysdeps/unix/readdir.c: Make sure we don't modify errno when we
1442         reached EOF.
1443
1444 2001-05-07  H.J. Lu  <hjl@gnu.org>
1445
1446         * elf/ldconfig.c (dir_entry): Add ino and dev.
1447         (add_single_dir): Compare ino and dev to check if 2 directory
1448         paths are the same or not.  Free entry->path for duplicates.
1449         (add_dir): Initialize ino and dev for entry.
1450         (search_dir): Handle symlink to directory.
1451
1452 2001-05-07  Andreas Jaeger  <aj@suse.de>
1453
1454         * sysdeps/i386/fpu/libm-test-ulps: Add ulps for new exp tests.
1455
1456         * math/libm-test.inc (exp_test): Add some more tests.
1457         (pow_test): Run double only test also for long double.
1458
1459         * math/test-ldouble.c (TEST_LDOUBLE): Define.
1460         * math/test-ildoubl.c (TEST_LDOUBLE): Likewise.
1461
1462         * sysdeps/generic/bits/confname.h: Remove extra comma at end of
1463         enumeration.
1464         Closes PR libc/2240.
1465
1466         * scripts/config.guess: Imported from gnu.org.
1467         * scripts/config.sub: Likewise.
1468
1469 2001-05-05  Jakub Jelinek  <jakub@redhat.com>
1470
1471         * include/features.h (__USE_EXTERN_INLINES): Don't define if
1472         __NO_INLINE__ is defined.
1473         * ctype/ctype.h (tolower, toupper): Change the guard condition to
1474         __USE_EXTERN_INLINES check only.
1475         * stdlib/stdlib.h (strtod, ...): Likewise.
1476         * wcsmbs/wchar.h (mbrlen): Likewise.
1477         * string/string.h: Only include bits/string.h and bits/string2.h
1478         if __NO_INLINE__ is not defined.
1479
1480 2001-05-07  Andreas Jaeger  <aj@suse.de>
1481
1482         * debug/Makefile ($(objpfx)xtrace): Substitute @SLIBDIR@ instead
1483         of @LIBDIR@.
1484
1485 2001-05-04  H.J. Lu  <hjl@gnu.org>
1486
1487         * malloc/Makefile ($(objpfx)memusage): Substitute @SLIBDIR@
1488         not @LIBDIR@.
1489
1490 2001-05-06  Andreas Jaeger  <aj@suse.de>
1491
1492         * sysdeps/i386/fpu/e_fmodl.c: New, rewrite of e_fmodl.S.
1493         * sysdeps/i386/fpu/e_fmodl.S: Removed.
1494         * sysdeps/i386/fpu/e_atan2l.c: New, rewrite of e_atan2l.S.
1495         * sysdeps/i386/fpu/e_atan2l.S: Removed.
1496         * sysdeps/i386/fpu/e_acosl.c: New, rewrite of e_acos.S.
1497         * sysdeps/i386/fpu/s_atanl.c: New, rewrite of e_atanl.S.
1498         * sysdeps/i386/fpu/e_sqrtl.c: New, rewrite of e_sqrt.S.
1499         * sysdeps/i386/fpu/e_acosl.S: Removed.
1500         * sysdeps/i386/fpu/s_atanl.S: Removed.
1501         * sysdeps/i386/fpu/e_sqrtl.S: Removed.
1502
1503 2001-05-05  Mark Kettenis  <kettenis@gnu.org>
1504
1505         * sysdeps/mach/hurd/bits/environments.h: Add comment from
1506         sysdeps/generic/bits/environments.h.  Define _POSIX_V6_* values.
1507
1508 2001-04-30  Jakub Jelinek  <jakub@redhat.com>
1509
1510         * posix/confstr.c (confstr) [_CS_V6_WIDTH_RESTRICTED_ENVS]: Move so
1511         that _CS_LFS_CFLAGS can fall through to the empty returned string
1512         case.  Add FALLTHROUGH comment.
1513
1514 2001-04-29  Ralf Baechle  <ralf@gnu.org>
1515
1516         * sysdeps/unix/sysv/linux/mips/bits/sem.h: Make structure
1517         definitions match the kernel definitions.
1518         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
1519         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
1520
1521 2001-04-29  Ben Collins  <bcollins@debian.org>
1522
1523         * sysdeps/sparc/sparc64/dl-machine.h: Fix multiline strings
1524         warnings.
1525         * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Likewise.
1526         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
1527         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
1528         * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Likewise.
1529         * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Likewise.
1530         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
1531         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
1532         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
1533         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
1534         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
1535         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
1536         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
1537         * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Likewise.
1538         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
1539         * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Likewise.
1540         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
1541         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
1542         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1543         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1544         * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Likewise.
1545         * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Likewise.
1546         * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Likewise.
1547         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
1548
1549 2001-04-29  Andreas Schwab  <schwab@suse.de>
1550
1551         * sysdeps/unix/sysv/linux/kernel-features.h: Fix missing backslash
1552         in last change.
1553
1554 2001-04-29  Andreas Jaeger  <aj@suse.de>
1555
1556         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
1557         Define for Arm, PowerPC and SH if kernel is 2.4.4 or newer.
1558
1559         * sysdeps/unix/sysv/linux/bits/socket.h (PF_WANPIPE): New, from
1560         Linux 2.4.4.
1561         (AF_WANPIPE): Likewise.
1562         (MSG_MORE): New.
1563
1564         * sysdeps/unix/sysv/linux/alpha/bits/socket.h: Add same changes as
1565         for Linux generic version.
1566         * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Likewise.
1567         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
1568         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
1569         * sysdeps/unix/sysv/linux/ia64/bits/socket.h: Likewise.
1570
1571         * sysdeps/gnu/netinet/tcp.h (TCP_QUICKACK): New.
1572
1573 2001-04-27  Ulrich Drepper  <drepper@redhat.com>
1574
1575         * nis/nss-nis.h: Correct test for invalid error number.
1576         * nis/nss-nisplus.h: Likewise.
1577
1578         * nis/Makefile (libnss_compat-rountines): Add nss-nisplus.
1579
1580 2001-04-26  Ulrich Drepper  <drepper@redhat.com>
1581
1582         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getunwind.
1583
1584         * string/strcoll.c: Fix two memory allocation problems.
1585         * string/Makefile (tests): Add bug-strcoll1.
1586         * string/bug-strcoll1.c: New file.
1587
1588         * malloc/mcheck.c (mcheck): Call malloc once before setting the
1589         hooks to allow the internal check hooks to be set up if necessary.
1590
1591         * nis/nss-nis.h: Move yperr2nss_tab definition into separate file
1592         and rename to __yperr2nss_tab.  Change YPERR_COUNT into variable
1593         __yperr2nss_count.
1594         * nis/nss-nis.c: New file.
1595         * nis/nss-nisplus.h: Move niserr2nss_tab definition into separate file
1596         and rename to __niserr2nss_tab.  Change NISERR_COUNT into variable
1597         __niserr2nss_count.
1598         * nis/nss-nisplus.c: New file.
1599         * nis/Makefile (libnss_compat-routines): Add nss-nis.
1600         (libnss_nis-routines): Likewise.
1601         (libnss_nisplus-routines): Add nss-nisplus.
1602
1603         * nis/nss_nisplus/nisplus-alias.c: Remove unnecessary initializations.
1604         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
1605         * nis/nss_nisplus/nisplus-grp.c: Likewise.
1606         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
1607         * nis/nss_nisplus/nisplus-network.c: Likewise.
1608         * nis/nss_nisplus/nisplus-proto.c: Likewise.
1609         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
1610         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
1611         * nis/nss_nisplus/nisplus-service.c: Likewise.
1612         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
1613         * nis/nss_nis/nis-alias.c: Likewise.
1614         * nis/nss_nis/nis-ethers.c: Likewise.
1615         * nis/nss_nis/nis-grp.c: Likewise.
1616         * nis/nss_nis/nis-network.c: Likewise.
1617         * nis/nss_nis/nis-proto.c: Likewise.
1618         * nis/nss_nis/nis-pwd.c: Likewise.
1619         * nis/nss_nis/nis-spwd.c: Likewise.
1620         * nis/nss_compat/compat-grp.c: Likewise.
1621         * nis/nss_compat/compat-initgroups.c: Likewise.
1622         * nis/nss_compat/compat-pwd.c: Likewise.
1623         * nis/nss_compat/compat-spwd.c: Likewise.
1624
1625         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Some more
1626         optimizations.  Patch by Jakub Jelinek <jakub@redhat.com>.
1627
1628 2001-04-26  Andreas Jaeger  <aj@suse.de>
1629
1630         * po/zh_TW.po: Update.
1631         Patch by Tung-Han Hsieh <thhsieh@tlug.sinica.edu.tw>.
1632
1633 2001-04-25  Ulrich Drepper  <drepper@redhat.com>
1634
1635         * malloc/malloc.c: Allow MALLOC_ALIGNMENT to be defined on the
1636         compiler command line.
1637         * sysdeps/hppa/Makefile: Add -DMALLOC_ALIGNMENT=16 to compiler
1638         command line for malloc.c.
1639
1640 2001-04-25  Jakub Jelinek  <jakub@redhat.com>
1641
1642         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: Move to...
1643         * sysdeps/unix/sysv/linux/sparc/bits/time.h: ...here.
1644         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: Remove.
1645         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: Move to...
1646         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: ...here.  Adjust
1647         struct msghdr for __WORDSIZE == 32.
1648         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: Move to...
1649         * sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: ...here.  Adjust
1650         for __WORDSIZE == 32.
1651         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Remove.
1652         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c: New
1653         file.
1654         * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_siglongjmp):
1655         Rename from longjmp, make longjmp weak alias to it.
1656
1657 2001-04-24  David S. Miller  <davem@redhat.com>
1658
1659         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: New file.
1660
1661 2001-04-25  Matthew Wilcox  <willy@ldl.fc.hp.com>
1662
1663         * sysdeps/hppa/stackinfo.h: New file.
1664         * sysdeps/unix/sysv/linux/hppa/getdents64.c: New file.
1665         * sysdeps/unix/sysv/linux/hppa/mmap64.c: New file.
1666         * sysdeps/unix/sysv/linux/hppa/bits/resource.h: New file.
1667         * sysdeps/unix/sysv/linux/kernel-features.h: Add descriptions
1668         of PA kernel features.
1669
1670 2001-04-25  Ulrich Drepper  <drepper@redhat.com>
1671
1672         * locale/programs/localedef.c (main): Always set a file name for
1673         the initial locale.
1674         * locale/programs/locfile.c (locfile_read): filename is allowed to
1675         be NULL.
1676
1677 2001-04-12  Paul Bame  <paul_bame@hp.com>
1678
1679         * sysdeps/hppa/fpu/fclrexcpt.c: Clear the exception flags, not the
1680         enable flags.
1681
1682 2001-04-24  Ulrich Drepper  <drepper@redhat.com>
1683
1684         * sysdeps/generic/bits/environments.h (_POSIX_V6_LPBIG_OFFBIG,
1685         _XBS5_LPBIG_OFFBIG): Define to -1.
1686         Fix typos.
1687
1688         * sysdeps/generic/bits/confname.h: Add _CS_V6_WIDTH_RESTRICTED_ENVS.
1689         * posix/confstr.c: Handle _CS_V6_WIDTH_RESTRICTED_ENVS.
1690         * posix/getconf.c: Handle _POSIX_V6_WIDTH_RESTRICTED_ENVS.
1691         * posix/tst-getconf.sh: Add _POSIX_V6_WIDTH_RESTRICTED_ENVS.
1692
1693         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/Implies: New file.
1694         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: Removed.
1695
1696 2001-03-21  Alan Modra  <alan@one.net.au>
1697
1698         * sysdeps/hppa/dl-machine.h (RTLD_START): Set up dp with DT_PLTGOT
1699         value from application so that constructors in non-PIC libs work.
1700
1701 2000-12-13  Jes Sorensen  <jes@linuxcare.com>
1702
1703         * sysdeps/hppa/dl-machine.h (RTLD_START): _dl_init now returns a
1704         function pointer, hence load the jump address and gp from the
1705         function pointer before jumping.
1706
1707 2001-04-24  Andreas Jaeger  <aj@suse.de>
1708
1709         * sysdeps/generic/send.c (__send): Return ssize_t.
1710         * sysdeps/mach/hurd/send.c (__send): Likewise.
1711         * sysdeps/mach/hurd/recv.c (recv): Likewise.
1712         * sysdeps/mach/hurd/sendto.c (sendto): Likewise.
1713         * sysdeps/generic/sendto.c (sendto): Likewise.
1714         * sysdeps/generic/recvmsg.c (recvmsg): Likewise.
1715         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
1716         * sysdeps/generic/recvfrom.c (recvfrom): Likewise.
1717         * sysdeps/generic/sendmsg.c (sendmsg): Likewise.
1718
1719         * socket/sys/socket.h: send* and recv* return ssize_t.
1720
1721         * include/sys/socket.h: send returns ssize_t.
1722
1723         * sysdeps/i386/fpu_control.h: Fix comments.
1724
1725 2001-04-24  Ulrich Drepper  <drepper@redhat.com>
1726
1727         * sysdeps/ia64/Dist: Add hp-timing.c.
1728         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add ucontext_i.h.
1729         * posix/Makefile (distribute): Add tst-getconf.sh.
1730         * po/Makefile (distribute): Add $(BROKEN_LINGUAS:=.po).
1731
1732 2001-04-23  Ulrich Drepper  <drepper@redhat.com>
1733
1734         * sysdeps/ia64/Makefile [subdir=csu] (sysdep_routines): Add hp-timing.
1735         * sysdeps/ia64/Versions: Add _dl_cpuclock_offset for ld in 2.2.3.
1736         * sysdeps/ia64/hp-timing.c: New file.
1737         * sysdeps/ia64/hp-timing.h: New file.
1738         * sysdeps/unix/sysv/linux/ia64/bits/time.h: Add definitions for
1739         CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
1740
1741         * sysdeps/generic/clock_getcpuclockid.c: Make function generic, test
1742         using #ifdef whether the clock is available.
1743         * sysdeps/unix/i386/clock_getcpuclockid.c: Not needed anymore.
1744
1745         * sysdeps/generic/dl-sysdep.c: Initialize _dl_cpuclock_offset to move
1746         it into data section.
1747
1748         * sysdeps/unix/i386/i586/clock_getres.c: Removed.
1749         * sysdeps/unix/i386/i586/clock_gettime.c: Removed.
1750         * sysdeps/unix/i386/i586/clock_nanosleep.c: Removed.
1751         * sysdeps/unix/i386/i586/clock_settime.c: Removed.
1752         * sysdeps/unix/i386/i586/cpuclock-init.h: Removed.
1753         * sysdeps/generic/cpuclock-init.h: Removed.
1754         * sysdeps/unix/i386/i686/Implies: Removed.
1755         * sysdeps/unix/i386/i686/tempname.c: Removed.
1756         * sysdeps/i386/i686/Versions: New file.
1757         * sysdeps/unix/i386/i586/Versions: Removed.
1758
1759         * sysdeps/posix/clock_getres.c: If HP_TIMING_AVAIL is nonzero handle
1760         CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
1761         * sysdeps/unix/clock_gettime.c: Likewise.
1762         * sysdeps/unix/clock_nanosleep.c: Likewise.
1763         * sysdeps/unix/clock_settime.c: Likewise.
1764         * sysdeps/posix/tempname.c: Is HP_TIMING_AVAIL is nonzero define
1765         RANDOM_BITS use CPU clock.
1766
1767         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: New file.
1768         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: New file.
1769         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: New file.
1770         * sysdeps/sparc/Versions: New file.
1771
1772         * elf/dl-support.c: Don't use cpuclock-init.h definitions, use
1773         hp-timing.h definitions.
1774         * sysdeps/generic/dl-sysdep.c: Likewise.
1775
1776         * include/libc-internal.h: Include hp-timing.h.  Use hp_timing_t in
1777         __get_clockfreq prototype.
1778
1779         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1780         Use hp_timing_t type.
1781         * sysdeps/generic/get_clockfreq.c (__get_clockfreq): Likewise.
1782
1783         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: New file.
1784
1785         * sysdeps/posix/pathconf.c (__pathconf): For _PC_ASYNC_IO test
1786         whether named file is a regular file or a block device.
1787         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
1788
1789 2001-04-23  Andreas Jaeger  <aj@suse.de>
1790
1791         * nscd/nscd.h: Add noreturn attribute for start_threads.
1792
1793 2001-04-22  Ulrich Drepper  <drepper@redhat.com>
1794
1795         * posix/getconf.c: Fix names of XBS5 LFS test variables.
1796         Add missing configuration variables from XPG6.
1797         * posix/tst-getconf.c: New file.
1798         * posix/Makefile (generated): Add tst-getconf.out.
1799         (tests): Add ($objpfx)tst-getconf.out.
1800         Add rule to run tst-getconf.sh.
1801         * sysdeps/generic/bits/confname.h: Add missing _PC_ and _SC_ values
1802         from XPG6.
1803         * sysdeps/posix/fpathconf.c: Add handling of _PC_ALLOC_SIZE_MIN and
1804         _PC_SYMLINK_MAX.
1805         * sysdeps/posix/pathconf.c: Likewise.
1806         * sysdeps/posix/sysconf.c: Correct spelling of _SC_MULTI_PROCESS
1807         and _SC_SYMLOOP_MAX.
1808
1809 2001-04-22  Philip Blundell  <philb@gnu.org>
1810
1811         * sysdeps/arm/fpu/feenablxcpt.c: New file.
1812         * sysdeps/arm/fpu/fedisablxcpt.c: New file.
1813         * sysdeps/arm/fpu/fegetexcpt.c: New file.
1814
1815 2001-04-22  Philip Blundell  <philb@gnu.org>
1816
1817         * sysdeps/unix/sysv/linux/arm/sys/user.h (struct user_fpregs):
1818         Renamed from struct user_fp.
1819         (struct user_regs): New.
1820         (struct user): Use struct user_regs rather than struct pt_regs to
1821         avoid dependency on asm/ptrace.h.  Use struct user_fpregs in place
1822         of struct user_fp and struct user_fp_struct.
1823         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Include sys/procfs.h
1824         not sys/elf.h.
1825
1826 2001-04-22  Philip Blundell  <philb@gnu.org>
1827
1828         * sysdeps/unix/sysv/linux/arm/sys/elf.h: Move contents to
1829         sys/procfs.h, and tell the user to include that file instead.
1830         * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove old cruft
1831         surrounded with #if 0.
1832         (elf_greg_t, ELF_NGREG, elf_gregset_t, elf_fpregset_t): Moved here
1833         from sys/elf.h.
1834         (prgregset_t, prfpregset_t): Define in terms of elf_gregset_t and
1835         elf_fpregset_t respectively.
1836
1837 2001-04-22  Philip Blundell  <philb@gnu.org>
1838
1839         * sysdeps/unix/sysv/linux/arm/register-dump.h: Also print the
1840         address that faulted.
1841
1842 2001-04-21  Ulrich Drepper  <drepper@redhat.com>
1843
1844         * sysdeps/generic/bits/confname.h: Add _SC_V6_* and _CS_POSIX_V6_*
1845         values.
1846         * sysdeps/generic/bits/environments.h: Define _POSIX_V6_* values.
1847         * posix/confstr.c: Handle _CS_POSIX_V6_* values.
1848         * posix/getconf.c: Handle _CS_POSIX_V6_* and _SC_V6_* values.
1849         * sysdeps/posix/sysconf.c: Handle _SC_V6_* values.
1850
1851         * sysdeps/powerpc/fpu/libm-test-ulps: Add deltas for atan2f.
1852         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1853         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1854         * sysdeps/mips/fpu/libm-test-ulps: Likewise.
1855
1856 2001-04-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1857
1858         * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correct check for invalid
1859         offset.
1860
1861 2001-04-21  Ulrich Drepper  <drepper@redhat.com>
1862
1863         * posix/getopt.h: Treat __cplusplus like __STDC__.
1864
1865 2001-04-20  John S. Marvin  <jsm@fc.hp.com>
1866
1867         * sysdeps/unix/sysv/linux/hppa/clone.S: Fix clone system call
1868         entry point stub.
1869
1870 2001-04-20  Richard Hirst  <rhirst@linuxcare.com>
1871
1872         * elf/elf.h: Corrected R_PARISC_DIR14R (should be 6, not 5),
1873         and added R_PARISC_DPREL21L and R_PARISC_DPREL14R for modutils.
1874
1875         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Removed ptrace
1876         entry so the ptrace.c wrapper is used.
1877
1878 2001-04-20  Alan Modra  <amodra@one.net.au>
1879
1880         * sysdeps/hppa/dl-lookupcfg.h (_dl_function_address): Prototype.
1881         (DL_FUNCTION_ADDRESS): Define.
1882         (DL_DT_INIT_ADDRESS): Define.
1883         (DL_DT_FINI_ADDRESS): Define.
1884         * sysdeps/hppa/Versions: Add _dl_function_address.
1885         * sysdeps/hppa/dl-machine.h (ELF_MACHINE_START_ADDRESS): Define.
1886         * sysdeps/hppa/dl-symaddr.c (_dl_start_address): Rename to
1887         _dl_function_address.
1888
1889 2001-04-21  Andreas Jaeger  <aj@suse.de>
1890
1891         * rt/aio_misc.c (handle_fildes_io): Add noreturn attribute.
1892         * resolv/gai_misc.c (handle_requests): Likewise.
1893         * malloc/obstack.c (print_and_abort): Likewise.
1894         * malloc/mcheck.c (mabort): Likewise.
1895
1896         * sysdeps/unix/i386/i586/clock_settime.c: Include
1897         "libc-internal.h" for __get_clockfreq declaration.
1898
1899 2001-04-21  Ulrich Drepper  <drepper@redhat.com>
1900
1901         * elf/dl-support.c: Include cpuclock-init.h.  Use CPUCLOCK_VARDEF and
1902         CPUCLOCK_INIT if defined.
1903         * sysdeps/generic/dl-sysdep.c: Likewise.
1904         * sysdeps/generic/cpuclock-init.h: New file.
1905         * sysdeps/unix/i386/i586/cpuclock-init.h: New file.
1906         * sysdeps/unix/i386/i586/Versions: New file.
1907         * sysdeps/unix/i386/i586/clock_settime.c: New file.
1908         * sysdeps/unix/i386/i586/clock_gettime.c: Handle thread CPU clock
1909         separately by calling __pthread_clock_gettime if this function is
1910         available.  Subtract offset from tsc value before computing time value.
1911
1912 2001-04-20  Ulrich Drepper  <drepper@redhat.com>
1913
1914         * iconv/iconv_prog.c (print_known_names): If printing goes not to
1915         a tty print in a more machine-friendly way.
1916
1917         * sysdeps/ieee754/ldbl-128/e_asinl.c: New file.
1918         Contributed by Stephen L Moshier <moshier@mediaone.net>.
1919
1920 2001-04-20  Andreas Jaeger  <aj@suse.de>
1921
1922         * intl/Makefile (tests): Reorder conditions, tst-gettext needs msgfmt.
1923
1924 2001-04-20  Andreas Schwab  <schwab@suse.de>
1925
1926         * sysdeps/m68k/fpu/libm-test-ulps: Update.
1927
1928 2001-04-19  Alan Modra  <amodra@one.net.au>
1929
1930         * Makerules (libc_pic.os): Add $(LDFLAGS-c_pic.os).
1931         * sysdeps/hppa/Makefile (LDFLAGS-c_pic.os): Define.
1932         (CFLAGS-.os): Remove.
1933
1934         * sysdeps/unix/sysv/linux/hppa/sysdep.h (CALL_MCOUNT): Update comment.
1935
1936         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG, NFPREG,
1937         gregset): Correct for new kernel definitions.
1938
1939 2001-04-19  Alan Modra  <alan@linuxcare.com.au>
1940
1941         * sysdeps/hppa/elf/initfini.c: Change dlt reg save to r3 and
1942         generate unwind info by hand.
1943
1944 2001-04-19  Ulrich Drepper  <drepper@redhat.com>
1945
1946         * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Optimize a bit.
1947
1948         * configure.in: Correct regular expression for msgfmt.
1949         Patch by Bruno Haible <haible@ilog.fr>.
1950
1951 2001-04-19  Andreas Jaeger  <aj@suse.de>
1952
1953         * po/el.po: Add comment explaining what's broken.
1954
1955         * po/Makefile (BROKEN_LINGUAS): New.
1956         (ALL_LINGUAS): Don't add broken languages.
1957
1958 2001-04-19  Roland McGrath  <roland@frob.com>
1959
1960         * sysdeps/mach/hurd/mlock.c: New file.
1961         * sysdeps/mach/hurd/munlock.c: New file.
1962         * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK_RANGE): Define it.
1963
1964         * misc/Makefile (routines): Add mlock munlock mlockall munlockall.
1965         * sysdeps/generic/mlock.c: New file.
1966         * sysdeps/generic/munlock.c: New file.
1967         * sysdeps/generic/mlockall.c: New file.
1968         * sysdeps/generic/munlockall.c: New file.
1969         * sysdeps/generic/bits/mman.h (MCL_CURRENT, MCL_FUTURE): New macros.
1970         * sysdeps/unix/sysv/linux/syscalls.list (mlock, munlock,
1971         mlockall, munlockall): Change caller field to - from EXTRA.
1972         Don't use __ names; not used (and not declared in include/sys/mman.h).
1973
1974         * hurd/privports.c (__get_privileged_ports): Renamed with __.
1975         Use __ names for calls we make.
1976         (get_privileged_ports): Add alias.
1977         * hurd/hurd.h: Declare it with the __ name.
1978         * sysdeps/mach/hurd/reboot.c (reboot): Use __get_privileged_ports.
1979         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
1980         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
1981
1982         * hurd/hurdsig.c (write_corefile): Check RLIMIT_CORE limit and do
1983         nothing if it's zero.
1984
1985 2001-04-19  Matthew Wilcox  <willy@ldl.fc.hp.com>
1986
1987         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL):
1988         Change to return a signed result for compatibility with other
1989         architectures, and correctness.
1990
1991 2001-04-19  Ulrich Drepper  <drepper@redhat.com>
1992
1993         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_32BITUIDS):
1994         HPPA always had them.  Patch by Matthew Wilcox <matthew@wil.cx>.
1995
1996 2001-04-19  Andreas Jaeger  <aj@suse.de>
1997
1998         * configure.in: Require gettext 0.10.36 or newer.
1999
2000         * manual/install.texi (Tools for Compilation): Mention gettext 0.10.36.
2001
2002         * po/zh_TW.po: Remove extraneous backslashes.
2003
2004         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove unused
2005         variables b and n.
2006
2007 2001-04-18  Jakub Jelinek  <jakub@redhat.com>
2008
2009         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
2010         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c: New file.
2011         * sysdeps/unix/sysv/linux/sparc/sparc64/swapcontext.c: New file.
2012         * sysdeps/unix/sysv/linux/sparc/sparc64/setcontext.S (__setcontext):
2013         Copy first word of uc_sigmask into __uc_sigmask.
2014         * sysdeps/unix/sysv/linux/sparc/sparc64/getcontext.S (__getcontext):
2015         Save uc_link around trap.  Copy __uc_sigmask into first word of
2016         uc_sigmask, clear the rest.  Make sure setcontext to the created
2017         context doesn't do this though.
2018         * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext_i.h: New file.
2019         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Add
2020         uc_stack and uc_sigmask, rename old uc_sigmask to __uc_sigmask in the
2021         64bit version, make uc_sigmask __sigset_t in the 32bit version.
2022
2023 2001-04-19  Andreas Jaeger  <aj@suse.de>
2024
2025         * sysdeps/unix/sysv/linux/hppa/umount.c: Fix typos in last patch.
2026
2027         * rt/Makefile (otherlibs): Added for static NSS.
2028
2029         * glibcbug.in (BUGGLIBC): Send to new alias.
2030
2031 2001-04-02  Andreas Schwab  <schwab@suse.de>
2032
2033         * Makerules (build-module): Make sure exit codes get checked
2034         properly and remove unnecessary slashes.
2035
2036 2001-04-17  Ulrich Drepper  <drepper@redhat.com>
2037
2038         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2039         Handle kernels which report only three digits after the decimal point.
2040         Reported by Van Okamura <van.okamura@oracle.com>.
2041
2042         * sysdeps/alpha/fpu/libm-test-ulps: Adjust error values for atan2f.
2043
2044 2001-04-17  David S. Miller  <davem@redhat.com>
2045
2046         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update for new atan2 tests.
2047         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2048
2049 2001-04-17  Jakub Jelinek  <jakub@redhat.com>
2050
2051         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Make sure
2052         desired exceptions are raised for exceptional values.
2053         * math/libm-test.inc (acosh_test, atan_test, atan2_test, cacos_test,
2054         cacosh_test, casin_test, casinh_test, catan_test, catanh_test,
2055         clog_test, log_test, log1p_test, tan_test): Increase precision of
2056         expected values to satisfy ldbl-128.
2057         * sysdeps/alpha/fpu/libm-test-ulps: Adjust accordingly.
2058         * sysdeps/arm/libm-test-ulps: Likewise.
2059         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2060         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2061         * sysdeps/m68k/fpu/libm-test-ulps: Likewise.
2062         * sysdeps/mips/fpu/libm-test-ulps: Likewise.
2063         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2064         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2065         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2066         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
2067         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2068
2069 2001-04-17  Andreas Jaeger  <aj@suse.de>
2070
2071         * configure.in: Move test for critical programs up.
2072
2073 2001-04-16  Stephen L Moshier  <moshier@mediaone.net>
2074
2075         * sysdeps/ieee754/flt-32/e_asinf.c (pio2_hi, pio2_lo, pio4_hi):
2076         Correct the values.
2077         (pSx, qSx): Replace by shorter approximation.
2078         Use f suffix on float constants.
2079
2080 2001-04-16  Ulrich Drepper  <drepper@redhat.com>
2081
2082         * sysdeps/ieee754/ldbl-128/k_tanl.c: New file.
2083         Contributed by Stephen L Moshier <moshier@mediaone.net>.
2084
2085         * string/string.h: Replace const in attribute list with __const__.
2086
2087 2001-04-16  Roland McGrath  <roland@frob.com>
2088
2089         * grp/initgroups.c (initgroups) [NGROUPS_MAX != 0]: Always use sysconf
2090         instead of the constant NGROUPS_MAX.  That way, the limit can be
2091         raised in the kernel configuration without having to recompile libc.
2092
2093         * sysdeps/posix/euidaccess.c: Don't #include <limits.h> or try to
2094         define NGROUPS_MAX; we don't use it here.
2095
2096 2001-04-16  Andreas Jaeger  <aj@suse.de>
2097
2098         * math/libm-test.inc (atan2_test): Add more testcases.
2099
2100         * iconv/gconv_db.c: Include gconv_charset.h for
2101         __gconv_lookup_alias prototype.
2102
2103 2001-04-13  Ulrich Drepper  <drepper@redhat.com>
2104
2105         * sysdeps/ieee754/ldbl-128/s_atanl.c: New file.
2106         Contributed by Stephen L Moshier <moshier@mediaone.net>.
2107
2108 2001-04-13  Jes Sorensen  <jes@linuxcare.com>
2109
2110         * intl/tst-codeset.c: Include string.h to get prototype for strcmp().
2111
2112 2001-04-13  Jes Sorensen  <jes@linuxcare.com>
2113
2114         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add __pad0 to
2115         explicitly pad struct siginfo instead of relying on compiler padding.
2116
2117 2001-04-12  Ulrich Drepper  <drepper@redhat.com>
2118
2119         * sysdeps/ia64/Dist: Add elf/entry.h.
2120
2121         * iconvdata/Makefile (distribute): Add TESTS2.
2122
2123 2001-04-13  Jakub Jelinek  <jakub@redhat.com>
2124
2125         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_load_address):
2126         Calculate load address differently.
2127
2128 2001-04-12  Bruno Haible  <haible@clisp.cons.org>
2129
2130         * iconvdata/TESTS2: New file.
2131         * iconvdata/run-iconv-test.sh: Also run tests from TESTS2.
2132         * iconvdata/testdata/alfabeta..UTF-8: New file.
2133         * iconvdata/testdata/alfabeta..UTF-16.BE: New file.
2134         * iconvdata/testdata/alfabeta..UTF-16.LE: New file.
2135         * iconvdata/testdata/alfabeta..UTF-32.BE: New file.
2136         * iconvdata/testdata/alfabeta..UTF-32.LE: New file.
2137
2138 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
2139
2140         * iconvdata/utf-32.c: New file.
2141         * iconvdata/gconv-modules: Add entries for UTF-32, UTF-32LE, UTF-32BE.
2142         * iconvdata/Makefile (modules): Add UTF-32.
2143         (distribute): Add utf-32.c.
2144
2145 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
2146
2147         * iconvdata/utf-16.c (PREPARE_LOOP): Initialize 'swap' after possibly
2148         changing it in the state.  After incrementing 'inptr', store it back.
2149         * iconvdata/unicode.c (PREPARE_LOOP): After incrementing 'inptr',
2150         store it back.
2151
2152 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
2153
2154         * iconvdata/utf-16.c (gconv_init): Use MAX_NEEDED_FROM, not
2155         MIN_NEEDED_FROM.
2156
2157 2001-04-11  David Mosberger  <davidm@hpl.hp.com>
2158
2159         * sysdeps/ia64/htonl.S: Drop superfluous "alloc".
2160         * sysdeps/ia64/htons.S: Likewise.
2161
2162         * sysdeps/ia64/memset.S: Add unwind directives.
2163         * sysdeps/ia64/strncpy.S: Likewise.
2164         * sysdeps/ia64/strcat.S: Likewise.
2165
2166         * sysdeps/ia64/memccpy.S: Add unwind directives.  Drop superfluous
2167         restore of ar.pfs.
2168         * sysdeps/ia64/strchr.S: Likewise.
2169         * sysdeps/ia64/memmove.S: Likewise.
2170         * sysdeps/ia64/memcpy.S: Likewise.
2171         * sysdeps/ia64/memcmp.S: Likewise.
2172         * sysdeps/ia64/memchr.S: Likewise.
2173         * sysdeps/ia64/strcmp.S: Likewise.
2174         * sysdeps/ia64/strlen.S: Likewise.
2175         * sysdeps/ia64/strcpy.S: Likewise.
2176         * sysdeps/ia64/strncmp.S: Likewise.
2177
2178 2001-04-11  Jakub Jelinek  <jakub@redhat.com>
2179
2180         * wcsmbs/wchar.h (fgetwc, getwc, getwchar, fputwc, putwc, putwchar,
2181         fgetws, fputws, ungetwc, getwc_unlocked, getwchar_unlocked,
2182         fgetwc_unlocked, fputwc_unlocked, putwc_unlocked, putwchar_unlocked,
2183         fgetws_unlocked, fputws_unlocked, wcsftime): Add __THROW.
2184
2185 2001-04-11  Andreas Jaeger  <aj@suse.de>
2186
2187         * sysdeps/mips/elf/start.S [__ASSEMBLY__]: Define it.
2188
2189 2001-04-11  Andreas Schwab  <schwab@suse.de>
2190
2191         * sysdeps/m68k/fpu/libm-test-ulps: Adjusted.
2192
2193 2001-04-11  Ulrich Drepper  <drepper@redhat.com>
2194
2195         * sysdeps/arm/stackinfo.h: New file.
2196
2197 2001-04-08  Thorsten Kukuk  <kukuk@suse.de>
2198
2199         * sunrpc/rpc_main.c: If we compile RPC thread safe, allow
2200         rpcgen to generate thread safe code.
2201
2202 2001-04-10  Andreas Jaeger  <aj@suse.de>
2203
2204         * math/test-fenv.c (initial_tests): Protect FE_TONEAREST declaration.
2205
2206 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
2207
2208         * elf/dl-minimal.c (__assert_fail): Change error string.  It's
2209         most of the time no bug in ld.so.
2210         (__assert_perror_fail): Likewise.
2211
2212 2001-04-11  Hans-Peter Nilsson  <hp@axis.com>
2213
2214         * sysdeps/generic/bits/fenv.h (fexcept_t): Change default type
2215         from struct to unsigned int.
2216
2217 2001-04-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2218
2219         * elf/elf.h (AT_DCACHEBSIZE, AT_ICACHEBSIZE, AT_UCACHEBSIZE,
2220         AT_IGNOREPPC): New defines.
2221         * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Print them.
2222         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
2223         Define for newer powerpc kernels.
2224         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Use the standard
2225         DL_FIND_ARG_COMPONENTS if __ASSUME_STD_AUXV is defined.
2226
2227 2000-4-10  kaz Kojima  <kkojima@rr.iij4u.or.jp>
2228
2229         * sysdeps/sh/stackinfo.h: New file.
2230
2231 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
2232
2233         * locale/tst-C-locale.c (run_test): Add tests for locale objects.
2234         * locale/newlocale.c (__newlocale): Correct setting __ctype_b,
2235         __ctype_tolower, and __ctype_toupper elements.
2236
2237         * ctype/ctype_l.c: Fix definitions of __tolower_l and __toupper_l.
2238         Reported by Konstantin Osipov <rabid@spylog.ru>.
2239
2240         * sysdeps/i386/fpu/libm-test-ulps: Add deltas for tgamma to help
2241         the lousy AMD FPU.
2242
2243 2001-04-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2244
2245         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: New file.
2246         * sysdeps/unix/sysv/linux/powerpc/Dist: Add sys/ptrace.h.
2247         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Delete wrong stuff.
2248         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Correct typedefs.
2249
2250 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
2251
2252         * elf/dl-deps.c (_dl_map_object_deps): Provide complete error
2253         message.  Based on a patch by HJ Lu.
2254
2255 2001-04-10  Andreas Schwab  <schwab@suse.de>
2256
2257         * math/libm-test.inc (csinh_test): Don't require the invalid
2258         exception for csinh (x + iNaN), but make it optional.
2259
2260 2001-04-09  David Mosberger  <davidm@hpl.hp.com>
2261
2262         * sysdeps/ia64/elf/start.S (_start): Add unwind directives.
2263
2264         * sysdeps/generic/entry.h [!__ASSEMBLY__]: Declare _start.
2265         * sysdeps/ia64/elf/entry.h: New file.
2266         * sysdeps/unix/sysv/linux/mips/entry.h [!__ASSEMBLY__]: Declare
2267         __start.
2268         * elf/rtld.c: Don't declare ENTRY_POINT.  Use ENTRY_POINT instead
2269         of &ENTRY_POINT.
2270         * sysdeps/generic/dl-sysdep.c: Likewise.
2271         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
2272         * sysdeps/ia64/elf/start.S: Save base address of register backing
2273         store in __libc_ia64_register_backing_store_base.
2274
2275 2001-04-10  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2276
2277         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Fix return
2278         value of getcontext.
2279         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
2280         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Fix return
2281         value of setcontext.
2282         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2283         * sysdeps/unix/sysv/linux/s390/swapcontext.c: Skip setcontext
2284         call by changing the saved context.
2285
2286 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
2287
2288         * sysdeps/alpha/stackinfo.h: New file.
2289         * sysdeps/ia64/stackinfo.h: New file.
2290
2291 2001-04-10  Andreas Schwab  <schwab@suse.de>
2292
2293         * sysdeps/m68k/fpu/e_pow.c: Correct handling of some exceptional
2294         values.
2295         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
2296
2297 2001-04-09  Ulrich Drepper  <drepper@redhat.com>
2298
2299         * sysdeps/sparc/sparc32/sparcv9/Dist: Add hp-timing.c.
2300         * sysdeps/sparc/sparc64/Dist: Add hp-timing.c.
2301
2302         * libio/Makefile (distribute): Add fd_to_filename.h.
2303
2304 2001-04-05  David S. Miller  <davem@redhat.com>
2305
2306         Add hp-timing support for sparcv9/sparc64 targets.
2307         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: New file
2308         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: New file
2309         * sysdeps/sparc/sparc64/hp-timing.c: New file
2310         * sysdeps/sparc/sparc64/hp-timing.h: New file
2311         * sysdeps/sparc/sparc32/sparcv9/Makefile: Build hp-timing.
2312         * sysdeps/sparc/sparc64/Makefile: Likewise.
2313
2314 2001-04-09  Jakub Jelinek  <jakub@redhat.com>
2315
2316         * sysdeps/generic/fd_to_filename.h: New file.
2317         * sysdeps/unix/sysv/linux/fd_to_filename.h: New file.
2318         * libio/freopen.c (freopen): If FILENAME is NULL, try to get
2319         filename from the open file descriptor.
2320         * libio/freopen64.c (freopen64): Likewise.
2321
2322 2001-04-09  Bruno Haible  <haible@clisp.cons.org>
2323
2324         * misc/error.c (error): fflush stdout also if
2325         error_print_progname != NULL.
2326         (error_at_line): Likewise.
2327
2328 2001-04-07  Bruno Haible  <haible@clisp.cons.org>
2329
2330         * intl/gettextP.h (struct loaded_domain): Add codeset_cntr field.
2331         (struct binding): Add codeset_cntr field.
2332         (_nl_load_domain): Add domainbinding argument.
2333         (_nl_init_domain_conv, _nl_free_domain_conv): New declarations.
2334         (_nl_find_msg): New declaration, moved here from loadinfo.h.
2335         * intl/loadinfo.h (struct loaded_l10nfile): Remove domainbinding field.
2336         (_nl_make_l10nflist): Remove domainbinding argument.
2337         (_nl_find_msg): Move declaration to gettextP.h.
2338         * intl/bindtextdom.c (set_binding_values): Initialize ->codeset_cntr
2339         to 0.  Increment it when ->codeset is changed.
2340         * intl/dcigettext.c (DCIGETTEXT): Pass binding to _nl_find_msg.
2341         (_nl_find_msg): Add domainbinding argument.  Reinitialize the converter
2342         if domainbinding->codeset_cntr has been incremented.
2343         * intl/finddomain.c (_nl_find_domain): Don't pass domainbinding to
2344         _nl_make_l10nflist().  Pass it to _nl_load_domain() instead.
2345         * intl/l10nflist.c (_nl_make_l10nflist): Remove domainbinding argument.
2346         * intl/loadmsgcat.c (_nl_init_domain_conv): New function, extracted
2347          from _nl_load_domain.  Append //TRANSLIT also when using libiconv.
2348         (_nl_free_domain_conv): New function, extracted from _nl_unload_domain.
2349         (_nl_load_domain): Add domainbinding argument.  Call
2350         _nl_init_domain_conv.
2351         (_nl_unload_domain): Call _nl_free_domain_conv.
2352         * intl/Makefile (distribute): Add tst-codeset.sh, tstcodeset.po.
2353         (test-srcs): Add tst-codeset.
2354         (tests): Depend on tst-codeset.out.
2355         (tst-codeset.out): New rule.
2356         (CFLAGS-tst-codeset.c): New variable.
2357         * intl/tst-codeset.sh: New file.
2358         * intl/tstcodeset.po: New file.
2359         * intl/tst-codeset.c: New file.
2360         * locale/findlocale.c (_nl_find_locale): Update _nl_make_l10nflist
2361         calls.
2362
2363 2001-04-07  Roland McGrath  <roland@frob.com>
2364
2365         * mach/msgserver.c (__mach_msg_server_timeout): Add an assert.
2366
2367 2001-03-31  Roland McGrath  <roland@frob.com>
2368
2369         * sysdeps/mach/hurd/fork.c: Skip NEWPROC just like NEWTASK when
2370         copying send rights into child.  When we hit our name for our proc
2371         port, just copy NEWPROC directly instead of repeating proc_task2proc
2372         to install the child's port.
2373
2374 2001-04-08  Roland McGrath  <roland@frob.com>
2375
2376         * Makeconfig ($(common-objpfx)soversions.i): Grok entries with DEFAULT
2377         in second column, to provide default values for third column.
2378         * shlib-versions: Add comments about using DEFAULT in second column.
2379         (s390x-.*-linux.*): Replace individual entries with a DEFAULT entry.
2380         (cris-.*-linux.*): Likewise.
2381
2382 2001-04-09  Ulrich Drepper  <drepper@redhat.com>
2383
2384         * Makefile (distribute): Add scripts/documented.sh.
2385         * scripts/documented.sh: New file.
2386
2387 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2388
2389         * sysdeps/unix/sysv/linux/cris/Dist: New file.
2390         * sysdeps/unix/sysv/linux/cris/Makefile: New file.
2391         * sysdeps/unix/sysv/linux/cris/_G_config.h: New file.
2392         * sysdeps/unix/sysv/linux/cris/bits/fcntl.h: New file.
2393         * sysdeps/unix/sysv/linux/cris/bits/mman.h: New file.
2394         * sysdeps/unix/sysv/linux/cris/bits/resource.h: New file.
2395         * sysdeps/unix/sysv/linux/cris/brk.c: New file.
2396         * sysdeps/unix/sysv/linux/cris/chown.c: New file.
2397         * sysdeps/unix/sysv/linux/cris/clone.S: New file.
2398         * sysdeps/unix/sysv/linux/cris/fchown.c: New file.
2399         * sysdeps/unix/sysv/linux/cris/fcntl.c: New file.
2400         * sysdeps/unix/sysv/linux/cris/fxstat.c: New file.
2401         * sysdeps/unix/sysv/linux/cris/getegid.c: New file.
2402         * sysdeps/unix/sysv/linux/cris/geteuid.c: New file.
2403         * sysdeps/unix/sysv/linux/cris/getgid.c: New file.
2404         * sysdeps/unix/sysv/linux/cris/getgroups.c: New file.
2405         * sysdeps/unix/sysv/linux/cris/getresgid.c: New file.
2406         * sysdeps/unix/sysv/linux/cris/getresuid.c: New file.
2407         * sysdeps/unix/sysv/linux/cris/getrlimit.c: New file.
2408         * sysdeps/unix/sysv/linux/cris/getrlimit64.c: New file.
2409         * sysdeps/unix/sysv/linux/cris/getuid.c: New file.
2410         * sysdeps/unix/sysv/linux/cris/lchown.c: New file.
2411         * sysdeps/unix/sysv/linux/cris/lockf64.c: New file.
2412         * sysdeps/unix/sysv/linux/cris/lxstat.c: New file.
2413         * sysdeps/unix/sysv/linux/cris/mmap.S: New file.
2414         * sysdeps/unix/sysv/linux/cris/mmap64.S: New file.
2415         * sysdeps/unix/sysv/linux/cris/msgctl.c: New file.
2416         * sysdeps/unix/sysv/linux/cris/profil-counter.h: New file.
2417         * sysdeps/unix/sysv/linux/cris/register-dump.h: New file.
2418         * sysdeps/unix/sysv/linux/cris/semctl.c: New file.
2419         * sysdeps/unix/sysv/linux/cris/setegid.c: New file.
2420         * sysdeps/unix/sysv/linux/cris/seteuid.c: New file.
2421         * sysdeps/unix/sysv/linux/cris/setfsgid.c: New file.
2422         * sysdeps/unix/sysv/linux/cris/setfsuid.c: New file.
2423         * sysdeps/unix/sysv/linux/cris/setgid.c: New file.
2424         * sysdeps/unix/sysv/linux/cris/setgroups.c: New file.
2425         * sysdeps/unix/sysv/linux/cris/setregid.c: New file.
2426         * sysdeps/unix/sysv/linux/cris/setresgid.c: New file.
2427         * sysdeps/unix/sysv/linux/cris/setresuid.c: New file.
2428         * sysdeps/unix/sysv/linux/cris/setreuid.c: New file.
2429         * sysdeps/unix/sysv/linux/cris/setrlimit.c: New file.
2430         * sysdeps/unix/sysv/linux/cris/setuid.c: New file.
2431         * sysdeps/unix/sysv/linux/cris/shmctl.c: New file.
2432         * sysdeps/unix/sysv/linux/cris/socket.S: New file.
2433         * sysdeps/unix/sysv/linux/cris/sys/ucontext.h: New file.
2434         * sysdeps/unix/sysv/linux/cris/syscall.S: New file.
2435         * sysdeps/unix/sysv/linux/cris/sysdep.S: New file.
2436         * sysdeps/unix/sysv/linux/cris/sysdep.h: New file.
2437         * sysdeps/unix/sysv/linux/cris/vfork.S: New file.
2438         * sysdeps/unix/sysv/linux/cris/xstat.c: New file.
2439
2440 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2441
2442         * sysdeps/cris/Dist: New file.
2443         * sysdeps/cris/Implies: New file.
2444         * sysdeps/cris/Makefile: New file.
2445         * sysdeps/cris/__longjmp.S: New file.
2446         * sysdeps/cris/_mcount.S: New file.
2447         * sysdeps/cris/bits/endian.h: New file.
2448         * sysdeps/cris/bits/setjmp.h: New file.
2449         * sysdeps/cris/bits/string.h: New file.
2450         * sysdeps/cris/dl-machine.h: New file.
2451         * sysdeps/cris/elf/start.S: New file.
2452         * sysdeps/cris/machine-gmon.h: New file.
2453         * sysdeps/cris/memcopy.h: New file.
2454         * sysdeps/cris/memusage.h: New file.
2455         * sysdeps/cris/setjmp.S: New file.
2456         * sysdeps/cris/sysdep.h: New file.
2457         * sysdeps/cris/wordcopy.c: New file.
2458
2459 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2460
2461         * elf/elf.h: Add new relocations for CRIS.
2462
2463 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2464
2465         * shlib-versions: Add cases for Linux on CRIS.
2466
2467 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2468
2469         * configure.in (ASM_LINE_SEP tests): Handle CRIS assembly, with
2470         ';' for comments and '@' for line separator.
2471
2472 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2473
2474         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Fix
2475         typo; s/==/=/ for assignment.
2476
2477 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2478
2479         * malloc/Makefile: Correct comment; mtrace is Perl, not AWK.
2480
2481 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2482
2483         * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): Check for
2484         empty input before checking full output.
2485
2486 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2487
2488         * iconv/gconv.c (__gconv): Don't derefer parameter cd before
2489         checking if == -1L.
2490
2491 2001-04-08  Ulrich Drepper  <drepper@redhat.com>
2492
2493         * inet/rexec.c (rexec_af): Avoid calling perror with errno being set.
2494
2495 2001-04-07  Stephen L Moshier  <moshier@mediaone.net>
2496
2497         * sysdeps/ieee754/ldbl-128/e_logl.c: Correct infinity and NaN
2498         return values.
2499
2500 2001-04-07  Ulrich Drepper  <drepper@redhat.com>
2501
2502         * stdlib/tst-setcontext.c (main): Add a test for setcontext.
2503
2504         * sysdeps/unix/sysv/linux/i386/getcontext.S: New file.
2505         * sysdeps/unix/sysv/linux/i386/setcontext.S: New file.
2506         * sysdeps/unix/sysv/linux/i386/makecontext.S: New file.
2507         * sysdeps/unix/sysv/linux/i386/swapcontext.S: New file.
2508         * sysdeps/unix/sysv/linux/i386/ucontext_i.h: New file.
2509         * sysdeps/unix/sysv/linux/i386/Dist: Add ucontext_i.h.
2510
2511 2001-04-07  Andreas Jaeger  <aj@suse.de>
2512
2513         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Use sincos
2514         instead of separate sin and cos.
2515         (__ieee754_j1l): Likewise.
2516
2517 2001-04-06  Ulrich Drepper  <drepper@redhat.com>
2518
2519         * sysdeps/ia64/abort-instr.h: New file.  Code by David Mosberger.
2520
2521         * sysdeps/ia64/atomicity.h: New file.  Copied from libstdc++.
2522
2523         * sysdeps/i386/i486/atomicity.h: Clean up the asms.
2524
2525         * sysdeps/generic/e_scalb.c: Don't use FE_INVALID unless it's
2526         available.
2527         * sysdeps/generic/e_scalbf.c: Likewise.
2528         * sysdeps/generic/e_scalbl.c: Likewise.
2529         Patch by Mark Hatle <fray@mvista.com>.
2530
2531 2001-04-05  David S. Miller  <davem@redhat.com>
2532
2533         * sysdeps/sparc/abort-instr.h: New file.
2534
2535 2001-04-05  Matt Wilson  <msw@redhat.com>
2536
2537         * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
2538         added code to parse new 2.4 format.
2539         (GET_NPROCS_CONF_PARSER): Likewise.
2540
2541 2001-04-05  David S. Miller  <davem@redhat.com>
2542
2543         * scripts/config.sub: Recognize sparcv9b like sparcv9.
2544         * configure.in: Add sparcv9b.
2545         * sysdeps/sparc/sparc32/sparcv9b/Implies: New file
2546         * sysdeps/sparc/sparc32/sparcv9b/memcpy.S: New file
2547         * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: New file
2548
2549 2001-04-06  David Mosberger  <davidm@hpl.hp.com>
2550
2551         * stdlib/tst-setcontext.c: Move st2[] to global scope.
2552         (f2): Verify that stack pointer is inside st2[].
2553
2554         * sysdeps/unix/sysv/linux/ia64/getcontext.S: It helps to save r12.
2555         * sysdeps/unix/sysv/linux/ia64/setcontext.S: It helps to restore r12.
2556
2557 2001-04-06  Ulrich Drepper  <drepper@redhat.com>
2558
2559         * timezone/antarctica: Update from tzdata2001b.
2560         * timezone/asia: Likewise.
2561         * timezone/australasia: Likewise.
2562         * timezone/europe: Likewise.
2563         * timezone/northamerica: Likewise.
2564
2565         * iconv/iconv_open.c: Move strip and upstr definitions...
2566         * iconv/gconv_charset.h: ...here.  New file.
2567         * iconv/gconv_db.c (once): Move to file level.
2568         (do_lookup_alias): Split out from __gconv_find_transform.
2569         (__gconv_find_transform): Call do_lookup_alias.
2570         (__gconv_loopup_alias): New function.
2571         * locale/langinfo.h: Define _NL_*_CODESET values for all categories
2572         but LC_CTYPE.
2573         * locale/categories.def: Add entries for new _NL_*_CODESET values.
2574         * locale/C-ctype.c: Use _nl_C_codeset to initialize CODESET entry.
2575         * locale/C-address.c: Initialize _NL_*_CODESET element.
2576         * locale/C-collate.c: Likewise.
2577         * locale/C-identification.c: Likewise.
2578         * locale/C-measurement.c: Likewise.
2579         * locale/C-messages.c: Likewise.
2580         * locale/C-monetary.c: Likewise.
2581         * locale/C-name.c: Likewise.
2582         * locale/C-numeric.c: Likewise.
2583         * locale/C-paper.c: Likewise.
2584         * locale/C-telephone.c: Likewise.
2585         * locale/C-time.c: Likewise.
2586         * locale/localeinfo.h: Declare _nl_C_codeset.
2587         * locale/C_name.c: Define _nl_C_codeset.
2588         * locale/findlocale.c: Before accepting locale check that the used
2589         charset does not conflict with what the locale name said.
2590         * locale/programs/ld-address.c: Emit codeset information.
2591         * locale/programs/ld-collate.c: Likewise.
2592         * locale/programs/ld-identification.c: Likewise.
2593         * locale/programs/ld-measurement.c: Likewise.
2594         * locale/programs/ld-messages.c: Likewise.
2595         * locale/programs/ld-monetary.c: Likewise.
2596         * locale/programs/ld-name.c: Likewise.
2597         * locale/programs/ld-numeric.c: Likewise.
2598         * locale/programs/ld-paper.c: Likewise.
2599         * locale/programs/ld-telephone.c: Likewise.
2600         * locale/programs/ld-time.c: Likewise.
2601
2602         * localedata/tests-mbwc/tst_funcs.h (TST_HEAD_LOCALE): It is an error
2603         if the locale data couldn't be found.
2604
2605         * string/Makefile: Define tst-strxfrm-ENV.
2606
2607         * ysdeps/unix/sysv/linux/ia64/getcontext.S: Fix comment.
2608
2609 2001-04-06  Andreas Jaeger  <aj@suse.de>
2610
2611         * include/sys/profil.h: New file.
2612
2613         * dlfcn/modatexit.c: Add prototypes to silence GCC.
2614         * dlfcn/modcxaatexit.c: Likewise.
2615         * elf/globalmod1.c: Likewise.
2616
2617 2001-04-05  David S. Miller  <davem@redhat.com>
2618
2619         * elf/elf.h (HWCAP_SPARC_ULTRA3): Define it.
2620         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Add it to
2621         capability flags table and HWCAP_IMPORTANT, increase
2622         _DL_HWCAP_COUNT to 6.
2623         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
2624
2625 2001-04-04  David Mosberger  <davidm@hpl.hp.com>
2626
2627         * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Fix
2628         initialization of stack_end (bug reported by Zheng Gengbin
2629         <gzheng@students.uiuc.edu>).
2630
2631 2001-04-05  Ulrich Drepper  <drepper@redhat.com>
2632
2633         * sysdeps/i386/fpu/libm-test-ulps: Relax errors for asinl.
2634
2635 2001-04-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2636
2637         * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: New file.
2638
2639 2001-04-05  Ulrich Drepper  <drepper@redhat.com>
2640
2641         * sysdeps/ieee754/ldbl-96/e_asinl.c: Correct handling of +-Inf.
2642         * sysdeps/i386/fpu/e_asinl.S: Removed.  Too inaccurate.
2643
2644         * login/tst-utmp.c: Make file usable again in tst-utmpx.c.
2645
2646 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
2647
2648         * sysdeps/unix/sysv/aix/dl-libc.c: Don't use the ELF version,
2649         define simple replacements here.  Patch by Michael Keezer.
2650
2651         * sysdeps/ieee754/ldbl-128/e_logl.c: New file.
2652         * sysdeps/ieee754/ldbl-96/e_asinl.c: New file.
2653         Contributed by Stephen L Moshier <moshier@mediaone.net>.
2654
2655         * posix/fnmatch_loop.c: Undefine NEW_PATTERN when it is not used
2656         anymore.
2657
2658 2001-04-01  Andreas Jaeger  <aj@suse.de>
2659
2660         * sysdeps/generic/s_nextafter.c (NO_LONG_DOUBLE): Add nexttowardl
2661         alias.
2662
2663         * sysdeps/generic/s_fma.c (NO_LONG_DOUBLE): Add fmal alias.
2664
2665 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
2666
2667         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Add ucontext_i.h.
2668         * sysdeps/unix/sysv/linux/s390/s390-32/Dist: Likewise.
2669
2670 2001-04-04  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2671
2672         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: New file.
2673         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: New file.
2674         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: New file.
2675         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: New file.
2676         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: New file.
2677         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: New file.
2678         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: New file.
2679         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: New file.
2680         * sysdeps/unix/sysv/linux/s390/swapcontext.c: New file.
2681
2682 2001-04-04  Andreas Jaeger  <aj@suse.de>
2683
2684         * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_NO_REL): Move to right
2685         place.
2686
2687 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
2688
2689         * sunrpc/rpc_scan.c (symbols): Add entry for HYPER.
2690         * sunrpc/rpc_scan.h (enum tok_kind): Add TOK_HYPER.
2691         * sunrpc/rpc_parse.c (get_type): Handle TOK_HYPER.
2692         (unsigned_dec): Likewise.
2693         Patch by atai@jezebel.dreamhost.com.
2694
2695         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Pass
2696         pointer to int as last parameter of yp_match.
2697         Patch by kanazawa@flab.fujitsu.co.jp.
2698
2699 2001-04-03  Ulrich Drepper  <drepper@redhat.com>
2700
2701         * resolv/netdb.h (gai_strerror): Make return value const.
2702         * sysdeps/generic/gai_strerror.c (gai_strerror): Likewise.
2703         * sysdeps/posix/gai_strerror.c (gai_strerror): Likewise.
2704         Add strings for new error values.
2705
2706 2001-03-29  Michael Keezer  <mkeezer@redhat.com>
2707
2708         * posix/tst-gnuglob.c: Added ifdef _DIRENT_HAVE_D_TYPE.
2709         * login/tst-utmp.c: Handle case where ut_tv is not available but
2710         ut_time is.
2711         * sysdeps/unix/sysv/aix/utmpx.h: New file.
2712         * sysdeps/unix/sysv/aix/bits/utmpx.h: Added
2713         _HAVE_UT_TYPE/PID/ID/TV/HOST defines.
2714         * sysdeps/unix/sysv/aix/libc-start.c: Removed temp code and made stub.
2715         * sysdeps/unix/sysv/aix/gettimeofday.c: New file added routines
2716         to access RTCU timer reg.
2717         * sysdeps/unix/sysv/aix/Makefile: Remove /usr/lib/crt0.o
2718         added dl-libc, dl-open,dl-sym, dl-close to misc.
2719         * sysdeps/unix/sysv/aix/start.c: New file.  Start code.
2720         * sysdeps/unix/sysv/aix/dlldr.h: New file.  AIX __loadx defines.
2721         * sysdeps/unix/sysv/aix/dl-close.c: New file.  AIX dl-close.
2722         * sysdeps/unix/sysv/aix/dl-open.c: New file.  AIX dl-open.
2723         * sysdeps/unix/sysv/aix/dl-sym.c: New file.  AIX dl-sym.
2724         * sysdeps/unix/sysv/aix/dl-libc.c: New file.  libc_dl-xxx support.
2725         * sysdeps/generic/strtoll.c: Added SHLIB_COMPAT(libc,GLIBC_2_0,
2726         GLIBC_2_2).
2727         * sysdeps/generic/strtoull.c: Likewise.
2728         * sysdeps/powerpc/ppc-mcount.S: Added nop after bl instruction.
2729         * sysdeps/unix/sysv/aix/powerpc/memset.c: New file to include
2730         sysdeps/generic/memset.c.
2731         * sysdeps/unix/sysv/aix/getpeername.c: Define __getpeername.
2732
2733 2001-04-03  Ulrich Drepper  <drepper@redhat.com>
2734
2735         * iconv/Makefile (CFLAGS-charmap.c): Add -DNEED_NULL_POINTER.
2736         * locale/programs/charmap.c: Define null_pointer if
2737         NEED_NULL_POINTER is defined.
2738
2739         * misc/dirname.c (dirname): Handle multiple slashes correctly.
2740
2741 2001-04-03  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2742
2743         * sysdeps/s390/s390-64/initfini.c: Fix __gmon_start__ GOT access.
2744
2745 2001-04-03  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2746
2747         * sysdeps/s390/s390-32/bcopy.S: Optimize for speed.
2748         * sysdeps/s390/s390-64/bcopy.S: Likewise.
2749         * sysdeps/s390/s390-32/mempcy.S: Likewise.
2750         * sysdeps/s390/s390-64/memcpy.S: Likewise.
2751
2752 2001-04-02  Bruno Haible  <haible@clisp.cons.org>
2753
2754         * manual/message.texi (Advanced gettext functions): More specific
2755         syntax in the plural formula examples.
2756
2757 2001-04-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2758
2759         * sysdeps/powerpc/atomicity.h: Silence warnings.
2760         * sysdeps/powerpc/dl-machine.h: Likewise.
2761         * sysdeps/powerpc/register-dump.h: Likewise.
2762         * sysdeps/powerpc/fpu/s_lrint.c: Likewise.
2763
2764 2001-04-02  Andreas Jaeger  <aj@suse.de>
2765
2766         * misc/tst-dirname.c (main): Add more tests, derived from a bug
2767         report by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
2768
2769 2001-04-01  Andreas Jaeger  <aj@suse.de>
2770
2771         * debug/xtrace.sh (pcprofileso): Use SLIBDIR since libpcprofile.so
2772         is installed there.
2773         * malloc/memusage.sh (memusageso): Likewise for libmemusage.so.
2774
2775 2001-04-01  H.J. Lu  <hjl@gnu.org>
2776
2777         * posix/annexc.c (macrofile): Renamed from TMPFILE and set to
2778         tmpnam (NULL).
2779         * stdlib/isomac.c (macrofile): Likewise.
2780
2781 2001-03-30  Thorsten Kukuk  <kukuk@suse.de>
2782
2783         * inet/rcmd.c: Allow AF_UNSPEC as parameter.
2784         * nis/ypclnt.c (yp_all): Print error message only at last try,
2785         check for protocoll error only if we don't have a network error.
2786
2787 2001-04-02  Andreas Schwab  <schwab@suse.de>
2788
2789         * resolv/res_data.c (res_isourserver): Fix cast.
2790
2791 2001-04-02  Andreas Jaeger  <aj@suse.de>
2792
2793         * sysdeps/unix/sysv/linux/hppa/umount.c: Add prototype for
2794         __umount2.
2795
2796         * sysdeps/i386/dl-machine.h (RTLD_START): Don't use multi-line
2797         strings.
2798         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
2799
2800         * sysdeps/ieee754/dbl-64/uroot.h: Add missing braces arount
2801         initializers.
2802         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Likewise.
2803
2804         * elf/rtld.c (print_statistics)[!HP_TIMING_NONAVAIL]: Avoid
2805         warning about unused variable.
2806
2807         * string/string.h (strndupa): Add cast for C++ conformance.
2808         (strdupa): Likewise.
2809         Fixes PR libc/2173, reported by tbrowder@home.com.
2810
2811 2001-03-30  Roland McGrath  <roland@frob.com>
2812
2813         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't append
2814         options after $(build-module), which is no longer a single command.
2815         (LDFLAGS-link-rpcuserlibs): New variable to hold those options.
2816         (LDFLAGS-libmachuser-link.so, LDFLAGS-libhurduser-link.so): New
2817         variables using it.  Reported by Mark Kettenis <kettenis@gnu.org>.
2818
2819 2001-03-11  Roland McGrath  <roland@frob.com>
2820
2821         * elf/rtld.c (dl_main): Add cast to quiet warning.
2822         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2823         * iconv/gconv_conf.c (__gconv_get_path): Likewise.
2824         (__gconv_read_conf): Likewise.
2825         * iconv/gconv_db.c (gen_steps): Likewise.
2826         (__gconv_find_transform): Likewise.
2827         * locale/programs/charmap-dir.c (fopen_uncompressed): Likewise.
2828         (fopen_uncompressed): Use const in second argument's type.
2829
2830 2001-03-11  Roland McGrath  <roland@frob.com>
2831
2832         * sysdeps/mach/hurd/dl-sysdep.c (__writev): New function.
2833
2834         * mach/mach_error.h: Fix ancient #endif syntax.
2835         * hurd/hurdmalloc.c: Likewise.
2836
2837         * sysdeps/generic/atomicity.h (exchange_and_add, atomic_add,
2838         compare_and_swap): Add volatile qualifier to first arg, to bring
2839         these prototypes in line with all the other implementations.
2840         Add a #warning to remind the builder that these are not atomic.
2841
2842 2001-03-04  Roland McGrath  <roland@frob.com>
2843
2844         * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Use innermore first
2845         member of TEMP_F so its type is _IO_FILE * as expected.
2846
2847         * hurd/fopenport.c (seekio): Conditionalize type of POS argument
2848         on [USE_IN_LIBIO].  Check the value for overflow, since for libio
2849         it might exceed off_t's range.
2850
2851 2001-02-25  Roland McGrath  <roland@frob.com>
2852
2853         * sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): Use prototype.
2854         * sysdeps/unix/bsd/getpt.c (__posix_openpt): Likewise.
2855
2856         * sysdeps/mach/hurd/i386/intr-msg.h (SYSCALL_EXAMINE): Make this a
2857         macro instead of an inline function,
2858         (MSG_EXAMINE): Likewise.
2859
2860         * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): Remove extraneous ##.
2861
2862         * hurd/get-host.c: Include <string.h> for decls of built-ins.
2863         * hurd/hurdchdir.c: Likewise.
2864         * sysdeps/mach/hurd/i386/sigreturn.c: Likweise.
2865         * sysdeps/mach/hurd/opendir.c: Likewise.
2866
2867         * mach/mach_init.c: Include <unistd.h> for _exit decl.
2868
2869         * mach/errsystems.awk: Give output file a trailing newline.
2870
2871         * mach/Machrules (MIG): Prepend CC='${CC}' to the mig command, so that
2872         the script will use our compiler for the cpp stage.
2873
2874         With --enable-all-warnings we get a whole bunch of warnings,
2875         and these are just a few fixes; there are more needed to silence it.
2876         * mach/mach/mig_support.h (__mig_strncpy, mig_strncpy): Add extern
2877         decls before extern inline defns to quiet gcc warning.
2878         * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp): Likewise.
2879         * sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Likewise.
2880
2881 2001-03-31  Andreas Jaeger  <aj@suse.de>
2882
2883         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWHDLC): Added.
2884         (ARPHRD_HDLC): Define as alias for ARPHRD_CISCO.
2885         (ARPHRD_CISCO): New.
2886         Changes from Linux 2.4.3.
2887
2888 2001-03-30  Isamu Hasegawa  <isamu@yamato.ibm.com>
2889
2890         * posix/regex.c: Avoid an access violation if malloc fails.
2891
2892 2001-03-30  Andreas Jaeger  <aj@suse.de>
2893
2894         * sysdeps/alpha/ldiv.S (ldiv): Add alias for imaxdiv.
2895
2896 2001-03-29  Ulrich Drepper  <drepper@redhat.com>
2897
2898         * posix/regex.c: Remove unnecessary ifs.
2899
2900         * math/bits/mathcalls.h: Remove infnan declaration.
2901
2902 2001-03-29  H.J. Lu  <hjl@gnu.org>
2903
2904         * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF,
2905         and LOW_HALF only if _LIBC is defined and _ISOMAC is not defined.
2906         * stdlib/isomac.c (fmt): Define _LIBC and _ISOMAC.
2907
2908 2001-03-29  Isamu Hasegawa  <isamu@yamato.ibm.com>
2909
2910         * posix/regex.c: Fix typo and add a sentinel.
2911
2912 2001-03-29  Ulrich Drepper  <drepper@redhat.com>
2913
2914         * sysdeps/unix/sysv/linux/shm_open.c: Open new file always with
2915         O_NOFOLLOW.  Suggested by Christoph Roland.
2916
2917 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2918
2919         * sysdeps/s390/bits/string.h: New unified 31/64 bit string.h.
2920         * sysdeps/s390/s390-32/bits/string.h: Remove.
2921         * sysdeps/s390/s390-64/bits/string.h: Remove.
2922         * sysdeps/s390/s390-32/strcmp.S: New file.
2923         * sysdeps/s390/s390-64/strcmp.S: New file.
2924
2925 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2926
2927         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix typo.
2928         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
2929
2930 2001-03-27  Ulrich Drepper  <drepper@redhat.com>
2931
2932         * version.h (VERSION): Bump to 2.2.3.
2933
2934         * stdlib/isomac.c (fmt): Don't define _LIBC.
2935         * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF, and
2936         LOW_HALF only if _LIBC is defined.
2937
2938         * sysdeps/i386/fpu/libm-test-ulps: Slight adjustment of yn() error.
2939
2940         * posix/fnmatch_loop.c (FCT): Handle !() after * special like @()
2941         and +().
2942         * posix/tst-fnmatch.input: Add test cases for matching empty strings.
2943
2944         * sysdeps/ieee754/dbl-64/endian.h: Removed.  Move definitions...
2945         * include/endian.h: ...to here.
2946
2947 2001-03-27  kaz Kojima  <kkojima@rr.iij4u.or.jp>
2948
2949         * sysdeps/sh/sys/ucontext.h (NFREG): Rename to NFPREG.
2950         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NFREG): Likewise.
2951
2952 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2953
2954         * sysdeps/unix/sysv/linux/s390/ldconfig.h: Fix typo.
2955
2956 2001-03-26  Ulrich Drepper  <drepper@redhat.com>
2957
2958         * sysdeps/ia64/fpu/Dist: Add new files to distribute.
2959         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Likewise.
2960         * sysdeps/unix/sysv/linux/ia64/Dist: Likewise.
2961
2962         * gmon/Makefile (headers): Add sys/profil.h.
2963
2964 2001-03-18  Andreas Jaeger  <aj@suse.de>
2965
2966         * manual/install.texi (Tools for Compilation): Advise to use GCC
2967         2.95.3.
2968         (Supported Configurations): Mention s390x.
2969
2970 2001-03-26  Ben Collins  <bcollins@debian.org>
2971
2972         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Add MAP_* and MADV_*
2973         defines to match other architectures.
2974
2975 2001-03-26  Ulrich Drepper  <drepper@redhat.com>
2976
2977         * libio/Makefile (tests): Add tst-ext.
2978         * libio/tst-ext.c: New file.
2979
2980         * libio/iosetvbuf.c (_IO_setvbuf): Clear line buffer flag for _IONBF.
2981
2982 2001-03-25  Ulrich Drepper  <drepper@redhat.com>
2983
2984         Add changes which were in this form in the original patch by
2985         Eric Norum <eric.norum@usask.ca>.
2986         * include/rpc/rpc.h: Remove svc_fdset, rpc_createerr, svc_pollfd, and
2987         svc_max_pollfd.
2988         * sunrpc/rpc/rpc.h: Declare __rpc_thread_svc_fdset,
2989         __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
2990         __rpc_thread_svc_max_pollfd.
2991         Define svc_fdset, get_rpc_createerr, svc_pollfd, and
2992         svc_max_pollfd.
2993         * sunrpc/rpc_thread.c: Handle first thread special, it uses the
2994         global variables.
2995         Define __rpc_thread_svc_fdset, __rpc_thread_createerr,
2996         __rpc_thread_svc_pollfd, and __rpc_thread_svc_max_pollfd.
2997         * sunrpc/Versions [libc] (GLIBC_2.2.3): Export  __rpc_thread_svc_fdset,
2998         __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
2999         __rpc_thread_svc_max_pollfd.
3000         * sunrpc/clnt_gen.c: Replace use of rpc_createerr by call to
3001         get_rpc_createerr.
3002         * sunrpc/clnt_perr.c: Likewise.
3003         * sunrpc/clnt_simp.c: Likewise.
3004         * sunrpc/clnt_tcp.c: Likewise.
3005         * sunrpc/clnt_udp.c: Likewise.
3006         * sunrpc/clnt_unix.c: Likewise.
3007         * sunrpc/pm_getport.c: Likewise.
3008
3009         * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): getgroups32
3010         syscall checks for negative n so don't test here as well.
3011
3012 2001-03-23  Jes Sorensen  <jes@linuxcare.com>
3013
3014         * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Moved to ...
3015         * sysdeps/ia64/sysdep.h: ...here.
3016
3017         * sysdeps/ia64/sysdep.h (LOCAL_ENTRY): Define.
3018         * sysdeps/ia64/sysdep.h (LOCAL_LEAF): Define.
3019
3020         * sysdeps/ia64/_mcount.S (_mcount_ret_helper): Use LOCAL_LEAF() to
3021         declare instead of LEAF().  Suggestion from David Mosberger.
3022
3023 2001-03-21  David Mosberger  <davidm@hpl.hp.com>
3024
3025         * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Add unwind
3026         directives.
3027         (PSEUDO): Drop .psr and .lsb directives.
3028
3029         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Ditto.  Add unwind
3030         directives.
3031         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Ditto.
3032
3033         * sysdeps/ia64/elf/start.S: Misc cleanup: remove .psr and .lsb
3034         directives etc.
3035         * sysdeps/unix/sysv/linux/ia64/brk.S: Ditto.
3036         * sysdeps/unix/sysv/linux/ia64/__longjmp.S: Ditto.
3037         * sysdeps/ia64/_mcount.S: Remove .psr and .lsb directives (no
3038         longer needed).  Add unwind directives.
3039
3040         * sysdeps/ia64/sysdep.h: Define ASM_UNW_PRLG_RP, ASM_UNW_PRLG_PFS,
3041         ASM_UNW_PRLG_PSP, ASM_UNW_PRLG_PR, and ASM_UNW_PRLG_GRSAVE.
3042
3043 2001-03-21  Paul Eggert  <eggert@twinsun.com>
3044
3045         * posix/regex.h (RE_INVALID_INTERVAL_ORD): New macro.
3046         (RE_SYNTAX_POSIX_EGREP): Use it.
3047         * posix/regex.c (regex_compile): Implement it.
3048
3049 2001-03-21  Paul Eggert  <eggert@twinsun.com>
3050
3051         * posix/regex.c (GET_UNSIGNED_NUMBER): Check for overflow.
3052         Rewrite to avoid duplicate code.
3053
3054 2001-03-21  H.J. Lu  <hjl@gnu.org>
3055
3056         * elf/Makefile (tests): Don't depend on $(objpfx)tst-pathopt.out
3057         for cross-compiling.
3058         ($(objpfx)tst-pathopt.out): Undo the last change.
3059
3060 2001-03-24  Mark Kettenis  <kettenis@gnu.org>
3061
3062         * sysdeps/mach/hurd/i386/bits/sigcontext.h (sc_sp, sc_fp, sc_pc,
3063         sc_ps): Define as aliases for sc_uesp, sc_ebl, sc_eip and sc_efl.
3064
3065         * sysdeps/mach/hurd/i386/init-first.c: Include <assert.h>.
3066         (_dl_argv): Declare.
3067         (init) [SHARED]: Readjust _dl_argv if we switched to a new stack.
3068
3069 2001-03-22  Andreas Jaeger  <aj@suse.de>
3070
3071         * iconvdata/Makefile (generated): Add iconv-test.xxx.
3072
3073         * posix/Makefile (generated): Add bug-regex2.mtrace and
3074         bug-regex2-mem.
3075
3076 2001-03-21  Ulrich Drepper  <drepper@redhat.com>
3077
3078         * csu/version.c (__gnu_get_libc_release): Add prototype.
3079         (__gnu_get_libc_version): Likewise.
3080         * include/gnu/libc-version.h: Remove prototypes for not exported
3081         functions.
3082
3083 2001-03-21  Jes Sorensen  <jes@linuxcare.com>
3084
3085         * sysdeps/unix/sysv/linux/ia64/makecontext.c: Include libintl.h
3086         for internationalized printfs to work.
3087
3088 2001-03-09  Bruno Haible  <haible@clisp.cons.org>
3089
3090         * intl/dcigettext.c (transmem_block_t): Change to unsigned char, to
3091         avoid compiler warning.
3092         (_nl_find_msg): Add casts to avoid compiler warnings.
3093
3094 2001-03-21  Ulrich Drepper  <drepper@redhat.com>
3095
3096         * gmon/Makefile (routines): Add sprofil.
3097         (tests): Add tst-sprofil.
3098         (noprof): Add sprofil.
3099         * gmon/Versions [libc] (GLIBC_2.2.3): Add sprofil.
3100
3101 2001-03-20  David Mosberger  <davidm@hpl.hp.com>
3102
3103         * sysdeps/generic/sprofil.c: New file.
3104         * sysdeps/posix/sprofil.c: New file.
3105         * gmon/tst-sprofil.c: New file.
3106         * gmon/sys/profil.h: New file.
3107
3108 2001-03-20  Andreas Schwab  <schwab@suse.de>
3109
3110         * include/unistd.h: Adjust prototype of __gethostname.
3111
3112 2001-03-20  Jakub Jelinek  <jakub@redhat.com>
3113
3114         * sysdeps/sparc/stackinfo.h: New file.
3115
3116 2001-03-21  Andreas Jaeger  <aj@suse.de>
3117
3118         * elf/global.c (main): Use proper prototype.
3119
3120 2001-03-20  Ulrich Drepper  <drepper@redhat.com>
3121
3122         * sunrpc/Makefile (routines): Add rpc_thread.
3123         (CPPFLAGS): Add -D_RPC_THREAD_SAFE.
3124         * sunrpc/rpc_thread.c: New file.
3125         * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_destroy.
3126         * sunrpc/auth_none.c: Don't use global variables.  Access state in
3127         thread-local storage.
3128         * sunrpc/clnt_perr.c: Likewise.
3129         * sunrpc/clnt_raw.c: Likewise.
3130         * sunrpc/clnt_simp.c: Likewise.
3131         * sunrpc/key_call.c: Likewise.
3132         * sunrpc/rpc_common.c: Likewise.
3133         * sunrpc/svc.c: Likewise.
3134         * sunrpc/svc_raw.c: Likewise.
3135         * sunrpc/svc_simple.c: Likewise.
3136         * sunrpc/svcauth_des.c: Likewise.
3137         * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
3138         _HURD_THREADVAR_RPC_VARS.
3139         * sysdeps/generic/bits/libc-tsd.h: Mention _LIBC_TSD_KEY_RPC_VARS.
3140         * include/rpc/rpc.h: Define data structures for internal thread-local
3141         "global" variables.
3142         Based on patches by Eric Norum <eric.norum@usask.ca>.
3143
3144         * elf/dl-load.c: Various little optimizations.
3145
3146         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Return
3147         LINUX_LINK_MAX only if the statfs function is not implemented for
3148         the filesystem.
3149
3150         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Return
3151         LINUX_LINK_MAX only if the fstatfs function is not implemented for
3152         the filesystem.
3153
3154 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
3155
3156         * elf/dl-dst.h (DL_DST_COUNT): Add __builtin_expect.
3157
3158         * elf/dl-load.c (_dl_dst_count): Make DST recognition more robust.
3159         (_dl_dst_substitute): Likewise.
3160
3161 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
3162
3163         * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC]: Use fstat, not fstat64.
3164
3165 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
3166
3167         * intl/gettextP.h (struct expression): Add operators lnot, less_than,
3168         greater_than, less_or_equal, greater_or_equal.  Replace args2/args3
3169         union by a 'nargs' counter and an 'args[]' array.
3170         * intl/plural.y: Don't include stdarg.h.
3171         (new_exp): Take an array of arguments instead of varargs.
3172         (new_exp_0, new_exp_1, new_exp_2, new_exp_3): New functions.
3173         ('?' ':'): Make right-associative.
3174         (EQUOP2): New token, replaces '=' and '!'.
3175         (CMPOP2): New token.
3176         (ADDOP2): New token, replaces '+' and '-'.
3177         (MULOP2): New token, replaces '*', '/' and '%'.
3178         ('!'): New token.
3179         (exp): Add rules for CMPOP2 and '!'.  Don't call YYABORT.
3180         (start): Call YYABORT here.
3181         (FREE_EXPRESSION): Update.
3182         (yylex): Don't skip "\\n".  Recognize comparison and '!' operators.
3183         Update for new token symbols.
3184         * intl/loadmsgcat.c (plvar, plone, germanic_plural,
3185         init_germanic_plural): Update.
3186         * intl/dcigettext.c (_nl_find_msg): Optimize for space.
3187         (plural_eval): Recognize comparison and '!' operators.  Optimize for
3188         space.
3189
3190 2001-03-10  Bruno Haible  <haible@clisp.cons.org>
3191
3192         * intl/loadmsgcat.c (_nl_load_domain): locale_charset() doesn't return
3193         NULL any more.
3194
3195 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
3196
3197         * intl/loadmsgcat.c: Include headers needed for alloca().
3198         (freea): New macro.
3199         (_nl_load_domain): Add fallback code for platforms lacking alloca.
3200         * intl/localealias.c: (ADD_BLOCK, FREE_BLOCK): Remove macros.
3201         (freea): New macro.
3202         (read_alias_file): Simplify fallback code for platforms lacking
3203         alloca.
3204
3205 2001-01-07  Bruno Haible  <haible@clisp.cons.org>
3206
3207         * intl/gettextP.h (__gettextdebug): Remove declaration.
3208         (__gettext_free_exp, __gettextparse): Convert prototype to K&R C
3209         syntax.
3210         (gettext_free_exp__, gettextparse__): New non-libc declarations.
3211         * intl/plural.y [!_LIBC]: Define gettextparse__, gettext_free_exp__,
3212         not __gettextparse, __gettext_free_exp.
3213         * intl/loadmsgcat.c [!_LIBC]: Use gettextparse__, not __gettextparse.
3214
3215 2001-02-24  Bruno Haible  <haible@clisp.cons.org>
3216
3217         * intl/dcigettext.c: Update comment about HAVE_LOCALE_NULL.
3218
3219 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
3220
3221         * intl/loadmsgcat.c (_nl_load_domain): Add fallback code for platforms
3222         lacking strtoul, like SunOS4.
3223
3224 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
3225
3226         * intl/l10nflist.c (_nl_normalize_codeset): Use tolower, not _tolower.
3227
3228 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
3229
3230         * intl/bindtextdom.c (set_binding_values): Convert prototype to K&R C
3231         syntax.
3232         * intl/dcigettext.c (transcmp): Convert to K&R C syntax.
3233         * intl/explodename.c (_nl_find_language): Convert to K&R C syntax.
3234         * intl/plural.y (__gettext_free_exp, yylex, yyerror): Convert to K&R C
3235         syntax.
3236
3237 2001-01-07  Bruno Haible  <haible@clisp.cons.org>
3238
3239         * intl/gettextP.h (gettext__, dgettext__, dcgettext__, textdomain__,
3240         bindtextdomain__, bind_textdomain_codeset__): New declarations, from
3241         old libgettext.h.
3242         * intl/bindtextdom.c: Include libgnuintl.h instead of libgettext.h.
3243         * intl/dcgettext.c: Likewise.
3244         * intl/dcigettext.c: Likewise.
3245         * intl/dcngettext.c: Likewise.
3246         * intl/dngettext.c: Likewise.
3247         * intl/finddomain.c: Likewise.
3248         * intl/ngettext.c: Likewise.
3249         * intl/textdomain.c: Likewise.
3250         * intl/dgettext.c: Include libgnuintl.h instead of libgettext.h.
3251         Include gettextP.h.
3252         * intl/gettext.c: Likewise.  Don't include locale.h.
3253
3254 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
3255
3256         * intl/gettextP.h (ZERO): New macro.
3257         (struct binding): Always use ZERO.
3258         * intl/bindtextdom.c (offsetof): Provide fallback for platforms that
3259         lack it, like SunOS4.
3260         (set_binding_values): Use offsetof, not sizeof.
3261         * intl/dcigettext.c (offsetof): Provide fallback for platforms that
3262         lack it, like SunOS4.
3263         (ZERO): Remove macro.
3264         (struct transmem_list): Use ZERO.
3265         (DCIGETTEXT): Use offsetof, not sizeof.
3266
3267 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
3268
3269         * intl/gettextP.h: Include <stddef.h>.  Include gettext.h, for
3270         nls_uint32.
3271         * intl/bindtextdom.c: Don't include gettext.h.
3272         * intl/dcgettext.c: Likewise.
3273         * intl/dcigettext.c: Likewise.
3274         * intl/dcngettext.c: Likewise.
3275         * intl/dngettext.c: Likewise.
3276         * intl/finddomain.c: Likewise.
3277         * intl/localealias.c: Likewise.
3278         * intl/ngettext.c: Likewise.
3279         * intl/plural.y: Likewise.
3280         * intl/textdomain.c: Likewise.
3281
3282 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
3283
3284         * intl/gettext.h: Don't include <stdio.h>.
3285
3286 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
3287
3288         * intl/Makefile (CPPFLAGS): Set LOCALEDIR instead of GNULOCALEDIR.
3289         * intl/dcigettext.c (_nl_default_dirname): Initialize with LOCALEDIR.
3290
3291 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
3292
3293         * sysdeps/unix/i386/i686/tempname.c: New file.
3294
3295         * sysdeps/posix/tempname.c (__gen_tempname): If RANDOM_BITS is
3296         defined use this macro to get some bits of randomness instead of
3297         the usual gettimeofday or time calls.
3298
3299 2001-03-16  Paul Eggert  <eggert@twinsun.com>
3300
3301         * sysdeps/posix/tempname.c (uint64_t): Define to uintmax_t if
3302         not defined, and if UINT64_MAX is not defined.
3303
3304 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
3305
3306         * elf/cache.c: Mark and have translated a few more messages.
3307
3308 2001-03-19  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3309
3310         * elf/cache.c: Add case for FLAG_S390_LIB64.
3311         * sysdeps/generic/ldconfig.h: Add define for FLAG_S390_LIB64.
3312         * sysdeps/unix/sysv/linux/s390/ldconfig.h: New file.
3313         * sysdeps/unix/sysv/linux/s390/readelflib.c: New file.
3314
3315 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
3316
3317         * string/Makefile (tests): Add tst-strxfrm.
3318         * string/tst-strxfrm.c: New file.  Based on a test case by Paul Eggert.
3319         * string/Depend: New file.
3320
3321 2001-03-19  Paul Eggert  <eggert@twinsun.com>
3322
3323         * string/strxfrm.c (strxfrm): strxfrm should return 0, not 1,
3324         when given the empty string in nontrivial locales.
3325
3326 2001-03-17  H.J. Lu  <hjl@gnu.org>
3327
3328         * manual/Makefile (install): Use $(INSTALL_DATA) instead of
3329         cp to install `dir'.
3330
3331 2001-03-19  Andreas Schwab  <schwab@suse.de>
3332
3333         * Makerules (build-shlib): Make sure exit codes get checked
3334         properly.
3335
3336 2001-03-18  Ulrich Drepper  <drepper@redhat.com>
3337
3338         * Makerules (build-shlib): Remove unnecessary slashes introduced in
3339         last change.
3340
3341         * configure.in: Test for -Bgroup option of linker.
3342         * config.make.in: Define have-Bgroup.
3343
3344         * conform/data/unistd.h-data: Require gethostname.
3345         * posix/unistd.h: Make gethostname prototype available for
3346         __USE_XOPEN2K.
3347
3348         * crypt/Makefile: When generating DSO link with libc_nonshared.a.
3349         * debug/Makefile: Likewise.
3350         * dlfcn/Makefile: Likewise.
3351         * hesiod/Makefile: Likewise.
3352         * iconvdata/extra-module.mk: Likewise.
3353         * locale/Makefile: Likewise.
3354         * login/Makefile: Likewise.
3355         * math/Makefile: Likewise.
3356         * nis/Makefile: Likewise.
3357         * nss/Makefile: Likewise.
3358         * resolv/Makefile: Likewise.
3359         * rt/Makefile: Likewise.
3360
3361 2001-03-17  Ulrich Drepper  <drepper@redhat.com>
3362
3363         * inet/Makefile (tests): Remove left-over comment.
3364
3365         * posix/unistd.h (gethostname): Change type of second parameter
3366         back to size_t as per upcoming XPG6.
3367         * sysdeps/unix/sysv/aix/gethostname.c: Change type of second
3368         parameter back to size_t as per upcoming XPG6.
3369         * sysdeps/unix/sysv/sysv4/gethostname.c: Likewise.
3370         * sysdeps/unix/sysv/gethostname.c: Likewise.
3371         * sysdeps/mach/hurd/gethostname.c: Likewise.
3372         * sysdeps/generic/gethostname.c: Likewise.
3373
3374 2001-03-16  Ulrich Drepper  <drepper@redhat.com>
3375
3376         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
3377         Handle NaN here.
3378
3379         * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext):
3380         Internationalize.
3381
3382 2001-02-06  Jakub Jelinek  <jakub@redhat.com>
3383
3384         * elf/dl-load.c (_dl_map_object): Don't test l_opencount when
3385         looking for name matches.
3386
3387 2001-02-26  Jakub Jelinek  <jakub@redhat.com>
3388
3389         * sysdeps/generic/sigcontextinfo.h (CALL_SIGHANDLER): Define.
3390         * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
3391         * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
3392         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
3393         * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
3394         * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
3395         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
3396         * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
3397         * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
3398         * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
3399         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
3400         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
3401
3402 2001-03-16  Ulrich Drepper  <drepper@redhat.com>
3403
3404         * sysdeps/ieee754/ldbl-96/s_erfl.c: New file.
3405         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
3406
3407         * sysdeps/i386/fpu/libm-test-ulps: Adjust for addition of erfl and
3408         erfcl.
3409         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3410
3411 2001-03-16  David Mosberger  <davidm@hpl.hp.com>
3412
3413         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
3414         Drop hack that was needed for 2.1.1 kernel headers.
3415
3416         * sysdeps/unix/sysv/linux/ia64/ucontext_i.h: New file.
3417
3418         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Rewrite to make it
3419         overlay with kernel's "struct sigcontext".
3420
3421         * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep_headers): Add
3422         sys/rse.h for "misc" subdir.
3423         (sysdep_routines): Add __start_context for "stdlib" subdir.
3424
3425         * sysdeps/unix/sysv/linux/ia64/sys/rse.h: New file (based on
3426         kernel file of the same name).
3427
3428         * stdlib/Makefile (tests): Add tst-setcontext.
3429         * stdlib/tst-setcontext.c: New file (based on a sample program by
3430         Uli Drepper).
3431
3432         * sysdeps/unix/sysv/linux/ia64/setcontext.S: New file.
3433         * sysdeps/unix/sysv/linux/ia64/getcontext.S: New file.
3434         * sysdeps/unix/sysv/linux/ia64/__start_context.S: New file.
3435         * sysdeps/unix/sysv/linux/ia64/makecontext.c: New file.
3436         * sysdeps/unix/sysv/linux/ia64/swapcontext.c: New file.
3437
3438         * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): Use extr.u
3439         instead of shift & and.
3440
3441 2001-03-16  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3442
3443         * sysdeps/s390/s390-64/bits/huge_val.h: Move to...
3444         * sysdeps/s390/bits/huge_val.h: ...here.
3445         * sysdeps/s390/s390-32/bit/huge_val.h: Remove.
3446         * sysdeps/s390/s390-64/ffs.c: Move to...
3447         * sysdeps/s390/ffs.c: ...here.
3448         * sysdeps/s390/s390-32/ffs.c: Remove.
3449
3450 2001-03-16  Jakub Jelinek  <jakub@redhat.com>
3451
3452         * elf/ldconfig.c (search_dir): Remove bogus diagnostic, instead
3453         update osversion from more recent library.
3454
3455 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3456
3457         * sysdeps/unix/sysv/linux/s390/Dist: Move to...
3458         * sysdeps/unix/sysv/linux/s390/s390-32/Dist: ...here.
3459         * sysdeps/unix/sysv/linux/s390/Makefile: Move to...
3460         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: ...here.
3461         * sysdeps/unix/sysv/linux/s390/Versions: Move to...
3462         * sysdeps/unix/sysv/linux/s390/s390-32/Versions: ...here.
3463         * sysdeps/unix/sysv/linux/s390/alphasort64.c: Move to...
3464         * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: ...here.
3465         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Move to...
3466         * sysdeps/unix/sysv/linux/s390/s390-32/bits/fcntl.h: ...here.
3467         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Move to...
3468         * sysdeps/unix/sysv/linux/s390/s390-32/bits/mman.h: ...here.
3469         * sysdeps/unix/sysv/linux/s390/bits/resource.h: Move to...
3470         * sysdeps/unix/sysv/linux/s390/s390-32/bits/resource.h: ...here.
3471         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Move to...
3472         * sysdeps/unix/sysv/linux/s390/s390-32/bits/stat.h: ...here.
3473         * sysdeps/unix/sysv/linux/s390/chown.c: Move to...
3474         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: ...here.
3475         * sysdeps/unix/sysv/linux/s390/clone.S: Move to...
3476         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: ...here.
3477         * sysdeps/unix/sysv/linux/s390/fchown.c: Move to...
3478         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: ...here.
3479         * sysdeps/unix/sysv/linux/s390/fcntl.c: Move to...
3480         * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: ...here.
3481         * sysdeps/unix/sysv/linux/s390/fxstat.c: Move to...
3482         * sysdeps/unix/sysv/linux/s390/s390-32/fxstat.c: ...here.
3483         * sysdeps/unix/sysv/linux/s390/getdents64.c: Move to...
3484         * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: ...here.
3485         * sysdeps/unix/sysv/linux/s390/getegid.c: Move to...
3486         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: ...here.
3487         * sysdeps/unix/sysv/linux/s390/geteuid.c: Move to...
3488         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: ...here.
3489         * sysdeps/unix/sysv/linux/s390/getgid.c: Move to...
3490         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: ...here.
3491         * sysdeps/unix/sysv/linux/s390/getgroups.c: Move to...
3492         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: ...here.
3493         * sysdeps/unix/sysv/linux/s390/getresgid.c: Move to...
3494         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: ...here.
3495         * sysdeps/unix/sysv/linux/s390/getresuid.c: Move to...
3496         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: ...here.
3497         * sysdeps/unix/sysv/linux/s390/getrlimit.c: Move to...
3498         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: ...here.
3499         * sysdeps/unix/sysv/linux/s390/getrlimit64.c: Move to...
3500         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: ...here.
3501         * sysdeps/unix/sysv/linux/s390/getuid.c: Move to...
3502         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: ...here.
3503         * sysdeps/unix/sysv/linux/s390/lchown.c: Move to...
3504         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: ...here.
3505         * sysdeps/unix/sysv/linux/s390/lockf64.c: Move to...
3506         * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: ...here.
3507         * sysdeps/unix/sysv/linux/s390/lxstat.c: Move to...
3508         * sysdeps/unix/sysv/linux/s390/s390-32/lxstat.c: ...here.
3509         * sysdeps/unix/sysv/linux/s390/mmap.S: Move to...
3510         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: ...here.
3511         * sysdeps/unix/sysv/linux/s390/mmap64.S: Move to...
3512         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: ...here.
3513         * sysdeps/unix/sysv/linux/s390/msgctl.c: Move to...
3514         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: ...here.
3515         * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: Move to...
3516         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: ...here.
3517         * sysdeps/unix/sysv/linux/s390/readdir64.c: Move to...
3518         * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: ...here.
3519         * sysdeps/unix/sysv/linux/s390/readdir64_r.c: Move to...
3520         * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: ...here.
3521         * sysdeps/unix/sysv/linux/s390/register-dump.h: Move to...
3522         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: ...here.
3523         * sysdeps/unix/sysv/linux/s390/scandir64.c: Move to...
3524         * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: ...here.
3525         * sysdeps/unix/sysv/linux/s390/semctl.c: Move to...
3526         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: ...here.
3527         * sysdeps/unix/sysv/linux/s390/setegid.c: Move to...
3528         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: ...here.
3529         * sysdeps/unix/sysv/linux/s390/seteuid.c: Move to...
3530         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: ...here.
3531         * sysdeps/unix/sysv/linux/s390/setfsgid.c: Move to...
3532         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: ...here.
3533         * sysdeps/unix/sysv/linux/s390/setfsuid.c: Move to...
3534         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: ...here.
3535         * sysdeps/unix/sysv/linux/s390/setgid.c: Move to...
3536         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: ...here.
3537         * sysdeps/unix/sysv/linux/s390/setgroups.c: Move to...
3538         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: ...here.
3539         * sysdeps/unix/sysv/linux/s390/setregid.c: Move to...
3540         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: ...here.
3541         * sysdeps/unix/sysv/linux/s390/setresgid.c: Move to...
3542         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: ...here.
3543         * sysdeps/unix/sysv/linux/s390/setresuid.c: Move to...
3544         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: ...here.
3545         * sysdeps/unix/sysv/linux/s390/setreuid.c: Move to...
3546         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: ...here.
3547         * sysdeps/unix/sysv/linux/s390/setrlimit.c: Move to...
3548         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: ...here.
3549         * sysdeps/unix/sysv/linux/s390/setuid.c: Move to...
3550         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: ...here.
3551         * sysdeps/unix/sysv/linux/s390/shmctl.c: Move to...
3552         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: ...here.
3553         * sysdeps/unix/sysv/linux/s390/socket.S: Move to...
3554         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: ...here.
3555         * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Move to...
3556         * sysdeps/unix/sysv/linux/s390/s390-32/sys/procfs.h: ...here.
3557         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Move to...
3558         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: ...here.
3559         * sysdeps/unix/sysv/linux/s390/syscall.S: Move to...
3560         * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: ...here.
3561         * sysdeps/unix/sysv/linux/s390/syscalls.list: Move to...
3562         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: ...here.
3563         * sysdeps/unix/sysv/linux/s390/sysdep.S: Move to...
3564         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: ...here.
3565         * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
3566         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here.
3567         * sysdeps/unix/sysv/linux/s390/versionsort64.c: Move to...
3568         * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: ...here.
3569         * sysdeps/unix/sysv/linux/s390/xstat.c: Move to...
3570         * sysdeps/unix/sysv/linux/s390/s390-32/xstat.c: ...here.
3571
3572 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3573
3574         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: New file.
3575         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: New file.
3576         * sysdeps/unix/sysv/linux/s390/s390-64/bits/elfclass.h: New file.
3577         * sysdeps/unix/sysv/linux/s390/s390-64/bits/fcntl.h: New file.
3578         * sysdeps/unix/sysv/linux/s390/s390-64/bits/ipc.h: New file.
3579         * sysdeps/unix/sysv/linux/s390/s390-64/bits/mman.h: New file.
3580         * sysdeps/unix/sysv/linux/s390/s390-64/bits/msq.h: New file.
3581         * sysdeps/unix/sysv/linux/s390/s390-64/bits/resource.h: New file.
3582         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sem.h: New file.
3583         * sysdeps/unix/sysv/linux/s390/s390-64/bits/shm.h: New file.
3584         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: New file.
3585         * sysdeps/unix/sysv/linux/s390/s390-64/bits/siginfo.h: New file.
3586         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigstack.h: New file.
3587         * sysdeps/unix/sysv/linux/s390/s390-64/bits/stat.h: New file.
3588         * sysdeps/unix/sysv/linux/s390/s390-64/bits/types.h: New file.
3589         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: New file.
3590         * sysdeps/unix/sysv/linux/s390/s390-64/fstatfs64.c: New file.
3591         * sysdeps/unix/sysv/linux/s390/s390-64/ftruncate64.c: New file.
3592         * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: New file.
3593         * sysdeps/unix/sysv/linux/s390/s390-64/fxstat64.c: New file.
3594         * sysdeps/unix/sysv/linux/s390/s390-64/getdents.c: New file.
3595         * sysdeps/unix/sysv/linux/s390/s390-64/getdents64.c: New file.
3596         * sysdeps/unix/sysv/linux/s390/s390-64/getrlimit64.c: New file.
3597         * sysdeps/unix/sysv/linux/s390/s390-64/glob.c: New file.
3598         * sysdeps/unix/sysv/linux/s390/s390-64/glob64.c: New file.
3599         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: New file.
3600         * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: New file.
3601         * sysdeps/unix/sysv/linux/s390/s390-64/lxstat64.c: New file.
3602         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: New file.
3603         * sysdeps/unix/sysv/linux/s390/s390-64/mmap64.c: New file.
3604         * sysdeps/unix/sysv/linux/s390/s390-64/pread64.c: New file.
3605         * sysdeps/unix/sysv/linux/s390/s390-64/pwrite64.c: New file.
3606         * sysdeps/unix/sysv/linux/s390/s390-64/readdir.c: New file.
3607         * sysdeps/unix/sysv/linux/s390/s390-64/readdir64.c: New file.
3608         * sysdeps/unix/sysv/linux/s390/s390-64/readdir64_r.c: New file.
3609         * sysdeps/unix/sysv/linux/s390/s390-64/readdir_r.c : New file.
3610         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: New file.
3611         * sysdeps/unix/sysv/linux/s390/s390-64/setrlimit64.c: New file.
3612         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: New file.
3613         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: New file.
3614         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c: New file.
3615         * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: New file.
3616         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: New file.
3617         * sysdeps/unix/sysv/linux/s390/s390-64/statfs64.c: New file.
3618         * sysdeps/unix/sysv/linux/s390/s390-64/sys/procfs.h: New file.
3619         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: New file.
3620         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: New file.
3621         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: New file.
3622         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: New file.
3623         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: New file.
3624         * sysdeps/unix/sysv/linux/s390/s390-64/truncate64.c: New file.
3625         * sysdeps/unix/sysv/linux/s390/s390-64/xstat.c: New file.
3626         * sysdeps/unix/sysv/linux/s390/s390-64/xstat64.c: New file.
3627
3628 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3629
3630         * sysdeps/s390/Dist: Move to...
3631         * sysdeps/s390/390-32/Dist: ...here.
3632         * sysdeps/s390/Implies: Move to...
3633         * sysdeps/s390/s390-32/Implies: ...here.
3634         * sysdeps/s390/Makefile: Move to...
3635         * sysdeps/s390/s390-32/Makefile: ...here.
3636         * sysdeps/s390/Versions: Move to...
3637         * sysdeps/s390-32/s390/Versions: ...here.
3638         * sysdeps/s390/add_n.S: Move to...
3639         * sysdeps/s390/s390-32/add_n.S: ...here.
3640         * sysdeps/s390/addmul_1.S: Move to...
3641         * sysdeps/s390/s390-32/addmul_1.S: ...here.
3642         * sysdeps/s390/atomicity.h: Move to...
3643         * sysdeps/s390/s390-32/atomicity.h: ...here.
3644         * sysdeps/s390/backtrace.c: Move to...
3645         * sysdeps/s390/s390-32/backtrace.c: ...here.
3646         * sysdeps/s390/bcopy.S: Move to...
3647         * sysdeps/s390/s390-32/bcopy.S: ...here.
3648         * sysdeps/s390/bits/byteswap.h: Move to...
3649         * sysdeps/s390/s390-32/bits/byteswap.h: ...here.
3650         * sysdeps/s390/bits/huge_val.h: Move to...
3651         * sysdeps/s390/s390-32/bits/huge_val.h: ...here.
3652         * sysdeps/s390/bsd-_setjmp.S: Move to...
3653         * sysdeps/s390/s390-32/bsd-_setjmp.S: ...here.
3654         * sysdeps/s390/bsd-setjmp.S: Move to...
3655         * sysdeps/s390/s390-32/bsd-setjmp.S: ...here.
3656         * sysdeps/s390/bzero.S: Move to...
3657         * sysdeps/s390/s390-32/bzero.S: ...here.
3658         * sysdeps/s390/elf/bsd-_setjmp.S: Move to...
3659         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: ...here.
3660         * sysdeps/s390/elf/bsd-setjmp.S: Move to...
3661         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: ...here.
3662         * sysdeps/s390/elf/start.S: Move to...
3663         * sysdeps/s390/s390-32/elf/start.S: ...here.
3664         * sysdeps/s390/ffs.c: Move to...
3665         * sysdeps/s390/s390-32/ffs.c: ...here.
3666         * sysdeps/s390/memchr.S: Move to...
3667         * sysdeps/s390/s390-32/memchr.S: ...here.
3668         * sysdeps/s390/memcpy.S: Move to...
3669         * sysdeps/s390/s390-32/memcpy.S: ...here.
3670         * sysdeps/s390/memset.S: Move to...
3671         * sysdeps/s390/s390-32/memset.S: ...here.
3672         * sysdeps/s390/mul_1.S: Move to...
3673         * sysdeps/s390/s390-32/mul_1.S: ...here.
3674         * sysdeps/s390/s390-mcount.S: Move to...
3675         * sysdeps/s390/s390-32/s390-mcount.S: ...here.
3676         * sysdeps/s390/strcpy.S: Move to...
3677         * sysdeps/s390/s390-32/strcpy.S: ...here.
3678         * sysdeps/s390/strncpy.S: Move to...
3679         * sysdeps/s390/s390-32/strncpy.S: ...here.
3680         * sysdeps/s390/sub_n.S: Move to...
3681         * sysdeps/s390/s390-32/sub_n.S: ...here.
3682
3683 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3684
3685         * sysdeps/s390/s390-64/Dist: New file.
3686         * sysdeps/s390/s390-64/Implies: New file.
3687         * sysdeps/s390/s390-64/Makefile: New file.
3688         * sysdeps/s390/s390-64/__longjmp.c: New file.
3689         * sysdeps/s390/s390-64/add_n.S: New file.
3690         * sysdeps/s390/s390-64/atomicity.h: New file.
3691         * sysdeps/s390/s390-64/backtrace.c: New file.
3692         * sysdeps/s390/s390-64/bcopy.S: New file.
3693         * sysdeps/s390/s390-64/bits/byteswap.h: New file.
3694         * sysdeps/s390/s390-64/bits/huge_val.h: New file.
3695         * sysdeps/s390/s390-64/bits/setjmp.h: New file.
3696         * sysdeps/s390/s390-64/bits/string.h: New file.
3697         * sysdeps/s390/s390-64/bsd-_setjmp.S: New file.
3698         * sysdeps/s390/s390-64/bsd-setjmp.S: New file.
3699         * sysdeps/s390/s390-64/bzero.S: New file.
3700         * sysdeps/s390/s390-64/dl-machine.h: New file.
3701         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: New file.
3702         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: New file.
3703         * sysdeps/s390/s390-64/elf/setjmp.S: New file.
3704         * sysdeps/s390/s390-64/elf/start.S: New file.
3705         * sysdeps/s390/s390-64/ffs.c: New file.
3706         * sysdeps/s390/s390-64/initfini.c: New file.
3707         * sysdeps/s390/s390-64/memchr.S: New file.
3708         * sysdeps/s390/s390-64/memcpy.S: New file.
3709         * sysdeps/s390/s390-64/memset.S: New file.
3710         * sysdeps/s390/s390-64/s390x-mcount.S: New file.
3711         * sysdeps/s390/s390-64/setjmp.S: New file.
3712         * sysdeps/s390/s390-64/strcpy.S: New file.
3713         * sysdeps/s390/s390-64/strncpy.S: New file.
3714         * sysdeps/s390/s390-64/sub_n.S: New file.
3715         * sysdeps/s390/s390-64/sysdep.h: New file.
3716
3717 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3718
3719         * scripts/config.guess: Add support for Linux on 64 bit S/390.
3720         * scripts/config.sub: Likewise.
3721
3722 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3723
3724         * configure.in: Add support for 64 bit S/390.
3725
3726         * elf/elf.h: Add new relocations for 64 bit S/390.
3727
3728         * shlib-versions: Add rules for Linux on 64 bit S/390.
3729
3730 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3731
3732         * sysdeps/s390/__longjmp.c: Move to...
3733         * sysdeps/s390/s390-32/__longjmp.c: ...here.  Add code
3734         to load the floating point registers that should be saved
3735         according to the ABI.
3736
3737         * sysdeps/s390/bits/setjmp.h: Move to...
3738         * sysdeps/s390/s390-32/bits/setjmp.h: ...here.  Avoid
3739         the use of long long in the __jmp_buf type definition.
3740
3741         * sysdeps/s390/bits/string.h: Move to...
3742         * sysdeps/s390/s390-32/bits/string.h: ...here.  Add several missing
3743         #ifndef _FORCE_INLINES.
3744
3745         * sysdeps/s390/dl-machine.h: Move to...
3746         * sysdeps/s390/s390-32/dl-machine.h: ...here.  Add a check for the
3747         executables EI_CLASS in elf_machine_matches_host.
3748
3749         * sysdeps/s390/elf/setjmp.S: Move to...
3750         * sysdeps/s390/s390-32/elf/setjmp.S: ...here.  Replace
3751         branches to globally defined symbol __sigsetjmp by branches to
3752         a local label (this avoids the generation of a R_390_PC16DBL
3753         relocation in -fpic code).
3754
3755         * sysdeps/s390/gmp-mparam.h: Use defines from <bits/wordsize.h> to
3756         calculate BITS_PER_MP_LIMB, BYTES_PER_MP_LIMB and BITS_PER_LONGINT.
3757
3758         * sysdeps/s390/initfini.c: Move to...
3759         * sysdeps/s390/s390-32/initfini.c: ...here.  Replace ALIGN with
3760         ".align 4,0x07".
3761
3762         * sysdeps/s390/setjmp.S: Move to...
3763         * sysdeps/s390/s390-32/setjmp.S: ...here.  Add code to store the
3764         floating point registers that should be saved according to the ABI.
3765
3766         * sysdeps/s390/sys/ucontext.h: Remove since it is unused.
3767
3768         * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
3769         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here.  Include
3770         sysdeps/s390/s390-32/sysdep.h instead of sysdeps/s390/sysdep.h.
3771
3772 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3773
3774         * configure.in: Change machine=s390 to machine=s390/s390-32.
3775
3776         * elf/elf.h: Correct comment for R_390_PLT16DBL.
3777
3778 2001-03-12  Jakub Jelinek  <jakub@redhat.com>
3779
3780         * csu/Makefile (abi-tag.h): Define OS and version separately, allow
3781         version to be overriden from config.h.
3782         * csu/abi-note.S: Use OS and version separately, include config.h.
3783         * elf/dl-load.c (_dl_osversion): New.
3784         (_dl_map_object_from_fd): Kill some warnings.
3785         (open_verify): Check .note.ABI-tag of the library if present.
3786         * elf/Makefile (CPPFLAGS-dl-load.c): Add -I$(csu-objpfx).
3787         * elf/cache.c (struct cache_entry): Add osversion.
3788         (print_entry): Print osversion.
3789         (print_cache): Pass osversion to it.
3790         (compare): Sort according to osversion.
3791         (save_cache): Set osversion.
3792         (add_to_cache): Add osversion argument.
3793         * sysdeps/generic/ldconfig.h (add_to_cache, process_file,
3794         process_elf_file): Add osversion argument.
3795         * elf/readlib.c (process_file): Likewise.
3796         * sysdeps/generic/readelflib.c (process_elf_file): Likewise.
3797         * sysdeps/unix/sysv/linux/ia64/readelflib.c (process_elf_file,
3798         process_elf32_file, process_elf64_file): Likewise.
3799         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file,
3800         process_elf32_file, process_elf64_file): Likewise.
3801         * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file,
3802         process_elf32_file, process_elf64_file): Likewise.
3803         * elf/ldconfig.c (manual_link): Pass it.
3804         (search_dir): Issue diagnostic if two libs with the same soname in
3805         the same directory have different .note.ABI-tag.  Record osversion in
3806         dlib_entry and use it from there.
3807         (struct lib_entry): Remove.
3808         (struct dlib_entry): Add osversion.
3809         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Check
3810         osversion.
3811         * sysdeps/generic/dl-cache.h (struct file_entry_new): Replace __unused
3812         field with osversion.
3813         * sysdeps/generic/ldsodefs.h (_dl_osversion): Declare.
3814         * sysdeps/unix/sysv/linux/init-first.c: Include ldsodefs.h.
3815         * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Save kernel
3816         version in _dl_osversion.
3817         * sysdeps/unix/sysv/linux/configure.in: Define __ABI_TAG_VERSION.
3818         * Makerules (build-shlib-helper, build-module-helper): New.
3819         (build-shlib, build-module-helper): Make sure .note.ABI-tag comes
3820         early.
3821         * config.h.in (__ABI_TAG_VERSION): Add.
3822         * elf/dl-minimal.c (__strtoul_internal): Set endptr on return.
3823         * sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS):
3824         Handle LD_ASSUME_KERNEL.
3825         * sysdeps/unix/sysv/linux/dl-librecon.h: New.
3826
3827 2001-03-15  Ulrich Drepper  <drepper@redhat.com>
3828
3829         * timezone/antarctica: Update from tzdata2001a.
3830         * timezone/asia: Likewise.
3831         * timezone/australasia: Likewise.
3832         * timezone/backward: Likewise.
3833         * timezone/etcetera: Likewise.
3834         * timezone/europe: Likewise.
3835         * timezone/leapseconds: Likewise.
3836         * timezone/northamerica: Likewise.
3837         * timezone/southamerica: Likewise.
3838         * timezone/systemv: Likewise.
3839         * timezone/yearistype: Likewise.
3840         * timezone/zone.tab: Likewise.
3841         * timezone/tzdump.c: Update from tzcode2001a.
3842
3843 2001-03-15  H.J. Lu  <hjl@gnu.org>
3844
3845         * intl/Makefile: Fix a typo.
3846
3847 2001-03-14  David Mosberger  <davidm@hpl.hp.com>
3848
3849         * gmon/gmon.c (write_call_graph): Avoid unaligned accesses when
3850         writing arc structures.
3851
3852 2001-03-15  H.J. Lu  <hjl@gnu.org>
3853
3854         * elf/Makefile ($(objpfx)tst-pathopt.out): Protected against
3855         cross-compiling.
3856
3857 2001-03-13  Andreas Schwab  <schwab@suse.de>
3858
3859         * posix/PTESTS2C.sed: Replace literal CRs by `\r'.
3860
3861 2001-03-15  Ulrich Drepper  <drepper@redhat.com>
3862
3863         * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Fix test
3864         for control message fitting into message data.
3865         Patch by James Antill <james@and.org>.
3866
3867         * posix/tst-fnmatch.input: Add test case for FNM_PERIOD handling with
3868         FNM_EXTMATCH.
3869
3870         * posix/fnmatch_loop.c: Optimize handling of ?() and @().
3871         * posix/fnmatch.c: Define STRLEN and STRCAT appropriately.
3872
3873         * posix/Versions [libc] (GLIBC_2.2.3): Add fnmatch.
3874         * posix/fnmatch.c: Define with new default version GLIBC_2.2.3 to
3875         avoid running binaries with libc versions without FNM_EXTMATCH support.
3876
3877         * include/wchar.h: Add prototype for __wcscat.
3878         * wcsmbs/wcscat.c: Define __wcscat and make wcscat weak alias.
3879
3880         * posix/fnmatch.h (FNM_EXTMATCH): Define.
3881         * posix/fnmatch.c (NO_LEADING_PERIOD): Define.
3882         (posixly_correct): Move global variable here.
3883         (INT, EXT, END): Name new functions defined in fnmatch_loop.c.
3884         (fnmatch): Pretty printing.
3885         * posix/fnmatch_loop.c: Add code to handle FNM_EXTMATCH.
3886         * posix/tst-fnmatch.c: Recognize EXTMATCH flag.
3887         * posix/tst-fnmatch.input: Add tests for extended matching.
3888
3889         * posix/testfnm.c: Add test for patterns with multiple ** before /.
3890         * posix/fnmatch_loop.c: Fix problem with the test above.
3891
3892 2001-03-14  Ulrich Drepper  <drepper@redhat.com>
3893
3894         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove
3895         reference to usqrt.
3896
3897         * resolv/res_data.c (fp_nquery): Call __res_ninit not __res_init.
3898
3899 2001-03-12  Andreas Jaeger  <aj@suse.de>
3900
3901         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
3902         Use EM_X86_64 instead of EM_X8664.
3903
3904 2001-03-12  Ulrich Drepper  <drepper@redhat.com>
3905
3906         * sysdeps/ieee754/dbl-64/upow.h: Define nZERO and nINF.
3907
3908         * sysdeps/ieee754/dbl-64/e_remainder.c: Fix handling of boundary
3909         conditions.
3910
3911         * sysdeps/ieee754/dbl-64/e_pow.c: Fix handling of boundary
3912         conditions.
3913
3914         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Handle Inf and NaN
3915         correctly.
3916         (__cos): Likewise.
3917
3918         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Handle NaN
3919         correctly.
3920         (__ieee754_acos): Likewise.
3921
3922 2001-03-12  Andreas Jaeger  <aj@suse.de>
3923
3924         * sysdeps/unix/sysv/linux/s390/sysdep.h (_LINUX_S390_SYSDEP_H):
3925         Fix typo.  Patch by Martin Schwidefsky  <schwidefsky@de.ibm.com>.
3926
3927         * sysdeps/s390/bits/string.h: Protect __STRING_INLINE against
3928         redefinition.
3929
3930 2001-03-11  Roland McGrath  <roland@frob.com>
3931
3932         * sysdeps/mach/hurd/configure.in: Add a sanity check on $prefix.
3933
3934 2001-03-11  Ulrich Drepper  <drepper@redhat.com>
3935
3936         * sysdeps/ieee754/dbl-64/endian.h: Define also one of BIG_ENDI and
3937         LITTLE_ENDI.
3938
3939         * sysdeps/ieee754/dbl-64/MathLib.h (Init_Lib): Use void as
3940         parameter list.
3941
3942         Last-bit accurate math library implementation by IBM Haifa.
3943         Contributed by Abraham Ziv <ziv@il.ibm.com>, Moshe Olshansky
3944         <olshansk@il.ibm.com>, Ealan Henis <ealan@il.ibm.com>, and
3945         Anna Reitman <reitman@il.ibm.com>.
3946         * math/Makefile (dbl-only-routines): New variable.
3947         (libm-routines): Add $(dbl-only-routines).
3948         * sysdeps/ieee754/dbl-64/e_acos.c: Empty, definition is in e_asin.c.
3949         * sysdeps/ieee754/dbl-64/e_asin.c: Replaced with accurate asin
3950         implementation.
3951         * sysdeps/ieee754/dbl-64/e_atan2.c: Replaced with accurate atan2
3952         implementation.
3953         * sysdeps/ieee754/dbl-64/e_exp.c: Replaced with accurate exp
3954         implementation.
3955         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't use __kernel_sin and
3956         __kernel_cos.
3957         * sysdeps/ieee754/dbl-64/e_log.c: Replaced with accurate log
3958         implementation.
3959         * sysdeps/ieee754/dbl-64/e_remainder.c: Replaced with accurate
3960         remainder implementation.
3961         * sysdeps/ieee754/dbl-64/e_pow.c: Replaced with accurate pow
3962         implementation.
3963         * sysdeps/ieee754/dbl-64/e_sqrt.c: Replaced with accurate sqrt
3964         implementation.
3965         * sysdeps/ieee754/dbl-64/k_cos.c: Empty, definition is in s_sin.c.
3966         * sysdeps/ieee754/dbl-64/k_sin.c: Empty, definition is in s_sin.c.
3967         * sysdeps/ieee754/dbl-64/s_atan.c: Replaced with accurate atan
3968         implementation.
3969         * sysdeps/ieee754/dbl-64/s_cos.c: Empty, definition is in s_sin.c.
3970         * sysdeps/ieee754/dbl-64/s_sin.c: Replaced with accurate sin/cos
3971         implementation.
3972         * sysdeps/ieee754/dbl-64/s_sincos.c: Rewritten to not use __kernel_sin
3973         and __kernel_cos.
3974         * sysdeps/ieee754/dbl-64/s_tan.c: Replaced with accurate tan
3975         implementation.
3976         * sysdeps/ieee754/dbl-64/Dist: Add new non-code files.
3977         * sysdeps/ieee754/dbl-64/MathLib.h: New file.
3978         * sysdeps/ieee754/dbl-64/asincos.tbl: New file.
3979         * sysdeps/ieee754/dbl-64/atnat.h: New file.
3980         * sysdeps/ieee754/dbl-64/atnat2.h: New file.
3981         * sysdeps/ieee754/dbl-64/branred.c: New file.
3982         * sysdeps/ieee754/dbl-64/branred.h: New file.
3983         * sysdeps/ieee754/dbl-64/dla.h: New file.
3984         * sysdeps/ieee754/dbl-64/doasin.c: New file.
3985         * sysdeps/ieee754/dbl-64/doasin.h: New file.
3986         * sysdeps/ieee754/dbl-64/dosincos.c: New file.
3987         * sysdeps/ieee754/dbl-64/dosincos.h: New file.
3988         * sysdeps/ieee754/dbl-64/endian.h: New file.
3989         * sysdeps/ieee754/dbl-64/halfulp.c: New file.
3990         * sysdeps/ieee754/dbl-64/mpa.c: New file.
3991         * sysdeps/ieee754/dbl-64/mpa.h: New file.
3992         * sysdeps/ieee754/dbl-64/mpa2.h: New file.
3993         * sysdeps/ieee754/dbl-64/mpatan.c: New file.
3994         * sysdeps/ieee754/dbl-64/mpatan.h: New file.
3995         * sysdeps/ieee754/dbl-64/mpatan2.c: New file.
3996         * sysdeps/ieee754/dbl-64/mpexp.c: New file.
3997         * sysdeps/ieee754/dbl-64/mpexp.h: New file.
3998         * sysdeps/ieee754/dbl-64/mplog.c: New file.
3999         * sysdeps/ieee754/dbl-64/mplog.h: New file.
4000         * sysdeps/ieee754/dbl-64/mpsqrt.c: New file.
4001         * sysdeps/ieee754/dbl-64/mpsqrt.h: New file.
4002         * sysdeps/ieee754/dbl-64/mptan.c: New file.
4003         * sysdeps/ieee754/dbl-64/mydefs.h: New file.
4004         * sysdeps/ieee754/dbl-64/powtwo.tbl: New file.
4005         * sysdeps/ieee754/dbl-64/root.tbl: New file.
4006         * sysdeps/ieee754/dbl-64/sincos.tbl: New file.
4007         * sysdeps/ieee754/dbl-64/sincos32.c: New file.
4008         * sysdeps/ieee754/dbl-64/sincos32.h: New file.
4009         * sysdeps/ieee754/dbl-64/slowexp.c: New file.
4010         * sysdeps/ieee754/dbl-64/slowpow.c: New file.
4011         * sysdeps/ieee754/dbl-64/uasncs.h: New file.
4012         * sysdeps/ieee754/dbl-64/uatan.tbl: New file.
4013         * sysdeps/ieee754/dbl-64/uexp.h: New file.
4014         * sysdeps/ieee754/dbl-64/uexp.tbl: New file.
4015         * sysdeps/ieee754/dbl-64/ulog.h: New file.
4016         * sysdeps/ieee754/dbl-64/ulog.tbl: New file.
4017         * sysdeps/ieee754/dbl-64/upow.h: New file.
4018         * sysdeps/ieee754/dbl-64/upow.tbl: New file.
4019         * sysdeps/ieee754/dbl-64/urem.h: New file.
4020         * sysdeps/ieee754/dbl-64/uroot.h: New file.
4021         * sysdeps/ieee754/dbl-64/usncs.h: New file.
4022         * sysdeps/ieee754/dbl-64/utan.h: New file.
4023         * sysdeps/ieee754/dbl-64/utan.tbl: New file.
4024         * sysdeps/i386/fpu/branred.c: New file.
4025         * sysdeps/i386/fpu/doasin.c: New file.
4026         * sysdeps/i386/fpu/dosincos.c: New file.
4027         * sysdeps/i386/fpu/halfulp.c: New file.
4028         * sysdeps/i386/fpu/mpa.c: New file.
4029         * sysdeps/i386/fpu/mpatan.c: New file.
4030         * sysdeps/i386/fpu/mpatan2.c: New file.
4031         * sysdeps/i386/fpu/mpexp.c: New file.
4032         * sysdeps/i386/fpu/mplog.c: New file.
4033         * sysdeps/i386/fpu/mpsqrt.c: New file.
4034         * sysdeps/i386/fpu/mptan.c: New file.
4035         * sysdeps/i386/fpu/sincos32.c: New file.
4036         * sysdeps/i386/fpu/slowexp.c: New file.
4037         * sysdeps/i386/fpu/slowpow.c: New file.
4038         * sysdeps/ia64/fpu/branred.c: New file.
4039         * sysdeps/ia64/fpu/doasin.c: New file.
4040         * sysdeps/ia64/fpu/dosincos.c: New file.
4041         * sysdeps/ia64/fpu/halfulp.c: New file.
4042         * sysdeps/ia64/fpu/mpa.c: New file.
4043         * sysdeps/ia64/fpu/mpatan.c: New file.
4044         * sysdeps/ia64/fpu/mpatan2.c: New file.
4045         * sysdeps/ia64/fpu/mpexp.c: New file.
4046         * sysdeps/ia64/fpu/mplog.c: New file.
4047         * sysdeps/ia64/fpu/mpsqrt.c: New file.
4048         * sysdeps/ia64/fpu/mptan.c: New file.
4049         * sysdeps/ia64/fpu/sincos32.c: New file.
4050         * sysdeps/ia64/fpu/slowexp.c: New file.
4051         * sysdeps/ia64/fpu/slowpow.c: New file.
4052         * sysdeps/m68k/fpu/branred.c: New file.
4053         * sysdeps/m68k/fpu/doasin.c: New file.
4054         * sysdeps/m68k/fpu/dosincos.c: New file.
4055         * sysdeps/m68k/fpu/halfulp.c: New file.
4056         * sysdeps/m68k/fpu/mpa.c: New file.
4057         * sysdeps/m68k/fpu/mpatan.c: New file.
4058         * sysdeps/m68k/fpu/mpatan2.c: New file.
4059         * sysdeps/m68k/fpu/mpexp.c: New file.
4060         * sysdeps/m68k/fpu/mplog.c: New file.
4061         * sysdeps/m68k/fpu/mpsqrt.c: New file.
4062         * sysdeps/m68k/fpu/mptan.c: New file.
4063         * sysdeps/m68k/fpu/sincos32.c: New file.
4064         * sysdeps/m68k/fpu/slowexp.c: New file.
4065         * sysdeps/m68k/fpu/slowpow.c: New file.
4066
4067         * iconvdata/gconv-modules: Add a number of alias, mostly for IBM
4068         codepages.
4069
4070 2001-03-11  Andreas Jaeger  <aj@suse.de>
4071
4072         * elf/elf.h (EM_*): Synch with official list.
4073
4074 2001-03-07  David Mosberger  <davidm@hpl.hp.com>
4075
4076         * sysdeps/ia64/bits/fenv.h (FE_NONIEEE_ENV): New macro.
4077
4078 2001-03-07  Jes Sorensen  <jes@linuxcare.com>
4079
4080         * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Remove unused
4081         variables addr & len.
4082
4083 2001-02-22  Jes Sorensen  <jes@linuxcare.com>
4084
4085         * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Remove
4086         punctuation in asm constraint.
4087
4088 2001-03-07  Mark Kettenis  <kettenis@gnu.org>
4089
4090         * resolv/netdb.h [__USE_GNU]: Define __need_timespec and include
4091         <time.h> to get definition of `struct timespec'.
4092
4093 2001-03-08  Jakub Jelinek  <jakub@redhat.com>
4094
4095         * elf/rtld.c (dl_main): If tracing, warn about undefined symbols if
4096         LD_WARN=1, not if LD_WARN is unset.
4097
4098 2001-03-07  Andreas Schwab  <schwab@suse.de>
4099
4100         * elf/ldconfig.h: Moved to ...
4101         * sysdeps/generic/ldconfig.h: ... here.
4102         * sysdeps/unix/sysv/linux/i386/ldconfig.h: New file.
4103         * sysdeps/unix/sysv/linux/m68k/ldconfig.h: New file.
4104         * sysdeps/unix/sysv/linux/ia64/ldconfig.h: New file.
4105         * elf/readlib.c (interpreters, known_libs): Use
4106         SYSDEP_KNOWN_INTERPRETER_NAMES and SYSDEP_KNOWN_LIBRARY_NAMES
4107         instead of hard coding old names.
4108
4109 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
4110
4111         * catgets/Makefile (generated): Add test-gencat.h.
4112         (sample.SJIS.cat): Also generate header.
4113         * catgets/sample.SJIS: Add new set and message, both with symbolic
4114         names.
4115         * catgets/test-gencat.sh: Also compare generated header with what
4116         we expect.
4117
4118 2001-03-07  Jakub Jelinek  <jakub@redhat.com>
4119
4120         * catgets/gencat.c (read_input_file): Preserve properly symbolic
4121         names.
4122
4123 2001-03-06  Andreas Jaeger  <aj@suse.de>
4124
4125         * sysdeps/s390/dl-machine.h (elf_machine_relplt): Removed, it's not
4126         needed.
4127         (elf_machine_pltrel_p): Likewise.
4128         * sysdeps/powerpc/dl-machine.h: Likewise.
4129         * sysdeps/generic/dl-machine.h (elf_machine_pltrel_p): Likewise.
4130
4131 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
4132
4133         * sysdeps/unix/sysv/linux/arm/Dist: Add dl-procinfo.c and
4134         dl-procinfo.h.
4135
4136 2001-03-05  Philip Blundell  <philb@gnu.org>
4137
4138         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c: New file.
4139         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h: New file.
4140         * sysdeps/unix/sysv/linux/arm/Makefile [subdir=elf]
4141         (sysdep-dl-routines, sysdep_routines, sysdep-rtld-routines): Add
4142         dl-procinfo.
4143
4144 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
4145
4146         * dlfcn/tstatexit.c (main): Don't perform the test if __dso_handle
4147         is not available.
4148         * dlfcn/tstcxaatexit.c (main): Likewise.
4149
4150 2001-03-10  Andreas Jaeger  <aj@suse.de>
4151
4152         * sysdeps/i386/fpu/libm-test-ulps: Revert last patch.
4153
4154 2001-03-09  Andreas Jaeger  <aj@suse.de>
4155
4156         * sysdeps/s390/dl-machine.h (elf_machine_matches_host): Handle
4157         both new and old EM_S390 values.
4158         (EM_S390_OLD): New constant.
4159
4160         * elf/elf.h (EM_S390): Use official value.
4161
4162 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
4163
4164         * conform/data/sys/socket.h-data: Allow SO* symbols.
4165
4166 2001-03-07  Andreas Schwab  <schwab@suse.de>
4167
4168         * sysdeps/ia64/fpu/Makefile: Modify sysdep_routines instead of
4169         routines, and sysdep-CPPFLAGS instead of CPPFLAGS.
4170
4171 2001-03-07  Andreas Jaeger  <aj@suse.de>
4172
4173         * resolv/Makefile (routines): Only build gai_sigqueue when threads
4174         are available.
4175
4176 2001-03-07  Jakub Jelinek  <jakub@redhat.com>
4177
4178         * elf/ldconfig.c (_dl_sysdep_message): Remove.
4179         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Include
4180         ldsodefs.h.
4181         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
4182
4183         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Use
4184         _dl_error_printf instead of _dl_sysdep_error.
4185         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4186         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h (_dl_procinfo):
4187         Use _dl_printf instead of _dl_sysdep_message.
4188         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h (_dl_procinfo):
4189         Likewise.
4190
4191 2001-03-06  Ben Collins  <bcollins@debian.org>
4192
4193         * manual/arith.texi (Integers): Fix documentation of fast and
4194         least integer typedefs.
4195
4196 2001-03-06  Jakub Jelinek  <jakub@redhat.com>
4197
4198         * resolv/Depend: New file.
4199         * resolv/Makefile (extra-libs, tests): Build libanl and ga_test only
4200         when libpthread is built.
4201
4202 2001-03-06  Andreas Jaeger  <aj@suse.de>
4203
4204         * sysdeps/i386/fpu/libm-test-ulps: Add some deltas.
4205
4206         * sysdeps/sh/dl-machine.h (elf_machine_rela): Add missing comma.
4207         Patch by kaz Kojima <kkojima@rr.iij4u.or.jp>.
4208
4209 2001-03-05  Ulrich Drepper  <drepper@redhat.com>
4210
4211         * stdlib/Versions: Remove __new_exitfn again.  Not needed.
4212
4213 2001-03-05  Andreas Jaeger  <aj@suse.de>
4214
4215         * stdlib/msort.c (qsort): Don't use alloca in a function call.
4216
4217 2001-03-05  Ulrich Drepper  <drepper@redhat.com>
4218
4219         * sysdeps/unix/sysv/linux/bits/stat.h (__S_TYPEISMQ, __S_TYPEISSEM,
4220         __S_TYPEISSHM): Rewrite to enforce correct use the macros.  They still
4221         always return zero.
4222         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
4223         * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
4224         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
4225         * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Likewise.
4226         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
4227         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
4228         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
4229
4230 2001-03-04  Andreas Jaeger  <aj@suse.de>
4231
4232         * stdlib/longlong.h: Don't use multi-line strings.
4233         * iconvdata/tst-loading.c: Likewise.
4234
4235         * csu/Makefile ($(objpfx)version-info.h): Don't use multi-line
4236         string.
4237
4238 2001-03-04  Ulrich Drepper  <drepper@redhat.com>
4239
4240         * sysdeps/ia64/fpu/libm-test-ulps: Adjust for addition of lgammal.
4241
4242         * rt/lio_listio.c: Add a few asserts.
4243
4244         * elf/global.c: New file.
4245         * elf/globalmod1.c: New file.
4246         * elf/Makefile: Add rules to build and run global.
4247
4248         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Define SI_ASYNCNL.
4249         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
4250         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
4251         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4252         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
4253
4254         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: New file.
4255         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
4256
4257         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Fix handling of boundary cases.
4258
4259         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Always initialize sign variable.
4260         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
4261
4262         * sysdeps/i386/fpu/libm-test-ulps: Adjust after addition of lgammal.
4263
4264         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Fix typo in last change.
4265
4266 2001-03-04  Andreas Jaeger  <aj@suse.de>
4267
4268         * resolv/tst-aton.c: Add testcase for IP with four periods.
4269
4270         * resolv/inet_addr.c: Don't recognize an IP with four periods.
4271         Patch by Andre' Breiler <A.Breiler@gmx.net>.
4272
4273 2001-02-27  Philip Blundell  <pb@futuretv.com>
4274
4275         * elf/elf.h: Add new ARM definitions from latest (B-01)
4276         specification.  Correct naming of EF_ARM_ALIGN8 et al.
4277
4278 2001-03-04  Ulrich Drepper  <drepper@redhat.com>
4279
4280         * stdio-common/tst-printf.sh: Remove bashisms.
4281         Patch by Matthew Clarke <Matthew_Clarke@mindlink.bc.ca>.
4282
4283 2001-03-03  Ulrich Drepper  <drepper@redhat.com>
4284
4285         * Versions.def: Add libanl definition.
4286         * shlib-versions: Add entry for libanl.
4287         * resolv/Makefile (distribute): Add gai_misc.h and ga_test.c.
4288         (routines): Add gai_sigqueue.
4289         (extra-libs): Add libanl.
4290         (libanl-routines): New variable.
4291         Add rules to build libanl and ga_test.
4292         * resolv/Versions [libc] (GLIBC_2.2.3): Add __gai_sigqueue.
4293         [libanl]: New library.
4294         * resolv/netdb.h: Add definitions for libanl.
4295         * resolv/getaddrinfo_a.c: New file.
4296         * resolv/gai_cancel.c: New file.
4297         * resolv/gai_error.c: New file.
4298         * resolv/gai_misc.c: New file.
4299         * resolv/gai_misc.h: New file.
4300         * resolv/gai_notify.c: New file.
4301         * resolv/gai_suspend.c: New file.
4302         * resolv/ga_test.c: New file.
4303         * sysdeps/generic/gai_sigqueue.c: New file.
4304         * sysdeps/unix/sysv/linux/gai_sigqueue.c: New file.
4305         * sysdeps/generic/bits/siginfo.h: Allow __need_sigevent_t being defined
4306         and provide only that definition.
4307         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
4308         * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
4309         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
4310         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
4311         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4312         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
4313
4314         * rt/aio_misc.c: Fix typos in comments.
4315         * rt/lio_listio.c: Pretty printing.  Little optimization in request
4316         list handling.
4317
4318         * elf/rtld.c: Remove commented out code.
4319
4320         * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC):
4321         Update for real 2.4 kernels.
4322
4323 2001-03-01  Ulrich Drepper  <drepper@redhat.com>
4324
4325         * elf/dl-load.c: Pretty printing.
4326
4327         * elf/dl-object.c (_dl_new_object): Don't add the loader's scope
4328         twice.
4329
4330 2001-02-28  Ulrich Drepper  <drepper@redhat.com>
4331
4332         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle
4333         relocations which are not in ld.so if RTLD_BOOTSTRAP is defined.
4334
4335         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
4336
4337         * elf/dl-misc.c (_dl_debug_vdprintf): Fix typo visible on 64-bit
4338         machines.
4339
4340         * sysdeps/unix/sysv/linux/powerpc/sysdep.h (C_TEXT): Define.
4341
4342 2001-02-27  Ulrich Drepper  <drepper@redhat.com>
4343
4344         * sysdeps/powerpc/elf/libc-start.c: Use new output functions and
4345         _dl_debug_mask.
4346
4347         * elf/Versions [ld]: Don't export _dl_debug_message anymore.  Export
4348         _dl_debug_printf.
4349         * elf/dl-misc.c: Remove definition of _dl_sysdep_output and
4350         _dl_debug_message.  Define _dl_debug_vdprintf, _dl_debug_printf,
4351         _dl_debug_printf_c, and _dl_printf.
4352         * sysdeps/generic/ldsodefs.h: Don't declare _dl_sysdep_output,
4353         _dl_debug_message, _dl_sysdep_message, _dl_sysdep_error, and
4354         _dl_sysdep_fatal.  Declare _dl_debug_printf, _dl_debug_printf_c,
4355         _dl_printf, _dl_error_printf, and _dl_fatal_printf.
4356         * elf/dl-close.c: Replace use of old output functions with the new
4357         ones.
4358         * elf/dl-deps.c: Likewise.
4359         * elf/dl-error.c: Likewise.
4360         * elf/dl-fini.c: Likewise.
4361         * elf/dl-init.c: Likewise.
4362         * elf/dl-load.c: Likewise.
4363         * elf/dl-lookup.c: Likewise.
4364         * elf/dl-minimal.c: Likewise.
4365         * elf/dl-open.c: Likewise.
4366         * elf/dl-profile.c: Likewise.
4367         * elf/dl-reloc.c: Likewise.
4368         * elf/dl-version.c: Likewise.
4369         * elf/do-lookup.h: Likewise.
4370         * elf/rtld.c: Likewise.
4371         * sysdeps/generic/dl-cache.c: Likewise.
4372         * sysdeps/generic/dl-sysdep.c: Likewise.
4373         * sysdeps/generic/libc-start.c: Likewise.
4374         * sysdeps/i386/dl-machine.h: Likewise.
4375         * sysdeps/arm/dl-machine.h: Likewise.
4376         * sysdeps/hppa/dl-machine.h: Likewise.
4377         * sysdeps/m68k/dl-machine.h: Likewise.
4378         * sysdeps/powerpc/dl-machine.h: Likewise.
4379         * sysdeps/s390/dl-machine.h: Likewise.
4380         * sysdeps/sh/dl-machine.h: Likewise.
4381         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
4382         * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
4383         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
4384
4385         * sysdeps/generic/ldsodefs.h: Remove _dl_secure declaration.
4386
4387         * dlfcn/Makefile: Don't run tstatexit test unless .hidden is
4388         supported by assembler.
4389
4390         * sysdeps/generic/ldsodefs.h: Remove commented-out variable
4391         declaractions.
4392
4393         * elf/rtld.c: Little optimizations in handling _dl_lazy.
4394
4395         * elf/cache.c (save_cache): Portability changes.
4396         * elf/dl-profile.c (_dl_start_profile): Likewise.
4397
4398         * elf/sln.c: Cleanups.  Remove arbitrary limits.
4399
4400         * elf/dl-close.c: Replace _dl_debug_* variables with _dl_debug_mask.
4401         * elf/dl-deps.c: Likewise.
4402         * elf/dl-fini.c: Likewise.
4403         * elf/dl-init.c: Likewise.
4404         * elf/dl-load.c: Likewise.
4405         * elf/dl-lookup.c: Likewise.
4406         * elf/dl-open.c: Likewise.
4407         * elf/dl-reloc.c: Likewise.
4408         * elf/dl-support.c: Likewise.
4409         * elf/dl-version.c: Likewise.
4410         * elf/do-lookup.h: Likewise.
4411         * elf/rtld.c: Likewise.
4412         * sysdeps/generic/dl-cache.c: Likewise.
4413         * sysdeps/generic/ldsodefs.h: Likewise.
4414         * sysdeps/generic/libc-start.c: Likewise.
4415         * elf/Versions: Don't export _dl_debug_impcalls and _dl_debug_files.
4416         Export _dl_debug_mask.
4417         * Versions.def: Define GLIBC_2.2.3 for ld.
4418
4419 2001-02-26  Greg McGary  <greg@mcgary.org>
4420
4421         * sysdeps/unix/make-syscalls.sh (ptr): Handle `V' keyletter.
4422
4423 2001-02-26  Paul Eggert  <eggert@twinsun.com>
4424
4425         Modify mkstemp.c and tempname.c so that they can be used by
4426         GNU applications on non-glibc platforms.
4427
4428         * misc/mkstemp.c (__GT_FILE): Define to zero if not defined.
4429
4430         * sysdeps/posix/tempname.c: Include <config.h> if HAVE_CONFIG_H.
4431         Include <stddef.h>, <stdint.h>, <string.h> only if
4432         STDC_HEADERS || _LIBC.
4433         Include <fcntl.h> only if HAVE_FCNTL_H || _LIBC.
4434         Include <unistd.h> only if HAVE_UNISTD_H || _LIBC.
4435         Include <sys/time.h> only if HAVE_SYS_TIME_H || _LIBC.
4436         (__set_errno): Define this macro if <errno.h> doesn't.
4437         (P_tmpdir, TMP_MAX, __GT_FILE, __GT_BIGFILE, __GT_DIR, __GT_NOCREATE):
4438         Define these macros if <stdio.h> doesn't.
4439         (S_ISDIR, S_IRUSR, S_IWUSR, S_IXUSR):
4440         Define these macros if <sys/stat.h> doesn't.
4441         Ignore <sys/stat.h> S_ISDIR if STAT_MACROS_BROKEN.
4442         (stat64, __getpid, __gettimeofday, __mkdir, __open, __open64,
4443         lxstat64, __xstat64): Define if not _LIBC.
4444         (struct_stat64): New macro.
4445         (direxists, __gen_tempname): Use it, to avoid a
4446         portability problem with Solaris 8.
4447         (__secure_getenv): Define if ! (HAVE___SECURE_GETENV || _LIBC).
4448         (__gen_tempname): Invoke gettimeofday only if
4449         HAVE_GETTIMEOFDAY || _LIBC; otherwise, fall back on plain "time".
4450         Use portable macros like S_IRUSR | S_IWUSR rather than nonportable
4451         octal values like 0600.
4452
4453 2001-02-26  Ulrich Drepper  <drepper@redhat.com>
4454
4455         * sysdeps/ieee754/ldbl-96/e_jnl.c: New file.
4456         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
4457
4458         * sysdeps/i386/fpu/libm-test-ulps: Update for jnl and ynl introduction.
4459         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4460
4461         * posix/wordexp-test.c (testit): Remove warnings.
4462
4463         * dlfcn/Makefile (distribute): Add modatexit.c and modcxaatexit.c.
4464         (tests): Add tstatexit and tstcxaatexit.
4465         (module-names): Add modatexit and modcxaatexit.
4466         Add rules to build and run tstatexit and tstcxaatexit.
4467         * dlfcn/modatexit.c: New file.
4468         * dlfcn/modcxaatexit.c: New file.
4469         * dlfcn/tstatexit.c: New file.
4470         * dlfcn/tstcxaatexit.c: New file.
4471
4472         * io/Makefile: Pass -DHAVE_DOT_HIDDEN to stat and mknod functions if
4473         .hidden is available.
4474         * io/stat.c: If .hidden is available use it to avoid exporting
4475         functions.
4476         * io/fstat.c: Likewise.
4477         * io/lstat.c: Likewise.
4478         * io/stat64.c: Likewise.
4479         * io/fstat64.c: Likewise.
4480         * io/lstat64.c: Likewise.
4481         * sysdeps/generic/mknod.c: Likewise.
4482
4483         * malloc/mtrace.c: Use __cxa_atexit and not atexit.
4484         * sysdeps/generic/bb_init_func.c: Likewise.
4485         * sysdeps/generic/libc-start.c: Likewise.
4486
4487         * stdlib/atexit.c (__new_exitfn): Move to cxa_atexit.c.
4488         (atexit): Implement using __cxa_atexit.
4489         Use .hidden if availble to avoid exporting atexit.
4490         * stdlib/cxa_atexit.c (__new_exitfn): Moved to here from atexit.c.
4491         * stdlib/Versions: Export __new_exitfn for GLIBC_2.2.3.
4492         * stdlib/Makefile (routines): Add old_atexit.
4493         (static-only-routines): Add atexit.
4494         Pass -DHAVE_DOT_HIDDEN for atexit.c if .hidden is available.
4495         * stdlib/old_atexit.c: New file.
4496
4497         * intl/Makefile: Remove bogus endif.
4498
4499 2001-02-26  Andreas Jaeger  <aj@suse.de>
4500
4501         * iconvdata/Makefile (tests): Fix typo in last patch.
4502
4503         * intl/Makefile (tests): Run mtrace-tst-gettext only when perl is
4504         available.
4505         Reported by Achim Gottinger <achim@gentoo.org>.
4506
4507 2001-02-25  Andreas Jaeger  <aj@suse.de>
4508
4509         * intl/Makefile (plural.c): Reorder rules so that they work if
4510         BISON doesn't exist.
4511
4512 2001-02-25  Ulrich Drepper  <drepper@redhat.com>
4513
4514         * intl/locale.alias: Don't use nb_NO but define aliases for it.
4515
4516 2001-02-23  Ulrich Drepper  <drepper@redhat.com>
4517
4518         * sysdeps/i386/strtok.S: Continue to return NULL after the first
4519         time this happened.
4520
4521 2001-02-23  Andreas Jaeger  <aj@suse.de>
4522
4523         * string/tester.c (test_strtok_r): Add testcase.
4524         (test_strtok_r): Always initialize cp for proper checking.
4525
4526         * sysdeps/generic/strtok.c (strtok): Handle case of first strtok
4527         returning NULL correctly.
4528         Patch by Fumitoshi UKAI <ukai@debian.or.jp>.
4529         * sysdeps/generic/strtok_r.c (__strtok_r): Likewise.
4530
4531 2001-02-23  Ulrich Drepper  <drepper@redhat.com>
4532
4533         * sysdeps/unix/sysv/aix/bits/types.h: Define __need_NULL before
4534         including <stddef.h>.
4535         * sysdeps/unix/sysv/aix/write.c: Define alias __libc_write.
4536         * include/libc-symbols.h (weak_alias): Don't use .weak if
4537         HAVE_ASM_GLOBAL_DOT_NAME is defined.
4538         Patches by Michael Keezer <mkeezer@redhat.com>.
4539
4540         * sysdeps/generic/ftime.c: Don't include <sys/time.h> at all.
4541         Patch by Michael Keezer <mkeezer@redhat.com>.
4542
4543         * sysdeps/unix/sysv/aix/Dist: Remove restf.S and savef.S.
4544         * sysdeps/unix/sysv/aix/Makefile [$(subdir) == misc]
4545         (sysdep_routines): Remove restf.S and savef.S.
4546         * sysdeps/unix/sysv/aix/restf.S: Removed.
4547         * sysdeps/unix/sysv/aix/savef.S: Removed.
4548         * sysdeps/powerpc/fprrest.S: Use C_TEXT to define label.  Also define
4549         alternative names used on some platforms.
4550         * sysdeps/powerpc/fprsave.S: Likewise.
4551         * sysdeps/powerpc/gprrest0.S: Likewise.
4552         * sysdeps/powerpc/gprrest1.S: Likewise.
4553         * sysdeps/powerpc/gprsave0.S: Likewise.
4554         * sysdeps/powerpc/gprsave1.S: Likewise.
4555         Patch by Michael Keezer <mkeezer@redhat.com>.
4556
4557 2001-02-22  Ulrich Drepper  <drepper@redhat.com>
4558
4559         * sysdeps/i386/elf/start.S (_fp_hw): Actually define label.
4560
4561 2001-02-22  Andreas Jaeger  <aj@suse.de>
4562
4563         * string/tst-strtok.c (main): Fix error messages.
4564
4565 2001-02-22  Andreas Jaeger  <aj@suse.de>
4566
4567         * math/Makefile: Remove omit-long-double-fcts.
4568
4569 2001-02-18  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
4570
4571         * sysdeps/mips/bsd-_setjmp.S (_setjmp): Reorder instructions to
4572         avoid problems on MIPS I.
4573         * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
4574
4575         * sysdeps/mips/dl-machine.h (RTLD_START): Remove duplicate ".set
4576         noreorder".
4577
4578 2001-02-21  Ulrich Drepper  <drepper@redhat.com>
4579
4580         * posix/fnmatch_loop.c: Handle ranges outside glibc correctly.
4581
4582         * sysdeps/generic/ftime.c: Include <time.h>.
4583
4584         * configure.in: Don't check for libgd if user passed --without-gd.
4585         Patch by Achim Gottinger <achim@gentoo.org>.
4586
4587         * sysdeps/i386/i686/strtok.S: Continue to return NULL after the
4588         first time this happened.
4589         * string/Makefile (tests): Add tst-strtok.
4590
4591 2001-02-21  Andreas Jaeger  <aj@suse.de>
4592
4593         * string/tst-strtok.c: New testcase, reported by
4594         Andrew Church <achurch@achurch.org>.
4595
4596 2001-02-20  Ulrich Drepper  <drepper@redhat.com>
4597
4598         * libio/iofwide.c: Remove fwide alias.
4599
4600 2001-02-20  Andreas Jaeger  <aj@suse.de>
4601
4602         * iconvdata/Makefile (tests): Only run mtrace-tst-loading if perl
4603         is available.
4604         Reported by Achim Gottinger <achim@gentoo.org>.
4605
4606 2001-02-19  Ulrich Drepper  <drepper@redhat.com>
4607
4608         * iconv/tst-iconv1.c (main): Remove debugging code.
4609
4610         * sysdeps/ieee754/flt-32/e_powf.c: Handle x == +-1 correctly.
4611         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4612
4613         * sysdeps/generic/e_scalb.c: Set invalid exception for invalid
4614         parameters.
4615         * sysdeps/generic/e_scalbf.c: Likewise.
4616         * sysdeps/generic/e_scalbl.c: Likewise.
4617
4618         * sysdeps/ia64/fpu/Makefile (libm-sysdep-routines): Add libm_error,
4619         libm_frexp4, libm_frexp4f, libm_frexp4l, and all the functions also
4620         in libc.
4621         (routines): Replace libm_error with libc_libm_error.
4622         * sysdeps/ia64/fpu/Dist: Add libc_libm_error.c.
4623         * sysdeps/ia64/fpu/libc_libm_error.c: New file.
4624
4625 2001-02-18  Mark Kettenis  <kettenis@gnu.org>
4626
4627         * malloc/mtrace.c [USE_IN_LIBIO]: Define fopen as _IO_fopen64.
4628         (mtrace): Revert 2001-02-13 patch: use fopen instead of fopen64.
4629
4630 2001-02-17  H.J. Lu  <hjl@gnu.org>
4631
4632         * sysdeps/unix/sysv/linux/ia64/clone2.S: Use clone2 and don't use
4633         scratch registers across the system call.
4634
4635 2001-02-19  Andreas Jaeger  <aj@suse.de>
4636
4637         * malloc/Makefile (tests): Run mtrace only when perl is available.
4638         Reported by Achim Gottinger <achim@gentoo.org>.
4639
4640 2001-02-19  Ulrich Drepper  <drepper@redhat.com>
4641
4642         * sysdeps/ieee754/ldbl-96/e_j1l.c: New file.
4643         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
4644
4645         * sysdeps/i386/fpu/libm-test-ulps: Adjust error values for j1 and y1.
4646         * sysdeps/ia64/fpu/libm-test-ulps: Adjust error values for y1.
4647         * math/libm-test.inc (j1_test): Mark constants as long double.
4648         (jn_test): Likewise.
4649         (y1_test): Likewise.
4650         (yn_test): Likewise.
4651
4652         * libio/iogetline.c: Move return until after last statement.
4653
4654         * localedata/show-ucs-data.c: Don't show < > for better readability.
4655
4656         * sysdeps/ia64/fpu/Dist: New file.
4657         * sysdeps/ia64/fpu/Makefile: New file.
4658         * sysdeps/ia64/fpu/Versions: New file.
4659         * sysdeps/ia64/fpu/e_acos.S: New file.
4660         * sysdeps/ia64/fpu/e_acosf.S: New file.
4661         * sysdeps/ia64/fpu/e_acosl.S: New file.
4662         * sysdeps/ia64/fpu/e_asin.S: New file.
4663         * sysdeps/ia64/fpu/e_asinf.S: New file.
4664         * sysdeps/ia64/fpu/e_asinl.S: New file.
4665         * sysdeps/ia64/fpu/e_atan2.S: New file.
4666         * sysdeps/ia64/fpu/e_atan2f.S: New file.
4667         * sysdeps/ia64/fpu/e_atan2l.c: New file.
4668         * sysdeps/ia64/fpu/e_cosh.S: New file.
4669         * sysdeps/ia64/fpu/e_coshf.S: New file.
4670         * sysdeps/ia64/fpu/e_coshl.S: New file.
4671         * sysdeps/ia64/fpu/e_exp.S: New file.
4672         * sysdeps/ia64/fpu/e_expf.S: New file.
4673         * sysdeps/ia64/fpu/e_expl.c: New file.
4674         * sysdeps/ia64/fpu/e_fmod.S: New file.
4675         * sysdeps/ia64/fpu/e_fmodf.S: New file.
4676         * sysdeps/ia64/fpu/e_fmodl.S: New file.
4677         * sysdeps/ia64/fpu/e_hypot.S: New file.
4678         * sysdeps/ia64/fpu/e_hypotf.S: New file.
4679         * sysdeps/ia64/fpu/e_hypotl.S: New file.
4680         * sysdeps/ia64/fpu/e_log.S: New file.
4681         * sysdeps/ia64/fpu/e_log10.c: New file.
4682         * sysdeps/ia64/fpu/e_log10f.c: New file.
4683         * sysdeps/ia64/fpu/e_log10l.c: New file.
4684         * sysdeps/ia64/fpu/e_logf.S: New file.
4685         * sysdeps/ia64/fpu/e_logl.c: New file.
4686         * sysdeps/ia64/fpu/e_pow.S: New file.
4687         * sysdeps/ia64/fpu/e_powf.S: New file.
4688         * sysdeps/ia64/fpu/e_powl.S: New file.
4689         * sysdeps/ia64/fpu/e_rem_pio2.c: New file.
4690         * sysdeps/ia64/fpu/e_rem_pio2f.c: New file.
4691         * sysdeps/ia64/fpu/e_remainder.S: New file.
4692         * sysdeps/ia64/fpu/e_remainderf.S: New file.
4693         * sysdeps/ia64/fpu/e_remainderl.S: New file.
4694         * sysdeps/ia64/fpu/e_scalb.S: New file.
4695         * sysdeps/ia64/fpu/e_scalbf.S: New file.
4696         * sysdeps/ia64/fpu/e_scalbl.S: New file.
4697         * sysdeps/ia64/fpu/e_sinh.S: New file.
4698         * sysdeps/ia64/fpu/e_sinhf.S: New file.
4699         * sysdeps/ia64/fpu/e_sinhl.S: New file.
4700         * sysdeps/ia64/fpu/e_sqrt.S: New file.
4701         * sysdeps/ia64/fpu/e_sqrtf.S: New file.
4702         * sysdeps/ia64/fpu/e_sqrtl.S: New file.
4703         * sysdeps/ia64/fpu/k_rem_pio2.c: New file.
4704         * sysdeps/ia64/fpu/k_rem_pio2f.c: New file.
4705         * sysdeps/ia64/fpu/k_rem_pio2l.c: New file.
4706         * sysdeps/ia64/fpu/libm_atan2_reg.S: New file.
4707         * sysdeps/ia64/fpu/libm_error.c: New file.
4708         * sysdeps/ia64/fpu/libm_frexp4.S: New file.
4709         * sysdeps/ia64/fpu/libm_frexp4f.S: New file.
4710         * sysdeps/ia64/fpu/libm_frexp4l.S: New file.
4711         * sysdeps/ia64/fpu/libm_reduce.S: New file.
4712         * sysdeps/ia64/fpu/libm_support.h: New file.
4713         * sysdeps/ia64/fpu/libm_tan.S: New file.
4714         * sysdeps/ia64/fpu/s_atan.S: New file.
4715         * sysdeps/ia64/fpu/s_atanf.S: New file.
4716         * sysdeps/ia64/fpu/s_atanl.S: New file.
4717         * sysdeps/ia64/fpu/s_cbrt.S: New file.
4718         * sysdeps/ia64/fpu/s_cbrtf.S: New file.
4719         * sysdeps/ia64/fpu/s_cbrtl.S: New file.
4720         * sysdeps/ia64/fpu/s_ceil.S: New file.
4721         * sysdeps/ia64/fpu/s_ceilf.S: New file.
4722         * sysdeps/ia64/fpu/s_ceill.S: New file.
4723         * sysdeps/ia64/fpu/s_cos.S: New file.
4724         * sysdeps/ia64/fpu/s_cosf.S: New file.
4725         * sysdeps/ia64/fpu/s_cosl.S: New file.
4726         * sysdeps/ia64/fpu/s_expm1.S: New file.
4727         * sysdeps/ia64/fpu/s_expm1f.S: New file.
4728         * sysdeps/ia64/fpu/s_expm1l.S: New file.
4729         * sysdeps/ia64/fpu/s_floor.S: New file.
4730         * sysdeps/ia64/fpu/s_floorf.S: New file.
4731         * sysdeps/ia64/fpu/s_floorl.S: New file.
4732         * sysdeps/ia64/fpu/s_frexp.c: New file.
4733         * sysdeps/ia64/fpu/s_frexpf.c: New file.
4734         * sysdeps/ia64/fpu/s_frexpl.c: New file.
4735         * sysdeps/ia64/fpu/s_ilogb.S: New file.
4736         * sysdeps/ia64/fpu/s_ilogbf.S: New file.
4737         * sysdeps/ia64/fpu/s_ilogbl.S: New file.
4738         * sysdeps/ia64/fpu/s_ldexp.S: New file.
4739         * sysdeps/ia64/fpu/s_ldexpf.S: New file.
4740         * sysdeps/ia64/fpu/s_ldexpl.S: New file.
4741         * sysdeps/ia64/fpu/s_log1p.S: New file.
4742         * sysdeps/ia64/fpu/s_log1pf.S: New file.
4743         * sysdeps/ia64/fpu/s_log1pl.S: New file.
4744         * sysdeps/ia64/fpu/s_logb.S: New file.
4745         * sysdeps/ia64/fpu/s_logbf.S: New file.
4746         * sysdeps/ia64/fpu/s_logbl.S: New file.
4747         * sysdeps/ia64/fpu/s_matherrf.c: New file.
4748         * sysdeps/ia64/fpu/s_matherrl.c: New file.
4749         * sysdeps/ia64/fpu/s_modf.S: New file.
4750         * sysdeps/ia64/fpu/s_modff.S: New file.
4751         * sysdeps/ia64/fpu/s_modfl.S: New file.
4752         * sysdeps/ia64/fpu/s_nearbyint.S: New file.
4753         * sysdeps/ia64/fpu/s_nearbyintf.S: New file.
4754         * sysdeps/ia64/fpu/s_nearbyintl.S: New file.
4755         * sysdeps/ia64/fpu/s_rint.S: New file.
4756         * sysdeps/ia64/fpu/s_rintf.S: New file.
4757         * sysdeps/ia64/fpu/s_rintl.S: New file.
4758         * sysdeps/ia64/fpu/s_round.S: New file.
4759         * sysdeps/ia64/fpu/s_roundf.S: New file.
4760         * sysdeps/ia64/fpu/s_roundl.S: New file.
4761         * sysdeps/ia64/fpu/s_scalbn.S: New file.
4762         * sysdeps/ia64/fpu/s_scalbnf.S: New file.
4763         * sysdeps/ia64/fpu/s_scalbnl.S: New file.
4764         * sysdeps/ia64/fpu/s_significand.S: New file.
4765         * sysdeps/ia64/fpu/s_significandf.S: New file.
4766         * sysdeps/ia64/fpu/s_significandl.S: New file.
4767         * sysdeps/ia64/fpu/s_sin.c: New file.
4768         * sysdeps/ia64/fpu/s_sincos.c: New file.
4769         * sysdeps/ia64/fpu/s_sincosf.c: New file.
4770         * sysdeps/ia64/fpu/s_sincosl.c: New file.
4771         * sysdeps/ia64/fpu/s_sinf.c: New file.
4772         * sysdeps/ia64/fpu/s_sinl.c: New file.
4773         * sysdeps/ia64/fpu/s_tan.S: New file.
4774         * sysdeps/ia64/fpu/s_tanf.S: New file.
4775         * sysdeps/ia64/fpu/s_tanl.S: New file.
4776         * sysdeps/ia64/fpu/s_trunc.S: New file.
4777         * sysdeps/ia64/fpu/s_truncf.S: New file.
4778         * sysdeps/ia64/fpu/s_truncl.S: New file.
4779         * sysdeps/ia64/fpu/w_acos.c: New file.
4780         * sysdeps/ia64/fpu/w_acosf.c: New file.
4781         * sysdeps/ia64/fpu/w_acosl.c: New file.
4782         * sysdeps/ia64/fpu/w_asin.c: New file.
4783         * sysdeps/ia64/fpu/w_asinf.c: New file.
4784         * sysdeps/ia64/fpu/w_asinl.c: New file.
4785         * sysdeps/ia64/fpu/w_atan2.c: New file.
4786         * sysdeps/ia64/fpu/w_atan2f.c: New file.
4787         * sysdeps/ia64/fpu/w_atan2l.c: New file.
4788         * sysdeps/ia64/fpu/w_cosh.c: New file.
4789         * sysdeps/ia64/fpu/w_coshf.c: New file.
4790         * sysdeps/ia64/fpu/w_coshl.c: New file.
4791         * sysdeps/ia64/fpu/w_exp.c: New file.
4792         * sysdeps/ia64/fpu/w_expf.c: New file.
4793         * sysdeps/ia64/fpu/w_fmod.c: New file.
4794         * sysdeps/ia64/fpu/w_fmodf.c: New file.
4795         * sysdeps/ia64/fpu/w_fmodl.c: New file.
4796         * sysdeps/ia64/fpu/w_hypot.c: New file.
4797         * sysdeps/ia64/fpu/w_hypotf.c: New file.
4798         * sysdeps/ia64/fpu/w_hypotl.c: New file.
4799         * sysdeps/ia64/fpu/w_log.c: New file.
4800         * sysdeps/ia64/fpu/w_log10.c: New file.
4801         * sysdeps/ia64/fpu/w_log10f.c: New file.
4802         * sysdeps/ia64/fpu/w_log10l.c: New file.
4803         * sysdeps/ia64/fpu/w_logf.c: New file.
4804         * sysdeps/ia64/fpu/w_logl.c: New file.
4805         * sysdeps/ia64/fpu/w_pow.c: New file.
4806         * sysdeps/ia64/fpu/w_powf.c: New file.
4807         * sysdeps/ia64/fpu/w_powl.c: New file.
4808         * sysdeps/ia64/fpu/w_remainder.c: New file.
4809         * sysdeps/ia64/fpu/w_remainderf.c: New file.
4810         * sysdeps/ia64/fpu/w_remainderl.c: New file.
4811         * sysdeps/ia64/fpu/w_scalb.c: New file.
4812         * sysdeps/ia64/fpu/w_scalbf.c: New file.
4813         * sysdeps/ia64/fpu/w_scalbl.c: New file.
4814         * sysdeps/ia64/fpu/w_sqrt.c: New file.
4815         * sysdeps/ia64/fpu/w_sqrtf.c: New file.
4816         * sysdeps/ia64/fpu/w_sqrtl.c: New file.
4817         * sysdeps/ia64/fpu/libm-test-ulps: Adjust for long double
4818         implementation.
4819         * sysdeps/ia64/fpu/bits/mathdef.h: Correct float_t and double_t types.
4820         Change FP_ILOGBNAN for new implementation.
4821         * Verions.def: Add 2.2.3 versions.
4822
4823 2001-02-18  Ulrich Drepper  <drepper@redhat.com>
4824
4825         * math/libm-test.inc (scalb_test): Require invalid exception being
4826         raised for invalid parameters.
4827         * sysdeps/i386/fpu/e_scalb.S: Raise invalid exception if necessary.
4828         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4829         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4830
4831 2001-02-18  Mark Kettenis  <kettenis@gnu.org>
4832
4833         * sysdeps/mach/getsysstats.c (__get_phys_pages): Change return
4834         value to long int.
4835         (__get_avphys_pages): Likewise.
4836
4837 2001-02-18  Ulrich Drepper  <drepper@redhat.com>
4838
4839         * math/libm-test.inc (pow_test): Correct expected results for x == +-1.
4840         * sysdeps/i386/fpu/e_pow.S: Handle x == +-1 correctly.
4841         * sysdeps/i386/fpu/e_powf.S: Likewise.
4842         * sysdeps/i386/fpu/e_powl.S: Likewise.
4843
4844         * sysdeps/i386/fpu/bits/mathinline.h: Remove pow inline code.
4845
4846 2001-02-17  Ulrich Drepper  <drepper@redhat.com>
4847
4848         * math/Makefile (libm-calls): It's e_exp2 not s_exp2.
4849
4850         * sysdeps/generic/s_exp2l.c: Renamed to...
4851         * sysdeps/generic/e_exp2l.c: ...this.   New file.
4852         * sysdeps/i386/fpu/s_exp2.S: Renamed to...
4853         * sysdeps/i386/fpu/e_exp2.S: ...this.   New file.
4854         * sysdeps/i386/fpu/s_exp2f.S: Renamed to...
4855         * sysdeps/i386/fpu/e_exp2f.S: ...this.   New file.
4856         * sysdeps/i386/fpu/s_exp2l.S: Renamed to...
4857         * sysdeps/i386/fpu/e_exp2l.S: ...this.   New file.
4858         * sysdeps/ieee754/flt-32/s_exp2f.c: Renamed to...
4859         * sysdeps/ieee754/flt-32/e_exp2f.c: ...this.   New file.
4860         * sysdeps/ieee754/dbl-64/s_exp2.c: Renamed to...
4861         * sysdeps/ieee754/dbl-64/e_exp2.c: ...this.   New file.
4862         * sysdeps/m68k/fpu/s_exp2.c: Renamed to...
4863         * sysdeps/m68k/fpu/e_exp2.c: ...this.   New file.
4864         * sysdeps/m68k/fpu/s_exp2f.c: Renamed to...
4865         * sysdeps/m68k/fpu/e_exp2f.c: ...this.   New file.
4866         * sysdeps/m68k/fpu/s_exp2l.c: Renamed to...
4867         * sysdeps/m68k/fpu/e_exp2l.c: ...this.   New file.
4868
4869 2001-02-17  Andreas Jaeger  <aj@suse.de>
4870
4871         * configure.in: Allow gcc 3.
4872
4873 2001-02-16  Ulrich Drepper  <drepper@redhat.com>
4874
4875         * math/w_acos.c: Move to ...
4876         * sysdeps/generic/w_acos.c: ...here.  New file.
4877         * math/w_acosf.c: Move to ...
4878         * sysdeps/generic/w_acosf.c: ...here.  New file.
4879         * math/w_acosh.c: Move to ...
4880         * sysdeps/generic/w_acosh.c: ...here.  New file.
4881         * math/w_acoshf.c: Move to ...
4882         * sysdeps/generic/w_acoshf.c: ...here.  New file.
4883         * math/w_acoshl.c: Move to ...
4884         * sysdeps/generic/w_acoshl.c: ...here.  New file.
4885         * math/w_acosl.c: Move to ...
4886         * sysdeps/generic/w_acosl.c: ...here.  New file.
4887         * math/w_asin.c: Move to ...
4888         * sysdeps/generic/w_asin.c: ...here.  New file.
4889         * math/w_asinf.c: Move to ...
4890         * sysdeps/generic/w_asinf.c: ...here.  New file.
4891         * math/w_asinl.c: Move to ...
4892         * sysdeps/generic/w_asinl.c: ...here.  New file.
4893         * math/w_atan2.c: Move to ...
4894         * sysdeps/generic/w_atan2.c: ...here.  New file.
4895         * math/w_atan2f.c: Move to ...
4896         * sysdeps/generic/w_atan2f.c: ...here.  New file.
4897         * math/w_atan2l.c: Move to ...
4898         * sysdeps/generic/w_atan2l.c: ...here.  New file.
4899         * math/w_atanh.c: Move to ...
4900         * sysdeps/generic/w_atanh.c: ...here.  New file.
4901         * math/w_atanhf.c: Move to ...
4902         * sysdeps/generic/w_atanhf.c: ...here.  New file.
4903         * math/w_atanhl.c: Move to ...
4904         * sysdeps/generic/w_atanhl.c: ...here.  New file.
4905         * math/w_cosh.c: Move to ...
4906         * sysdeps/generic/w_cosh.c: ...here.  New file.
4907         * math/w_coshf.c: Move to ...
4908         * sysdeps/generic/w_coshf.c: ...here.  New file.
4909         * math/w_coshl.c: Move to ...
4910         * sysdeps/generic/w_coshl.c: ...here.  New file.
4911         * math/w_drem.c: Move to ...
4912         * sysdeps/generic/w_drem.c: ...here.  New file.
4913         * math/w_dremf.c: Move to ...
4914         * sysdeps/generic/w_dremf.c: ...here.  New file.
4915         * math/w_dreml.c: Move to ...
4916         * sysdeps/generic/w_dreml.c: ...here.  New file.
4917         * math/w_exp10.c: Move to ...
4918         * sysdeps/generic/w_exp10.c: ...here.  New file.
4919         * math/w_exp10f.c: Move to ...
4920         * sysdeps/generic/w_exp10f.c: ...here.  New file.
4921         * math/w_exp10l.c: Move to ...
4922         * sysdeps/generic/w_exp10l.c: ...here.  New file.
4923         * math/w_exp2.c: Move to ...
4924         * sysdeps/generic/w_exp2.c: ...here.  New file.
4925         * math/w_exp2f.c: Move to ...
4926         * sysdeps/generic/w_exp2f.c: ...here.  New file.
4927         * math/w_exp2l.c: Move to ...
4928         * sysdeps/generic/w_exp2l.c: ...here.  New file.
4929         * math/w_fmod.c: Move to ...
4930         * sysdeps/generic/w_fmod.c: ...here.  New file.
4931         * math/w_fmodf.c: Move to ...
4932         * sysdeps/generic/w_fmodf.c: ...here.  New file.
4933         * math/w_fmodl.c: Move to ...
4934         * sysdeps/generic/w_fmodl.c: ...here.  New file.
4935         * math/w_hypot.c: Move to ...
4936         * sysdeps/generic/w_hypot.c: ...here.  New file.
4937         * math/w_hypotf.c: Move to ...
4938         * sysdeps/generic/w_hypotf.c: ...here.  New file.
4939         * math/w_hypotl.c: Move to ...
4940         * sysdeps/generic/w_hypotl.c: ...here.  New file.
4941         * math/w_j0.c: Move to ...
4942         * sysdeps/generic/w_j0.c: ...here.  New file.
4943         * math/w_j0f.c: Move to ...
4944         * sysdeps/generic/w_j0f.c: ...here.  New file.
4945         * math/w_j0l.c: Move to ...
4946         * sysdeps/generic/w_j0l.c: ...here.  New file.
4947         * math/w_j1.c: Move to ...
4948         * sysdeps/generic/w_j1.c: ...here.  New file.
4949         * math/w_j1f.c: Move to ...
4950         * sysdeps/generic/w_j1f.c: ...here.  New file.
4951         * math/w_j1l.c: Move to ...
4952         * sysdeps/generic/w_j1l.c: ...here.  New file.
4953         * math/w_jn.c: Move to ...
4954         * sysdeps/generic/w_jn.c: ...here.  New file.
4955         * math/w_jnf.c: Move to ...
4956         * sysdeps/generic/w_jnf.c: ...here.  New file.
4957         * math/w_jnl.c: Move to ...
4958         * sysdeps/generic/w_jnl.c: ...here.  New file.
4959         * math/w_lgamma.c: Move to ...
4960         * sysdeps/generic/w_lgamma.c: ...here.  New file.
4961         * math/w_lgammaf.c: Move to ...
4962         * sysdeps/generic/w_lgammaf.c: ...here.  New file.
4963         * math/w_lgammaf_r.c: Move to ...
4964         * sysdeps/generic/w_lgammaf_r.c: ...here.  New file.
4965         * math/w_lgammal.c: Move to ...
4966         * sysdeps/generic/w_lgammal.c: ...here.  New file.
4967         * math/w_lgammal_r.c: Move to ...
4968         * sysdeps/generic/w_lgammal_r.c: ...here.  New file.
4969         * math/w_lgamma_r.c: Move to ...
4970         * sysdeps/generic/w_lgamma_r.c: ...here.  New file.
4971         * math/w_log10.c: Move to ...
4972         * sysdeps/generic/w_log10.c: ...here.  New file.
4973         * math/w_log10f.c: Move to ...
4974         * sysdeps/generic/w_log10f.c: ...here.  New file.
4975         * math/w_log10l.c: Move to ...
4976         * sysdeps/generic/w_log10l.c: ...here.  New file.
4977         * math/w_log.c: Move to ...
4978         * sysdeps/generic/w_log.c: ...here.  New file.
4979         * math/w_logf.c: Move to ...
4980         * sysdeps/generic/w_logf.c: ...here.  New file.
4981         * math/w_logl.c: Move to ...
4982         * sysdeps/generic/w_logl.c: ...here.  New file.
4983         * math/w_pow.c: Move to ...
4984         * sysdeps/generic/w_pow.c: ...here.  New file.
4985         * math/w_powf.c: Move to ...
4986         * sysdeps/generic/w_powf.c: ...here.  New file.
4987         * math/w_powl.c: Move to ...
4988         * sysdeps/generic/w_powl.c: ...here.  New file.
4989         * math/w_remainder.c: Move to ...
4990         * sysdeps/generic/w_remainder.c: ...here.  New file.
4991         * math/w_remainderf.c: Move to ...
4992         * sysdeps/generic/w_remainderf.c: ...here.  New file.
4993         * math/w_remainderl.c: Move to ...
4994         * sysdeps/generic/w_remainderl.c: ...here.  New file.
4995         * math/w_scalb.c: Move to ...
4996         * sysdeps/generic/w_scalb.c: ...here.  New file.
4997         * math/w_scalbf.c: Move to ...
4998         * sysdeps/generic/w_scalbf.c: ...here.  New file.
4999         * math/w_scalbl.c: Move to ...
5000         * sysdeps/generic/w_scalbl.c: ...here.  New file.
5001         * math/w_sinh.c: Move to ...
5002         * sysdeps/generic/w_sinh.c: ...here.  New file.
5003         * math/w_sinhf.c: Move to ...
5004         * sysdeps/generic/w_sinhf.c: ...here.  New file.
5005         * math/w_sinhl.c: Move to ...
5006         * sysdeps/generic/w_sinhl.c: ...here.  New file.
5007         * math/w_sqrtl.c: Move to ...
5008         * sysdeps/generic/w_sqrtl.c: ...here.  New file.
5009         * math/w_tgamma.c: Move to ...
5010         * sysdeps/generic/w_tgamma.c: ...here.  New file.
5011         * math/w_tgammaf.c: Move to ...
5012         * sysdeps/generic/w_tgammaf.c: ...here.  New file.
5013         * math/w_tgammal.c: Move to ...
5014         * sysdeps/generic/w_tgammal.c: ...here.  New file.
5015
5016         * locale/programs/ld-address.c (address_finish): Add 'S' to allow
5017         formats for postal_fmt.
5018
5019 2001-02-16  Jakub Jelinek  <jakub@redhat.com>
5020
5021         * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Add
5022         __ftruncate64 alias.
5023         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (ftruncate):
5024         Likewise.
5025
5026 2001-02-15  David Mosberger  <davidm@hpl.hp.com>
5027
5028         * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): No need to
5029         do "loadrs".  Writing to bspstore already takes care of
5030         invalidating the "clean" partition.
5031
5032 2001-02-16  Andreas Schwab  <schwab@suse.de>
5033
5034         * sysdeps/m68k/fpu/s_nextafterl.c: New file.
5035         * sysdeps/m68k/fpu/s_fpclassifyl.c: New file.
5036
5037 2001-02-15  Jakub Jelinek  <jakub@redhat.com>
5038
5039         * posix/regex.c (init_syntax_once): Add prototype.
5040         (TRANSLATE): If MBS_SUPPORT, translate all characters up to '\xff'.
5041         (re_search_2): Avoid warning.
5042         (count_mbs_length): Add prototype.
5043         * posix/tst-regex3.c: New file.
5044         * posix/Makefile (tests): Add bug-regex3.
5045
5046 2001-02-15  Ulrich Drepper  <drepper@redhat.com>
5047
5048         * stdio-common/Makefile (tests): Add tst-gets.
5049         * stdio-common/tst-gets.c: New file.
5050         * stdio-common/tst-gets.input: New file.
5051
5052         * elf/elf.h (DT_CHECKSUM): Define.
5053
5054         * sysdeps/generic/strtoll.c: Don't export __strto*_internal as
5055         default symbol.
5056         * sysdeps/generic/strtoull.c: Likewise.
5057
5058 2001-02-14  Wolfram Gloger  <wg@malloc.de>
5059
5060         * malloc/malloc.c (new_heap): When allocating large chunk aligned
5061         to HEAP_MAX_SIZE, prefer one with lower address, to avoid `holes'
5062         between the heaps.
5063
5064 2001-02-14  Ulrich Drepper  <drepper@redhat.com>
5065
5066         * math/libm-test.inc (j0_test): Check whether sincos is available.
5067         (j1_test): Likewise.
5068         (jn_test): Likewise.
5069         (y0_test): Likewise.
5070         (y1_test): Likewise.
5071         (yn_test): Likewise.
5072
5073         * posix/tst-gnuglob.c: Make a few entries DT_UNKNOWN and teach
5074         fake filesystem routines to handle this.
5075
5076         * time/sys/time.h: Make settimeofday and adjtime available if
5077         _BSD_SOURCE.
5078
5079         * time/sys/time.h: Make timer* macros available for BSD.
5080
5081         * iconvdata/gb18030.c: Update for Dec 2000 re-release of GB18030.
5082         Patch by Yong Li <rigel863@yahoo.com>.
5083
5084         * sysdeps/generic/glob.c (CONVERT_DIRENT_DIRENT64): Fix copying of
5085         name.
5086
5087         * posix/Makefile (tests): Add tst-gnuglob.
5088         * posix/tst-gnuglob.c: New file.
5089
5090 2001-02-13  H.J. Lu  <hjl@gnu.org>
5091
5092         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __ftruncate64.
5093
5094 2001-02-13  Ulrich Drepper  <drepper@redhat.com>
5095
5096         * locale/programs/ld-paper.c (paper_output): Pretty printing.
5097
5098         * iconvdata/Makefile (modules): Add GBBIG5.
5099         (distribute): Add gbbig5.c.
5100         * iconvdata/gconv-modules: Add entries for GBBIG5 module.
5101
5102         * iconvdata/gbbig5.c: New file.
5103         Contributed by Yong Li <rigel863@yahoo.com>.
5104
5105 2001-02-13  Philip Blundell  <pb@futuretv.com>
5106
5107         * manual/crypt.texi: Remove outdated references to crypt add-on.
5108
5109         * manual/creature.texi: Improve wording slightly.
5110
5111 2001-02-13  Ulrich Drepper  <drepper@redhat.com>
5112
5113         * io/ftw.c: Always use readdir64.
5114         * io/ftw64.c: Likewise.
5115         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5116         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5117         * sysdeps/generic/glob.c: Likewise.  Convert results of gl_readdir
5118         callback to dirent.  Still allow compiling outside glibc.
5119         * sysdeps/gnu/glob64.c: Define COMPILE_GLOB64.
5120         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
5121
5122         * malloc/mtrace.c: Use fopen64.
5123         * posix/spawni.c: Use __open64.
5124         * sysdeps/unix/opendir.c: Likewise.
5125         * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
5126
5127         * sysdeps/generic/ftruncate64.c: Define __ftruncate64 and make old
5128         name a weak alias.
5129         * sysdeps/unix/sysv/aix/ftruncate64.c: Likewise.
5130         * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise.
5131         * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
5132         * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Likewise.
5133
5134         * resolv/res_data.c: Add cast to avoid warning.
5135
5136         * include/unistd.h: Declare __ftruncate64.
5137
5138         * sysdeps/generic/utmp_file.c: Use LFS functions and types.
5139
5140         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use __lseek64
5141         instead of __lseek.
5142
5143 2001-02-13  Andreas Jaeger  <aj@suse.de>
5144
5145         * login/getutent_r.c: Include <stdlib.h> for NULL.
5146         * login/getutid_r.c: Likewise.
5147
5148 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
5149
5150         * sysdeps/dbl-64/e_j0.c: Little optimization, use sincos.
5151         * sysdeps/dbl-64/e_j1.c: Likewise.
5152         * sysdeps/dbl-64/e_jn.c: Likewise.
5153         * sysdeps/flt-32/e_j0f.c: Likewise.
5154         * sysdeps/flt-32/e_j1f.c: Likewise.
5155         * sysdeps/ldbl-96/e_j0l.c: Likewise.
5156
5157 2000-12-02  H.J. Lu  <hjl@gnu.org>
5158
5159         * resolv/res_libc.c (res_init): Don't make it default.
5160
5161 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
5162
5163         * manual/debug.texi: Improved the wording.
5164         Patch by Philip Blundell <pb@futuretv.com>.
5165
5166 2001-02-12  Andreas Jaeger  <aj@suse.de>
5167
5168         * posix/Makefile (tests): Don't run bug-regex2 when
5169         cross-compiling.
5170
5171         * libio/Makefile (tests): Don't run test-freopen when
5172         cross-compiling.
5173
5174         * manual/stdio.texi (Streams and I18N): Fix typos.
5175
5176 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
5177
5178         * sysdeps/i386/fpu/libm-test-ulps: Adjust for errors in y0l.
5179
5180         * math/libm-test.inc (j0_test): Make expected results long double
5181         constants.
5182         (y0_test): Likewise.
5183
5184         * sysdeps/ieee754/ldbl-96/e_j0l.c: New file.
5185         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
5186
5187 2001-02-11  Jakub Jelinek  <jakub@redhat.com>
5188
5189         * sysdeps/generic/strtoll.c (__strtoq_internal): Ressurect alias
5190         which was exported from libc.
5191         * sysdeps/generic/strtoull.c (__strtouq_internal): Likewise.
5192
5193 2001-02-12  Andreas Jaeger  <aj@suse.de>
5194
5195         * manual/arith.texi (Parsing of Integers): Fix some wordings.
5196
5197 2001-02-11  Ulrich Drepper  <drepper@redhat.com>
5198
5199         * sysdeps/generic/getsysstat.c: Change return value of get_phys_pages
5200         and get_avphys_page to long int.
5201         * sysdeps/unix/sysv/linux/getsysstat.c: Likewise.
5202         * include/sys/sysinfo.h: Likewise.
5203         * sysdeps/generic/sys/sysinfo.h: Likewise.
5204         * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
5205
5206         * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Fail if we
5207         cannot return as many values as the user asked for.
5208
5209 2001-02-11  Andreas Jaeger  <aj@suse.de>
5210
5211         * manual/resource.texi (Memory Resources): Fix typo.
5212
5213         * libio/Makefile ($(objpfx)test-freopen.out): Pass
5214         run-program-prefix.
5215
5216         * libio/test-freopen.sh: Use run_program_prefix.
5217
5218 2001-02-10  Andreas Jaeger  <aj@suse.de>
5219
5220         * stdlib/Makefile (tests): Don't run tst-fmtmsg when
5221         cross-compiling.
5222         ($(objpfx)tst-fmtmsg.out): Pass run-program-prefix.
5223
5224         * stdlib/tst-fmtmsg.sh (test): Use run_program_prefix for static
5225         only builds.
5226
5227         * elf/Makefile (tests): Only run tst-pathopt with shared libs.
5228
5229         * posix/Makefile: Fix typo, it's build-static-nss.
5230
5231         * iconv/Makefile (extra-objs): New.
5232
5233 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
5234
5235         * sysdeps/unix/stime.c: Include <time.h>.
5236
5237         * sysdeps/mach/hurd/setitimer.c: Include <time.h>.
5238
5239 2001-02-10  Andreas Jaeger  <aj@suse.de>
5240
5241         * manual/string.texi (Search Functions): Fix typo.
5242
5243 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
5244
5245         * sysdeps/unix/bsd/times.c: Reorder includes and add <time.h>.
5246         (timeval_to_clock_t): Add clk_tck argument and use that instead of
5247         CLK_TCK.
5248         (__times): Use __getclktck to get the number of clock ticks per
5249         second and use its return value instead of CLK_TCK.
5250
5251 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
5252
5253         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (_HAVE_SA_LEN): Define.
5254
5255 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
5256
5257         * sysdeps/mach/gettimeofday.c: Include <stddef.h>.
5258
5259 2001-02-10  Andreas Jaeger  <aj@suse.de>
5260
5261         * wctype/wcfuncs.c (func): Add prototype declarations to avoid
5262         warning.
5263
5264 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
5265
5266         * posix/Makefile: Add rules to build and run bug-regex2.
5267         * posix/bug-regex2.c: New file.
5268
5269 2001-02-10  Jakub Jelinek  <jakub@redhat.com>
5270
5271         * posix/regex.c (convert_mbs_to_wcs): Change is_binary to char *.
5272         (regex_compile): Likewise.
5273         (FREE_VARIABLES): Don't free is_binary1 and is_binary2.
5274         (re_match_2_internal): Use just is_binary instead of two variables.
5275         Use REGEX_TALLOC to allocate it and FREE_VAR to free on failure.
5276
5277 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
5278
5279         * version.h (VERSION): Bump to 2.2.2.
5280
5281         * iconv/Makefile (distribute): Add iconv_charmap.c and
5282         dummy-repertoire.c.
5283         * elf/Makefile (distribute): Add firstobj.c.
5284         * Makefile (distribute): Add include/pthread.h.
5285
5286         * configure.in: Require makeinfo version 4.
5287
5288         * libio/tst_wscanf.c (main): Add cast to avoid warning.
5289         * libio/tst_swscanf.c (main): Likewise..
5290
5291 2001-02-09  Jakub Jelinek  <jakub@redhat.com>
5292
5293         * sysdeps/generic/setenv.c (unsetenv): Remove const from len.
5294         * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, fdim): Don't define if
5295         __NO_MATH_INLINES.
5296         * sysdeps/i386/dl-machine.h (elf_machine_rel): Only declare refsym
5297         if not RTLD_BOOTSTRAP.
5298         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
5299         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5300
5301 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
5302
5303         * locale/programs/linereader.c (get_ident): Stop loop if EOF.  Use
5304         lr_ungetc to push back last read character.
5305         * locale/programs/linereader.h (lr_ungetc): Don't push back is
5306         character is EOF.
5307         (lr_ignore_rest): Don't warn about garbage if it is really the end
5308         of the file.
5309
5310         * manual/Makefile: Use ifnottext and not ifinfo to protect Top node
5311         definition.
5312
5313 2001-02-08  Ulrich Drepper  <drepper@redhat.com>
5314
5315         * Makerules (build-shlib): Work around different order of
5316         processing of -B option in different gcc versions.
5317
5318         * posix/regex.c: Fix alignment problem.
5319         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5320
5321         * sysdeps/alpha/strrchr.S: Little optimization.
5322         Patch by Richard Henderson <rth@redhat.com>.
5323
5324         * sysdeps/alpha/alphaev67/strrchr.S: New file.
5325         Contributed by Rick Gorton <rick.gorton@alpha-processor.com>.
5326
5327 2001-02-08  kaz Kojima  <kkojima@rr.iij4u.or.jp>
5328
5329         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Correct function name
5330         in the assembler end directive.
5331
5332 2001-02-08  Andreas Jaeger  <aj@suse.de>
5333
5334         * manual/stdio.texi (Closing Streams): Fix typos.
5335
5336 2001-02-07  Ulrich Drepper  <drepper@redhat.com>
5337
5338         * sysdeps/alpha/alphaev67/strncat.S: Align last write address.
5339         Patch by Richard Henderson <rth@redhat.com>.
5340         Reported by Claus-Justus Heine <heine@instmath.rwth-aachen.de>.
5341
5342         * stdlib/strfmon.c [USE_IN_LIBIO]: Define lock variable and store
5343         pointer in FILE structure before calling _IO_init.
5344         * stdlib/Makefile: Add -D_IO_MTSAFE_IO to CFLAGS for strfmon and
5345         strfmon_l if necessary.
5346         Reported by Jury Gerold <gjury@grips.com>.
5347
5348         * sysdeps/gnu/netinet/tcp.h: Correct values of TCP_ macros.
5349         Patch by Pekka.Pietikainen@cern.ch.
5350
5351         * posix/regex.c: Correct several problems with 64-bit architectures
5352         introduced in the MBS changes.
5353         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5354
5355 2001-02-07  Jakub Jelinek  <jakub@redhat.com>
5356
5357         * math/tgmath.h: Only add l suffixes if __NO_LONG_DOUBLE_MATH is
5358         not defined.
5359         * sysdeps/alpha/fpu/bits/mathinline.h: Honour __NO_MATH_INLINES.
5360
5361 2001-02-07  Andreas Jaeger  <aj@suse.de>
5362
5363         * manual/install.texi (Tools for Compilation): Fix typo.
5364         Reported by Pavel Machek <pavel@bug.ucw.cz>.
5365
5366 2001-02-07  Ulrich Drepper  <drepper@redhat.com>
5367
5368         * stdlib/strtod.c: Never stop prematurely reading digits before the
5369         decimal point is found.  Compute exponent limit for negative exponents
5370         correctly.  For numbers ending in all zeros eat the zeros even before
5371         the decimal point if the exponent is negative [PR libc/2072].
5372         * stdlib/Makefile (tests): Add bug-strtod.
5373         * stdlib/bug-strtod.c: New file.
5374
5375 2001-02-07  Andreas Jaeger  <aj@suse.de>
5376
5377         * posix/bug-regex1.c: Include <wchar.h> for fwide.
5378
5379 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
5380
5381         * posix/regex.c (regex_compile): Don't store pointer in wchar_t array.
5382         Store index.
5383         (compile_range): Handle index being passed, not pointer.
5384         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5385
5386         * posix/regex.c: Fix a cast in the code for bracket handling which
5387         caused 8-bit uncleanliness.
5388         Patch by Michal Jaegermann <michal@ellpspace.math.ualberta.ca>.
5389
5390         * posix/Makefile (tests): Add bug-regex1.
5391         * posix/bug-regex1.c: New file.
5392         Contributed by Jim Meyering <jim@meyering.net>.
5393
5394         * posix/regex.c: Many cleanups for incorrect format strings.
5395
5396 2001-02-06  Andreas Jaeger  <aj@suse.de>
5397
5398         * time/time.h (CLK_TCK): Check for !__STRICT_ANSI.
5399
5400 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
5401
5402         * locale/programs/locale.c (write_locales): Use scandir to read
5403         directory so that the entries are sorted.
5404
5405 2001-02-06  Andreas Jaeger  <aj@suse.de>
5406
5407         * include/pthread.h: New file.
5408
5409         * wctype/wctype.h: Move internal interfaces from here to...
5410         * include/wctype.h: ...here.
5411
5412         * wcsmbs/wchar.h: Move __wcslen from here to...
5413         * include/wchar.h: ...here.
5414
5415         * posix/sys/wait.h: Move __wait from here to...
5416         * include/sys/wait.h: ...here.
5417
5418         * string/string.h: Move __ffs and __strerror_r from here to...
5419         * include/string.h: ...here.
5420
5421         * stdlib/stdlib.h: Move __on_exit from here to...
5422         * include/stdlib.h: ...here.
5423
5424         * libio/stdio.h: Move __vsnprintf from here to...
5425         * include/stdio.h: ...here.
5426
5427 2001-02-06  Andreas Schwab  <schwab@suse.de>
5428
5429         * sysdeps/unix/sysv/linux/ia64/ioperm.c: Don't include kernel
5430         headers.
5431
5432         * timezone/Makefile: Don't assume that $(inst_zonedir) is a subdir
5433         of $(inst_datadir).
5434
5435 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
5436
5437         * iconvdata/Makefile: Add dependency for bug-iconv2.out.
5438
5439 2001-02-06  Andreas Jaeger  <aj@suse.de>
5440
5441         * elf/firstobj.c: Add prototype.
5442
5443         * posix/regex.c (convert_mbs_to_wcs): Make static, add prototype
5444         (truncate_wchar): Likewise.
5445
5446 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
5447
5448         * locale/programs/locale.c: Implement --verbose option for -a
5449         which prints detailed information about the locales.
5450
5451 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
5452
5453         * sunrpc/xdr_rec.c (set_input_fragment): Change type of header
5454         variable to uint32_t.
5455         Reported by Ulrich Weigand <weigand@immd1.informatik.uni-erlangen.de>.
5456
5457 2001-02-04  Bruno Haible  <haible@clisp.cons.org>
5458
5459         * locale/C-translit.h.in: Add transliterations for CJK units of
5460         measurement.
5461
5462 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
5463
5464         * elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf
5465         string.  Include <inttypes.h> instead of <stdint.h>.
5466
5467         * localedata/Makefile (tests): Add bug-iconv-trans.
5468         Define bug-iconv-trans-ENV.
5469         * localedata/bug-iconv-trans.c: New file.
5470
5471 2001-02-04  Bruno Haible  <haible@clisp.cons.org>
5472
5473         * iconv/gconv_trans.c (__gconv_transliterate): Use a temporary output
5474         pointer, to avoid accumulating output from incomplete (unsuccessful)
5475         transliteration attempts.
5476
5477 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
5478
5479         * elf/ldconfig.c (search_dir): Use PRIx64 instead of Lx in printf
5480         string.  Include <inttypes.h> instead of <stdint.h>.
5481
5482         * configure.in: Add check for bison.
5483         * config.make.in: Define BISON variable.
5484         * intl/Makefile: Use BISON instead of YACC when generating plural.c.
5485         Rename YFLAGS to BISONFLAGS.
5486
5487 2001-02-05  Andreas Jaeger  <aj@suse.de>
5488
5489         * io/test-lfs.c (do_test): Test lseek64 return value, call
5490         test_ftello.
5491         (test_ftello): New function to test ftello64 and fseeko64.
5492
5493         * signal/signal.h: Move __sigaction from here to...
5494         * include/signal.h: ...here.
5495
5496         * io/fcntl.h: Move __fcntl and __open to...
5497         * include/fcntl.h: ...here.
5498
5499 2001-02-04  Philip Blundell  <philb@gnu.org>
5500
5501         * configure.in: Distinguish ARM from Thumb.
5502
5503 2001-02-04  Philip Blundell  <philb@gnu.org>
5504
5505         * sysdeps/arm/dl-machine.h (elf_machine_rel): Correct handling of
5506         PC24 relocs with negative value.
5507
5508 2001-02-04  Ulrich Drepper  <drepper@redhat.com>
5509
5510         * iconv/Makefile (iconv_prog-modules): Define.  Add vpath to find
5511         files in locale/programs.  Add CFLAGS definition to allow compiling
5512         localedef files.
5513         * iconv/dummy-repertoire.c: New file.
5514         * iconv/iconv_charmap.c: New file.
5515         * iconv/iconv_prog.h: New file.
5516         * iconv/iconv_prog.c: Make verbose and omit_invalid global.
5517         (main): If parameter for -f and -t contain slashes try first to resolve
5518         the strings as filenames of charmap files.  Use them for conversion
5519         in this case.
5520         * iconvdata/run-iconv-test.sh: If charmaps exist also run tests with
5521         iconv getting charmap names as parameters.
5522         * locale/programs/linereader.c (lr_token): Take extra parameters
5523         verbose and pass it to get_string.
5524         (get_string): Take extra parameters verbose.
5525         * locale/programs/charmap.c (parse_charmap): Take extra parameters
5526         verbose and be_quiet.  Change all callers of lr_token and
5527         parse_charmap.
5528         * locale/programs/charmap.h: Likewise.
5529         * locale/programs/ld-address.c: Likewise.
5530         * locale/programs/ld-collate.c: Likewise.
5531         * locale/programs/ld-ctype.c: Likewise.
5532         * locale/programs/ld-identification.c: Likewise.
5533         * locale/programs/ld-measurement.c: Likewise.
5534         * locale/programs/ld-messages.c: Likewise.
5535         * locale/programs/ld-monetary.c: Likewise.
5536         * locale/programs/ld-name.c: Likewise.
5537         * locale/programs/ld-numeric.c: Likewise.
5538         * locale/programs/ld-paper.c: Likewise.
5539         * locale/programs/ld-telephone.c: Likewise.
5540         * locale/programs/ld-time.c: Likewise.
5541         * locale/programs/linereader.c: Likewise.
5542         * locale/programs/linereader.h: Likewise.
5543         * locale/programs/localedef.c: Likewise.
5544         * locale/programs/locfile.c: Likewise.
5545         * locale/programs/locfile.h: Likewise.
5546         * locale/programs/repertoire.c: Likewise.
5547
5548 2001-02-03  Ulrich Drepper  <drepper@redhat.com>
5549
5550         * iconv/iconv_prog.c (main): If output file name is "-" write to
5551         stdout.
5552         (main): If -f or -t argument is missing use charset of the current
5553         locale.
5554
5555 2001-02-03  Andreas Jaeger  <aj@suse.de>
5556
5557         * sysdeps/i386/elf/start.S (_start): Align stack to 16-byte
5558         boundary for SSE/SSE-2 alignment.
5559
5560         * posix/Makefile ($(objpfx)annexc.out): Also pass sysincludes to
5561         annexc.
5562
5563 2001-02-03  Ulrich Drepper  <drepper@redhat.com>
5564
5565         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: File was using crlf.
5566         Remove comma at end of enum.
5567
5568         * elf/dl-init.c: Add a few __builtin_expect.
5569
5570         * hesiod/hesiod.c: Remove unnecessary code.  Remove all uses of strcat.
5571
5572 2001-02-02  Ulrich Drepper  <drepper@redhat.com>
5573
5574         * hesiod/hesiod.c (hesiod_resolve): Also search HS records if
5575         errno is ECONNREFUSED.
5576
5577         * posix/Makefile: Define MBS_SUPPORT for regex.c.
5578         * posix/regex.c: Implement multibyte character handling.
5579         Patch by Isamu Hasegawa <isamu@yamato.ibm.co.jp>.
5580
5581         * string/tst-svc.input: Add two more test cases.
5582         * string/tst-svc.expect: Modify to reflect new test cases.
5583
5584 2001-02-01  Jakub Jelinek  <jakub@redhat.com>
5585
5586         * sysdeps/posix/getaddrinfo.c (gaih_local, gaih_inet): Replace all
5587         tp->name tests with tp->name[0] tests.
5588
5589 2001-01-29  Ben Collins  <bcollins@debian.org>
5590
5591         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r):
5592         Fix check for name == NULL.
5593
5594 2001-02-01  Ulrich Drepper  <drepper@redhat.com>
5595
5596         * elf/Makefile: Add rules to build and run initfirst test.
5597         * elf/initfirst.c: New file.
5598         * elf/firstobj.c: New file.
5599
5600         * Makerules (build-shlib): Add $(extra-B-$(@F:lib%.so=%).so).
5601         * configure.in: Test for -z initfirst linker option.
5602         * config.make.in: Add have-z-initfirst.
5603         * elf/dl-init.c (_dl_init): Split out actual initialization code in
5604         new function call_init.  If _dl_initfirst is non-NULL initialize first.
5605         * elf/dl-load.c (_dl_map_from_fd): If DF_1_INITFIRST flag is set
5606         remember object in _dl_initfirst.
5607         * elf/soinit.c: Remove special support for calling
5608         __pthread_initialize_minimal.
5609
5610         * conform/conformtest.pl: Add missing $prepend in type test.
5611
5612 2001-01-31  Ulrich Drepper  <drepper@redhat.com>
5613
5614         * elf/elf.h (SHT_CHECKSUM): New definition.
5615
5616         * posix/fnmatch_loop.c: Remove incorrect reverse condition in
5617         [. .] matching.  Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5618         * posix/tst-fnmatch.input: Add tests for [. .] in locales.
5619
5620 2001-01-31  Mark Kettenis  <kettenis@gnu.org>
5621
5622         * misc/sys/select.h: Include <bits/time.h> instead of <sys/time.h>
5623         to get definition of `struct timeval'.
5624
5625 2001-01-31  Ulrich Drepper  <drepper@redhat.com>
5626
5627         * posix/tst-fnmatch.input: Add test cases for de_DE.UTF-8 locale.
5628         * posix/fnmatch_loop.c: Fix handling of [= =] for multibyte charsets.
5629
5630 2001-01-30  Ulrich Drepper  <drepper@redhat.com>
5631
5632         * iconv/gconv_open.c (__gconv_open): Set conv_flags if IGNORE is
5633         seen, not flags.
5634
5635         * nis/nis_findserv.c: Include <time.h>.
5636
5637 2001-01-30  Yong Li  <yong.li@asu.edu>
5638
5639         * iconv/iconv_prog.c (main): Correct error handling method name.
5640
5641 2001-01-29  Ben Collins  <bcollins@debian.org>
5642
5643         * sysdeps/sparc/fpu/fraiseexcpt.c: Include <float.h>.
5644         * sysdeps/hppa/fpu/fraiseexcpt.c: Likewise.
5645         * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
5646         * sysdeps/s390/fpu/fraiseexcpt.c: Likewise.
5647
5648 2001-01-30  Ulrich Drepper  <drepper@redhat.com>
5649
5650         * locale/programs/ld-measurement.c (measurement_finish): Fix a typo.
5651         Patch by Marko Myllynen <myllynen@lut.fi>.
5652
5653         * string/bits/string2.h (__strpbrk_c2): Correct parameter types
5654         (int instead of char).
5655         (__strpbrk_c3): Likewise.
5656         Reported by GOTO Masanori <gotom@debian.or.jp>.
5657
5658         * sysdeps/generic/bits/sockaddr.h: Remove SA_LEN macro.
5659         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Likewise.
5660         * include/sys/socket.h: Add SA_LEN here for internal use.
5661         Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
5662
5663 2001-01-29  Ulrich Drepper  <drepper@redhat.com>
5664
5665         * malloc/Makefile: Don't build memusagestat if cross-compiling.
5666
5667         * sysdeps/generic/dl-sysdep.c (set_seen): Fix typo.
5668
5669         * math/libm-test.inc (rint_test): Add a few more tests for round
5670         to even rounding.
5671
5672 2001-01-28  Ulrich Drepper  <drepper@redhat.com>
5673
5674         * conform/data/pthread.h-data: Correct return type of pthread_exit.
5675
5676         * conform/conformtest.pl: Add -fno-builtin to CFLAGS.
5677
5678         * conform/data/stdlib.h-data: Add _Exit.
5679
5680         * inet/arpa/inet.h: Don't include <sys/types.h>.  Define socklen_t
5681         if not already happened.
5682         * inet/netinet/in.h: Don't include <sys/types.h>, use <bits/types.h>.
5683         Don't include <limits.h> and <bits/sockaddr.h>.
5684
5685         * conform/data/netinet/in.h-data: Allow all of <inttypes.h>.
5686
5687         * conform/data/spawn.h-data: Allow all of <sched.h>.
5688
5689         * sysdeps/ia64/fpu/fraiseexcpt.c: Include <float.h>.  Removed
5690         unused variable.
5691
5692         * sunrpc/xdr_rec.c (xdrrec_getpos): Add cast to long to avoid warning.
5693         * sunrpc/xdr_sizeof.c (x_inline): Likewise.
5694
5695         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include <float.h>.
5696
5697         * conform/conformtest.pl: Define $mustprepend{"stdio.h"}.
5698         * libio/stdio.h: Define va_list correctly.
5699
5700         * conform/data/pthread.h-data: Make priority protocol related
5701         functions optional.  Fix typos.
5702
5703         * posix/sched.h: Define sched_priority as __sched_priority.
5704         * sysdeps/generic/bits/sched.h (struct sched_param): Rename element
5705         to __sched_priority.
5706         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
5707
5708 2001-01-27  Ulrich Drepper  <drepper@redhat.com>
5709
5710         * sysdeps/generic/clock_getcpuclockid.c: Include <time.h> instead
5711         of <sys/time.h>.
5712
5713         * sysdeps/unix/stime.c: Include <stddef.h> for NULL.
5714         * sysdeps/unix/time.c: Likewise.
5715
5716         * conform/data/time.h-data: CLK_TCK is not in XPG6.  Fix tzname entry.
5717         * sysdeps/mach/hurd/bits/time.h: Don't define CLK_TCK for XPG6.
5718         * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
5719         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
5720         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
5721         * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
5722         * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
5723         * time/time.h: Likewise.
5724
5725         * conform/conformtest.pl (@headers): Add complex.h and tgmath.h.
5726         * conform/data/complex.h-data: New file.
5727         * conform/data/tgmath.h-data: New file.
5728
5729         * conform/data/wchar.h-data: Add missing functions.
5730
5731         * sysdeps/gnu/bits/utmpx.h: Define RUN_LVL only if __USE_GNU.
5732
5733         * conform/data/termios.h-data: Add missing const in tcsetattr()
5734         prototype.
5735
5736         * posix/sys/wait.h: Include <signal.h> and <sys/resource.h>.
5737         Don't define pid_t here.
5738
5739         * conform/data/sys/utsname.h-data: Don't provide fixed array sizes.
5740
5741         * conform/data/sys/time.h-data: Allow sys/select.h.
5742         * conform/data/sys/un.h-data: Fix typo.
5743         * time/sys/time.h: Don't include all of <time.h>, just struct timeval.
5744         * sysdeps/posix/clock_getres.c: Include <time.h> instead of
5745         <sys/time.h>.
5746         * sysdeps/unix/clock_nanosleep.c: Likewise.
5747         * sysdeps/unix/i386/clock_getcpuclockid.c: Likewise.
5748         * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
5749         * sysdeps/unix/clock_gettime.c: Also include <time.h>.
5750         * sysdeps/unix/clock_settime.c: Likewise.
5751
5752         * sysdeps/generic/pselect.c: Include <stddef.h> for NULL.
5753         * login/getutent.c: Likewise.
5754         * login/getutid.c: Likewise.
5755         * login/getutline.c: Likewise.
5756
5757         * socket/sys/un.h: Define SUN_LEN only if __USE_MISC.
5758
5759         * sysdeps/unix/sysv/linux/bits/statvfs.h: Change type of f_fsid field
5760         to unsigned long.  Add __f_unused.  Define _STATVFSBUF_F_UNUSED.
5761         * sysdeps/unix/sysv/linux/internal_statvfs.c: Adjust initialization of
5762         f_fsid field after change in struct statvfs.
5763         * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: New file.
5764         * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: New file.
5765         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: New file.
5766
5767         * conform/data/sys/stat.h-data: Remove isfdtype.  Use
5768         optional-macro.
5769
5770         * conform/data/sys/socket.h-data: Fix typos.  Correct getsockopt,
5771         recvfrom, send, and socketpair prototypes.  Add allow lines.
5772         * socket/sys/socket.h: Include <sys/uio.h>.
5773         Don't use fancy __SOCKADDR_ARG definition unless __USE_GNU.
5774         Fix type of second parameter of listen.
5775         Don't declare isfdtype unless __USE_MISC.
5776         * sysdeps/generic/listen.c: Fix type of second parameter of listen.
5777         * sysdeps/mach/hurd/listen.c: Likewise.
5778         * sysdeps/generic/bits/socket.h (struct sockaddr_storage): Define
5779         ss_family and __ss_family.
5780         * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
5781         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5782         (struct msghdr): Change type of msg_iovlen to int and type of
5783         msg_controllen to socklen_t.
5784         * sysdeps/unix/sysv/linux/alpha/bits/socket.h: New file.
5785         * sysdeps/unix/sysv/linux/ia64/bits/socket.h: New file.
5786         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: New file.
5787         * inet/rcmd.c (rcmd_af): __ss_family is now ss_family.
5788         (rresvport_af): Likewise.
5789
5790         * conform/data/sys/shm.h-data: SHMLBA is not required to by a constant.
5791         * conform/conformtest.pl: Implement handling of symbol.
5792
5793         * signal/signal.h: Fix handling of __need_* symbols.
5794         * misc/sys/select.c: Define fd_set here.  Remove __fd_set.  Define
5795         fd_mask only if __USE_MISC.  Declare pselect for __USE_XOPEN2K.
5796         * include/sys/select.h: Use fd_set not __fd_set.
5797         * sysdeps/generic/bits/select.h: Likewise.
5798         * sysdeps/i386/bits/select.h: Likewise.
5799         * sysdeps/generic/bits/types.h: Don't define __fd_mask, __NFDBITS,
5800         __FDELT, __FDMASK, and __fd_set here.
5801         * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
5802         * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
5803         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
5804         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
5805         * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
5806         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
5807         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
5808         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
5809         * time/sys/time.h: Define struct timeval before including <time.h>
5810         and <sys/select.h>.
5811
5812         * conform/data/sys/time.h-data: fd_set is a typedef.
5813         * conform/data/sys/select.h-data: New file.
5814         * conform/data/sys/mman.h-data: Make typed mem stuff optional.
5815         * conform/conformtest.pl (@headers): Add sys/select.h.
5816         (type, optional-type): Unless testing a typedef instantiate object.
5817         Implement optional-function.
5818
5819         * math/test-misc.c: Include <float.h>.
5820
5821 2001-01-27  Andreas Jaeger  <aj@suse.de>
5822
5823         * misc/efgcvt_r.c: Include <float.h>.
5824
5825 2001-01-26  Ulrich Drepper  <drepper@redhat.com>
5826
5827         * conform/data/stdlib.h-data: Account for XPG6 changes.
5828         * stdlib/stdlib.h (__random): Change return value type to long.
5829         (posix_memalign): Cleanup parameter names.
5830         (setenv, unsetenv): Make available for __USE_XOPEN2K.
5831         Change return type of unsetenv to int.
5832         (qecvt, qgcvt, qfcvt): Declare only if __USE_MISC.
5833         * include/stdlib.h: Change return type of unsetenv to int.
5834         Change return type of random to long int.
5835         * sysdeps/generic/setenv.c (unsetenv): Change return type to int.
5836         Return -1 and set errno if parameter is invalid.
5837         * stdlib/random.c (__random): Change return value type to long.
5838
5839         * conform/data/stdio.h-data: Account for changes in XPG6.
5840
5841         * conform/data/spawn.h-data: Correct posix_spawnattr_setflags
5842         prototype.
5843
5844         * conform/conformtest.pl: Define $mustprepend{"signal.h"}.
5845         * conform/data/signal.h-data: Fix sigev_notify_function entry.
5846         Fix typo (SIGVALRM -> SIGVTALRM).
5847         * sysdeps/unix/sysv/linux/bits/siginfo.h: Define sigev_notify_attr
5848         with real type.
5849         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
5850         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
5851         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
5852         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5853         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
5854
5855         * conform/conformtest.pl: Implement optional-element.  Define
5856         $mustprepend{"sched.h"}.
5857         * conform/data/sched.h-data: Make sporadic scheduler definitions
5858         optional.
5859
5860         * pwd/pwd.h: Don't define getpwent_r for XPG.
5861
5862         * io/sys/poll.h: Define nfds_t and use it in poll prototype.
5863         * sysdeps/generic/poll.c: Use nfds_t type in function definition.
5864         * sysdeps/mach/hurd/poll.c: Likewise.
5865         * sysdeps/unix/bsd/poll.c: Likewise.
5866         * sysdeps/unix/sysv/linux/poll.c: Likewise.
5867         * sysdeps/unix/sysv/aix/poll.c: Likewise.
5868         * sysdeps/generic/bits/poll.h: Define NPOLLFILE only if __USE_MISC.
5869         * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
5870         * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
5871         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
5872         * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
5873         * conform/data/poll.h-data: Fix typo in poll prototype.
5874
5875         * sysdeps/gnu/netinet/tcp.h: Define everything but TCP_ macros
5876         only if __USE_MISC.
5877         * conform/data/netinet/tcp.h-data: Reserved prefix TCP_.
5878
5879         * sysdeps/gnu/net/if.h: Cleanup namespace.  Define IF_NAMESIZE.
5880
5881         * inet/netinet/in.h: Make IPPROTO_ constants also macros.
5882
5883         * conform/conformtest.pl: Implement optional-type.
5884
5885         * resolv/netdb.h: Include <netinet/in.h> not <sys/socket.h>.  Include
5886         <rpc/netdb.h> only if __USE_MISC.  Include <stdint.h> instead of
5887         defining uint32_t here.  Define IPPORT_RESERVED.
5888         (struct hostent): Type of h_length element is int.
5889         (getnameinfo): Type of flags parameter is unsigned int.
5890         * inet/getnameinfo.c (getnameinfo): flags argument is unsigned.
5891         * conform/data/netdb.h-data: Add many missing definitions.
5892
5893         * conform/conformtest.pl: Implement optional-macro.
5894         * conform/data/math.h-data: Update for XPG6.
5895
5896         * math/math.h (HUGE): Define as FLT_MAX value but don't use
5897         FLT_MAX.  Don't include <float.h>.
5898         (MAXFLOAT): Likewise.
5899
5900         * math/math.h: Define MATH_ERRNO and MATH_ERREXCEPT.
5901
5902         * include/bits/xopen_lim.h: Don't define FOPEN_MAX here.
5903
5904         * conform/data/limits.h-data: Mark constants as optional wherever
5905         appropriate.
5906
5907         * posix/bits/posix2_lim.h: Set correct values for
5908         _POSIX2_COLL_WEIGHTS_MAX and _POSIX2_CHARCLASS_NAME_MAX.  Remove
5909         EQUIV_CLASS_MAX.
5910
5911         * posix/bits/posix1_lim.h: Define _POSIX_TZNAME_MAX as 6.
5912         Required by POSIX.
5913
5914         * intl/loadmsgcat.c: Include <locale.h.> for _LIBC.
5915
5916         * conform/data/netinet/in.h-data: Add reserved prefixes.
5917
5918         * conform/data/arpa/inet.h-data: Fix a few typos.
5919
5920 2001-01-26  Andreas Jaeger  <aj@suse.de>
5921
5922         * sysdeps/generic/strtol.c: Include <locale.h>
5923         * stdlib/strtod.c: Likewise
5924         * stdlib/strfmon.c: Likewise.
5925         * string/strcoll.c: Likewise.
5926         * string/strxfrm.c: Likewise.
5927         * wctype/wcfuncs_l.c: Likewise.
5928         * wctype/wctype_l.c: Likewise.
5929         * wctype/wctrans_l.c: Likewise.
5930
5931         * include/bits/locale.h: New file.
5932
5933 2001-01-26  Ulrich Drepper  <drepper@redhat.com>
5934
5935         * locale/langinfo.h: Correct logic in #ifs when defining YESSTR
5936         and NOSTR.
5937
5938         * locale/Makefile (headers): Add bits/locale.h.
5939         * locale/langinfo.h: Don't include <locale.h>.  Include <bits/locale.h>
5940         and use __LC_ constants instead of LC_.
5941         * locale/locale.h: Include <bits/locale.h> and define LC_ constants
5942         using __LC_ constants.
5943         * locale/bits/locale.h: New file.
5944         * locale/loadlocale.c: Include <locale.h>.
5945         * locale/nl_langinfo.h: Likewise.
5946
5947         * posix/glob.h: Cleanup namespace for non-_GNU_SOURCE case.
5948
5949         * io/sys/stat.h: Define S_IFSOCK for XPG6.
5950
5951         * conform/data/fcntl.h-data: posix_madvise is not expected here.
5952
5953         * conform/conformtest.pl: Fix handling of macro-str.
5954
5955         * conform/data/inttypes.h-data: Add missing definition and all of
5956         stdint.h-data.
5957
5958         * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Bump to 20.
5959
5960 2001-01-25  Ulrich Drepper  <drepper@redhat.com>
5961
5962         * conform/conformtest.pl (@headers): Add stdint.h.
5963         * conform/data/stdint.h-data: New file.
5964
5965         * conform/conformtest.pl: Recognize options --headers and
5966         --dialect.  Add dialect-specific CFLAGS.
5967
5968         * conform/conformtest.pl: Implement handling of recursive
5969         allow-header.
5970
5971         * conform/data/locale.h-data: Add new struct lconv members.
5972
5973         * posix/wordexp.h: Correct definition of wordexp_t.
5974         * posix/wordexp.c: Moved to ...
5975         * sysdeps/generic/wordexp.c: ...here.  New file.
5976         * sysdeps/unix/sysv/linux/alpha/wordexp.c: New file.
5977         * sysdeps/unix/sysv/linux/ia64/wordexp.c: New file.
5978         * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: New file.
5979         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.2.2): Add
5980         wordexp.
5981         * sysdeps/unix/sysv/linux/ia64/Versions: Likewise.
5982         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
5983
5984         * math/tgmath.h: Pretty printing.
5985
5986         * math/Makefile (tests): Add test-tgmath.
5987         (CFLAGS-test-tgmath.c): New variable.
5988         * math/test-tgmath.c: New file.  Contributed by Jakub Jelinek.
5989
5990         * conform/conformtest.pl: Handle allow-header in secondary headers
5991         correctly.
5992
5993         * conform/data/fcntl.h-data: Mark symbols introduced in XPG6 with
5994         #ifdef.
5995
5996         * conform/data/netinet/in.h-data: Use correct comment character.
5997         * conform/data/sys/stat.h-data: Likewise.
5998
5999 2001-01-25  Jakub Jelinek  <jakub@redhat.com>
6000
6001         * math/tgmath.h (__TGMATH_BINARY_FIRST_REAL_ONLY,
6002         __TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY,
6003         __TGMATH_TERNARY_REAL_ONLY): Use proper arguments to
6004         __builtin_classify_type, add ##f suffixes where appropriate.
6005         (__TGMATH_UNARY_REAL_IMAG): Remove extraneous left parenthesis.
6006         (__TGMATH_BINARY_REAL_IMAG): Likewise, use proper arguments to
6007         __builtin_classify_type.
6008         (fma): Fix spelling of first argument.
6009
6010 2001-01-25  Ulrich Drepper  <drepper@redhat.com>
6011
6012         * conform/data/unistd.h-data: Mark functions removed in XPG6
6013         correctly.
6014
6015         * posix/unistd.h: Don't make functions removed in XPG6 available if
6016         __USE_XOPEN2K.
6017
6018         * conform/conformtest.pl: Implement optional-constant.
6019         * conform/data/unistd.h-data: Use optional-constant wherever
6020         appropriate.
6021
6022         * sysdeps/generic/bits/confname.h: Correct names of _SC_PBS
6023         constants and add _SC_STREAMS.
6024         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
6025
6026         * sysdeps/unix/sysv/linux/statvfs64.c: Rename to __statvfs64 and
6027         make old name weak alias.
6028         * sysdeps/generic/statvfs64.c: Likewise.
6029         * sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and
6030         make old name weak alias.
6031         * sysdeps/generic/fstatvfs64.c: Likewise.
6032         * include/sys/statvfs.h: New file.
6033
6034         * sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE,
6035         _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and
6036         _PC_REC_XFER_ALIGN.
6037         * sysdeps/posix/pathconf.c (__pathconf): Implement handling of
6038         _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
6039         _PC_REC_MIN_XFER_SIZE, and _PC_REC_XFER_ALIGN.
6040         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
6041
6042         * conform/conformtest.pl: Run Unix tests for XPG6.
6043         Implement handling of known namespace violations.
6044         Improve printing of results.
6045
6046         * posix/unistd.h (usleep): Correct return type.
6047         * sysdeps/unix/sysv/linux/usleep.c: Correct return type.
6048         * sysdeps/unix/bsd/usleep.c: Correct return type.
6049         * sysdeps/mach/usleep.c: Correct return type.
6050         * sysdeps/generic/usleep.c: Correct return type.
6051
6052         * posix/unistd.h (sync): Correct return type.
6053         * sysdeps/generic/sync.c: Likewise.
6054         * sysdeps/mach/hurd/sync.c: Likewise.
6055
6056         * sysdeps/generic/bits/confname.h (_SC_IOV_MAX): New definition.
6057
6058         * posix/unistd.h: Make seteuid and setegid available for XPG6.
6059
6060         * wcsmbs/wchar.h: Get FILE definition for XPG5.
6061
6062         * conform/data/ctype.h-data: Use correct comment form.
6063         * conform/data/errno.h-data: Likewise.
6064         * conform/data/math.h-data: Likewise.
6065         * conform/data/mqueue.h-data: Likewise.
6066         * conform/data/netdb.h-data: Likewise.
6067         * conform/data/pthread.h-data: Likewise.
6068
6069 2001-01-24  Ulrich Drepper  <drepper@redhat.com>
6070
6071         * conform/data/wordexp.h-data: Fix typo.
6072
6073         * conform/conformtest.pl: Handle allow-header correctly.
6074
6075         * conform/data/time.h-data: Use correct comment form.
6076
6077         * conform/conformtest.pl (checknamespace): Ignore #undef lines.
6078
6079         * configure.in: Comment out binutils version test.
6080
6081         * stdlib/strtod.c (str_to_mpn): Correct parsing of thousands
6082         separators.
6083         Reported by Lagardere Jean-Francois <LAGARDEREJ@thmulti.com>.
6084
6085         * stdlib/tst-strtod.c (locale_test): New function.
6086         (main): Call locale_test.
6087         * stdlib/Makefile (tst-strtod-ENV): New variable.
6088
6089 2001-01-24  Mark Kettenis  <kettenis@gnu.org>
6090
6091         * hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost
6092         declaration of value such that we actually return the value of the
6093         environment variable.
6094
6095 2001-01-24  Andreas Jaeger  <aj@suse.de>
6096
6097         * sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl
6098         prototype.
6099         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
6100
6101         * include/sys/sysctl.h: New file.
6102
6103 2001-01-23  Andreas Jaeger  <aj@suse.de>
6104
6105         * stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to
6106         isomac.
6107
6108         * elf/dl-load.c (_dl_init_paths): Don't use strdupa in function
6109         arguments.  Reported by Jiri Kubicek <kubicek@bitsmart.com>,
6110         closes PR libc/2039.
6111
6112         * manual/install.texi (Tools for Compilation): Change required
6113         binutils version.
6114
6115 2001-01-22  Andreas Jaeger  <aj@suse.de>
6116
6117         * configure.in: Add test for new enough binutils version, move
6118         compiler/binutils test up.
6119
6120         * Versions.def: Add version GLIBC_2.2.2.
6121
6122 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
6123
6124         * iconvdata/TESTS: UTF-8 test data for IBM932 and IBM943 are now
6125         available.
6126         * iconvdata/testdata/IBM932: New file.
6127         * iconvdata/testdata/IBM932..UTF8: New file.
6128         * iconvdata/testdata/IBM943: New file.
6129         * iconvdata/testdata/IBM943..UTF8: New file.
6130         Contributed by Masahide Washizawa <washi@jp.ibm.com>.
6131
6132 2001-01-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6133
6134         * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset.
6135
6136 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
6137
6138         * malloc/malloc.c: Remove a few unnecessary initializers of global
6139         variables.
6140
6141 2000-12-09  H.J. Lu  <hjl@gnu.org>
6142
6143         * nss/Makefile (routines): Add digits_dots.
6144         * nss/Versions (libc): Add __nss_hostname_digits_dots to GLIBC_2.2.2.
6145         * nss/digits_dots.c (__nss_hostname_digits_dots): Turn template
6146         into a function.
6147         * nss/nsswitch.h (__nss_hostname_digits_dots): New internal NSS
6148         function.
6149         * nss/getXXbyYY.c (H_ERRNO_VAR_P): New definition.
6150         (TYPE_VAR_P): Likewise.
6151         (FLAGS_VAR): Likewise.
6152         (AF_VAR_P): Likewise.
6153         (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
6154         instead of including digits_dots.c.
6155         * nss/getXXbyYY_r.c (H_ERRNO_VAR_P): New definition.
6156         (TYPE_VAR_P): Likewise.
6157         (FLAGS_VAR): Likewise.
6158         (AF_VAR_P): Likewise.
6159         (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
6160         instead of including digits_dots.c.
6161
6162 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
6163
6164         * sysdeps/posix/getaddrinfo.c: Reduce .data size.
6165
6166 2001-01-21  Andreas Jaeger  <aj@suse.de>
6167
6168         * elf/constload2.c: Add prototype for init.
6169
6170 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
6171
6172         * stdlib/stdlib.h (drand48_data): Make available only for
6173         __USE_MISC.  Rename elements to protect namespace.  Change type
6174         and position of a and init element.
6175         * stdlib/drand48-iter.c: Don't handle unsigned short > 16 bit
6176         differently.  Adjust for drand48_data change.  Don't compute a here,
6177         it comes from drand48_data.
6178         * stdlib/lcong48_r.c: Don't handle unsigned short > 16 bit
6179         differently.  Adjust for drand48_data change.  Compute a here.
6180         * stdlib/srand48_r.c: Likewise.
6181         * stdlib/drand48.c: Adjust for drand48_data change.
6182         * stdlib/lrand48.c: Likewise.
6183         * stdlib/mrand48.c: Likewise.
6184         * stdlib/seek48.c: Likewise.
6185         * stdlib/drand48_r.c: Likewise.
6186         * stdlib/lrand48_r.c: Likewise.
6187         * stdlib/mrand48_r.c: Likewise.
6188         * stdlib/seed48_r.c: Likewise.  Don't handle unsigned short > 16 bit
6189         differently.
6190         * stdlib/erand48_r.c: Don't handle unsigned short > 16 bit differently.
6191         * stdlib/jrand48_r.c: Likewise.
6192
6193         * po/sv.po: Update from translation team.
6194
6195 2001-01-21  Andreas Jaeger  <aj@suse.de>
6196
6197         * stdio-common/vfprintf.c (vfprintf): Add casts.
6198
6199 2001-01-20  Ulrich Drepper  <drepper@redhat.com>
6200
6201         * iconvdata/run-iconv-test.sh: Reorgnize a bit to allow running only
6202         the ASCII test.
6203         * iconvdata/TESTS: Add entries for IBM932 and IBM943.
6204
6205         * iconvdata/Makefile (modules): Add IBM932 and IBM943.
6206         * iconvdata/gconv-modules: Add entries for IBM932 and IBM943.
6207         * iconvdata/ibm932.c: New file.
6208         * iconvdata/ibm932.h: New file.
6209         * iconvdata/ibm943.c: New file.
6210         * iconvdata/ibm943.h: New file.
6211         Patches by Masahide Washizawa <washi@jp.ibm.com>.
6212
6213         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo
6214         preventing optimization from being done.  Set the correct type bit
6215         in seen.  Don't define and use _dl_base_addr unless
6216         NEED_DL_BASE_ADDR is defined.
6217
6218         * io/ftw.c (ftw_dir): Add slash after directory name if there
6219         wasn't any.  Reported by loris <loris@iol.it>.
6220         * io/Makefile (tests): Add bug-ftw2.
6221         * io/bug-ftw2.c: New file.
6222
6223 2001-01-19  Ulrich Drepper  <drepper@redhat.com>
6224
6225         * stdlib/jrand48_r.c (__jrand48_r): Correct constructing of
6226         results.  Reported by Jeff Higham <jhigham@algorithmics.com>.
6227         * stdlib/tst-rand48.c: New file.
6228         * stdlib/Makefile (tests): Add tst-rand48.
6229
6230         * locale/newlocale.c (__newlocale): Fix test for setting all
6231         categories.
6232
6233 2001-01-19  Mark Kettenis  <kettenis@gnu.org>
6234
6235         * sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes,
6236         but change looking up the initial directory port in a similar way
6237         as done by _hurd_change_directory_port_from_name.
6238         * hurd/fchroot.c (fchroot): Likewise.
6239
6240 2001-01-18  Ulrich Drepper  <drepper@redhat.com>
6241
6242         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If HAVE_AUX_XID is
6243         defined don't look whether the AT_*ID values were set.
6244         If HAVE_AUX_PAGESIZE is defined don't look whether the pagesize is set.
6245         (_dl_show_auxv): Rewrite to avoid switch statement.
6246         * sysdeps/unix/sysv/linux/kernel-features.h: Define
6247         __ASSUME_AT_PAGESIZE for kernel >= 2.4.1.
6248         * sysdeps/unix/sysv/linux/ldsodefs.h: Define HAVE_AUX_XID.
6249         Define HAVE_AUX_PAGESIZE if __ASSUME_AT_PAGESIZE is defined.
6250
6251         * sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect.
6252         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
6253         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
6254
6255         * elf/rtld.c (process_envvars): Call __strtoul_internal instead of
6256         strtoul.
6257         * elf/dl-minimal.c (strtol, __strtol_internal, strtoul): Removed.
6258         (__sigjmp_save): Set __mask_was_saved to zero since we don't save
6259         anything.
6260         * dlfcn/eval.c (__strtol_internal): Define here.
6261         (eval): Use __strtol_internal instead of strtol.
6262
6263         * elf/elf.h: Add a few more EF_MIPS_* constants.
6264
6265 2001-01-17  Ulrich Drepper  <drepper@redhat.com>
6266
6267         * manual/Makefile (chapters): Add debug.
6268         * manual/debug.texi: New file.
6269         * manual/examples/execinfo.c: New file.
6270         Patch by suckfish@ihug.co.nz.
6271
6272 2001-01-17  Andreas Schwab  <schwab@suse.de>
6273
6274         * sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid
6275         invalid asm.
6276
6277 2001-01-17  Andreas Jaeger  <aj@suse.de>
6278
6279         * nscd/connections.c (nscd_run): Use proper format specifier.
6280
6281 2001-01-16  Ulrich Drepper  <drepper@redhat.com>
6282
6283         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Move x86_cap_flags and
6284         x86_platforms data into new file after prepending _dl_.  Change
6285         users.
6286         * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: New file.
6287         * sysdeps/unix/sysv/linux/i386/Dist: Add dl-procinfo.c.
6288         * sysdeps/unix/sysv/linux/i386/Makefile: Add rules to build
6289         dl-procinfo.c.
6290
6291         * setjmp/setjmp.h: Cleanup definition of setjmp macro.
6292
6293         * sysdeps/i386/elf/bsd-setjmp.S: Real implementation.
6294         * sysdeps/i386/elf/bsd-_setjmp.S: Removed.
6295         * sysdeps/i386/elf/setjmp.S (setjmp): Removed here.
6296         (_setjmp): Likewise.
6297         * sysdeps/i386/bsd-_setjmp.S: Real implementation.
6298         * sysdeps/i386/bsd-setjmp.S: Real implementation.
6299         * sysdeps/i386/bits/setjmp.h: Remove PUSH_SIGNAL_MASK definition.
6300         * sysdeps/i386/setjmp.S: Remove PIC support.  This is the non-ELF
6301         version.
6302
6303 2001-01-16  Andreas Jaeger  <aj@suse.de>
6304
6305         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix
6306         misapplied last patch.
6307
6308 2001-01-15  Ulrich Drepper  <drepper@redhat.com>
6309
6310         * stdlib/random.c (__initstate): Clean up a cast.
6311         (__setstate): Likewise.
6312
6313         * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove select
6314         syscall handling.  The generic Linux version should work.
6315
6316 2001-01-15  Andreas Jaeger  <aj@suse.de>
6317
6318         * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
6319
6320         * stdio-common/tstscanf.c (main): Add two testcases for '*' modifier.
6321
6322 2001-01-14  Jakub Jelinek  <jakub@redhat.com>
6323
6324         * nss/getent.c (print_aliases, aliases_keys, ethers_keys,
6325         netgroup_keys, print_rpc, rpc_keys, print_shadow, shadow_keys):
6326         New functions.
6327         (group_keys, hosts_keys, network_keys, passwd_keys, protocols_keys):
6328         If number is 0, list all.
6329         (services_keys): Likewise.  Lookup aliases as well.
6330         (databases): New table.
6331         (build_doc): Prepare argp doc text with list of supported databases.
6332         (main): Change to table driven processing.
6333
6334 2001-01-14  Thorsten Kukuk <kukuk@suse.de>
6335
6336         * sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about these
6337         functions.
6338
6339 2001-01-03  Jakub Jelinek  <jakub@redhat.com>
6340
6341         * sunrpc/xdr.c (xdr_long, xdr_u_long): Return FALSE if trying to
6342         encode value which does not fit in the 32bit type.
6343
6344 2001-01-15  Hiroyuki Machida <machida@sm.sony.co.jp>
6345
6346         * sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
6347         Change type of CTX to (struct sigcontext *).
6348         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise.
6349         (GET_FRAME): Likewise.
6350         (GET_STACK): Likewise.
6351         (SIGCONTEXT): Likewise.  Add 2nd arg _code.
6352         (SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.
6353
6354 2001-01-13  Ulrich Drepper  <drepper@redhat.com>
6355
6356         * manual/texinfo.tex: Update from upstream version.
6357
6358 2001-01-13  Jakub Jelinek  <jakub@redhat.com>
6359
6360         * inet/ether_ntoh.c (lookup_function): Change arguments to match
6361         _nss_*_getntohost_r prototype.
6362         (ether_ntohost): Pass errno pointer to NSS function.
6363
6364 2001-01-12  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6365
6366         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value.
6367         (MAP_LOCKED): New definition.
6368         (MAP_NORESERVE): New definition.
6369
6370 2001-01-12  Ulrich Drepper  <drepper@redhat.com>
6371
6372         * assert/assert.h: Use static_cast instead of C-style cast for C++.
6373         Patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>.
6374
6375 2001-01-12  Ben Collins  <bcollins@debian.org>
6376
6377         * sysdeps/generic/segfault.c (install_handler): Use access, not
6378         __access.
6379
6380 2001-01-12  Andreas Jaeger  <aj@suse.de>
6381
6382         * posix/fnmatch_loop.c (FCT): Remove signed warnings.
6383         * posix/wordexp.c (do_parse_glob): Likewise.
6384         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
6385         * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
6386         * elf/dl-open.c (_dl_open): Likewise.
6387         * elf/dl-close.c (_dl_close): Likewise.
6388         * elf/dl-load.c (_dl_map_object): Likewise.
6389         * iconv/iconv_prog.c (process_fd): Likewise.
6390         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
6391
6392         * locale/localeinfo.h (struct locale_data): Use __flexarr instead
6393         of a zero-length array.
6394
6395 2001-01-11  Jakub Jelinek  <jakub@redhat.com>
6396
6397         * stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func.
6398         * stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument.
6399         * stdlib/cxa_on_exit.c: Remove.
6400         * stdlib/Makefile: Revert last patch.
6401         * stdlib/Versions: Likewise.
6402         * include/stdlib.h: Likewise.
6403         * stdlib/exit.h: Revert last patch.
6404         (struct exit_function): Add second argument to cxa fn.
6405         * stdlib/exit.c: Revert last patch.
6406         (exit): Add hidden second argument.
6407
6408 2001-01-11  H.J. Lu  <hjl@gnu.org>
6409
6410         * elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ...
6411         * elf/dl-open.c (_dl_open): Here.
6412         * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock):
6413         Make it static.
6414         (_dl_static_init): Initialize the variables every time when possible.
6415         * sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT):
6416         Undefine it first.
6417
6418 2001-01-11  Ulrich Drepper  <drepper@redhat.com>
6419
6420         * stdlib/Makefile (routines): Add cxa_on_exit.
6421         * stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit.
6422         * stdlib/cxa_on_exit.c: New file.
6423         * include/stdlib.h: Add prototype for __cxa_on_exit.
6424         * stdlib/exit.c: Handle ef_cxa2.
6425         * stdlib/exit.h (enum): Add ef_cxa2.
6426         (struct exit_function): Add cxa2.
6427
6428         * Versions.def [ld]: Add GLIBC_2.2.1.
6429
6430 2001-01-10  H.J. Lu  <hjl@gnu.org>
6431
6432         * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries.
6433         * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add
6434         dl-static.
6435         * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init.
6436         * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined.
6437         * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file.
6438         * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file.
6439         * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
6440
6441 2001-01-11  Ulrich Drepper  <drepper@redhat.com>
6442
6443         * libio/stdio.h: Remove definition of off_t.
6444
6445 2001-01-11  Andreas Jaeger  <aj@suse.de>
6446
6447         * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
6448         <mkuhn@acm.org>.
6449
6450 2001-01-10  Ulrich Drepper  <drepper@redhat.com>
6451
6452         * sunrpc/Makefile (distribute): Add errqueue.h.
6453
6454 2001-01-10  H.J. Lu  <hjl@gnu.org>
6455
6456         * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve
6457         r9, r10 and r11 for language specific registers.
6458
6459 2001-01-10  Jakub Jelinek  <jakub@redhat.com>
6460
6461         * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the
6462         UDP socket.
6463         (clntudp_call): Handle MSG_ERRQUEUE.
6464         * sysdeps/generic/errqueue.h: New file.
6465         * sysdeps/unix/sysv/linux/errqueue.h: New file.
6466
6467 2001-01-10  H.J. Lu  <hjl@gnu.org>
6468
6469         * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
6470
6471 2001-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
6472
6473         * CONFORMANCE: Update.
6474
6475 2001-01-09  Ulrich Drepper  <drepper@redhat.com>
6476
6477         * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
6478         Minimal cleanups.  Add assert to ensure memory handling is correct.
6479
6480         * manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value.
6481         Reported by Ben Collins <bcollins@debian.org>.
6482
6483         * time/strftime.c (my_strftime): Mark previous GNU extensions
6484         which are now in C99 as such.
6485
6486 2001-01-08  Ulrich Drepper  <drepper@redhat.com>
6487
6488         * elf/rtld.c (process_envvars): Place output files for profiling
6489         in SUID binaries in /var/profile.
6490
6491         * elf/dl-load.c (_dl_map_object): Don't look in cache for
6492         preloading in SUID binaries.
6493
6494         * elf/dl-profile.c (_dl_start_profile): Open the output file with
6495         O_NOFOLLOW if possible.
6496
6497         * include/stdlib.h: Add __posix_openpt declaration.
6498         * stdlib/stdlib.h: Add posix_openpt declaration.
6499         * login/Versions: Add posix_openpt for GLIBC_2.2.1.
6500         * sysdeps/generic/getpt.c: Define posix_openpt.
6501         * sysdeps/unix/bsd/getpt.c: Likewise.
6502         * sysdeps/unix/sysv/linux/getpt.c: Likewise.
6503
6504         * time/Makefile (tests): Add tst-mktime.
6505         * time/tst-mktime.c: New file.
6506
6507         * posix/tst-dir.c (main): One more mkdir() test.
6508
6509         * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
6510         Remove getpagesize syscall.  We assume that the pagesize is always
6511         determined from the auxiliary vector.
6512
6513         * intl/dcigettext.c: Fix a few warnings.
6514         Patch by Bruno Haible <haible@ilog.fr>.
6515
6516 2001-01-08  Andreas Jaeger  <aj@suse.de>
6517
6518         * io/test-lfs.c (do_test): Check lseek64 return for EINVAL.
6519         Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
6520
6521 2001-01-08  Ulrich Drepper  <drepper@redhat.com>
6522
6523         * sysdeps/generic/segfault.c (install_handler): Check output file
6524         name with access().
6525
6526         * resolv/res_query.c: Use simply getenv() for HOSTALIASES.
6527         * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
6528
6529         * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
6530
6531         * malloc/memusage.c (me): Use access() to determine whether we
6532         should write the output file or not.
6533
6534         * libio/bits/stdio.h (printf): Define macro to map printf call to
6535         fprintf which gcc can optimize.
6536         * stdio-common/printf.c: Undefine printf.
6537
6538 2001-01-07  Ulrich Drepper  <drepper@redhat.com>
6539
6540         * sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last
6541         patch.  We must use unsigned int for l member of union.
6542
6543         * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call
6544         _dl_aux_init for shared libraries.
6545
6546         * sysdeps/unix/sysv/linux/glob64.c: Moved to ...
6547         * sysdeps/gnu/glob64.c: ...here.  New file.
6548
6549 2001-01-07  Ben Collins  <bcollins@debian.org>
6550
6551         * manual/examples/longopt.c: Make the "struct option" a little
6552         more like it should be, adding usage of required_argument,
6553         noargument and such, and also setting the options string right.
6554
6555         * manual/sysinfo.texi (Load Average): New section, documents
6556         getloadavg().
6557
6558 2001-01-06  Ulrich Drepper  <drepper@redhat.com>
6559
6560         * version.h (VERSION): Bump to 2.2.1.
6561
6562         * sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
6563         * sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S.
6564         * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S.
6565         * dlfcn/Makefile (distribute): Add errmsg1mod.c.
6566         * Makefile (distribute): Add include/libc-internal.h.
6567         * libio/Makefile (distribute): Avoid overwriting.
6568
6569         * iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in
6570         buffer and table handling.
6571
6572 2001-01-05  H.J. Lu  <hjl@gnu.org>
6573
6574         * elf/dl-support.c (non_dynamic_init): Move the auxiliary
6575         vector checking to ...
6576         (_dl_aux_init): Here.  New function.  Defined only if
6577         HAVE_AUX_VECTOR is defined.
6578
6579         * sysdeps/generic/libc-start.c (__libc_start_main): Call
6580         _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined.
6581
6582         * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call
6583         _dl_aux_init.
6584
6585         * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed.
6586         (HAVE_AUX_VECTOR): Defined.
6587         (_dl_aux_init): Declared.
6588
6589 2001-01-05  Ben Collins  <bcollins@debian.org>
6590
6591         * manual/string.texi (Finding Tokens in a String): Document XPG
6592         basename() and dirname(), as well as GNU basename().
6593
6594 2001-01-05  Jakub Jelinek  <jakub@redhat.com>
6595
6596         * Makeconfig (preprocess-version): Replace -traditional with
6597         -x assembler-with-cpp.
6598
6599 2001-01-05  Joseph S. Myers  <jsm28@cam.ac.uk>
6600
6601         * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj
6602         for GCC 2.97 or later.
6603
6604 2001-01-05  Ben Collins  <bcollins@debian.org>
6605
6606         * manual/stdio.texi (getline): Clarify the return value in the
6607         case of EOF being reached before a newline.
6608
6609 2001-01-04  Jakub Jelinek  <jakub@redhat.com>
6610
6611         * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful,
6612         FALSE otherwise.
6613         (pmap_set, pmap_unset): Check __get_myaddress return value.
6614
6615 2001-01-05  Mark Kettenis  <kettenis@gnu.org>
6616
6617         * sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>.
6618         (struct ether_addr): Declare ether_addr_octet member as
6619         `u_int8_t'.  Add __attribute__ ((__packed__)).
6620
6621 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
6622
6623         * sysdeps/mach/hurd/readdir64.c: New file.
6624         * sysdeps/mach/hurd/readdir64_r.c: New file.
6625
6626 2001-01-07  Mark Kettenis  <kettenis@gnu.org>
6627
6628         * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about
6629         `struct statfs' and `struct statvfs' being identical.
6630         * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
6631
6632 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
6633
6634         * sysdeps/mach/hurd/fstatfs64.c: New file.
6635         * sysdeps/mach/hurd/fstatvfs64.c: New file.
6636         * sysdeps/mach/hurd/statfs64.c: New file.
6637         * sysdeps/mach/hurd/statvfs64.c: New file.
6638         * sysdeps/mach/hurd/statfsconv.c: New file.
6639         * sysdeps/mach/hurd/Dist: Add statfsconv.c.
6640
6641 2001-01-06  Ulrich Drepper  <drepper@redhat.com>
6642
6643         * iconv/skeleton.c: Reset outbuf for next round of the loop.
6644         Reported by Owen Taylor <otaylor@redhat.com>.
6645         * iconv/Makefile (tests): Add tst-iconv3.
6646         * iconv/tst-iconv3.c: New file.
6647
6648         * iconvdata/ibm930.c: Fix handling of state.  Optimize a bit.
6649         * iconvdata/ibm933.c: Likewise.
6650         * iconvdata/ibm935.c: Likewise.
6651         * iconvdata/ibm937.c: Likewise.
6652         * iconvdata/ibm939.c: Likewise.
6653         * iconvdata/ibm930.h: Adjust single byte table for optimization.
6654         * iconvdata/ibm933.h: Likewise.
6655         * iconvdata/ibm935.h: Likewise.
6656         * iconvdata/ibm939.h: Likewise.
6657
6658         * iconvdata/testdata/IBM930: Add misssing SI.
6659         * iconvdata/testdata/IBM933: Likewise.
6660         * iconvdata/testdata/IBM935: Likewise.
6661         * iconvdata/testdata/IBM937: Likewise.
6662         * iconvdata/testdata/IBM939: Likewise.
6663
6664 2001-01-06  Andreas Jaeger  <aj@suse.de>
6665
6666         * configure.in: Check for old add-ons that shouldn't be used with
6667         current glibc anymore.
6668
6669 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
6670
6671         * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number
6672         instead of -1 on failure.  Don't forget to copy file name into
6673         *ENTRY if successful.  Set *RESULT to NULL upon reaching the end
6674         of the directory.
6675
6676 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
6677
6678         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
6679         copy st_atime member.
6680
6681 2001-01-05  Ulrich Drepper  <drepper@redhat.com>
6682
6683         * io/ftw.c (ftw_dir): Don't add a second slash at the beginning
6684         for searches from the root directory.
6685         Reported by loris <loris@iol.it> [PR libc/1991].
6686         * io/Makefile (tests): Add bug-ftw1.
6687         * io/bug-ftw1.c: New file.
6688
6689         * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
6690         if it is not available.  Instead use it only if it is available.
6691         * sysdeps/unix/sysv/linux/ldsodefs.h: New file.
6692
6693         * iconv/gconv_simple.c (internal_ics4_loop): Correct test for
6694         overflowing output buffer.
6695         (internal_ucs4_loop_unaligned): Likewise.
6696         (ucs4_internal_loop): Likewise.
6697         (ucs4_internal_loop_unaligned): Likewise.
6698         (internal_ucs4le_loop): Likewise.
6699         (internal_ucs4le_loop_unaligned): Likewise.
6700         (ucs4le_internal_loop): Likewise.
6701         (ucs4le_internal_loop_unaligned): Likewise.
6702         Reported by Owen Taylor <otaylor@redhat.com>.
6703         * iconv/Makefile (tests): Add tst-iconv2.
6704         * iconv/tst-iconv2.c: New file.
6705
6706 2001-01-04  H.J. Lu  <hjl@gnu.org>
6707
6708         * elf/dl-support.c (DL_FIND_AUXV): New.  Defined if not defined.
6709         (_dl_clktck): Declared.
6710         (non_dynamic_init): Take 3 arguments.
6711         Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.
6712
6713 2001-01-01  Bruno Haible  <haible@clisp.cons.org>
6714
6715         Finish implementation of plural form handling.
6716         * intl/dcigettext.c (known_translation_t): Rename 'domain' field to
6717         'domainname'.  Remove 'plindex' field.  Add 'domain' and
6718         'translation_length' fields.
6719         (transcmp): Don't compare 'plindex' fields.
6720         (plural_lookup): New function.
6721         (DCIGETTEXT): Change cache handing in the plural case.  Don't call
6722         plural_eval before the translation and its catalog file have been
6723         found.  Remove plindex from cache key.  Add 'translation_length' and
6724         'domain' to cache result.
6725         (_nl_find_msg): Remove index argument, return length of translation
6726         to the caller instead.  Weaken comparison of string lengths, to account
6727         for plural entries.  Call iconv() on the entire result string, not
6728         only on the portion needed so far.
6729         * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
6730         argument.
6731         * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
6732
6733 2001-01-04  Ulrich Drepper  <drepper@redhat.com>
6734
6735         * intl/plural.y (yylex): Minimal improvement in number scanner.
6736
6737 2000-07-31  Bruno Haible  <haible@clisp.cons.org>
6738
6739         * intl/plural.y: Include config.h.  Needed to define 'inline' away for
6740         C compilers that don't support it.
6741         (yylex): Don't use gcc specific case range syntax.
6742         * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
6743         compilers.
6744
6745 2000-10-12  Bruno Haible  <haible@clisp.cons.org>
6746
6747         * intl/finddomain.c: Remove unneeded includes.
6748
6749 2000-10-12  Bruno Haible  <haible@clisp.cons.org>
6750
6751         * intl/localealias.c (memcpy): Return first argument, just like the
6752         real memcpy function does.
6753         * intl/bindtextdom.c (memcpy): Likewise.
6754         * intl/finddomain.c (memcpy): Likewise.
6755         * intl/l10nflist.c (memcpy): Likewise.
6756         * intl/textdomain.c (memcpy): Likewise.
6757         From Paul Eggert <eggert@twinsun.com>.
6758
6759 2001-01-03  Jakub Jelinek  <jakub@redhat.com>
6760
6761         * resolv/resolv.h (struct __res_state): Add nsinit field.
6762         * resolv/res_send.c (res_nsend): Use it instead of nscount.
6763         * resolv/res_init.c (__res_vinit): Initialize it.
6764         (res_nclose): Clear it instead of nscount.
6765
6766 2001-01-04  Ulrich Drepper  <drepper@redhat.com>
6767
6768         * malloc/mtrace.pl: Fix matching of addresses.
6769         Patch by Aharon Robbins <arnold@skeeve.com>.
6770
6771         * Versions.def (ld): Add GLIBC_2.2.
6772
6773         * catgets/gencat.c: Copyright 2001.
6774         * csu/version.c: Likewise.
6775         * debug/catchsegv.sh: Likewise.
6776         * debug/xtrace.sh: Likewise.
6777         * elf/ldconfig.c: Likewise.
6778         * elf/sprof.c: Likewise.
6779         * iconv/iconv_prog.c: Likewise.
6780         * locale/locale.c: Likewise.
6781         * locale/localedef.c: Likewise.
6782         * malloc/memusage.sh: Likewise.
6783         * malloc/mtrace.pl: Likewise.
6784         * nscd/nscd.c: Likewise.
6785         * posix/getconf.c: Likewise.
6786
6787 2001-01-04  Mark Kettenis  <kettenis@gnu.org>
6788
6789         * include/stdio.h: Only provide __getwc_unlocked prototype if
6790         USE_IN_LIBIO is defined.
6791
6792 2001-01-04  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6793
6794         * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code
6795         handling.
6796
6797 2001-01-03  Andreas Schwab  <schwab@suse.de>
6798
6799         * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias.
6800         * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias.
6801
6802         * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias.
6803         * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix
6804         strtoull alias.
6805         * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias.
6806         * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix
6807         wcstoull alias.
6808
6809         * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this
6810         directory.
6811         * sysdeps/generic/strtol_l.c: Likewise.
6812         * sysdeps/generic/strtoul_l.c: Likewise.
6813         * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c.
6814
6815         * sysdeps/wordsize-64/strtol_l.c: Fix alias.
6816         * sysdeps/wordsize-64/strtoul_l.c: Likewise.
6817         * sysdeps/wordsize-64/wcstol_l.c: Fix alias.
6818         * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
6819
6820 2001-01-04  Andreas Jaeger  <aj@suse.de>
6821
6822         * nss/nsswitch.c: Include files for missing prototypes, remove
6823         buggy declaration of prototypes.
6824
6825 2001-01-03  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6826
6827         * resolv/Versions: Fix bracing.
6828         * sysdeps/powerpc/soft-fp/Versions: Likewise.
6829         * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
6830
6831 2001-01-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6832
6833         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
6834
6835 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
6836
6837         * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
6838         Suggested by Minko Markov <mmarkov@home.com>.
6839
6840 2001-01-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6841
6842         * sysdeps/powerpc/elf/start.S (__data_start): Make it global.
6843         * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
6844         the failing symbol.
6845         (__process_machine_rela): Pass symbol to dl_reloc_overflow().
6846
6847 2001-01-02  Ben Collins  <bcollins@debian.org>
6848
6849         * time/tzset.c (tzset_internal): Make sure we fall back to UTC
6850         if TZ is not set and TZDEFAULT is not present.
6851
6852 2001-01-01  Ben Collins  <bcollins@debian.org>
6853
6854         * string/strings.h: Make sure we declare our functions even if
6855         string.h is already included, based on whether or not __USE_BSD is
6856         defined.
6857
6858 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
6859
6860         * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
6861         other dlopen() and dlsym().
6862         Based on a patch by Ben Collins <bcollins@debian.org>.
6863
6864 2001-01-02  Andreas Jaeger  <aj@suse.de>
6865
6866         * dlfcn/errmsg1.c (main): Call dlerror initially.
6867         Reported by Ben Collins <bcollins@debian.org>.
6868
6869 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
6870
6871         * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
6872         value is ignored if the selected locale is the C locale.
6873         * intl/tst-gettext.c: Set locale for above change.
6874         * intl/tst-translit.c: Likewise.
6875
6876 2001-01-02  Andreas Jaeger  <aj@suse.de>
6877
6878         * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
6879         (_IO_switch_to_wget_mode): Likewise.
6880         (_IO_sputbackwc): Likewise.
6881         (_IO_sungetwc): Use wint_t for result.
6882
6883         * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done.
6884
6885         * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct
6886         signedness.
6887
6888         * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked
6889         to (int) to avoid warnings.
6890         * stdio-common/printf_fp.c (putc): Likewise.
6891         * stdio-common/printf_size.c (putc): Likewise.
6892
6893         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make
6894         constant unsigned.
6895
6896 2001-01-01  Andreas Jaeger  <aj@suse.de>
6897
6898         * inet/rcmd.c (rcmd_af): Use socklen_t for len.
6899
6900 2000-12-31  Andreas Jaeger  <aj@suse.de>
6901
6902         * include/libc-internal.h: Add prototype for __libc_freeres.
6903
6904         * sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
6905         for prototypes, remove redundant prototypes.
6906         * gmon/gmon.c: Likewise.
6907         * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
6908         * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
6909         * malloc/mtrace.c: Likewise.
6910
6911         * sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
6912         prototypes.
6913         * elf/soinit.c: Likewise.
6914         * sysdeps/generic/prof-freq.c: Likewise.
6915         * sysdeps/mach/hurd/profil.c: Likewise.
6916         * debug/noophooks.c: Likewise.
6917         * debug/pcprofile.c: Likewise.
6918         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
6919         * sysdeps/generic/get_clockfreq.c: Likewise.
6920         * malloc/set-freeres.c: Likewise.
6921
6922         * locale/localeinfo.h: Add internal prototypes.
6923
6924         * elf/rtld.c (dl_main): Fix prototype.
6925
6926         * iconvdata/tst-table-to.c (main): Use return instead of exit to
6927         avoid warning.
6928
6929         * nis/rpcsvc/yp_prot.h: Remove __P.
6930         * nis/rpcsvc/ypupd.h: Likewise.
6931         * nis/rpcsvc/yp.h: Likewise.
6932
6933         * sunrpc/rpc_main.c: Add noreturn attributes.
6934         * sunrpc/rpc_scan.h: Likewise.
6935
6936         * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.
6937
6938         * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.
6939
6940         * sunrpc/proto.h: Add noreturn attributes to error and crash.
6941
6942         * posix/bsd-getpgrp.c: Add prototype to avoid warning.
6943
6944         * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.
6945
6946         * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.
6947
6948         * include/rpc/rpc_msg.h: Add prototypes for some functions.
6949         * include/rpc/auth.h: Likewise.
6950         * include/rpc/auth_des.h: Likewise.
6951         * include/rpc/clnt.h: Likewise.
6952         * include/rpc/rpc.h: Likewise.
6953         * include/rpc/svc.h: Likewise.
6954         * include/rpc/svc_auth.h: Likewise.
6955
6956         * include/rpc/des_crypt.h: New file.
6957
6958         * malloc/memusagestat.c (main): Use return instead of exit to
6959         avoid warning.
6960         * io/pwd.c (main): Likewise.
6961         * iconvdata/tst-table-from.c (main): Likewise.
6962         * ctype/test_ctype.c (main): Likewise.
6963         * setjmp/tst-setjmp.c (main): Likewise.
6964         * signal/tst-signal.c (main): Likewise.
6965         * stdlib/tst-strtol.c (main): Likewise.
6966         * stdlib/tst-strtod.c (main): Likewise.
6967         * stdlib/tst-strtoll.c (main): Likewise.
6968         * stdlib/tst-xpg-basename.c (main): Likewise.
6969         * dirent/tst-seekdir.c (main): Likewise.
6970         * grp/testgrp.c (main): Likewise.
6971         * inet/test_ifindex.c (main): Likewise.
6972         * io/test-utime.c (main): Likewise.
6973         * posix/test-vfork.c (main): Likewise.
6974         * posix/testfnm.c (main): Likewise.
6975         * stdio-common/temptest.c (main): Likewise.
6976         * stdio-common/test_rdwr.c (main): Likewise.
6977         * stdio-common/tst-fileno.c (main): Likewise.
6978         * stdio-common/tst-sscanf.c (main): Likewise.
6979         * stdio-common/tstscanf.c (main): Likewise.
6980         * string/bug-strncat1.c (main): Likewise.
6981         * string/bug-strpbrk1.c (main): Likewise.
6982         * string/bug-strspn1.c (main): Likewise.
6983         * string/test-ffs.c (main): Likewise.
6984         * string/tst-inlcall.c (main): Likewise.
6985         * string/tst-svc.c (main): Likewise.
6986         * timezone/test-tz.c (main): Likewise.
6987         * wctype/test_wcfuncs.c (main): Likewise.
6988         * wctype/test_wctype.c (main): Likewise.
6989
6990         * stdlib/tst-random.c: Add attribute noreturn to fail.
6991
6992 2000-12-28  Wolfram Gloger  <wg@malloc.de>
6993
6994         * malloc/malloc.c (MALLOC_COPY): Handle case if source and
6995         destination overlap.  Assume dest is always below source if
6996         overlapping.
6997
6998 2000-12-30  Ulrich Drepper  <drepper@redhat.com>
6999
7000         * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
7001         object was not yet initialized.
7002
7003 2000-12-28  H.J. Lu  <hjl@gnu.org>
7004
7005         * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
7006         is always consistent even if its dependency is failed.
7007
7008         * elf/dl-open.c (_dl_open): Increment the open count before
7009         calling _dl_close () in case of failure.
7010
7011         * elf/neededtest4.c: New file.
7012         * elf/neededobj5.c: New file.
7013         * elf/neededobj6.c: New file.
7014
7015         * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
7016         (tests): Add neededtest4.
7017         (modules-names): Add neededobj5 and neededobj6.
7018         ($(objpfx)neededobj6.so): New target.
7019         ($(objpfx)neededtest4): New target.
7020         ($(objpfx)neededtest4.out): New target.
7021
7022 2000-12-28  Joseph S. Myers  <jsm28@cam.ac.uk>
7023
7024         * misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
7025         * stdlib/monetary.h: Add strfmon format attributes.
7026
7027 2000-12-28  Roland McGrath  <roland@frob.com>
7028
7029         * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
7030         __mempcpy does it for us.
7031
7032 2000-12-28  Andreas Jaeger  <aj@suse.de>
7033
7034         * sysdeps/generic/dl-environ.c: Add prototype for unsetenv.
7035
7036         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
7037         __new_setrlimit.
7038
7039         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
7040         __old_getrlimit64.
7041
7042         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
7043         __new_getrlimit.
7044
7045         * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
7046         __chown_is_lchown and __real_chown.
7047
7048         * sysdeps/generic/ldsodefs.h: Add noreturn attribute to
7049         _dl_reloc_bad_type.
7050
7051         * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
7052         up GCC's warning about "deprecated use of label at end of compound
7053         statement."
7054         * sunrpc/rpc_cout.c (emit_inline): Likewise.
7055
7056         * gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
7057         prototypes.
7058         Remove struct bb and __bb_head since those are declared by
7059         sys/gmon.h.
7060
7061 2000-12-22  Ben Collins  <bcollins@debian.org>
7062
7063         * manual/charset.texi: Fix typo in description of WCHAR_MAX.
7064
7065         * manual/argp.texi: Document argp_domain as part of struct argp.
7066
7067 2000-12-28  Andreas Jaeger  <aj@suse.de>
7068
7069         * catgets/Makefile (generated): Add sample.SJIS.cat.
7070
7071         * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
7072
7073         * elf/dl-minimal.c: Add prototypes.
7074
7075         * include/locale.h: Add internal prototypes.
7076         * include/sys/gmon.h: Likewise.
7077
7078         * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
7079
7080 2000-12-27  Ben Collins  <bcollins@debian.org>
7081
7082         * elf/dl-open.c (_dl_open): Correctly set the new objname pointer
7083         when reallocating the error strings.
7084         Reported by Kalle Olavi Niemitalo <kon@iki.fi>
7085
7086 2000-12-27  Ulrich Drepper  <drepper@redhat.com>
7087
7088         * dlfcn/Makefile (tests): Add errmsg1.
7089         (modules-names): Add errmsg1mod.
7090         Add rules to run errmsg1.
7091         * dlfcn/errmsg1.c: New file.
7092         * dlfcn/errmsg1mod.c: New file.
7093
7094         * dlfcn/dlerror.c (dlerror): Always create output string which
7095         includes object file name.
7096
7097         * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
7098         if we would go through it only once.
7099         Patch by Rick Gorton <rick.gorton@api-networks.com>.
7100
7101         * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
7102         Patch by Richard Henderson <rth@redhat.com>.
7103
7104 2000-12-27  Jakub Jelinek  <jakub@redhat.com>
7105
7106         * malloc/malloc.c (memmove): Add prototypes.
7107         (MALLOC_MEMMOVE): Define.
7108         (chunk_realloc): Use it instead of MALLOC_COPY if source and
7109         destination might overlap.
7110
7111 2000-12-27  Andreas Jaeger  <aj@suse.de>
7112
7113         * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
7114         function.
7115         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
7116         * locale/programs/locale.c (show_locale_vars): Likewise.
7117         (show_info): Likewise.
7118         * locale/programs/ld-collate.c (collate_output): Likewise.
7119         * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
7120         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7121         * stdlib/rpmatch.c (rpmatch): Likewise.
7122
7123         * setjmp/tst-setjmp.c: Make local functions static.
7124         * setjmp/jmpbug.c: Likewise.
7125         * signal/tst-signal.c: Likewise.
7126         * stdio-common/tfformat.c: Likewise.
7127         * string/tst-svc.c: Likewise.
7128         * time/clocktest.c: Likewise.
7129         * time/tst-getdate.c: Likewise.
7130         * dirent/list.c: Likewise.
7131         * dirent/opendir-tst1.c: Likewise.
7132         * posix/runtests.c: Likewise.
7133         * posix/tst-getaddrinfo.c: Likewise.
7134         * posix/tst-chmod.c: Likewise.
7135         * posix/wordexp-test.c: Likewise.
7136         * misc/tst-efgcvt.c: Likewise.
7137         * timezone/tst-timezone.c: Likewise.
7138         * rt/tst-clock.c: Likewise.
7139         * rt/tst-shm.c: Likewise.
7140         * rt/tst-aio2.c: Likewise.
7141         * rt/tst-aio3.c: Likewise.
7142         * rt/tst-aio4.c: Likewise.
7143         * rt/tst-aio5.c: Likewise.
7144
7145         * dlfcn/failtest.c: Add prototype for foo.
7146
7147         * dlfcn/glrefmain.c: Add prototype for do_test.
7148
7149         * dlfcn/tst-dladdr.c: Add prototype for do_test.
7150
7151         * string/test-ffs.c (main): Add prototype for nested function.
7152
7153         * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
7154
7155         * nss/XXX-lookup.c: Add prototype to shut up GCC.
7156
7157         * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
7158         setetherent prototype.
7159         Add internal interfaces.
7160
7161         * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
7162         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
7163
7164         * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
7165
7166         * nis/nis_intern.h: Add prototype for __pmap_getnisport.
7167
7168         * nss/nss_files/files-ethers.c: Include netinet/ether.h to get
7169         prototypes, remove struct etherent since it's declared in ether.h.
7170         Fix ntohost declaration.
7171
7172         * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
7173
7174         * include/getopt.h: Add internal interfaces.
7175         * include/termios.h: Likewise.
7176         * include/resolv.h: Likewise.
7177         * include/netdb.h: Likewise.
7178         * include/grp.h: Likewise.
7179         * include/pwd.h: Likewise.
7180         * include/shadow.h: Likewise.
7181         * include/rpc/netdb.h: Likewise.
7182         * include/setjmp.h: Likewise.
7183
7184         * include/stdio.h: Add prototypes for compatibility functions.
7185         * include/grp.h: Likewise.
7186         * include/pwd.h: Likewise.
7187         * include/shadow.h: Likewise.
7188
7189         * include/fenv.h: Define internal interfaces.
7190
7191 2000-12-27  Ulrich Drepper  <drepper@redhat.com>
7192
7193         * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
7194         argument case separately.
7195         * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
7196
7197 2000-12-27  Andreas Jaeger  <aj@suse.de>
7198
7199         * include/sys/wait.h: Add some prototypes.
7200         * Rules (dummy.c): Create also prototype to shut up GCC.
7201
7202 2000-12-27  Andreas Jaeger  <aj@suse.de>
7203
7204         * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
7205         it's not needed at the moment.
7206         * sysdeps/generic/if_index.c (__protocol_available): Likewise.
7207         * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
7208
7209 2000-12-26  Andreas Jaeger  <aj@suse.de>
7210
7211         * libio/getc_u.c: Include stdio.h via system path to get internal
7212         prototypes.
7213         * libio/getwc_u.c: Likewise.
7214
7215         * stdlib/strfmon.c: Fix prototype of __printf_fp.
7216
7217         * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
7218         __printf_fp prototypes to ...
7219         * include/printf.h: ...here.
7220
7221         * include/stdio.h: Add some internal prototypes to shut up GCC.
7222         * include/stdlib.h: Likewise.
7223
7224         * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
7225         declaration.
7226
7227         * include/signal.h: Add prototypes for internal sigpause
7228         interfaces.
7229
7230 2000-12-26  Ulrich Drepper  <drepper@redhat.com>
7231
7232         * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
7233         64bit platforms.  Reported by Dave Gilbert <gilbertd@treblig.org>.
7234
7235         * string/Makefile (tests): Add tst-bswap.
7236         * string/tst-bswap.c: New file.
7237
7238 2000-12-11  Bruno Haible  <haible@clisp.cons.org>
7239
7240         * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
7241
7242 2000-12-26  Ulrich Drepper  <drepper@redhat.com>
7243
7244         * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
7245         Patch by Ed Connell <Ed.Connell@sas.com>.
7246
7247 2000-12-24  Ulrich Drepper  <drepper@redhat.com>
7248
7249         * locale/iso-639.def: Correct one entry.  Add two missing entries.
7250
7251         * locale/iso-4217.def: Change entry for Eritrea.
7252         Reported by Daniel Yacob <yacob@geez.org>.
7253
7254 2000-12-23  Ben Collins  <bcollins@debian.org>
7255
7256         * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
7257         description.
7258
7259         * manual/stdio.texi (Dynamic Output): Document the return value of
7260         asprintf.  Also make the asprintf/snprintf examples a little
7261         better (check for some error returns).
7262
7263 2000-12-22  Andreas Jaeger  <aj@suse.de>
7264
7265         * include/stdio.h: Add __ftrylockfile prototype.
7266
7267 2000-12-21  H.J. Lu  <hjl@gnu.org>
7268
7269         * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
7270         Make sign_exponent element signed.
7271
7272         * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
7273         Fix a typo.
7274
7275         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
7276
7277 2000-12-21  Andreas Jaeger  <aj@suse.de>
7278
7279         * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
7280         * inet/ether_hton.c: Likewise
7281         * inet/ether_ntoh.c: Likewise.
7282
7283         * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
7284         declaration to match prototype.
7285
7286         * include/netinet/ether.h (struct etherent): Declare here so that
7287         all implementations use the same struct.
7288
7289         * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
7290         prototypes.
7291         (struct ether): Removed.
7292         Use struct etherent instead of ether everywhere.
7293
7294         * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
7295
7296         * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
7297
7298         * sunrpc/publickey.c: Include auth_des.h for prototypes.
7299
7300 2000-12-20  Ulrich Drepper  <drepper@redhat.com>
7301
7302         * math/test-misc.c: Add more tests for nextafter functions.
7303
7304         * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
7305         normal correctly.  Correct test for sign.
7306         Based on a patch by HJ Lu.
7307
7308 2000-12-19  Ulrich Drepper  <drepper@redhat.com>
7309
7310         * Makeconfig (preprocess-version): Add -traditional to gcc call.
7311         Cleanup sed calls.
7312
7313 2000-12-19  Andreas Jaeger  <aj@suse.de>
7314
7315         * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
7316
7317         * nis/nis_intern.h: Add prototype for __do_niscall3.
7318
7319         * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
7320         match prototype.
7321
7322         * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
7323
7324         * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
7325
7326         * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
7327
7328 2000-12-18  Ulrich Drepper  <drepper@redhat.com>
7329
7330         * math/test-misc.c: Add more tests for nextafter.
7331         * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
7332         * sysdeps/ieee754/ldbl-96/math_ldbl.h
7333         (ieee_long_double_shape_type): Make sign_exponent element signed.
7334
7335         * manual/message.texi: Add Estonian to plural overview list.
7336         Correct rule for Slavic languages.
7337         Patch by Stanislav Brabec <utx@penguin.cz>.
7338
7339         * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
7340
7341 2000-12-18  Andreas Jaeger  <aj@suse.de>
7342
7343         * test-skeleton.c: Use temp_name_list instead of name_list to
7344         avoid collision with name_list from inet/netgroup.h.
7345
7346         * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
7347
7348         * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
7349         * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
7350         * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
7351         * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
7352
7353         * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
7354         declaration to match prototype.
7355         * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
7356         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
7357         * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
7358         Likewise.
7359         * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
7360         * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
7361         * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
7362         * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
7363         (_nss_nis_getservbyport_r): Likewise.
7364         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
7365         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
7366         * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
7367         (_nss_nis_setnetent): Likewise
7368         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
7369         (_nss_nis_endnetgrent): Likewise.
7370         * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
7371         Likewise.
7372         (_nss_nisplus_setnetgrent): Likewise.
7373         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
7374         * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
7375         * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
7376         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
7377         Likewise.
7378         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
7379         Likewise.
7380         * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
7381         Likewise.
7382         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
7383         Likewise.
7384         * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
7385         * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
7386         * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
7387         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
7388         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
7389         (_nss_dns_getnetbyaddr_r): Likewise.
7390
7391 2000-12-17  Andreas Jaeger  <aj@suse.de>
7392
7393         * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
7394         parameter.
7395
7396         * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
7397         unused attribute to shut up gcc warnings.
7398
7399         * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
7400         * sysdeps/generic/k_tanl.c: Likewise.
7401         * sysdeps/generic/k_cosl.c: Likewise.
7402         * sysdeps/generic/e_j0l.c: Likewise.
7403         * sysdeps/generic/e_j1l.c: Likewise.
7404         * sysdeps/generic/e_jnl.c: Likewise.
7405         * sysdeps/generic/e_lgammal_r.c: Likewise.
7406
7407         * elf/vismain.c: Move prototypes for functions in vismod*.c to
7408         vismod.h.
7409         * elf/vismod.h: New file.
7410         * elf/Makefile (distribute): Add vismod.h.
7411         * elf/vismod1.c: Include vismod.h.
7412         * elf/vismod2.c: Likewise.
7413         * elf/vismod3.c: Likewise.
7414
7415         * elf/constload3.c: Add prototype declarations to shut up gcc.
7416         * elf/failobj.c: Likewise.
7417         * elf/nodelmod3.c: Likewise.
7418         * elf/filtmod1.c: Likewise.
7419         * elf/filtmod2.c: Likewise.
7420         * elf/reldepmod1.c: Likewise.
7421         * elf/reldepmod2.c: Likewise.
7422         * elf/reldepmod3.c: Likewise.
7423         * elf/reldepmod4.c: Likewise.
7424         * elf/unload2dep.c: Likewise.
7425         * elf/unload2mod.c: Likewise.
7426         * elf/ltglobmod1.c: Likewise.
7427         * elf/pathoptobj.c: Likewise.
7428         * elf/neededobj1.c: Likewise.
7429         * elf/neededobj2.c: Likewise.
7430         * elf/neededobj3.c: Likewise.
7431         * elf/neededobj4.c: Likewise.
7432         * elf/nextmod1.c: Likewise.
7433         * elf/nextmod2.c: Likewise.
7434
7435         * locale/programs/ld-collate.c (collate_finish): Don't use labels
7436         at end of compound statement.
7437         * locale/programs/locale.c (show_info): Likewise.
7438         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
7439
7440 2000-12-16  Jakub Jelinek  <jakub@redhat.com>
7441
7442         * catgets/gencat.c (read_input_file): Avoid calling obstack_free
7443         with a pointer not returned by obstack_ functions.
7444
7445 2000-12-16  Ulrich Drepper  <drepper@redhat.com>
7446
7447         * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
7448         version.
7449         (struct stat64): Likewise.
7450         Reported by Michael Keezer <mkeezer@redhat.com>.
7451
7452         * timezone/asia: Update from tzdata2000h.
7453         * timezone/australasia: Likewise.
7454         * timezone/backward: Likewise.
7455         * timezone/europe: Likewise.
7456         * timezone/northamerica: Likewise.
7457         * timezone/southamerica: Likewise.
7458         * timezone/zone.tab: Likewise.
7459
7460 2000-12-14  Jakub Jelinek  <jakub@redhat.com>
7461
7462         * io/ftw.c (ftw_dir): If process_entry returned non-zero result
7463         and dir.stream is NULL, only free dir.content.
7464         * io/ftwtest.c (cb, main): Add --early-exit option to test it.
7465         * io/ftwtest-sh: Test with --early-exit.
7466
7467 2000-12-13  Jakub Jelinek  <jakub@redhat.com>
7468
7469         * misc/efgcvt.c (FCVT_MAXDIG): Define.
7470         (FCVT_BUFPTR): New variable.
7471         (fcvt): If fcvt_r returns -1 on the static short buffer,
7472         try to malloc a sufficiently large one and retry.
7473         (free_mem): New function.
7474         * misc/qefgcvt.c (FCVT_MAXDIG): Define.
7475         * misc/tst-efgcvt.c (fcvt_tests): Add new test.
7476
7477 2000-12-15  Ulrich Drepper  <drepper@redhat.com>
7478
7479         * misc/dirname.c (dirname): Fix search for second to last slash.
7480
7481 2000-12-13  Andreas Jaeger  <aj@suse.de>
7482
7483         * misc/tst-dirname.c (main): Fix typo in test to really use
7484         the examples from Unix98.
7485         Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
7486
7487 2000-12-09  H.J. Lu  <hjl@gnu.org>
7488
7489         * sysdeps/ia64/fpu/s_fabs.S: New file.
7490         * sysdeps/ia64/fpu/s_fabsf.S: New file.
7491         * sysdeps/ia64/fpu/s_fabsl.S: New file.
7492
7493 2000-12-15  Andreas Jaeger  <aj@suse.de>
7494
7495         * stdio-common/scanf9.c (main): Reformat and change to avoid
7496         warnings.
7497
7498         * stdio-common/tstdiomisc.c: Make local functions static.
7499         * stdio-common/tst-printf.c: Likewise.
7500
7501         * elf/constload2.c: Add prototype declarations to shut up gcc.
7502         * elf/dep1.c: Likewise.
7503         * elf/dep2.c: Likewise.
7504         * elf/dep3.c: Likewise.
7505         * elf/dep4.c: Likewise.
7506         * elf/ltglobmod2.c: Likewise.
7507
7508         * libio/fmemopen.c: Make local functions static.
7509
7510         * elf/Makefile (distribute): Added testobj.h.
7511
7512         * elf/testobj.h: New file.
7513
7514         * elf/testobj1.c: Include testobj.h and move prototype
7515         declarations to testobj.h.
7516         * elf/testobj2.c: Likewise.
7517         * elf/testobj3.c: Likewise.
7518         * elf/testobj4.c: Likewise.
7519         * elf/testobj5.c: Likewise.
7520         * elf/testobj6.c: Likewise.
7521         * elf/testobj1_1.c: Likewise.
7522         * elf/preloadtest.c: Likewise.
7523
7524 2000-12-15  Ben Collins  <bcollins@debian.org>
7525
7526         * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
7527         Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
7528
7529 2000-12-14  H.J. Lu  <hjl@gnu.org>
7530
7531         * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
7532         field in a float is 8 bits, not 11 bits.
7533
7534 2000-12-13  Jakub Jelinek  <jakub@redhat.com>
7535
7536         * math/test-misc.c (main): Adjust m for IEEE quad long double.
7537
7538 2000-12-13  Andreas Jaeger  <aj@suse.de>
7539
7540         * manual/message.texi (Using gettextized software): Fix typo.
7541
7542         * manual/charset.texi (Converting a Character): Fix mbstouwcs
7543         program to compile.
7544         Patch by Martin Buchholz <martin@xemacs.org>.
7545
7546         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
7547         Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
7548
7549 2000-12-11  Andreas Jaeger  <aj@suse.de>
7550
7551         * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
7552         kernel_sigset_t and use it.
7553         Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
7554
7555 2000-12-10  Richard Henderson  <rth@redhat.com>
7556
7557         * sysdeps/alpha/alphaev67/fpu/Implies: New file.
7558         * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
7559         * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
7560
7561 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
7562
7563         * sysdeps/alpha/htonl.S: Fix a typo.
7564
7565 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
7566
7567         * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
7568
7569 2000-12-10  Andreas Jaeger  <aj@suse.de>
7570
7571         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
7572         cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
7573         Drepper <drepper@redhat.com>.
7574
7575 2000-12-09  Andreas Jaeger  <aj@suse.de>
7576
7577         * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
7578
7579         * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
7580         generic version.
7581         Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
7582
7583         * locale/programs/ld-collate.c (handle_ellipsis): Fix format
7584         string.
7585
7586         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
7587         format string.
7588
7589         * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
7590         * nscd/connections.c (handle_request): Likewise.
7591         * nscd/pwdcache.c (addpwbyname): Likewise.
7592         * nscd/grpcache.c (addgrbyname): Likewise.
7593
7594         * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
7595
7596 2000-12-09  Ulrich Drepper  <drepper@redhat.com>
7597
7598         * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
7599
7600         * Makeconfig (default_cflags): Make -O2 the default for stable
7601         releases.
7602
7603 2000-12-08  H.J. Lu  <hjl@gnu.org>
7604
7605         * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
7606         * sysdeps/ia64/fpu/s_isinf.S: This.
7607         Add a .pred.rel.mutex note to avoid false report.
7608
7609         * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
7610         * sysdeps/ia64/fpu/s_isnan.S: This.
7611
7612         * sysdeps/ia64/fpu/s_fpclassify.S: New file.
7613         * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
7614         * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
7615         * sysdeps/ia64/fpu/s_isinff.S: New file.
7616         * sysdeps/ia64/fpu/s_isinfl.S: New file.
7617         * sysdeps/ia64/fpu/s_isnanf.S: New file.
7618         * sysdeps/ia64/fpu/s_isnanl.S: New file.
7619         * sysdeps/ia64/fpu/s_finite.S: New file.
7620         * sysdeps/ia64/fpu/s_finitef.S: New file.
7621         * sysdeps/ia64/fpu/s_finitel.S: New file.
7622         * sysdeps/ia64/fpu/s_signbit.S: New file.
7623         * sysdeps/ia64/fpu/s_signbitf.S: New file.
7624         * sysdeps/ia64/fpu/s_signbitl.S: New file.
7625         * sysdeps/ia64/fpu/s_copysign.S: New file.
7626         * sysdeps/ia64/fpu/s_copysignf.S: New file.
7627         * sysdeps/ia64/fpu/s_copysignl.S: New file.
7628
7629 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
7630
7631         * math/libm-test.inc (main): Fix typos in messages.
7632
7633         * string/stratcliff.c: Add test for rawmemchr.
7634
7635 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
7636
7637         * elf/dl-open.c (_dl_open): If objname points right after errstring,
7638         allocate it together with errstring using alloca.
7639         * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
7640         to "", because it might point to local stack.
7641
7642 2000-12-05  H.J. Lu  <hjl@gnu.org>
7643
7644         * nss/Makefile (routines): Add getnssent and getnssent_r.
7645         * nss/nsswitch.h (__nss_setent): New internal NSS function.
7646         (__nss_endent): Likewise.
7647         (__nss_getent_r): Likewise.
7648         (__nss_getent): Likewise.
7649         * nss/getnssent_r.c: New file.
7650         * nss/getnssent.c: New file.
7651         * nss/getXXent.c (H_ERRNO_VAR): Updated.
7652         (GETFUNC_NAME): Updated to call __nss_getent ().
7653         * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
7654         (STAYOPEN_TMPVAR): Updated.
7655         (STAYOPEN_VAR): Updated.
7656         (SETFUNC_NAME): Updated to call __nss_setent ().
7657         (ENDFUNC_NAME): Updated to call __nss_endent ().
7658         (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
7659
7660 2000-12-08  Andreas Jaeger  <aj@suse.de>
7661
7662         * nscd/dbg_log.h (dbg_log): Correct attribute.
7663
7664 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
7665
7666         * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
7667         cp + len.  Compute where from dirname.
7668         Reported by <jreiser@BitWagon.com>.
7669
7670 2000-12-08  Richard Henderson  <rth@twiddle.net>
7671
7672         * sysdeps/alpha/_mcount.S: Fix typo.
7673         * sysdeps/alpha/strncpy.S: Likewise.
7674
7675         * sysdeps/alpha/alphaev6/Implies: New file.
7676         * sysdeps/alpha/alphaev67/Implies: New file.
7677         * sysdeps/alpha/alphaev67/ffs.S: New file.
7678         * sysdeps/alpha/alphaev67/ffsll.S: New file.
7679         * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
7680         * sysdeps/alpha/alphaev67/stpcpy.S: New file.
7681         * sysdeps/alpha/alphaev67/stpncpy.S: New file.
7682         * sysdeps/alpha/rawmemchr.S: New file.
7683         * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
7684         * sysdeps/alpha/strcpy.S: Likewise.
7685
7686         From GMP 3.1.1:
7687         * sysdeps/alpha/alphaev6/addmul_1.s: New file.
7688
7689         From rick.gorton@alpha-processor.com:
7690         * sysdeps/alpha/alphaev6/memchr.S: New file.
7691         * sysdeps/alpha/alphaev6/memcpy.S: New file.
7692         * sysdeps/alpha/alphaev6/memset.S: New file.
7693         * sysdeps/alpha/alphaev6/stxcpy.S: New file.
7694         * sysdeps/alpha/alphaev6/stxncpy.S: New file.
7695         * sysdeps/alpha/alphaev67/strcat.S: New file.
7696         * sysdeps/alpha/alphaev67/strchr.S: New file.
7697         * sysdeps/alpha/alphaev67/strlen.S: New file.
7698         * sysdeps/alpha/alphaev67/strncat.S: New file.
7699         * sysdeps/alpha/htonl.S: Use a shorter sequence.
7700
7701 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
7702
7703         * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
7704         Reported by <pspencer@fields.utoronto.ca>.
7705
7706 2000-12-07  Jes Sorensen  <jes@linuxcare.com>
7707
7708         * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
7709         Pointed out by Hans Boehm.
7710
7711 2000-12-07  H.J. Lu  <hjl@gnu.org>
7712
7713         * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
7714
7715 2000-12-07  Andreas Jaeger  <aj@suse.de>
7716
7717         * misc/error.c: Add format attributes for __error and __error_at_line.
7718
7719         * nscd/dbg_log.h: Add format attribute.
7720
7721 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
7722
7723         * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
7724         Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
7725
7726 2000-12-07  Dan Pop  <Dan.Pop@cern.ch>
7727
7728         * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
7729
7730 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
7731
7732         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
7733         (sysdep_routines): Add uitrunc.
7734         * sysdeps/unix/sysv/aix/uitrunc.c: New file.
7735         Patches by Michael Keezer <mkeezer@redhat.com>.
7736
7737 2000-12-06  Roland McGrath  <roland@frob.com>
7738
7739         * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
7740         argument data, since it will be used to copy out too (for INOUT).
7741         Reported by Marcus Brinkmann <marcus@gnu.org>.
7742
7743         * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
7744         (__ioctl): Use uintptr_t instead of unsigned long int.
7745
7746 2000-12-06  Jim Wilson  <wilson@redhat.com>
7747
7748         * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
7749
7750 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
7751
7752         * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
7753         x.5 rounding correctly.
7754
7755 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
7756
7757         * stdio-common/perror.c (perror): Conditionalize code dealing with
7758         wide-oriented streams on USE_IN_LIBIO.
7759
7760 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
7761
7762         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
7763         as internal_function.
7764
7765 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
7766
7767         * sysdeps/alpha/elf/start.S (__data_start): Define.
7768
7769 2000-12-05  H.J. Lu  <hjl@gnu.org>
7770
7771         * nss/getXXent_r.c (setup): Change the return type to int.
7772
7773 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
7774
7775         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
7776         (sysdep_routines): Add restf and savef.
7777         * sysdeps/unix/sysv/aix/restf.c: New file.
7778         * sysdeps/unix/sysv/aix/savef.c: New file.
7779         Patches by Michael Keezer <mkeezer@redhat.com>.
7780
7781         * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
7782         if O_DIRECTORY is not defined.
7783         Patch by Michael Keezer <mkeezer@redhat.com>.
7784
7785         * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
7786         Patch by Michael Keezer <mkeezer@redhat.com>.
7787
7788         * locale/programs/linereader.c (get_toplvl_escape): Recognize more
7789         than 4 bytes in escape sequence.
7790         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7791
7792 2000-12-05  Andreas Jaeger  <aj@suse.de>
7793
7794         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
7795         set mips2.
7796
7797         * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
7798
7799         * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
7800
7801         * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
7802         Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
7803
7804         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
7805         internal_function.
7806         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
7807         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
7808
7809         * sysdeps/generic/dl-cache.c: Remove declaration of
7810         _dl_sysdep_read_whole_file.
7811
7812         * elf/dl-load.c (_dl_map_object): Remove declaration of
7813         _dl_load_cache_lookup.
7814
7815         * sysdeps/generic/ldsodefs.h: Add declarations of
7816         _dl_load_cache_lookup, _dl_unload_cache,
7817         _dl_sysdep_read_whole_file, _dl_sysdep_start and
7818         _dl_sysdep_start_cleanup.
7819
7820         * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
7821         now.
7822
7823         * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
7824         * sysdeps/generic/dl-environ.c: Likewise.
7825
7826         * stdio-common/printf_fp.c: Include <gmp.h> instead of
7827         <stdlib/gmp.h>.
7828         * math/atest-exp.c: Likewise.
7829         * math/atest-exp2.c: Likewise.
7830         * math/atest-sincos.c: Likewise.
7831         * stdio-common/_itoa.c: Likewise.
7832         * stdio-common/_itowa.c: Likewise.
7833
7834         * include/gmp.h: New file with internal prototypes.
7835
7836         * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
7837         here to...
7838         * include/setjmp.h: ...here.
7839
7840         * locale/Makefile (routines): Remove codeset_name since it's not
7841         needed anywhere.
7842
7843         * locale/codeset_name.c: Removed.
7844
7845 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
7846
7847         * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
7848
7849 2000-12-05  Andreas Jaeger  <aj@suse.de>
7850
7851         * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
7852
7853 2000-12-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
7854
7855         * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
7856         available.
7857
7858 2000-12-05  Andreas Jaeger  <aj@suse.de>
7859
7860         * nss/test-netdb.c: Mark local functions as static to avoid
7861         warnings.
7862         (main): Use return to silence warning.
7863
7864         * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
7865
7866         * stdio-common/test-popen.c: Mark local functions as static to
7867         avoid warnings.
7868         (main): Use return to silence warning.
7869
7870         * stdlib/testsort.c (compare): Mark as static to avoid warning.
7871
7872         * assert/test-assert.c: Mark local functions as static to avoid
7873         warnings.
7874         * assert/test-assert-perr.c: Likewise.
7875
7876         * math/libm-test.inc (main): Use return to silence warnings.
7877
7878 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
7879
7880         * math/fenv.h: Fix typo in comment.
7881
7882         * math/test-misc.c (main): Add a few more over and underflow tests
7883         for scalb.
7884
7885         * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
7886         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7887         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7888         * math/w_scalb.c: Don't use matherr except in SVID mode.
7889         * math/w_scalbf.c: Likewise.
7890         * math/w_scalbl.c: Likewise.
7891         * math/test-misc.c: Add test for NaN and scalbl.
7892         Reported by Fred J. Tydeman <tydeman@tybor.com>.
7893
7894 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
7895
7896         * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
7897         * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
7898         * include/libc-symbols.h (strong_alias): Define special version
7899         for HAVE_ASM_GLOBAL_DOT_NAME.
7900         (weak_alias): Likewise.
7901         * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
7902         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
7903         (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
7904         getutxline, pututxline, and utmpxname.
7905         * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
7906         * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
7907         * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
7908         * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
7909         * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
7910         * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
7911         * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
7912         * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup.  Add comments.
7913         * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
7914         Patches by Michael Keezer <mkeezer@redhat.com>.
7915
7916 2000-12-04  H.J. Lu  <hjl@gnu.org>
7917
7918         * configure.in: Change --with-oldest-abi=ABI to
7919         --enable-oldest-abi=ABI.
7920
7921 2000-12-02  Bruno Haible  <haible@clisp.cons.org>
7922
7923         * stdio-common/perror.c (perror): If stderr is wide-oriented, use
7924         fwprintf instead of fprintf.
7925
7926 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
7927
7928         * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
7929         DECIMAL_DIG definitions.
7930         * sysdeps/arm/fpu/bits/mathdef.h: Likewise
7931         * sysdeps/generic/bits/mathdef.h: Likewise
7932         * sysdeps/i386/fpu/bits/mathdef.h: Likewise
7933         * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
7934         * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
7935         * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
7936         * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
7937         * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
7938
7939 2000-12-03  Ulrich Drepper  <drepper@redhat.com>
7940
7941         * math/test-fenv.c (main): Use return instead of exit to avoid warning.
7942
7943         * math/atest-exp.c: Mark local functions as static to avoid warnings.
7944         * math/atest-exp2.c: Likewise.
7945         * math/atest-sincos.c: Likewise.
7946
7947         * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
7948         Reported by Fred J. Tydeman <tydeman@tybor.com>.
7949
7950         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
7951         the handling of denormalized numbers.
7952
7953         * math/test-misc.c (main): Test for fpclassify and pseudo denormal
7954         numbers on x86.
7955         * sysdeps/i386/fpu/fpclassifyl.c: New file.
7956
7957         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
7958         pseudo denormal representation of LDBL_MIN.
7959
7960         * iconvdata/SJIS.irreversible: Remove unnecessary entries.
7961         * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
7962
7963         * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
7964         * iconvdata/jis0208.c: Likewise.
7965         * iconvdata/jis0212.c: Likewise.
7966         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7967
7968         * math/test-misc.c (main): More tests for frexp and some for
7969         fpclassify and isnormal.
7970
7971         * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
7972         test for subnormal.
7973         Reported by Fred J. Tydeman <tydeman@tybor.com>.
7974
7975         * math/test-misc.c (main): Add tests for frexp.
7976         Reported by Fred J. Tydeman <tydeman@tybor.com>.
7977         * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
7978
7979 2000-12-02  H.J. Lu  <hjl@gnu.org>
7980
7981         * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
7982         '\0' to wcschr.
7983
7984 2000-12-02  Ulrich Drepper  <drepper@redhat.com>
7985
7986         * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
7987         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
7988         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
7989
7990         * sysdeps/generic/glob.c: Adjust types of several variables to
7991         avoid warnings.
7992
7993 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
7994
7995         * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
7996
7997 2000-11-30  Roland McGrath  <roland@frob.com>
7998
7999         * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
8000         (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
8001         allow multiple instances using the same function name in one file.
8002
8003 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
8004
8005         * configure.in: Correct test for pserver CVS access.
8006
8007 2000-11-28  H.J. Lu  <hjl@gnu.org>
8008
8009         * libio/libio.h: Remove extra "#if ... #endif".
8010
8011 2000-11-29  H.J. Lu  <hjl@gnu.org>
8012
8013         * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
8014
8015 2000-12-01  H.J. Lu  <hjl@gnu.org>
8016
8017         * nss/getXXbyYY_r.c: Fix verioned symbol handling.
8018         * nss/getXXent_r.c: Likewise.
8019         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
8020
8021 2000-11-30  H.J. Lu  <hjl@gnu.org>
8022
8023         * scripts/abi-versions.awk (oldest_abi): New variable.
8024         Handle the oldest ABI supported.
8025
8026         * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
8027         for scripts/abi-versions.awk.
8028
8029         * configure.in: Add --with-oldest-abi=ABI.
8030         * configure: Rebuild.
8031
8032         * config.make.in (oldest-abi): New.
8033
8034         * config.h.in (GLIBC_OLDEST_ABI): New.
8035
8036         * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
8037
8038 2000-11-30  Jakub Jelinek  <jakub@redhat.com>
8039
8040         * locale/setlocale.c (setname): Free for all categories, not just
8041         LC_ALL.
8042         (setlocale): Store a copy of string passed by user, not the string
8043         itself.
8044
8045 2000-11-30  Roland McGrath  <roland@frob.com>
8046
8047         * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
8048         rather than _hurd_fd_subinit, so it happens after it's safe to use
8049         libc facilities like malloc.
8050
8051 2000-11-28  Andreas Jaeger  <aj@suse.de>
8052
8053         * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
8054         declaration, adjust declaration of __syscall_getdents to match
8055         kernel.
8056
8057 2000-11-29  H.J. Lu  <hjl@gnu.org>
8058
8059         * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
8060
8061 2000-11-29  Andreas Jaeger  <aj@suse.de>
8062
8063         * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
8064
8065 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
8066
8067         * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
8068         * dlfcn/defaultmod2.c: Likewise.
8069         * dlfcn/dlopen.c: Likewise.
8070         * dlfcn/dlopenold.c: Likewise.
8071         * dlfcn/failtestmod.c: Likewise.
8072         * dlfcn/glreflib1.c: Likewise.
8073         * dlfcn/glreflib2.c: Likewise.
8074         * dlfcn/eval.c: Likewise.  Add attributes.
8075
8076         * ctype/ctype-extn.c: Define isblank and not __isblank.
8077
8078         * time/strftime.c: Add const where necessary to avoid warnings.
8079         * time/strptime.c (strptime_internal): Add casts to avoid warnings.
8080
8081 2000-11-22  Paul Eggert  <eggert@twinsun.com>
8082
8083         * time/strftime.c (my_strftime): Do not invoke mbrlen with a
8084         size of (size_t) -1; it's not portable.
8085
8086 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
8087
8088         * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
8089         crappy i486 FPU.
8090         Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
8091
8092 2000-11-14  Jes Sorensen  <jes@linuxcare.com>
8093
8094         * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
8095
8096         * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
8097         _mcount is required by profiled binaries.
8098
8099         * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
8100         * sysdeps/ia64/machine-gmon.h: ...here.
8101
8102 2000-11-28  Masahide Washizawa  <washi@jp.ibm.com>
8103
8104         * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
8105         (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
8106         and ibm1129.h.
8107         * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
8108         IBM1129.
8109         * iconvdata/ibm922.c: New file.
8110         * iconvdata/ibm922.h: New file.
8111         * iconvdata/ibm1124.c: New file.
8112         * iconvdata/ibm1124.h: New file.
8113         * iconvdata/ibm1129.c: New file.
8114         * iconvdata/ibm1129.h: New file.
8115         * iconvdata/testdata/IBM922: New file.
8116         * iconvdata/testdata/IBM922..UTF8: New file.
8117         * iconvdata/testdata/IBM1124: New file.
8118         * iconvdata/testdata/IBM1124..UTF8: New file.
8119         * iconvdata/testdata/IBM1129: New file.
8120         * iconvdata/testdata/IBM1129..UTF8: New file.
8121
8122 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
8123
8124         * catgets/gencat.c (normalize_line): Take extra parameter with escape
8125         character.  Change callers.
8126         (open_conversion): Determine mapping of 0x5c as wchar_t value.
8127         * catgets/Makefile: Add rules to build and run test-gencat.
8128         * catgets/sample.SJIS: New file.
8129         * catgets/test-gencat.c: New file.
8130         * catgets/test-gencat.sh: New file.
8131         Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8132
8133 2000-11-28  Andreas Jaeger  <aj@suse.de>
8134
8135         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
8136         Linux version.
8137
8138 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
8139
8140         * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
8141
8142 2000-11-28  Andreas Jaeger  <aj@suse.de>
8143
8144         * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
8145         __flexarr.
8146         * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
8147         Likewise.
8148
8149 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
8150
8151         * misc/getusershell.c: Make strings in okshells array const.
8152         * misc/regexp.c: Add const to cast to avoid warnings.
8153         * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
8154         * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
8155         __setresuid.
8156         * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
8157         setresgid.
8158         * misc/error.c: Add prototypes for __error and __error_at_line.
8159         * misc/mntent_r.c (__getmntent_r): Add break at end of switch
8160         statement to avoid warning.
8161         * test-skeleton.c: Mark timeout_handler with noreturn.
8162         * iconv/skeleton.c (get16u): Add const to cast.
8163         (get32u): Likewise.
8164         * iconvdata/gb18030.c: Likewise.
8165         * iconvdata/iso-2022-cn-ext.c: Likewise.
8166         * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
8167         * iconvdata/big5.c: Likewise.
8168         * iconvdata/big5hkscs.c: Likewise.
8169         * iconvdata/iso_6937.c: Likewise.
8170         * iconvdata/iso_6937-2.c: Likewise.
8171         * iconvdata/t.61.c: Likewise.
8172         * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
8173         * iconvdata/unicode.c: Likewise.
8174         * iconvdata/utf-16.c: Likewise.
8175         * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
8176         * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
8177         with little code shuffling.
8178
8179         * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
8180         the problems introduced when the user selects -O3.
8181
8182         * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
8183         * misc/sys/cdefs.h: Define __flexarr.
8184         Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
8185
8186         * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
8187         * iconv/skeleton.c: Likewise.
8188         * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
8189         * iconv/loop.c (get16): Add const to cast.
8190         (get32): Likewise.
8191
8192 2000-11-27  Andreas Jaeger  <aj@suse.de>
8193
8194         * login/programs/pt_chown.c (do_pt_chown): Mark function as static
8195         to avoid warning.
8196         * login/programs/utmpdump.c (print_entry): Likewise.
8197
8198 2000-11-25  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
8199
8200         * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
8201         in a single asm as they may be used to access other stored
8202         registers.
8203         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
8204
8205 2000-11-27  Andreas Jaeger  <aj@suse.de>
8206
8207         * rt/tst-aio.c: Mark test functions as static to avoid warnings.
8208         * rt/tst-aio64.c: Likewise.
8209
8210 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
8211
8212         * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
8213         for gencat run.
8214         (libc.cat): Likewise.
8215         * catgets/gencat.c: Implement handling of message catalogs encoded
8216         with stateful character sets.
8217         Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8218
8219 2000-11-26  Ulrich Drepper  <drepper@redhat.com>
8220
8221         * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
8222
8223         * inet/getnameinfo.c: Adjust casts to avoid warnings.
8224         * inet/rcmd.c: Likewise.
8225         * inet/ruserpass.c: Likewise.
8226         * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
8227         IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
8228         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
8229         IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
8230         IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
8231         IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
8232         * include/aliases.h: Add prototypes for internal __getalias* functions.
8233         * include/netdb.h: Add prototypes for __old_gethostent_r,
8234         __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
8235         __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
8236         __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
8237         __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
8238         * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
8239         __old_getrpcbynumber_r, __old_getrpcent_r.
8240
8241         * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
8242         __getrpcent_r prototypes.
8243
8244 2000-11-25  Ulrich Drepper  <drepper@redhat.com>
8245
8246         * string/strcoll.c: Add casts to avoid warnings.
8247         * string/strnlen.c: Likewise.
8248         * string/strxfrm.c: Likewise.
8249         * sysdeps/generic/_strerror.c: Likewise.
8250         * sysdeps/generic/memrchr.c: Likewise.
8251         * sysdeps/generic/strcasestr.c: Likewise.
8252         * sysdeps/generic/strstr.c: Likewise.
8253
8254         * locale/weight.h (findidx): Add const to cast to avoid warning.
8255
8256         * elf/loadfail.c: Little cosmetic changes to avoid warnings.
8257         * elf/loadtest.c: Likewise.
8258         * elf/multiload.c: Likewise.
8259         * elf/next.c: Likewise.
8260         * elf/nodelete.c: Likewise.
8261         * elf/noload.c: Likewise.
8262         * elf/order.c: Likewise.
8263         * elf/origtest.c: Likewise.
8264         * elf/preloadtest.c: Likewise.
8265         * elf/restest1.c: Likewise.
8266
8267         * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
8268         parameter of asm must be in %ecx.
8269
8270         * string/tester.c: Mark test functions as static to avoid warnings.
8271
8272         * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
8273         preserve value over different gconv-modules files.
8274
8275 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
8276
8277         * locale/findlocale.c: Add casts to avoid warnings.
8278         * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
8279         * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
8280         to avoid warnings.
8281         * misc/tsearch.c (const_node): New type.
8282         (trecurse): Correct casts to avoid warnings.
8283         (__twalk): Likewise.
8284         * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
8285         LONG_BIT.
8286
8287         * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
8288
8289         * test-skeleton.c: Mark local functions as static to avoid warnings.
8290
8291 2000-11-23  H.J. Lu  <hjl@gnu.org>
8292
8293         * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
8294         support the background job.
8295         Fix a typo.
8296
8297 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
8298
8299         * iconv/gconv_conf.c (insert_module): Replace old entry if new one
8300         has same names but lower cost.
8301
8302 2000-11-23  Jakub Jelinek  <jakub@redhat.com>
8303
8304         * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
8305         which never occur during bootstrap.
8306         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8307
8308 2000-11-23  Andreas Jaeger  <aj@suse.de>
8309
8310         * nss/nss_files/files-hosts.c: Remove getipnodebyname.
8311
8312         * nss/Versions: Remove _nss_files_getipnodebyname_r.
8313
8314         * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
8315
8316 2000-11-18  Martin Buchholz  <martin@xemacs.org>
8317
8318         * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
8319         (called++) return;'
8320
8321 2000-11-21  Alan Modra  <alan@linuxcare.com.au>
8322
8323         * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
8324
8325         * csu/abi-note.S: Correct comment for operating system number.
8326
8327 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
8328
8329         * Versions.def: Add GLIBC_2.2.1 for glibc.
8330
8331 2000-11-22  Andreas Schwab  <schwab@suse.de>
8332
8333         * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
8334         * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
8335
8336 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
8337
8338         * rt/aio_suspend.c (aio_suspend): Convert timeout value to
8339         absolute time for pthread_cond_timedwait call.
8340         Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
8341
8342         * rt/Makefile (tests): Add tst-aio6.
8343         * rt/tst-aio6.c: New file.
8344
8345 2000-11-23  Andreas Jaeger  <aj@suse.de>
8346
8347         * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
8348
8349 2000-11-22  Andreas Jaeger  <aj@suse.de>
8350
8351         * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
8352
8353 2000-11-21  Martin Schwidefsky  <schwidefsky@de.ibm.com>
8354
8355         * sysdeps/s390/bits/string.h: Make strncat always add a \0.
8356
8357 2000-11-21  Andreas Schwab  <schwab@suse.de>
8358
8359         * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
8360         * sysdeps/arm/setjmp.S: Likewise.
8361         * sysdeps/arm/fpu/setjmp.S: Likewise.
8362         * sysdeps/i386/setjmp.S: Likewise.
8363         * sysdeps/i386/elf/setjmp.S: Likewise.
8364         * sysdeps/s390/setjmp.S: Likewise.
8365         * sysdeps/s390/elf/setjmp.S: Likewise.
8366         * sysdeps/sh/sh3/setjmp.S: Likewise.
8367         * sysdeps/sh/sh4/setjmp.S: Likewise.
8368         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
8369         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
8370         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
8371         * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
8372
8373 2000-11-21  Andreas Jaeger  <aj@suse.de>
8374
8375         * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
8376         NORETURN, fix parameter list.
8377
8378         * string/bug-strncat1.c (main): Fix typo.
8379         Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
8380
8381 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
8382
8383         * configure.in: Add --enable-all-warnings.
8384         * config.make.in (all-warnings): New variable.
8385         * Makeconfig (+gccwarn): Define with many more warnings if
8386         all-warnings is yes.
8387
8388 2000-11-20  Jakub Jelinek  <jakub@redhat.com>
8389
8390         * iconvdata/bug-iconv2.c (main): Use %zd in format string.
8391         * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
8392         * malloc/tst-valloc.c (main): Cast valloc return value to long.
8393         * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
8394         * math/test-fpucw.c (main): Use %lx in format string, cast
8395         control words to long.
8396         * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
8397         * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
8398         large that it is unsigned warning.
8399
8400         * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
8401         it to long on sparc64.
8402
8403 2000-11-20  Andreas Jaeger  <aj@suse.de>
8404
8405         * nscd/nscd.h (termination_handler): Add noreturn attribute.
8406         (receiv_print_stats): Likewise.
8407
8408         * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
8409
8410 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
8411
8412         * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
8413
8414         * csu/gmon-start.c: Always have prototype for __gmon_start.
8415         * csu/version.c: Add prototypes for __libc_print_version and
8416         __libc_main.
8417         * iconv/gconv.c: Include gconv_int.h and gconv.h.
8418         * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
8419         and __to_name.
8420         * iconv/gconv_builtin.h: Add ASCII module definitions.
8421         * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
8422         (add_module): Add cast to avoid warning.  Rework construction of
8423         strings for new module.
8424         * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
8425         (derivation_compare): Likewise.
8426         * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
8427         (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
8428         * iconv/gconv_int.h (__gconv_path_elem): Remove const.
8429         (struct gconv_alias): Remove const from fromname and toname.
8430         * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
8431         for loop functions.
8432         (internal_ucs4_loop): Use correct const-ness.
8433         (ucs4_internal_loop): Likewise.
8434         (internal_ucs4le_loop): Likewise.
8435         (ucs4le_internal_loop_single): Likewise.
8436         * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
8437         to_idx, to_tbl, winbuf, winbufend const.  Change casts in
8438         assignments appropriately.
8439         (struct known_trans): Remove const from fname.
8440         (trans_compare): Make s1 and s2 const.
8441         * iconv/loop.c (LOOPFC): Make outend parameter const.  Add cast to
8442         avoid warning.
8443         * iconv/skeleton.c: Remove cast in calls of loop functions.
8444         * iconvdata/gconv-modules: Remove US-ASCII definitions.
8445         * iconvdata/iso646.c: Remove US_ASCII support.
8446         * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
8447         * include/unistd.h: Add __libc_check_standard_fds prototype.
8448         * string/bits/string2.h (__mempcpy_args): Add const to casts.
8449         * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
8450         _fini.
8451         * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
8452         * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
8453         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
8454         warning.
8455         * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
8456         __libc_init_first and _dl_start.
8457         * intl/dcigettext.c (transcmp): Make s1 and s2 const.
8458         (DCIGETTEXT): Make domaindata variable const.
8459         * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
8460         to avoid warning.
8461
8462 2000-11-20  Hiroyuki Machida  <machida@sm.sony.co.jp>
8463
8464         * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
8465
8466         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
8467         time_t to 'long int' not, 'unsigned int'.  Use 'long int' for
8468         __unused? members.
8469
8470         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
8471         value defined in /usr/include/asm-mips/fcntl.h.
8472
8473 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
8474
8475         * stdio-common/Makefile (tests): Add test-vfprintf.
8476         (test-vfprintf-ENV): New variable.
8477         * stdio-common/test-vfprintf.c: New file.
8478
8479         * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
8480
8481         * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
8482         (tst-mbrtowc-ENV): New variable.
8483         (tst-wcrtomb-ENV): New variable.
8484         * wcsmbs/tst-mbrtowc.c: New file.
8485         * wcsmbs/tst-wcrtomb.c: New file.
8486
8487 2000-11-16  Andreas Jaeger  <aj@suse.de>
8488
8489         * manual/install.texi (Tools for Compilation): Update
8490         documentation for GCC 2.95.2.
8491
8492 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
8493
8494         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
8495         if IPv4 and IPv6 requests timed out.
8496
8497 2000-11-18  Akim Demaille  <akim@epita.fr>
8498
8499         * malloc/obstack.h: Formatting changes.
8500         (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
8501         prevents type checking.
8502         (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
8503         cast the value to (void *): assigning a `foo *' to a `void *'
8504         variable is valid.
8505         (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
8506
8507 2000-11-17  Ulrich Drepper  <drepper@redhat.com>
8508
8509         * scripts/config.guess: Update from upstream maintainer.
8510         * scripts/config.sub: Likewise.
8511
8512 2000-11-16  Ulrich Drepper  <drepper@redhat.com>
8513
8514         * libio/freopen.c (freopen): Reset _mode after succesful reopening.
8515         * libio/freopen64.c (freopen64): Likewise.
8516         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8517
8518         * libio/Makefile: Add rules to build and run test-freopen.
8519         * libio/test-freopen.c: New file.
8520         * libio/test-freopen.sh: New file.
8521
8522 2000-11-15  H.J. Lu  <hjl@gnu.org>
8523
8524         * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
8525         ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
8526         (DL_DT_FINI_ADDRESS): Likewise.
8527
8528         * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
8529         return type to ElfW(Addr).
8530         (_dl_function_address): New prototype.
8531         (DL_FUNCTION_ADDRESS): Defined.
8532         (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
8533         (DL_DT_FINI_ADDRESS): Likewise.
8534
8535         * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
8536
8537         * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
8538         (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
8539
8540         * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
8541         (_dl_function_address): This.
8542
8543         * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
8544         function pointer for DT_FINI.
8545         * elf/dl-close.c (_dl_close): Likewise.
8546
8547         * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
8548         function pointer for DT_INIT.
8549
8550 2000-11-16  Jakub Jelinek  <jakub@redhat.com>
8551
8552         * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
8553         end of wexpbuf buffer.
8554
8555 2000-11-16  Andreas Jaeger  <aj@suse.de>
8556
8557         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
8558         definition of F_GETLK, F_SETLK, F_SETLKW.
8559
8560 2000-11-16  Andreas Jaeger  <aj@suse.de>
8561
8562         * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
8563         it's not defined.
8564
8565 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
8566
8567         * dlfcn/default.c (main): Add test for dladdr of main returning
8568         argv[0] in dli_fname field.
8569
8570 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
8571
8572         * Makeconfig (run-program-prefix): Move test-static test into the
8573         variable.
8574
8575         * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
8576         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
8577         schedule instructions.
8578         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
8579         schedule instructions, fix a bug in copying auxiliary data.
8580
8581 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
8582
8583         * manual/startup.texi (Program Arguments): Fix type of main's envp
8584         parameter.
8585         Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
8586
8587         * iconvdata/gconv-modules: Add CP950 alias.
8588
8589 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
8590
8591         * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
8592         syscall-list.h goal.
8593         * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
8594
8595 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
8596
8597         * intl/Makefile: tst-gettext2.sh does not need a third parameter.
8598
8599         * intl/tst-gettext2.sh: Copy locale data.  Adjust LOCPATH.  Verify
8600         output of program.
8601
8602         * intl/tst-gettext2.c: Set C locale if setting other locale
8603         failed.  Use gettext() not _().
8604
8605         * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
8606         successfully loaded a new locale.
8607
8608 2000-11-13  Andreas Jaeger  <aj@suse.de>
8609
8610         * configure.in: Require gcc 2.95 or newer.
8611
8612 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
8613
8614         * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
8615         Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
8616
8617 2000-11-11  Jim Meyering  <meyering@lucent.com>
8618
8619         * string/strndup.c (strndup): Cast return value to `char *'.
8620
8621 2000-11-15  Jim Meyering  <meyering@ascend.com>
8622
8623         * sysdeps/generic/memchr.c: Remove some useless parentheses.
8624         [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
8625         [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
8626         [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
8627         Also #undef __memchr.
8628         Use `weak_alias' only if it's defined.
8629
8630 2000-11-10  H.J. Lu  <hjl@gnu.org>
8631
8632         * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
8633
8634 2000-11-15  Andreas Jaeger  <aj@suse.de>
8635
8636         * elf/chroot_canon.c: Include <stdint.h>.
8637
8638         * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
8639         (print_entry): Likewise.
8640         (add_to_cache): Likewise.
8641
8642         * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
8643
8644         * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
8645         (path_hwcap): Likewise.
8646         (search_dir): Likewise.
8647
8648         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
8649
8650         * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
8651
8652         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
8653         (_dl_platform_string): New.
8654         (_DL_HWCAP_PLATFORM): New.
8655         (_dl_string_platform): New.
8656         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
8657
8658         * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
8659         (_dl_string_platform): New.
8660         (_DL_HWCAP_PLATFORM): New.
8661         (_dl_platform_string): New.
8662
8663         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
8664         recognition.
8665         (_DL_HWCAP_COUNT): New.
8666         (_dl_string_platform): New.
8667         (_DL_HWCAP_PLATFORM): New.
8668         (_dl_platform_string): New.
8669
8670 2000-11-14  Ulrich Drepper  <drepper@redhat.com>
8671
8672         * iconvdata/gconv-modules: Add CP936 as alias for GBK.
8673
8674 2000-11-14  Andreas Jaeger  <aj@suse.de>
8675
8676         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
8677
8678 2000-11-13  Roland McGrath  <roland@frob.com>
8679
8680         * hurd/get-host.c (_hurd_get_host_config): Fix last change.
8681
8682 2000-11-13  Marcus Brinkmann <marcus@gnu.org>
8683
8684         * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
8685         underrun and make sure the result is null terminated even if there
8686         is no trailing newline.
8687
8688 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
8689
8690         * sysdeps/alpha/fpu/libm-test-ulps: Update.
8691
8692 2000-11-10  H.J. Lu  <hjl@gnu.org>
8693
8694         * sysdeps/ia64/fpu/libm-test-ulps: Updated.
8695
8696 2000-11-10  Andreas Jaeger  <aj@suse.de>
8697
8698         * elf/ldconfig.c (create_links): Fix alloca calculation.
8699         Patch by Ben Collins <bcollins@debian.org>.
8700
8701 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
8702
8703         * inet/getnameinfo.c (getnameinfo): Use correct destination
8704         parameter for if_indextoname.
8705         Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
8706
8707 2000-11-09  H.J. Lu  <hjl@gnu.org>
8708
8709         * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
8710         xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
8711         xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
8712         xdr_keystatus.
8713
8714         * time/Versions (GLIBC_2.1): Move getitimer to...
8715         * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
8716
8717 2000-11-03  Bruno Haible  <haible@clisp.cons.org>
8718
8719         * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
8720         "make install", to work around a binary incompatibility between
8721         glibc 2.1 and glibc 2.2 gconv modules.
8722
8723 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
8724
8725         * intl/locale.alias: Add thai.
8726         Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
8727
8728 2000-11-07  Akim Demaille  <akim@epita.fr>
8729
8730         * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
8731         argument `data' for consistency with the prototypes.
8732         Qualify it `const'.
8733         (obstack_copy, obstack_copy0): Rename the second argument as
8734         `address' for consistency.  Qualify it `const'.
8735         * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
8736         (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
8737         `const' their input argument (`data' or `address').
8738         Adjust the corresponding macros to include `const' in casts.
8739
8740 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
8741
8742         * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
8743         target family.
8744
8745 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
8746
8747         * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
8748         socket creation.
8749
8750 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
8751
8752         * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
8753         ai_protocol by internal table if service was not given.
8754
8755 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
8756
8757         * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
8758         numerical port was specified with protocol without socktype.
8759
8760 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
8761
8762         * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
8763
8764 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
8765
8766         * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
8767
8768 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
8769
8770         * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
8771         sin6_scope_id field.
8772
8773 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
8774
8775         * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
8776
8777 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
8778
8779         * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
8780
8781 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
8782
8783         * inet/getnameinfo.c: Wake-up sin6_scope_id support in
8784         getnameinfo(): check for whether sin6_socpe_id exist was wrong.
8785
8786 2000-11-09  Martin Schwidefsky  <mschwide@nc.boeblingen.de.ibm.com>
8787
8788         * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
8789         * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
8790
8791 2000-11-09  H.J. Lu  <hjl@gnu.org>
8792
8793         * io/Versions (GLIBC_2.1.1): Remove lockf64.
8794
8795
8796 See ChangeLog.11 for earlier changes.