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