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