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