1 2001-03-31 Andreas Jaeger <aj@suse.de>
3 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWHDLC): Added.
4 (ARPHRD_HDLC): Define as alias for ARPHRD_CISCO.
6 Changes from Linux 2.4.3.
8 2001-03-30 Isamu Hasegawa <isamu@yamato.ibm.com>
10 * posix/regex.c: Avoid an access violation if malloc failes.
12 2001-03-30 Andreas Jaeger <aj@suse.de>
14 * sysdeps/alpha/ldiv.S (ldiv): Add alias for imaxdiv.
16 2001-03-29 Ulrich Drepper <drepper@redhat.com>
18 * posix/regex.c: Remove unnecessary ifs.
20 * math/bits/mathcalls.h: Remove infnan declaration.
22 2001-03-29 H.J. Lu <hjl@gnu.org>
24 * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF,
25 and LOW_HALF only if _LIBC is defined and _ISOMAC is not defined.
26 * stdlib/isomac.c (fmt): Define _LIBC and _ISOMAC.
28 2001-03-29 Isamu Hasegawa <isamu@yamato.ibm.com>
30 * posix/regex.c: Fix typo and add a sentinel.
32 2001-03-29 Ulrich Drepper <drepper@redhat.com>
34 * sysdeps/unix/sysv/linux/shm_open.c: Open new file always with
35 O_NOFOLLOW. Suggested by Christoph Roland.
37 2001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
39 * sysdeps/s390/bits/string.h: New unified 31/64 bit string.h.
40 * sysdeps/s390/s390-32/bits/string.h: Remove.
41 * sysdeps/s390/s390-64/bits/string.h: Remove.
42 * sysdeps/s390/s390-32/strcmp.S: New file.
43 * sysdeps/s390/s390-64/strcmp.S: New file.
45 2001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
47 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix typo.
48 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
50 2001-03-27 Ulrich Drepper <drepper@redhat.com>
52 * version.h (VERSION): Bump to 2.2.3.
54 * stdlib/isomac.c (fmt): Don't define _LIBC.
55 * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF, and
56 LOW_HALF only if _LIBC is defined.
58 * sysdeps/i386/fpu/libm-test-ulps: Slight adjustment of yn() error.
60 * posix/fnmatch_loop.c (FCT): Handle !() after * special like @()
62 * posix/tst-fnmatch.input: Add test cases for matching empty strings.
64 * sysdeps/ieee754/dbl-64/endian.h: Removed. Move definitions...
65 * include/endian.h: ...to here.
67 2001-03-27 kaz Kojima <kkojima@rr.iij4u.or.jp>
69 * sysdeps/sh/sys/ucontext.h (NFREG): Rename to NFPREG.
70 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NFREG): Likewise.
72 2001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
74 * sysdeps/unix/sysv/linux/s390/ldconfig.h: Fix typo.
76 2001-03-26 Ulrich Drepper <drepper@redhat.com>
78 * sysdeps/ia64/fpu/Dist: Add new files to distribute.
79 * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Likewise.
80 * sysdeps/unix/sysv/linux/ia64/Dist: Likewise.
82 * gmon/Makefile (headers): Add sys/profil.h.
84 2001-03-18 Andreas Jaeger <aj@suse.de>
86 * manual/install.texi (Tools for Compilation): Advise to use GCC
88 (Supported Configurations): Mention s390x.
90 2001-03-26 Ben Collins <bcollins@debian.org>
92 * sysdeps/unix/sysv/linux/mips/bits/mman.h: Add MAP_* and MADV_*
93 defines to match other architectures.
95 2001-03-26 Ulrich Drepper <drepper@redhat.com>
97 * libio/Makefile (tests): Add tst-ext.
98 * libio/tst-ext.c: New file.
100 * libio/iosetvbuf.c (_IO_setvbuf): Clear line buffer flag for _IONBF.
102 2001-03-25 Ulrich Drepper <drepper@redhat.com>
104 Add changes which were in this form in the original patch by
105 Eric Norum <eric.norum@usask.ca>.
106 * include/rpc/rpc.h: Remove svc_fdset, rpc_createerr, svc_pollfd, and
108 * sunrpc/rpc/rpc.h: Declare __rpc_thread_svc_fdset,
109 __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
110 __rpc_thread_svc_max_pollfd.
111 Define svc_fdset, get_rpc_createerr, svc_pollfd, and
113 * sunrpc/rpc_thread.c: Handle first thread special, it uses the
115 Define __rpc_thread_svc_fdset, __rpc_thread_createerr,
116 __rpc_thread_svc_pollfd, and __rpc_thread_svc_max_pollfd.
117 * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_svc_fdset,
118 __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
119 __rpc_thread_svc_max_pollfd.
120 * sunrpc/clnt_gen.c: Replace use of rpc_createerr by call to
122 * sunrpc/clnt_perr.c: Likewise.
123 * sunrpc/clnt_simp.c: Likewise.
124 * sunrpc/clnt_tcp.c: Likewise.
125 * sunrpc/clnt_udp.c: Likewise.
126 * sunrpc/clnt_unix.c: Likewise.
127 * sunrpc/pm_getport.c: Likewise.
129 * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): getgroups32
130 syscall checks for negative n so don't test here as well.
132 2001-03-23 Jes Sorensen <jes@linuxcare.com>
134 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Moved to ...
135 * sysdeps/ia64/sysdep.h: ...here.
137 * sysdeps/ia64/sysdep.h (LOCAL_ENTRY): Define.
138 * sysdeps/ia64/sysdep.h (LOCAL_LEAF): Define.
140 * sysdeps/ia64/_mcount.S (_mcount_ret_helper): Use LOCAL_LEAF() to
141 declare instead of LEAF(). Suggestion from David Mosberger.
143 2001-03-21 David Mosberger <davidm@hpl.hp.com>
145 * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Add unwind
147 (PSEUDO): Drop .psr and .lsb directives.
149 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Ditto. Add unwind
151 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Ditto.
153 * sysdeps/ia64/elf/start.S: Misc cleanup: remove .psr and .lsb
155 * sysdeps/unix/sysv/linux/ia64/brk.S: Ditto.
156 * sysdeps/unix/sysv/linux/ia64/__longjmp.S: Ditto.
157 * sysdeps/ia64/_mcount.S: Remove .psr and .lsb directives (no
158 longer needed). Add unwind directives.
160 * sysdeps/ia64/sysdep.h: Define ASM_UNW_PRLG_RP, ASM_UNW_PRLG_PFS,
161 ASM_UNW_PRLG_PSP, ASM_UNW_PRLG_PR, and ASM_UNW_PRLG_GRSAVE.
163 2001-03-21 Paul Eggert <eggert@twinsun.com>
165 * posix/regex.h (RE_INVALID_INTERVAL_ORD): New macro.
166 (RE_SYNTAX_POSIX_EGREP): Use it.
167 * posix/regex.c (regex_compile): Implement it.
169 2001-03-21 Paul Eggert <eggert@twinsun.com>
171 * posix/regex.c (GET_UNSIGNED_NUMBER): Check for overflow.
172 Rewrite to avoid duplicate code.
174 2001-03-21 H.J. Lu <hjl@gnu.org>
176 * elf/Makefile (tests): Don't depend on $(objpfx)tst-pathopt.out
178 ($(objpfx)tst-pathopt.out): Undo the last change.
180 2001-03-24 Mark Kettenis <kettenis@gnu.org>
182 * sysdeps/mach/hurd/i386/bits/sigcontext.h (sc_sp, sc_fp, sc_pc,
183 sc_ps): Define as aliases for sc_uesp, sc_ebl, sc_eip and sc_efl.
185 * sysdeps/mach/hurd/i386/init-first.c: Include <assert.h>.
187 (init) [SHARED]: Readjust _dl_argv if we switched to a new stack.
189 2001-03-22 Andreas Jaeger <aj@suse.de>
191 * iconvdata/Makefile (generated): Add iconv-test.xxx.
193 * posix/Makefile (generated): Add bug-regex2.mtrace and
196 2001-03-21 Ulrich Drepper <drepper@redhat.com>
198 * csu/version.c (__gnu_get_libc_release): Add prototype.
199 (__gnu_get_libc_version): Likewise.
200 * include/gnu/libc-version.h: Remove prototypes for not exported
203 2001-03-21 Jes Sorensen <jes@linuxcare.com>
205 * sysdeps/unix/sysv/linux/ia64/makecontext.c: Include libintl.h
206 for internationalized printfs to work.
208 2001-03-09 Bruno Haible <haible@clisp.cons.org>
210 * intl/dcigettext.c (transmem_block_t): Change to unsigned char, to
211 avoid compiler warning.
212 (_nl_find_msg): Add casts to avoid compiler warnings.
214 2001-03-21 Ulrich Drepper <drepper@redhat.com>
216 * gmon/Makefile (routines): Add sprofil.
217 (tests): Add tst-sprofil.
218 (noprof): Add sprofil.
219 * gmon/Versions [libc] (GLIBC_2.2.3): Add sprofil.
221 2001-03-20 David Mosberger <davidm@hpl.hp.com>
223 * sysdeps/generic/sprofil.c: New file.
224 * sysdeps/posix/sprofil.c: New file.
225 * gmon/tst-sprofil.c: New file.
226 * gmon/sys/profil.h: New file.
228 2001-03-20 Andreas Schwab <schwab@suse.de>
230 * include/unistd.h: Adjust prototype of __gethostname.
232 2001-03-20 Jakub Jelinek <jakub@redhat.com>
234 * sysdeps/sparc/stackinfo.h: New file.
236 2001-03-21 Andreas Jaeger <aj@suse.de>
238 * elf/global.c (main): Use proper prototype.
240 2001-03-20 Ulrich Drepper <drepper@redhat.com>
242 * sunrpc/Makefile (routines): Add rpc_thread.
243 (CPPFLAGS): Add -D_RPC_THREAD_SAFE.
244 * sunrpc/rpc_thread.c: New file.
245 * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_destroy.
246 * sunrpc/auth_none.c: Don't use global variables. Access state in
247 thread-local storage.
248 * sunrpc/clnt_perr.c: Likewise.
249 * sunrpc/clnt_raw.c: Likewise.
250 * sunrpc/clnt_simp.c: Likewise.
251 * sunrpc/key_call.c: Likewise.
252 * sunrpc/rpc_common.c: Likewise.
253 * sunrpc/svc.c: Likewise.
254 * sunrpc/svc_raw.c: Likewise.
255 * sunrpc/svc_simple.c: Likewise.
256 * sunrpc/svcauth_des.c: Likewise.
257 * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
258 _HURD_THREADVAR_RPC_VARS.
259 * sysdeps/generic/bits/libc-tsd.h: Mention _LIBC_TSD_KEY_RPC_VARS.
260 * include/rpc/rpc.h: Define data structures for internal thread-local
262 Based on patches by Eric Norum <eric.norum@usask.ca>.
264 * elf/dl-load.c: Various little optimizations.
266 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Return
267 LINUX_LINK_MAX only if the statfs function is not implemented for
270 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Return
271 LINUX_LINK_MAX only if the fstatfs function is not implemented for
274 2001-03-19 Ulrich Drepper <drepper@redhat.com>
276 * elf/dl-dst.h (DL_DST_COUNT): Add __builtin_expect.
278 * elf/dl-load.c (_dl_dst_count): Make DST recognition more robust.
279 (_dl_dst_substitute): Likewise.
281 2001-03-17 Bruno Haible <haible@clisp.cons.org>
283 * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC]: Use fstat, not fstat64.
285 2001-03-17 Bruno Haible <haible@clisp.cons.org>
287 * intl/gettextP.h (struct expression): Add operators lnot, less_than,
288 greater_than, less_or_equal, greater_or_equal. Replace args2/args3
289 union by a 'nargs' counter and an 'args[]' array.
290 * intl/plural.y: Don't include stdarg.h.
291 (new_exp): Take an array of arguments instead of varargs.
292 (new_exp_0, new_exp_1, new_exp_2, new_exp_3): New functions.
293 ('?' ':'): Make right-associative.
294 (EQUOP2): New token, replaces '=' and '!'.
296 (ADDOP2): New token, replaces '+' and '-'.
297 (MULOP2): New token, replaces '*', '/' and '%'.
299 (exp): Add rules for CMPOP2 and '!'. Don't call YYABORT.
300 (start): Call YYABORT here.
301 (FREE_EXPRESSION): Update.
302 (yylex): Don't skip "\\n". Recognize comparison and '!' operators.
303 Update for new token symbols.
304 * intl/loadmsgcat.c (plvar, plone, germanic_plural,
305 init_germanic_plural): Update.
306 * intl/dcigettext.c (_nl_find_msg): Optimize for space.
307 (plural_eval): Recognize comparison and '!' operators. Optimize for
310 2001-03-10 Bruno Haible <haible@clisp.cons.org>
312 * intl/loadmsgcat.c (_nl_load_domain): locale_charset() doesn't return
315 2001-01-05 Bruno Haible <haible@clisp.cons.org>
317 * intl/loadmsgcat.c: Include headers needed for alloca().
319 (_nl_load_domain): Add fallback code for platforms lacking alloca.
320 * intl/localealias.c: (ADD_BLOCK, FREE_BLOCK): Remove macros.
322 (read_alias_file): Simplify fallback code for platforms lacking
325 2001-01-07 Bruno Haible <haible@clisp.cons.org>
327 * intl/gettextP.h (__gettextdebug): Remove declaration.
328 (__gettext_free_exp, __gettextparse): Convert prototype to K&R C
330 (gettext_free_exp__, gettextparse__): New non-libc declarations.
331 * intl/plural.y [!_LIBC]: Define gettextparse__, gettext_free_exp__,
332 not __gettextparse, __gettext_free_exp.
333 * intl/loadmsgcat.c [!_LIBC]: Use gettextparse__, not __gettextparse.
335 2001-02-24 Bruno Haible <haible@clisp.cons.org>
337 * intl/dcigettext.c: Update comment about HAVE_LOCALE_NULL.
339 2001-01-05 Bruno Haible <haible@clisp.cons.org>
341 * intl/loadmsgcat.c (_nl_load_domain): Add fallback code for platforms
342 lacking strtoul, like SunOS4.
344 2001-01-05 Bruno Haible <haible@clisp.cons.org>
346 * intl/l10nflist.c (_nl_normalize_codeset): Use tolower, not _tolower.
348 2001-01-05 Bruno Haible <haible@clisp.cons.org>
350 * intl/bindtextdom.c (set_binding_values): Convert prototype to K&R C
352 * intl/dcigettext.c (transcmp): Convert to K&R C syntax.
353 * intl/explodename.c (_nl_find_language): Convert to K&R C syntax.
354 * intl/plural.y (__gettext_free_exp, yylex, yyerror): Convert to K&R C
357 2001-01-07 Bruno Haible <haible@clisp.cons.org>
359 * intl/gettextP.h (gettext__, dgettext__, dcgettext__, textdomain__,
360 bindtextdomain__, bind_textdomain_codeset__): New declarations, from
362 * intl/bindtextdom.c: Include libgnuintl.h instead of libgettext.h.
363 * intl/dcgettext.c: Likewise.
364 * intl/dcigettext.c: Likewise.
365 * intl/dcngettext.c: Likewise.
366 * intl/dngettext.c: Likewise.
367 * intl/finddomain.c: Likewise.
368 * intl/ngettext.c: Likewise.
369 * intl/textdomain.c: Likewise.
370 * intl/dgettext.c: Include libgnuintl.h instead of libgettext.h.
372 * intl/gettext.c: Likewise. Don't include locale.h.
374 2001-03-17 Bruno Haible <haible@clisp.cons.org>
376 * intl/gettextP.h (ZERO): New macro.
377 (struct binding): Always use ZERO.
378 * intl/bindtextdom.c (offsetof): Provide fallback for platforms that
379 lack it, like SunOS4.
380 (set_binding_values): Use offsetof, not sizeof.
381 * intl/dcigettext.c (offsetof): Provide fallback for platforms that
382 lack it, like SunOS4.
383 (ZERO): Remove macro.
384 (struct transmem_list): Use ZERO.
385 (DCIGETTEXT): Use offsetof, not sizeof.
387 2001-03-17 Bruno Haible <haible@clisp.cons.org>
389 * intl/gettextP.h: Include <stddef.h>. Include gettext.h, for
391 * intl/bindtextdom.c: Don't include gettext.h.
392 * intl/dcgettext.c: Likewise.
393 * intl/dcigettext.c: Likewise.
394 * intl/dcngettext.c: Likewise.
395 * intl/dngettext.c: Likewise.
396 * intl/finddomain.c: Likewise.
397 * intl/localealias.c: Likewise.
398 * intl/ngettext.c: Likewise.
399 * intl/plural.y: Likewise.
400 * intl/textdomain.c: Likewise.
402 2001-03-17 Bruno Haible <haible@clisp.cons.org>
404 * intl/gettext.h: Don't include <stdio.h>.
406 2001-03-17 Bruno Haible <haible@clisp.cons.org>
408 * intl/Makefile (CPPFLAGS): Set LOCALEDIR instead of GNULOCALEDIR.
409 * intl/dcigettext.c (_nl_default_dirname): Initialize with LOCALEDIR.
411 2001-03-19 Ulrich Drepper <drepper@redhat.com>
413 * sysdeps/unix/i386/i686/tempname.c: New file.
415 * sysdeps/posix/tempname.c (__gen_tempname): If RANDOM_BITS is
416 defined use this macro to get some bits of randomness instead of
417 the usual gettimeofday or time calls.
419 2001-03-16 Paul Eggert <eggert@twinsun.com>
421 * sysdeps/posix/tempname.c (uint64_t): Define to uintmax_t if
422 not defined, and if UINT64_MAX is not defined.
424 2001-03-19 Ulrich Drepper <drepper@redhat.com>
426 * elf/cache.c: Mark and have translated a few more messages.
428 2001-03-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
430 * elf/cache.c: Add case for FLAG_S390_LIB64.
431 * sysdeps/generic/ldconfig.h: Add define for FLAG_S390_LIB64.
432 * sysdeps/unix/sysv/linux/s390/ldconfig.h: New file.
433 * sysdeps/unix/sysv/linux/s390/readelflib.c: New file.
435 2001-03-19 Ulrich Drepper <drepper@redhat.com>
437 * string/Makefile (tests): Add tst-strxfrm.
438 * string/tst-strxfrm.c: New file. Based on a test case by Paul Eggert.
439 * string/Depend: New file.
441 2001-03-19 Paul Eggert <eggert@twinsun.com>
443 * string/strxfrm.c (strxfrm): strxfrm should return 0, not 1,
444 when given the empty string in nontrivial locales.
446 2001-03-17 H.J. Lu <hjl@gnu.org>
448 * manual/Makefile (install): Use $(INSTALL_DATA) instead of
451 2001-03-19 Andreas Schwab <schwab@suse.de>
453 * Makerules (build-shlib): Make sure exit codes get checked
456 2001-03-18 Ulrich Drepper <drepper@redhat.com>
458 * Makerules (build-shlib): Remove unnecessary slashes introduced in
461 * configure.in: Test for -Bgroup option of linker.
462 * config.make.in: Define have-Bgroup.
464 * conform/data/unistd.h-data: Require gethostname.
465 * posix/unistd.h: Make gethostname prototype available for
468 * crypt/Makefile: When generating DSO link with libc_nonshared.a.
469 * debug/Makefile: Likewise.
470 * dlfcn/Makefile: Likewise.
471 * hesiod/Makefile: Likewise.
472 * iconvdata/extra-module.mk: Likewise.
473 * locale/Makefile: Likewise.
474 * login/Makefile: Likewise.
475 * math/Makefile: Likewise.
476 * nis/Makefile: Likewise.
477 * nss/Makefile: Likewise.
478 * resolv/Makefile: Likewise.
479 * rt/Makefile: Likewise.
481 2001-03-17 Ulrich Drepper <drepper@redhat.com>
483 * inet/Makefile (tests): Remove left-over comment.
485 * posix/unistd.h (gethostname): Change type of second parameter
486 back to size_t as per upcoming XPG6.
487 * sysdeps/unix/sysv/aix/gethostname.c: Change type of second
488 parameter back to size_t as per upcoming XPG6.
489 * sysdeps/unix/sysv/sysv4/gethostname.c: Likewise.
490 * sysdeps/unix/sysv/gethostname.c: Likewise.
491 * sysdeps/mach/hurd/gethostname.c: Likewise.
492 * sysdeps/generic/gethostname.c: Likewise.
494 2001-03-16 Ulrich Drepper <drepper@redhat.com>
496 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
499 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext):
502 2001-02-06 Jakub Jelinek <jakub@redhat.com>
504 * elf/dl-load.c (_dl_map_object): Don't test l_opencount when
505 looking for name matches.
507 2001-02-26 Jakub Jelinek <jakub@redhat.com>
509 * sysdeps/generic/sigcontextinfo.h (CALL_SIGHANDLER): Define.
510 * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
511 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
512 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
513 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
514 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
515 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
516 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
517 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
518 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
519 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
520 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
522 2001-03-16 Ulrich Drepper <drepper@redhat.com>
524 * sysdeps/ieee754/ldbl-96/s_erfl.c: New file.
525 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
527 * sysdeps/i386/fpu/libm-test-ulps: Adjust for addition of erfl and
529 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
531 2001-03-16 David Mosberger <davidm@hpl.hp.com>
533 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
534 Drop hack that was needed for 2.1.1 kernel headers.
536 * sysdeps/unix/sysv/linux/ia64/ucontext_i.h: New file.
538 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Rewrite to make it
539 overlay with kernel's "struct sigcontext".
541 * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep_headers): Add
542 sys/rse.h for "misc" subdir.
543 (sysdep_routines): Add __start_context for "stdlib" subdir.
545 * sysdeps/unix/sysv/linux/ia64/sys/rse.h: New file (based on
546 kernel file of the same name).
548 * stdlib/Makefile (tests): Add tst-setcontext.
549 * stdlib/tst-setcontext.c: New file (based on a sample program by
552 * sysdeps/unix/sysv/linux/ia64/setcontext.S: New file.
553 * sysdeps/unix/sysv/linux/ia64/getcontext.S: New file.
554 * sysdeps/unix/sysv/linux/ia64/__start_context.S: New file.
555 * sysdeps/unix/sysv/linux/ia64/makecontext.c: New file.
556 * sysdeps/unix/sysv/linux/ia64/swapcontext.c: New file.
558 * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): Use extr.u
559 instead of shift & and.
561 2001-03-16 Martin Schwidefsky <schwidefsky@de.ibm.com>
563 * sysdeps/s390/s390-64/bits/huge_val.h: Move to...
564 * sysdeps/s390/bits/huge_val.h: ...here.
565 * sysdeps/s390/s390-32/bit/huge_val.h: Remove.
566 * sysdeps/s390/s390-64/ffs.c: Move to...
567 * sysdeps/s390/ffs.c: ...here.
568 * sysdeps/s390/s390-32/ffs.c: Remove.
570 2001-03-16 Jakub Jelinek <jakub@redhat.com>
572 * elf/ldconfig.c (search_dir): Remove bogus diagnostic, instead
573 update osversion from more recent library.
575 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
577 * sysdeps/unix/sysv/linux/s390/Dist: Move to...
578 * sysdeps/unix/sysv/linux/s390/s390-32/Dist: ...here.
579 * sysdeps/unix/sysv/linux/s390/Makefile: Move to...
580 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: ...here.
581 * sysdeps/unix/sysv/linux/s390/Versions: Move to...
582 * sysdeps/unix/sysv/linux/s390/s390-32/Versions: ...here.
583 * sysdeps/unix/sysv/linux/s390/alphasort64.c: Move to...
584 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: ...here.
585 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Move to...
586 * sysdeps/unix/sysv/linux/s390/s390-32/bits/fcntl.h: ...here.
587 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Move to...
588 * sysdeps/unix/sysv/linux/s390/s390-32/bits/mman.h: ...here.
589 * sysdeps/unix/sysv/linux/s390/bits/resource.h: Move to...
590 * sysdeps/unix/sysv/linux/s390/s390-32/bits/resource.h: ...here.
591 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Move to...
592 * sysdeps/unix/sysv/linux/s390/s390-32/bits/stat.h: ...here.
593 * sysdeps/unix/sysv/linux/s390/chown.c: Move to...
594 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: ...here.
595 * sysdeps/unix/sysv/linux/s390/clone.S: Move to...
596 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: ...here.
597 * sysdeps/unix/sysv/linux/s390/fchown.c: Move to...
598 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: ...here.
599 * sysdeps/unix/sysv/linux/s390/fcntl.c: Move to...
600 * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: ...here.
601 * sysdeps/unix/sysv/linux/s390/fxstat.c: Move to...
602 * sysdeps/unix/sysv/linux/s390/s390-32/fxstat.c: ...here.
603 * sysdeps/unix/sysv/linux/s390/getdents64.c: Move to...
604 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: ...here.
605 * sysdeps/unix/sysv/linux/s390/getegid.c: Move to...
606 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: ...here.
607 * sysdeps/unix/sysv/linux/s390/geteuid.c: Move to...
608 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: ...here.
609 * sysdeps/unix/sysv/linux/s390/getgid.c: Move to...
610 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: ...here.
611 * sysdeps/unix/sysv/linux/s390/getgroups.c: Move to...
612 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: ...here.
613 * sysdeps/unix/sysv/linux/s390/getresgid.c: Move to...
614 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: ...here.
615 * sysdeps/unix/sysv/linux/s390/getresuid.c: Move to...
616 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: ...here.
617 * sysdeps/unix/sysv/linux/s390/getrlimit.c: Move to...
618 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: ...here.
619 * sysdeps/unix/sysv/linux/s390/getrlimit64.c: Move to...
620 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: ...here.
621 * sysdeps/unix/sysv/linux/s390/getuid.c: Move to...
622 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: ...here.
623 * sysdeps/unix/sysv/linux/s390/lchown.c: Move to...
624 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: ...here.
625 * sysdeps/unix/sysv/linux/s390/lockf64.c: Move to...
626 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: ...here.
627 * sysdeps/unix/sysv/linux/s390/lxstat.c: Move to...
628 * sysdeps/unix/sysv/linux/s390/s390-32/lxstat.c: ...here.
629 * sysdeps/unix/sysv/linux/s390/mmap.S: Move to...
630 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: ...here.
631 * sysdeps/unix/sysv/linux/s390/mmap64.S: Move to...
632 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: ...here.
633 * sysdeps/unix/sysv/linux/s390/msgctl.c: Move to...
634 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: ...here.
635 * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: Move to...
636 * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: ...here.
637 * sysdeps/unix/sysv/linux/s390/readdir64.c: Move to...
638 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: ...here.
639 * sysdeps/unix/sysv/linux/s390/readdir64_r.c: Move to...
640 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: ...here.
641 * sysdeps/unix/sysv/linux/s390/register-dump.h: Move to...
642 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: ...here.
643 * sysdeps/unix/sysv/linux/s390/scandir64.c: Move to...
644 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: ...here.
645 * sysdeps/unix/sysv/linux/s390/semctl.c: Move to...
646 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: ...here.
647 * sysdeps/unix/sysv/linux/s390/setegid.c: Move to...
648 * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: ...here.
649 * sysdeps/unix/sysv/linux/s390/seteuid.c: Move to...
650 * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: ...here.
651 * sysdeps/unix/sysv/linux/s390/setfsgid.c: Move to...
652 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: ...here.
653 * sysdeps/unix/sysv/linux/s390/setfsuid.c: Move to...
654 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: ...here.
655 * sysdeps/unix/sysv/linux/s390/setgid.c: Move to...
656 * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: ...here.
657 * sysdeps/unix/sysv/linux/s390/setgroups.c: Move to...
658 * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: ...here.
659 * sysdeps/unix/sysv/linux/s390/setregid.c: Move to...
660 * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: ...here.
661 * sysdeps/unix/sysv/linux/s390/setresgid.c: Move to...
662 * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: ...here.
663 * sysdeps/unix/sysv/linux/s390/setresuid.c: Move to...
664 * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: ...here.
665 * sysdeps/unix/sysv/linux/s390/setreuid.c: Move to...
666 * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: ...here.
667 * sysdeps/unix/sysv/linux/s390/setrlimit.c: Move to...
668 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: ...here.
669 * sysdeps/unix/sysv/linux/s390/setuid.c: Move to...
670 * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: ...here.
671 * sysdeps/unix/sysv/linux/s390/shmctl.c: Move to...
672 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: ...here.
673 * sysdeps/unix/sysv/linux/s390/socket.S: Move to...
674 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: ...here.
675 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Move to...
676 * sysdeps/unix/sysv/linux/s390/s390-32/sys/procfs.h: ...here.
677 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Move to...
678 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: ...here.
679 * sysdeps/unix/sysv/linux/s390/syscall.S: Move to...
680 * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: ...here.
681 * sysdeps/unix/sysv/linux/s390/syscalls.list: Move to...
682 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: ...here.
683 * sysdeps/unix/sysv/linux/s390/sysdep.S: Move to...
684 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: ...here.
685 * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
686 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here.
687 * sysdeps/unix/sysv/linux/s390/versionsort64.c: Move to...
688 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: ...here.
689 * sysdeps/unix/sysv/linux/s390/xstat.c: Move to...
690 * sysdeps/unix/sysv/linux/s390/s390-32/xstat.c: ...here.
692 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
694 * sysdeps/unix/sysv/linux/s390/s390-64/Dist: New file.
695 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: New file.
696 * sysdeps/unix/sysv/linux/s390/s390-64/bits/elfclass.h: New file.
697 * sysdeps/unix/sysv/linux/s390/s390-64/bits/fcntl.h: New file.
698 * sysdeps/unix/sysv/linux/s390/s390-64/bits/ipc.h: New file.
699 * sysdeps/unix/sysv/linux/s390/s390-64/bits/mman.h: New file.
700 * sysdeps/unix/sysv/linux/s390/s390-64/bits/msq.h: New file.
701 * sysdeps/unix/sysv/linux/s390/s390-64/bits/resource.h: New file.
702 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sem.h: New file.
703 * sysdeps/unix/sysv/linux/s390/s390-64/bits/shm.h: New file.
704 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: New file.
705 * sysdeps/unix/sysv/linux/s390/s390-64/bits/siginfo.h: New file.
706 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigstack.h: New file.
707 * sysdeps/unix/sysv/linux/s390/s390-64/bits/stat.h: New file.
708 * sysdeps/unix/sysv/linux/s390/s390-64/bits/types.h: New file.
709 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: New file.
710 * sysdeps/unix/sysv/linux/s390/s390-64/fstatfs64.c: New file.
711 * sysdeps/unix/sysv/linux/s390/s390-64/ftruncate64.c: New file.
712 * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: New file.
713 * sysdeps/unix/sysv/linux/s390/s390-64/fxstat64.c: New file.
714 * sysdeps/unix/sysv/linux/s390/s390-64/getdents.c: New file.
715 * sysdeps/unix/sysv/linux/s390/s390-64/getdents64.c: New file.
716 * sysdeps/unix/sysv/linux/s390/s390-64/getrlimit64.c: New file.
717 * sysdeps/unix/sysv/linux/s390/s390-64/glob.c: New file.
718 * sysdeps/unix/sysv/linux/s390/s390-64/glob64.c: New file.
719 * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: New file.
720 * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: New file.
721 * sysdeps/unix/sysv/linux/s390/s390-64/lxstat64.c: New file.
722 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: New file.
723 * sysdeps/unix/sysv/linux/s390/s390-64/mmap64.c: New file.
724 * sysdeps/unix/sysv/linux/s390/s390-64/pread64.c: New file.
725 * sysdeps/unix/sysv/linux/s390/s390-64/pwrite64.c: New file.
726 * sysdeps/unix/sysv/linux/s390/s390-64/readdir.c: New file.
727 * sysdeps/unix/sysv/linux/s390/s390-64/readdir64.c: New file.
728 * sysdeps/unix/sysv/linux/s390/s390-64/readdir64_r.c: New file.
729 * sysdeps/unix/sysv/linux/s390/s390-64/readdir_r.c : New file.
730 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: New file.
731 * sysdeps/unix/sysv/linux/s390/s390-64/setrlimit64.c: New file.
732 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: New file.
733 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: New file.
734 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c: New file.
735 * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: New file.
736 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: New file.
737 * sysdeps/unix/sysv/linux/s390/s390-64/statfs64.c: New file.
738 * sysdeps/unix/sysv/linux/s390/s390-64/sys/procfs.h: New file.
739 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: New file.
740 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: New file.
741 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: New file.
742 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: New file.
743 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: New file.
744 * sysdeps/unix/sysv/linux/s390/s390-64/truncate64.c: New file.
745 * sysdeps/unix/sysv/linux/s390/s390-64/xstat.c: New file.
746 * sysdeps/unix/sysv/linux/s390/s390-64/xstat64.c: New file.
748 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
750 * sysdeps/s390/Dist: Move to...
751 * sysdeps/s390/390-32/Dist: ...here.
752 * sysdeps/s390/Implies: Move to...
753 * sysdeps/s390/s390-32/Implies: ...here.
754 * sysdeps/s390/Makefile: Move to...
755 * sysdeps/s390/s390-32/Makefile: ...here.
756 * sysdeps/s390/Versions: Move to...
757 * sysdeps/s390-32/s390/Versions: ...here.
758 * sysdeps/s390/add_n.S: Move to...
759 * sysdeps/s390/s390-32/add_n.S: ...here.
760 * sysdeps/s390/addmul_1.S: Move to...
761 * sysdeps/s390/s390-32/addmul_1.S: ...here.
762 * sysdeps/s390/atomicity.h: Move to...
763 * sysdeps/s390/s390-32/atomicity.h: ...here.
764 * sysdeps/s390/backtrace.c: Move to...
765 * sysdeps/s390/s390-32/backtrace.c: ...here.
766 * sysdeps/s390/bcopy.S: Move to...
767 * sysdeps/s390/s390-32/bcopy.S: ...here.
768 * sysdeps/s390/bits/byteswap.h: Move to...
769 * sysdeps/s390/s390-32/bits/byteswap.h: ...here.
770 * sysdeps/s390/bits/huge_val.h: Move to...
771 * sysdeps/s390/s390-32/bits/huge_val.h: ...here.
772 * sysdeps/s390/bsd-_setjmp.S: Move to...
773 * sysdeps/s390/s390-32/bsd-_setjmp.S: ...here.
774 * sysdeps/s390/bsd-setjmp.S: Move to...
775 * sysdeps/s390/s390-32/bsd-setjmp.S: ...here.
776 * sysdeps/s390/bzero.S: Move to...
777 * sysdeps/s390/s390-32/bzero.S: ...here.
778 * sysdeps/s390/elf/bsd-_setjmp.S: Move to...
779 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: ...here.
780 * sysdeps/s390/elf/bsd-setjmp.S: Move to...
781 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: ...here.
782 * sysdeps/s390/elf/start.S: Move to...
783 * sysdeps/s390/s390-32/elf/start.S: ...here.
784 * sysdeps/s390/ffs.c: Move to...
785 * sysdeps/s390/s390-32/ffs.c: ...here.
786 * sysdeps/s390/memchr.S: Move to...
787 * sysdeps/s390/s390-32/memchr.S: ...here.
788 * sysdeps/s390/memcpy.S: Move to...
789 * sysdeps/s390/s390-32/memcpy.S: ...here.
790 * sysdeps/s390/memset.S: Move to...
791 * sysdeps/s390/s390-32/memset.S: ...here.
792 * sysdeps/s390/mul_1.S: Move to...
793 * sysdeps/s390/s390-32/mul_1.S: ...here.
794 * sysdeps/s390/s390-mcount.S: Move to...
795 * sysdeps/s390/s390-32/s390-mcount.S: ...here.
796 * sysdeps/s390/strcpy.S: Move to...
797 * sysdeps/s390/s390-32/strcpy.S: ...here.
798 * sysdeps/s390/strncpy.S: Move to...
799 * sysdeps/s390/s390-32/strncpy.S: ...here.
800 * sysdeps/s390/sub_n.S: Move to...
801 * sysdeps/s390/s390-32/sub_n.S: ...here.
803 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
805 * sysdeps/s390/s390-64/Dist: New file.
806 * sysdeps/s390/s390-64/Implies: New file.
807 * sysdeps/s390/s390-64/Makefile: New file.
808 * sysdeps/s390/s390-64/__longjmp.c: New file.
809 * sysdeps/s390/s390-64/add_n.S: New file.
810 * sysdeps/s390/s390-64/atomicity.h: New file.
811 * sysdeps/s390/s390-64/backtrace.c: New file.
812 * sysdeps/s390/s390-64/bcopy.S: New file.
813 * sysdeps/s390/s390-64/bits/byteswap.h: New file.
814 * sysdeps/s390/s390-64/bits/huge_val.h: New file.
815 * sysdeps/s390/s390-64/bits/setjmp.h: New file.
816 * sysdeps/s390/s390-64/bits/string.h: New file.
817 * sysdeps/s390/s390-64/bsd-_setjmp.S: New file.
818 * sysdeps/s390/s390-64/bsd-setjmp.S: New file.
819 * sysdeps/s390/s390-64/bzero.S: New file.
820 * sysdeps/s390/s390-64/dl-machine.h: New file.
821 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: New file.
822 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: New file.
823 * sysdeps/s390/s390-64/elf/setjmp.S: New file.
824 * sysdeps/s390/s390-64/elf/start.S: New file.
825 * sysdeps/s390/s390-64/ffs.c: New file.
826 * sysdeps/s390/s390-64/initfini.c: New file.
827 * sysdeps/s390/s390-64/memchr.S: New file.
828 * sysdeps/s390/s390-64/memcpy.S: New file.
829 * sysdeps/s390/s390-64/memset.S: New file.
830 * sysdeps/s390/s390-64/s390x-mcount.S: New file.
831 * sysdeps/s390/s390-64/setjmp.S: New file.
832 * sysdeps/s390/s390-64/strcpy.S: New file.
833 * sysdeps/s390/s390-64/strncpy.S: New file.
834 * sysdeps/s390/s390-64/sub_n.S: New file.
835 * sysdeps/s390/s390-64/sysdep.h: New file.
837 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
839 * scripts/config.guess: Add support for Linux on 64 bit S/390.
840 * scripts/config.sub: Likewise.
842 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
844 * configure.in: Add support for 64 bit S/390.
846 * elf/elf.h: Add new relocations for 64 bit S/390.
848 * shlib-versions: Add rules for Linux on 64 bit S/390.
850 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
852 * sysdeps/s390/__longjmp.c: Move to...
853 * sysdeps/s390/s390-32/__longjmp.c: ...here. Add code
854 to load the floating point registers that should be saved
855 according to the ABI.
857 * sysdeps/s390/bits/setjmp.h: Move to...
858 * sysdeps/s390/s390-32/bits/setjmp.h: ...here. Avoid
859 the use of long long in the __jmp_buf type definition.
861 * sysdeps/s390/bits/string.h: Move to...
862 * sysdeps/s390/s390-32/bits/string.h: ...here. Add several missing
863 #ifndef _FORCE_INLINES.
865 * sysdeps/s390/dl-machine.h: Move to...
866 * sysdeps/s390/s390-32/dl-machine.h: ...here. Add a check for the
867 executables EI_CLASS in elf_machine_matches_host.
869 * sysdeps/s390/elf/setjmp.S: Move to...
870 * sysdeps/s390/s390-32/elf/setjmp.S: ...here. Replace
871 branches to globally defined symbol __sigsetjmp by branches to
872 a local label (this avoids the generation of a R_390_PC16DBL
873 relocation in -fpic code).
875 * sysdeps/s390/gmp-mparam.h: Use defines from <bits/wordsize.h> to
876 calculate BITS_PER_MP_LIMB, BYTES_PER_MP_LIMB and BITS_PER_LONGINT.
878 * sysdeps/s390/initfini.c: Move to...
879 * sysdeps/s390/s390-32/initfini.c: ...here. Replace ALIGN with
882 * sysdeps/s390/setjmp.S: Move to...
883 * sysdeps/s390/s390-32/setjmp.S: ...here. Add code to store the
884 floating point registers that should be saved according to the ABI.
886 * sysdeps/s390/sys/ucontext.h: Remove since it is unused.
888 * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
889 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here. Include
890 sysdeps/s390/s390-32/sysdep.h instead of sysdeps/s390/sysdep.h.
892 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
894 * configure.in: Change machine=s390 to machine=s390/s390-32.
896 * elf/elf.h: Correct comment for R_390_PLT16DBL.
898 2001-03-12 Jakub Jelinek <jakub@redhat.com>
900 * csu/Makefile (abi-tag.h): Define OS and version separately, allow
901 version to be overriden from config.h.
902 * csu/abi-note.S: Use OS and version separately, include config.h.
903 * elf/dl-load.c (_dl_osversion): New.
904 (_dl_map_object_from_fd): Kill some warnings.
905 (open_verify): Check .note.ABI-tag of the library if present.
906 * elf/Makefile (CPPFLAGS-dl-load.c): Add -I$(csu-objpfx).
907 * elf/cache.c (struct cache_entry): Add osversion.
908 (print_entry): Print osversion.
909 (print_cache): Pass osversion to it.
910 (compare): Sort according to osversion.
911 (save_cache): Set osversion.
912 (add_to_cache): Add osversion argument.
913 * sysdeps/generic/ldconfig.h (add_to_cache, process_file,
914 process_elf_file): Add osversion argument.
915 * elf/readlib.c (process_file): Likewise.
916 * sysdeps/generic/readelflib.c (process_elf_file): Likewise.
917 * sysdeps/unix/sysv/linux/ia64/readelflib.c (process_elf_file,
918 process_elf32_file, process_elf64_file): Likewise.
919 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file,
920 process_elf32_file, process_elf64_file): Likewise.
921 * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file,
922 process_elf32_file, process_elf64_file): Likewise.
923 * elf/ldconfig.c (manual_link): Pass it.
924 (search_dir): Issue diagnostic if two libs with the same soname in
925 the same directory have different .note.ABI-tag. Record osversion in
926 dlib_entry and use it from there.
927 (struct lib_entry): Remove.
928 (struct dlib_entry): Add osversion.
929 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Check
931 * sysdeps/generic/dl-cache.h (struct file_entry_new): Replace __unused
932 field with osversion.
933 * sysdeps/generic/ldsodefs.h (_dl_osversion): Declare.
934 * sysdeps/unix/sysv/linux/init-first.c: Include ldsodefs.h.
935 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Save kernel
936 version in _dl_osversion.
937 * sysdeps/unix/sysv/linux/configure.in: Define __ABI_TAG_VERSION.
938 * Makerules (build-shlib-helper, build-module-helper): New.
939 (build-shlib, build-module-helper): Make sure .note.ABI-tag comes
941 * config.h.in (__ABI_TAG_VERSION): Add.
942 * elf/dl-minimal.c (__strtoul_internal): Set endptr on return.
943 * sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS):
944 Handle LD_ASSUME_KERNEL.
945 * sysdeps/unix/sysv/linux/dl-librecon.h: New.
947 2001-03-15 Ulrich Drepper <drepper@redhat.com>
949 * timezone/antarctica: Update from tzdata2001a.
950 * timezone/asia: Likewise.
951 * timezone/australasia: Likewise.
952 * timezone/backward: Likewise.
953 * timezone/etcetera: Likewise.
954 * timezone/europe: Likewise.
955 * timezone/leapseconds: Likewise.
956 * timezone/northamerica: Likewise.
957 * timezone/southamerica: Likewise.
958 * timezone/systemv: Likewise.
959 * timezone/yearistype: Likewise.
960 * timezone/zone.tab: Likewise.
961 * timezone/tzdump.c: Update from tzcode2001a.
963 2001-03-15 H.J. Lu <hjl@gnu.org>
965 * intl/Makefile: Fix a typo.
967 2001-03-14 David Mosberger <davidm@hpl.hp.com>
969 * gmon/gmon.c (write_call_graph): Avoid unaligned accesses when
970 writing arc structures.
972 2001-03-15 H.J. Lu <hjl@gnu.org>
974 * elf/Makefile ($(objpfx)tst-pathopt.out): Protected against
977 2001-03-13 Andreas Schwab <schwab@suse.de>
979 * posix/PTESTS2C.sed: Replace literal CRs by `\r'.
981 2001-03-15 Ulrich Drepper <drepper@redhat.com>
983 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Fix test
984 for control message fitting into message data.
985 Patch by James Antill <james@and.org>.
987 * posix/tst-fnmatch.input: Add test case for FNM_PERIOD handling with
990 * posix/fnmatch_loop.c: Optimize handling of ?() and @().
991 * posix/fnmatch.c: Define STRLEN and STRCAT appropriately.
993 * posix/Versions [libc] (GLIBC_2.2.3): Add fnmatch.
994 * posix/fnmatch.c: Define with new default version GLIBC_2.2.3 to
995 avoid running binaries with libc versions without FNM_EXTMATCH support.
997 * include/wchar.h: Add prototype for __wcscat.
998 * wcsmbs/wcscat.c: Define __wcscat and make wcscat weak alias.
1000 * posix/fnmatch.h (FNM_EXTMATCH): Define.
1001 * posix/fnmatch.c (NO_LEADING_PERIOD): Define.
1002 (posixly_correct): Move global variable here.
1003 (INT, EXT, END): Name new functions defined in fnmatch_loop.c.
1004 (fnmatch): Pretty printing.
1005 * posix/fnmatch_loop.c: Add code to handle FNM_EXTMATCH.
1006 * posix/tst-fnmatch.c: Recognize EXTMATCH flag.
1007 * posix/tst-fnmatch.input: Add tests for extended matching.
1009 * posix/testfnm.c: Add test for patterns with multiple ** before /.
1010 * posix/fnmatch_loop.c: Fix problem with the test above.
1012 2001-03-14 Ulrich Drepper <drepper@redhat.com>
1014 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove
1017 * resolv/res_data.c (fp_nquery): Call __res_ninit not __res_init.
1019 2001-03-12 Andreas Jaeger <aj@suse.de>
1021 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
1022 Use EM_X86_64 instead of EM_X8664.
1024 2001-03-12 Ulrich Drepper <drepper@redhat.com>
1026 * sysdeps/ieee754/dbl-64/upow.h: Define nZERO and nINF.
1028 * sysdeps/ieee754/dbl-64/e_remainder.c: Fix handling of boundary
1031 * sysdeps/ieee754/dbl-64/e_pow.c: Fix handling of boundary
1034 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Handle Inf and NaN
1038 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Handle NaN
1040 (__ieee754_acos): Likewise.
1042 2001-03-12 Andreas Jaeger <aj@suse.de>
1044 * sysdeps/unix/sysv/linux/s390/sysdep.h (_LINUX_S390_SYSDEP_H):
1045 Fix typo. Patch by Martin Schwidefsky <schwidefsky@de.ibm.com>.
1047 * sysdeps/s390/bits/string.h: Protect __STRING_INLINE against
1050 2001-03-11 Roland McGrath <roland@frob.com>
1052 * sysdeps/mach/hurd/configure.in: Add a sanity check on $prefix.
1054 2001-03-11 Ulrich Drepper <drepper@redhat.com>
1056 * sysdeps/ieee754/dbl-64/endian.h: Define also one of BIG_ENDI and
1059 * sysdeps/ieee754/dbl-64/MathLib.h (Init_Lib): Use void as
1062 Last-bit accurate math library implementation by IBM Haifa.
1063 Contributed by Abraham Ziv <ziv@il.ibm.com>, Moshe Olshansky
1064 <olshansk@il.ibm.com>, Ealan Henis <ealan@il.ibm.com>, and
1065 Anna Reitman <reitman@il.ibm.com>.
1066 * math/Makefile (dbl-only-routines): New variable.
1067 (libm-routines): Add $(dbl-only-routines).
1068 * sysdeps/ieee754/dbl-64/e_acos.c: Empty, definition is in e_asin.c.
1069 * sysdeps/ieee754/dbl-64/e_asin.c: Replaced with accurate asin
1071 * sysdeps/ieee754/dbl-64/e_atan2.c: Replaced with accurate atan2
1073 * sysdeps/ieee754/dbl-64/e_exp.c: Replaced with accurate exp
1075 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't use __kernel_sin and
1077 * sysdeps/ieee754/dbl-64/e_log.c: Replaced with accurate log
1079 * sysdeps/ieee754/dbl-64/e_remainder.c: Replaced with accurate
1080 remainder implementation.
1081 * sysdeps/ieee754/dbl-64/e_pow.c: Replaced with accurate pow
1083 * sysdeps/ieee754/dbl-64/e_sqrt.c: Replaced with accurate sqrt
1085 * sysdeps/ieee754/dbl-64/k_cos.c: Empty, definition is in s_sin.c.
1086 * sysdeps/ieee754/dbl-64/k_sin.c: Empty, definition is in s_sin.c.
1087 * sysdeps/ieee754/dbl-64/s_atan.c: Replaced with accurate atan
1089 * sysdeps/ieee754/dbl-64/s_cos.c: Empty, definition is in s_sin.c.
1090 * sysdeps/ieee754/dbl-64/s_sin.c: Replaced with accurate sin/cos
1092 * sysdeps/ieee754/dbl-64/s_sincos.c: Rewritten to not use __kernel_sin
1094 * sysdeps/ieee754/dbl-64/s_tan.c: Replaced with accurate tan
1096 * sysdeps/ieee754/dbl-64/Dist: Add new non-code files.
1097 * sysdeps/ieee754/dbl-64/MathLib.h: New file.
1098 * sysdeps/ieee754/dbl-64/asincos.tbl: New file.
1099 * sysdeps/ieee754/dbl-64/atnat.h: New file.
1100 * sysdeps/ieee754/dbl-64/atnat2.h: New file.
1101 * sysdeps/ieee754/dbl-64/branred.c: New file.
1102 * sysdeps/ieee754/dbl-64/branred.h: New file.
1103 * sysdeps/ieee754/dbl-64/dla.h: New file.
1104 * sysdeps/ieee754/dbl-64/doasin.c: New file.
1105 * sysdeps/ieee754/dbl-64/doasin.h: New file.
1106 * sysdeps/ieee754/dbl-64/dosincos.c: New file.
1107 * sysdeps/ieee754/dbl-64/dosincos.h: New file.
1108 * sysdeps/ieee754/dbl-64/endian.h: New file.
1109 * sysdeps/ieee754/dbl-64/halfulp.c: New file.
1110 * sysdeps/ieee754/dbl-64/mpa.c: New file.
1111 * sysdeps/ieee754/dbl-64/mpa.h: New file.
1112 * sysdeps/ieee754/dbl-64/mpa2.h: New file.
1113 * sysdeps/ieee754/dbl-64/mpatan.c: New file.
1114 * sysdeps/ieee754/dbl-64/mpatan.h: New file.
1115 * sysdeps/ieee754/dbl-64/mpatan2.c: New file.
1116 * sysdeps/ieee754/dbl-64/mpexp.c: New file.
1117 * sysdeps/ieee754/dbl-64/mpexp.h: New file.
1118 * sysdeps/ieee754/dbl-64/mplog.c: New file.
1119 * sysdeps/ieee754/dbl-64/mplog.h: New file.
1120 * sysdeps/ieee754/dbl-64/mpsqrt.c: New file.
1121 * sysdeps/ieee754/dbl-64/mpsqrt.h: New file.
1122 * sysdeps/ieee754/dbl-64/mptan.c: New file.
1123 * sysdeps/ieee754/dbl-64/mydefs.h: New file.
1124 * sysdeps/ieee754/dbl-64/powtwo.tbl: New file.
1125 * sysdeps/ieee754/dbl-64/root.tbl: New file.
1126 * sysdeps/ieee754/dbl-64/sincos.tbl: New file.
1127 * sysdeps/ieee754/dbl-64/sincos32.c: New file.
1128 * sysdeps/ieee754/dbl-64/sincos32.h: New file.
1129 * sysdeps/ieee754/dbl-64/slowexp.c: New file.
1130 * sysdeps/ieee754/dbl-64/slowpow.c: New file.
1131 * sysdeps/ieee754/dbl-64/uasncs.h: New file.
1132 * sysdeps/ieee754/dbl-64/uatan.tbl: New file.
1133 * sysdeps/ieee754/dbl-64/uexp.h: New file.
1134 * sysdeps/ieee754/dbl-64/uexp.tbl: New file.
1135 * sysdeps/ieee754/dbl-64/ulog.h: New file.
1136 * sysdeps/ieee754/dbl-64/ulog.tbl: New file.
1137 * sysdeps/ieee754/dbl-64/upow.h: New file.
1138 * sysdeps/ieee754/dbl-64/upow.tbl: New file.
1139 * sysdeps/ieee754/dbl-64/urem.h: New file.
1140 * sysdeps/ieee754/dbl-64/uroot.h: New file.
1141 * sysdeps/ieee754/dbl-64/usncs.h: New file.
1142 * sysdeps/ieee754/dbl-64/utan.h: New file.
1143 * sysdeps/ieee754/dbl-64/utan.tbl: New file.
1144 * sysdeps/i386/fpu/branred.c: New file.
1145 * sysdeps/i386/fpu/doasin.c: New file.
1146 * sysdeps/i386/fpu/dosincos.c: New file.
1147 * sysdeps/i386/fpu/halfulp.c: New file.
1148 * sysdeps/i386/fpu/mpa.c: New file.
1149 * sysdeps/i386/fpu/mpatan.c: New file.
1150 * sysdeps/i386/fpu/mpatan2.c: New file.
1151 * sysdeps/i386/fpu/mpexp.c: New file.
1152 * sysdeps/i386/fpu/mplog.c: New file.
1153 * sysdeps/i386/fpu/mpsqrt.c: New file.
1154 * sysdeps/i386/fpu/mptan.c: New file.
1155 * sysdeps/i386/fpu/sincos32.c: New file.
1156 * sysdeps/i386/fpu/slowexp.c: New file.
1157 * sysdeps/i386/fpu/slowpow.c: New file.
1158 * sysdeps/ia64/fpu/branred.c: New file.
1159 * sysdeps/ia64/fpu/doasin.c: New file.
1160 * sysdeps/ia64/fpu/dosincos.c: New file.
1161 * sysdeps/ia64/fpu/halfulp.c: New file.
1162 * sysdeps/ia64/fpu/mpa.c: New file.
1163 * sysdeps/ia64/fpu/mpatan.c: New file.
1164 * sysdeps/ia64/fpu/mpatan2.c: New file.
1165 * sysdeps/ia64/fpu/mpexp.c: New file.
1166 * sysdeps/ia64/fpu/mplog.c: New file.
1167 * sysdeps/ia64/fpu/mpsqrt.c: New file.
1168 * sysdeps/ia64/fpu/mptan.c: New file.
1169 * sysdeps/ia64/fpu/sincos32.c: New file.
1170 * sysdeps/ia64/fpu/slowexp.c: New file.
1171 * sysdeps/ia64/fpu/slowpow.c: New file.
1172 * sysdeps/m68k/fpu/branred.c: New file.
1173 * sysdeps/m68k/fpu/doasin.c: New file.
1174 * sysdeps/m68k/fpu/dosincos.c: New file.
1175 * sysdeps/m68k/fpu/halfulp.c: New file.
1176 * sysdeps/m68k/fpu/mpa.c: New file.
1177 * sysdeps/m68k/fpu/mpatan.c: New file.
1178 * sysdeps/m68k/fpu/mpatan2.c: New file.
1179 * sysdeps/m68k/fpu/mpexp.c: New file.
1180 * sysdeps/m68k/fpu/mplog.c: New file.
1181 * sysdeps/m68k/fpu/mpsqrt.c: New file.
1182 * sysdeps/m68k/fpu/mptan.c: New file.
1183 * sysdeps/m68k/fpu/sincos32.c: New file.
1184 * sysdeps/m68k/fpu/slowexp.c: New file.
1185 * sysdeps/m68k/fpu/slowpow.c: New file.
1187 * iconvdata/gconv-modules: Add a number of alias, mostly for IBM
1190 2001-03-11 Andreas Jaeger <aj@suse.de>
1192 * elf/elf.h (EM_*): Synch with official list.
1194 2001-03-07 David Mosberger <davidm@hpl.hp.com>
1196 * sysdeps/ia64/bits/fenv.h (FE_NONIEEE_ENV): New macro.
1198 2001-03-07 Jes Sorensen <jes@linuxcare.com>
1200 * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Remove unused
1201 variables addr & len.
1203 2001-02-22 Jes Sorensen <jes@linuxcare.com>
1205 * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Remove
1206 punctuation in asm constraint.
1208 2001-03-07 Mark Kettenis <kettenis@gnu.org>
1210 * resolv/netdb.h [__USE_GNU]: Define __need_timespec and include
1211 <time.h> to get definition of `struct timespec'.
1213 2001-03-08 Jakub Jelinek <jakub@redhat.com>
1215 * elf/rtld.c (dl_main): If tracing, warn about undefined symbols if
1216 LD_WARN=1, not if LD_WARN is unset.
1218 2001-03-07 Andreas Schwab <schwab@suse.de>
1220 * elf/ldconfig.h: Moved to ...
1221 * sysdeps/generic/ldconfig.h: ... here.
1222 * sysdeps/unix/sysv/linux/i386/ldconfig.h: New file.
1223 * sysdeps/unix/sysv/linux/m68k/ldconfig.h: New file.
1224 * sysdeps/unix/sysv/linux/ia64/ldconfig.h: New file.
1225 * elf/readlib.c (interpreters, known_libs): Use
1226 SYSDEP_KNOWN_INTERPRETER_NAMES and SYSDEP_KNOWN_LIBRARY_NAMES
1227 instead of hard coding old names.
1229 2001-03-09 Ulrich Drepper <drepper@redhat.com>
1231 * catgets/Makefile (generated): Add test-gencat.h.
1232 (sample.SJIS.cat): Also generate header.
1233 * catgets/sample.SJIS: Add new set and message, both with symbolic
1235 * catgets/test-gencat.sh: Also compare generated header with what
1238 2001-03-07 Jakub Jelinek <jakub@redhat.com>
1240 * catgets/gencat.c (read_input_file): Preserve properly symbolic
1243 2001-03-06 Andreas Jaeger <aj@suse.de>
1245 * sysdeps/s390/dl-machine.h (elf_machine_relplt): Removed, it's not
1247 (elf_machine_pltrel_p): Likewise.
1248 * sysdeps/powerpc/dl-machine.h: Likewise.
1249 * sysdeps/generic/dl-machine.h (elf_machine_pltrel_p): Likewise.
1251 2001-03-09 Ulrich Drepper <drepper@redhat.com>
1253 * sysdeps/unix/sysv/linux/arm/Dist: Add dl-procinfo.c and
1256 2001-03-05 Philip Blundell <philb@gnu.org>
1258 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c: New file.
1259 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h: New file.
1260 * sysdeps/unix/sysv/linux/arm/Makefile [subdir=elf]
1261 (sysdep-dl-routines, sysdep_routines, sysdep-rtld-routines): Add
1264 2001-03-09 Ulrich Drepper <drepper@redhat.com>
1266 * dlfcn/tstatexit.c (main): Don't perform the test if __dso_handle
1268 * dlfcn/tstcxaatexit.c (main): Likewise.
1270 2001-03-10 Andreas Jaeger <aj@suse.de>
1272 * sysdeps/i386/fpu/libm-test-ulps: Revert last patch.
1274 2001-03-09 Andreas Jaeger <aj@suse.de>
1276 * sysdeps/s390/dl-machine.h (elf_machine_matches_host): Handle
1277 both new and old EM_S390 values.
1278 (EM_S390_OLD): New constant.
1280 * elf/elf.h (EM_S390): Use official value.
1282 2001-03-09 Ulrich Drepper <drepper@redhat.com>
1284 * conform/data/sys/socket.h-data: Allow SO* symbols.
1286 2001-03-07 Andreas Schwab <schwab@suse.de>
1288 * sysdeps/ia64/fpu/Makefile: Modify sysdep_routines instead of
1289 routines, and sysdep-CPPFLAGS instead of CPPFLAGS.
1291 2001-03-07 Andreas Jaeger <aj@suse.de>
1293 * resolv/Makefile (routines): Only build gai_sigqueue when threads
1296 2001-03-07 Jakub Jelinek <jakub@redhat.com>
1298 * elf/ldconfig.c (_dl_sysdep_message): Remove.
1299 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Include
1301 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
1303 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Use
1304 _dl_error_printf instead of _dl_sysdep_error.
1305 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
1306 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h (_dl_procinfo):
1307 Use _dl_printf instead of _dl_sysdep_message.
1308 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h (_dl_procinfo):
1311 2001-03-06 Ben Collins <bcollins@debian.org>
1313 * manual/arith.texi (Integers): Fix documentation of fast and
1314 least integer typedefs.
1316 2001-03-06 Jakub Jelinek <jakub@redhat.com>
1318 * resolv/Depend: New file.
1319 * resolv/Makefile (extra-libs, tests): Build libanl and ga_test only
1320 when libpthread is built.
1322 2001-03-06 Andreas Jaeger <aj@suse.de>
1324 * sysdeps/i386/fpu/libm-test-ulps: Add some deltas.
1326 * sysdeps/sh/dl-machine.h (elf_machine_rela): Add missing comma.
1327 Patch by kaz Kojima <kkojima@rr.iij4u.or.jp>.
1329 2001-03-05 Ulrich Drepper <drepper@redhat.com>
1331 * stdlib/Versions: Remove __new_exitfn again. Not needed.
1333 2001-03-05 Andreas Jaeger <aj@suse.de>
1335 * stdlib/msort.c (qsort): Don't use alloca in a function call.
1337 2001-03-05 Ulrich Drepper <drepper@redhat.com>
1339 * sysdeps/unix/sysv/linux/bits/stat.h (__S_TYPEISMQ, __S_TYPEISSEM,
1340 __S_TYPEISSHM): Rewrite to enforce correct use the macros. They still
1342 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
1343 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
1344 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
1345 * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Likewise.
1346 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
1347 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
1348 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
1350 2001-03-04 Andreas Jaeger <aj@suse.de>
1352 * stdlib/longlong.h: Don't use multi-line strings.
1353 * iconvdata/tst-loading.c: Likewise.
1355 * csu/Makefile ($(objpfx)version-info.h): Don't use multi-line
1358 2001-03-04 Ulrich Drepper <drepper@redhat.com>
1360 * sysdeps/ia64/fpu/libm-test-ulps: Adjust for addition of lgammal.
1362 * rt/lio_listio.c: Add a few asserts.
1364 * elf/global.c: New file.
1365 * elf/globalmod1.c: New file.
1366 * elf/Makefile: Add rules to build and run global.
1368 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Define SI_ASYNCNL.
1369 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
1370 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
1371 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1372 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
1374 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: New file.
1375 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
1377 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Fix handling of boundary cases.
1379 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Always initialize sign variable.
1380 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
1382 * sysdeps/i386/fpu/libm-test-ulps: Adjust after addition of lgammal.
1384 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Fix typo in last change.
1386 2001-03-04 Andreas Jaeger <aj@suse.de>
1388 * resolv/tst-aton.c: Add testcase for IP with four periods.
1390 * resolv/inet_addr.c: Don't recognize an IP with four periods.
1391 Patch by Andre' Breiler <A.Breiler@gmx.net>.
1393 2001-02-27 Philip Blundell <pb@futuretv.com>
1395 * elf/elf.h: Add new ARM definitions from latest (B-01)
1396 specification. Correct naming of EF_ARM_ALIGN8 et al.
1398 2001-03-04 Ulrich Drepper <drepper@redhat.com>
1400 * stdio-common/tst-printf.sh: Remove bashisms.
1401 Patch by Matthew Clarke <Matthew_Clarke@mindlink.bc.ca>.
1403 2001-03-03 Ulrich Drepper <drepper@redhat.com>
1405 * Versions.def: Add libanl definition.
1406 * shlib-versions: Add entry for libanl.
1407 * resolv/Makefile (distribute): Add gai_misc.h and ga_test.c.
1408 (routines): Add gai_sigqueue.
1409 (extra-libs): Add libanl.
1410 (libanl-routines): New variable.
1411 Add rules to build libanl and ga_test.
1412 * resolv/Versions [libc] (GLIBC_2.2.3): Add __gai_sigqueue.
1413 [libanl]: New library.
1414 * resolv/netdb.h: Add definitions for libanl.
1415 * resolv/getaddrinfo_a.c: New file.
1416 * resolv/gai_cancel.c: New file.
1417 * resolv/gai_error.c: New file.
1418 * resolv/gai_misc.c: New file.
1419 * resolv/gai_misc.h: New file.
1420 * resolv/gai_notify.c: New file.
1421 * resolv/gai_suspend.c: New file.
1422 * resolv/ga_test.c: New file.
1423 * sysdeps/generic/gai_sigqueue.c: New file.
1424 * sysdeps/unix/sysv/linux/gai_sigqueue.c: New file.
1425 * sysdeps/generic/bits/siginfo.h: Allow __need_sigevent_t being defined
1426 and provide only that definition.
1427 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
1428 * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
1429 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
1430 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
1431 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1432 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
1434 * rt/aio_misc.c: Fix typos in comments.
1435 * rt/lio_listio.c: Pretty printing. Little optimization in request
1438 * elf/rtld.c: Remove commented out code.
1440 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC):
1441 Update for real 2.4 kernels.
1443 2001-03-01 Ulrich Drepper <drepper@redhat.com>
1445 * elf/dl-load.c: Pretty printing.
1447 * elf/dl-object.c (_dl_new_object): Don't add the loader's scope
1450 2001-02-28 Ulrich Drepper <drepper@redhat.com>
1452 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle
1453 relocations which are not in ld.so if RTLD_BOOTSTRAP is defined.
1455 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
1457 * elf/dl-misc.c (_dl_debug_vdprintf): Fix typo visible on 64-bit
1460 * sysdeps/unix/sysv/linux/powerpc/sysdep.h (C_TEXT): Define.
1462 2001-02-27 Ulrich Drepper <drepper@redhat.com>
1464 * sysdeps/powerpc/elf/libc-start.c: Use new output functions and
1467 * elf/Versions [ld]: Don't export _dl_debug_message anymore. Export
1469 * elf/dl-misc.c: Remove definition of _dl_sysdep_output and
1470 _dl_debug_message. Define _dl_debug_vdprintf, _dl_debug_printf,
1471 _dl_debug_printf_c, and _dl_printf.
1472 * sysdeps/generic/ldsodefs.h: Don't declare _dl_sysdep_output,
1473 _dl_debug_message, _dl_sysdep_message, _dl_sysdep_error, and
1474 _dl_sysdep_fatal. Declare _dl_debug_printf, _dl_debug_printf_c,
1475 _dl_printf, _dl_error_printf, and _dl_fatal_printf.
1476 * elf/dl-close.c: Replace use of old output functions with the new
1478 * elf/dl-deps.c: Likewise.
1479 * elf/dl-error.c: Likewise.
1480 * elf/dl-fini.c: Likewise.
1481 * elf/dl-init.c: Likewise.
1482 * elf/dl-load.c: Likewise.
1483 * elf/dl-lookup.c: Likewise.
1484 * elf/dl-minimal.c: Likewise.
1485 * elf/dl-open.c: Likewise.
1486 * elf/dl-profile.c: Likewise.
1487 * elf/dl-reloc.c: Likewise.
1488 * elf/dl-version.c: Likewise.
1489 * elf/do-lookup.h: Likewise.
1490 * elf/rtld.c: Likewise.
1491 * sysdeps/generic/dl-cache.c: Likewise.
1492 * sysdeps/generic/dl-sysdep.c: Likewise.
1493 * sysdeps/generic/libc-start.c: Likewise.
1494 * sysdeps/i386/dl-machine.h: Likewise.
1495 * sysdeps/arm/dl-machine.h: Likewise.
1496 * sysdeps/hppa/dl-machine.h: Likewise.
1497 * sysdeps/m68k/dl-machine.h: Likewise.
1498 * sysdeps/powerpc/dl-machine.h: Likewise.
1499 * sysdeps/s390/dl-machine.h: Likewise.
1500 * sysdeps/sh/dl-machine.h: Likewise.
1501 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
1502 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
1503 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
1505 * sysdeps/generic/ldsodefs.h: Remove _dl_secure declaration.
1507 * dlfcn/Makefile: Don't run tstatexit test unless .hidden is
1508 supported by assembler.
1510 * sysdeps/generic/ldsodefs.h: Remove commented-out variable
1513 * elf/rtld.c: Little optimizations in handling _dl_lazy.
1515 * elf/cache.c (save_cache): Portability changes.
1516 * elf/dl-profile.c (_dl_start_profile): Likewise.
1518 * elf/sln.c: Cleanups. Remove arbitrary limits.
1520 * elf/dl-close.c: Replace _dl_debug_* variables with _dl_debug_mask.
1521 * elf/dl-deps.c: Likewise.
1522 * elf/dl-fini.c: Likewise.
1523 * elf/dl-init.c: Likewise.
1524 * elf/dl-load.c: Likewise.
1525 * elf/dl-lookup.c: Likewise.
1526 * elf/dl-open.c: Likewise.
1527 * elf/dl-reloc.c: Likewise.
1528 * elf/dl-support.c: Likewise.
1529 * elf/dl-version.c: Likewise.
1530 * elf/do-lookup.h: Likewise.
1531 * elf/rtld.c: Likewise.
1532 * sysdeps/generic/dl-cache.c: Likewise.
1533 * sysdeps/generic/ldsodefs.h: Likewise.
1534 * sysdeps/generic/libc-start.c: Likewise.
1535 * elf/Versions: Don't export _dl_debug_impcalls and _dl_debug_files.
1536 Export _dl_debug_mask.
1537 * Versions.def: Define GLIBC_2.2.3 for ld.
1539 2001-02-26 Greg McGary <greg@mcgary.org>
1541 * sysdeps/unix/make-syscalls.sh (ptr): Handle `V' keyletter.
1543 2001-02-26 Paul Eggert <eggert@twinsun.com>
1545 Modify mkstemp.c and tempname.c so that they can be used by
1546 GNU applications on non-glibc platforms.
1548 * misc/mkstemp.c (__GT_FILE): Define to zero if not defined.
1550 * sysdeps/posix/tempname.c: Include <config.h> if HAVE_CONFIG_H.
1551 Include <stddef.h>, <stdint.h>, <string.h> only if
1552 STDC_HEADERS || _LIBC.
1553 Include <fcntl.h> only if HAVE_FCNTL_H || _LIBC.
1554 Include <unistd.h> only if HAVE_UNISTD_H || _LIBC.
1555 Include <sys/time.h> only if HAVE_SYS_TIME_H || _LIBC.
1556 (__set_errno): Define this macro if <errno.h> doesn't.
1557 (P_tmpdir, TMP_MAX, __GT_FILE, __GT_BIGFILE, __GT_DIR, __GT_NOCREATE):
1558 Define these macros if <stdio.h> doesn't.
1559 (S_ISDIR, S_IRUSR, S_IWUSR, S_IXUSR):
1560 Define these macros if <sys/stat.h> doesn't.
1561 Ignore <sys/stat.h> S_ISDIR if STAT_MACROS_BROKEN.
1562 (stat64, __getpid, __gettimeofday, __mkdir, __open, __open64,
1563 lxstat64, __xstat64): Define if not _LIBC.
1564 (struct_stat64): New macro.
1565 (direxists, __gen_tempname): Use it, to avoid a
1566 portability problem with Solaris 8.
1567 (__secure_getenv): Define if ! (HAVE___SECURE_GETENV || _LIBC).
1568 (__gen_tempname): Invoke gettimeofday only if
1569 HAVE_GETTIMEOFDAY || _LIBC; otherwise, fall back on plain "time".
1570 Use portable macros like S_IRUSR | S_IWUSR rather than nonportable
1571 octal values like 0600.
1573 2001-02-26 Ulrich Drepper <drepper@redhat.com>
1575 * sysdeps/ieee754/ldbl-96/e_jnl.c: New file.
1576 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
1578 * sysdeps/i386/fpu/libm-test-ulps: Update for jnl and ynl introduction.
1579 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
1581 * posix/wordexp-test.c (testit): Remove warnings.
1583 * dlfcn/Makefile (distribute): Add modatexit.c and modcxaatexit.c.
1584 (tests): Add tstatexit and tstcxaatexit.
1585 (module-names): Add modatexit and modcxaatexit.
1586 Add rules to build and run tstatexit and tstcxaatexit.
1587 * dlfcn/modatexit.c: New file.
1588 * dlfcn/modcxaatexit.c: New file.
1589 * dlfcn/tstatexit.c: New file.
1590 * dlfcn/tstcxaatexit.c: New file.
1592 * io/Makefile: Pass -DHAVE_DOT_HIDDEN to stat and mknod functions if
1593 .hidden is available.
1594 * io/stat.c: If .hidden is available use it to avoid exporting
1596 * io/fstat.c: Likewise.
1597 * io/lstat.c: Likewise.
1598 * io/stat64.c: Likewise.
1599 * io/fstat64.c: Likewise.
1600 * io/lstat64.c: Likewise.
1601 * sysdeps/generic/mknod.c: Likewise.
1603 * malloc/mtrace.c: Use __cxa_atexit and not atexit.
1604 * sysdeps/generic/bb_init_func.c: Likewise.
1605 * sysdeps/generic/libc-start.c: Likewise.
1607 * stdlib/atexit.c (__new_exitfn): Move to cxa_atexit.c.
1608 (atexit): Implement using __cxa_atexit.
1609 Use .hidden if availble to avoid exporting atexit.
1610 * stdlib/cxa_atexit.c (__new_exitfn): Moved to here from atexit.c.
1611 * stdlib/Versions: Export __new_exitfn for GLIBC_2.2.3.
1612 * stdlib/Makefile (routines): Add old_atexit.
1613 (static-only-routines): Add atexit.
1614 Pass -DHAVE_DOT_HIDDEN for atexit.c if .hidden is available.
1615 * stdlib/old_atexit.c: New file.
1617 * intl/Makefile: Remove bogus endif.
1619 2001-02-26 Andreas Jaeger <aj@suse.de>
1621 * iconvdata/Makefile (tests): Fix typo in last patch.
1623 * intl/Makefile (tests): Run mtrace-tst-gettext only when perl is
1625 Reported by Achim Gottinger <achim@gentoo.org>.
1627 2001-02-25 Andreas Jaeger <aj@suse.de>
1629 * intl/Makefile (plural.c): Reorder rules so that they work if
1630 BISON doesn't exist.
1632 2001-02-25 Ulrich Drepper <drepper@redhat.com>
1634 * intl/locale.alias: Don't use nb_NO but define aliases for it.
1636 2001-02-23 Ulrich Drepper <drepper@redhat.com>
1638 * sysdeps/i386/strtok.S: Continue to return NULL after the first
1641 2001-02-23 Andreas Jaeger <aj@suse.de>
1643 * string/tester.c (test_strtok_r): Add testcase.
1644 (test_strtok_r): Always initialize cp for proper checking.
1646 * sysdeps/generic/strtok.c (strtok): Handle case of first strtok
1647 returning NULL correctly.
1648 Patch by Fumitoshi UKAI <ukai@debian.or.jp>.
1649 * sysdeps/generic/strtok_r.c (__strtok_r): Likewise.
1651 2001-02-23 Ulrich Drepper <drepper@redhat.com>
1653 * sysdeps/unix/sysv/aix/bits/types.h: Define __need_NULL before
1654 including <stddef.h>.
1655 * sysdeps/unix/sysv/aix/write.c: Define alias __libc_write.
1656 * include/libc-symbols.h (weak_alias): Don't use .weak if
1657 HAVE_ASM_GLOBAL_DOT_NAME is defined.
1658 Patches by Michael Keezer <mkeezer@redhat.com>.
1660 * sysdeps/generic/ftime.c: Don't include <sys/time.h> at all.
1661 Patch by Michael Keezer <mkeezer@redhat.com>.
1663 * sysdeps/unix/sysv/aix/Dist: Remove restf.S and savef.S.
1664 * sysdeps/unix/sysv/aix/Makefile [$(subdir) == misc]
1665 (sysdep_routines): Remove restf.S and savef.S.
1666 * sysdeps/unix/sysv/aix/restf.S. Removed.
1667 * sysdeps/unix/sysv/aix/savef.S. Removed.
1668 * sysdeps/powerpc/fprrest.S: Use C_TEXT to define label. Also define
1669 alternative names used on some platforms.
1670 * sysdeps/powerpc/fprsave.S: Likewise.
1671 * sysdeps/powerpc/gprrest0.S: Likewise.
1672 * sysdeps/powerpc/gprrest1.S: Likewise.
1673 * sysdeps/powerpc/gprsave0.S: Likewise.
1674 * sysdeps/powerpc/gprsave1.S: Likewise.
1675 Patch by Michael Keezer <mkeezer@redhat.com>.
1677 2001-02-22 Ulrich Drepper <drepper@redhat.com>
1679 * sysdeps/i386/elf/start.S (_fp_hw): Actually define label.
1681 2001-02-22 Andreas Jaeger <aj@suse.de>
1683 * string/tst-strtok.c (main): Fix error messages.
1685 2001-02-22 Andreas Jaeger <aj@suse.de>
1687 * math/Makefile: Remove omit-long-double-fcts.
1689 2001-02-18 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1691 * sysdeps/mips/bsd-_setjmp.S (_setjmp): Reorder instructions to
1692 avoid problems on MIPS I.
1693 * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
1695 * sysdeps/mips/dl-machine.h (RTLD_START): Remove duplicate ".set
1698 2001-02-21 Ulrich Drepper <drepper@redhat.com>
1700 * posix/fnmatch_loop.c: Handle ranges outside glibc correctly.
1702 * sysdeps/generic/ftime.c: Include <time.h>.
1704 * configure.in: Don't check for libgd if user passed --without-gd.
1705 Patch by Achim Gottinger <achim@gentoo.org>.
1707 * sysdeps/i386/i686/strtok.S: Continue to return NULL after the
1708 first time this happened.
1709 * string/Makefile (tests): Add tst-strtok.
1711 2001-02-21 Andreas Jaeger <aj@suse.de>
1713 * string/tst-strtok.c: New testcase, reported by
1714 Andrew Church <achurch@achurch.org>.
1716 2001-02-20 Ulrich Drepper <drepper@redhat.com>
1718 * libio/iofwide.c: Remove fwide alias.
1720 2001-02-20 Andreas Jaeger <aj@suse.de>
1722 * iconvdata/Makefile (tests): Only run mtrace-tst-loading if perl
1724 Reported by Achim Gottinger <achim@gentoo.org>.
1726 2001-02-19 Ulrich Drepper <drepper@redhat.com>
1728 * iconv/tst-iconv1.c (main): Remove debugging code.
1730 * sysdeps/ieee754/flt-32/e_powf.c: Handle x == +-1 correctly.
1731 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1733 * sysdeps/generic/e_scalb.c: Set invalid exception for invalid
1735 * sysdeps/generic/e_scalbf.c: Likewise.
1736 * sysdeps/generic/e_scalbl.c: Likewise.
1738 * sysdeps/ia64/fpu/Makefile (libm-sysdep-routines): Add libm_error,
1739 libm_frexp4, libm_frexp4f, libm_frexp4l, and all the functions also
1741 (routines): Replace libm_error with libc_libm_error.
1742 * sysdeps/ia64/fpu/Dist: Add libc_libm_error.c.
1743 * sysdeps/ia64/fpu/libc_libm_error.c: New file.
1745 2001-02-18 Mark Kettenis <kettenis@gnu.org>
1747 * malloc/mtrace.c [USE_IN_LIBIO]: Define fopen as _IO_fopen64.
1748 (mtrace): Revert 2001-02-13 patch: use fopen instead of fopen64.
1750 2001-02-17 H.J. Lu <hjl@gnu.org>
1752 * sysdeps/unix/sysv/linux/ia64/clone2.S: Use clone2 and don't use
1753 scratch registers across the system call.
1755 2001-02-19 Andreas Jaeger <aj@suse.de>
1757 * malloc/Makefile (tests): Run mtrace only when perl is available.
1758 Reported by Achim Gottinger <achim@gentoo.org>.
1760 2001-02-19 Ulrich Drepper <drepper@redhat.com>
1762 * sysdeps/ieee754/ldbl-96/e_j1l.c: New file.
1763 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
1765 * sysdeps/i386/fpu/libm-test-ulps: Adjust error values for j1 and y1.
1766 * sysdeps/ia64/fpu/libm-test-ulps: Adjust error values for y1.
1767 * math/libm-test.inc (j1_test): Mark constants as long double.
1768 (jn_test): Likewise.
1769 (y1_test): Likewise.
1770 (yn_test): Likewise.
1772 * libio/iogetline.c: Move return until after last statement.
1774 * localedata/show-ucs-data.c: Don't show < > for better readability.
1776 * sysdeps/ia64/fpu/Dist: New file.
1777 * sysdeps/ia64/fpu/Makefile: New file.
1778 * sysdeps/ia64/fpu/Versions: New file.
1779 * sysdeps/ia64/fpu/e_acos.S: New file.
1780 * sysdeps/ia64/fpu/e_acosf.S: New file.
1781 * sysdeps/ia64/fpu/e_acosl.S: New file.
1782 * sysdeps/ia64/fpu/e_asin.S: New file.
1783 * sysdeps/ia64/fpu/e_asinf.S: New file.
1784 * sysdeps/ia64/fpu/e_asinl.S: New file.
1785 * sysdeps/ia64/fpu/e_atan2.S: New file.
1786 * sysdeps/ia64/fpu/e_atan2f.S: New file.
1787 * sysdeps/ia64/fpu/e_atan2l.c: New file.
1788 * sysdeps/ia64/fpu/e_cosh.S: New file.
1789 * sysdeps/ia64/fpu/e_coshf.S: New file.
1790 * sysdeps/ia64/fpu/e_coshl.S: New file.
1791 * sysdeps/ia64/fpu/e_exp.S: New file.
1792 * sysdeps/ia64/fpu/e_expf.S: New file.
1793 * sysdeps/ia64/fpu/e_expl.c: New file.
1794 * sysdeps/ia64/fpu/e_fmod.S: New file.
1795 * sysdeps/ia64/fpu/e_fmodf.S: New file.
1796 * sysdeps/ia64/fpu/e_fmodl.S: New file.
1797 * sysdeps/ia64/fpu/e_hypot.S: New file.
1798 * sysdeps/ia64/fpu/e_hypotf.S: New file.
1799 * sysdeps/ia64/fpu/e_hypotl.S: New file.
1800 * sysdeps/ia64/fpu/e_log.S: New file.
1801 * sysdeps/ia64/fpu/e_log10.c: New file.
1802 * sysdeps/ia64/fpu/e_log10f.c: New file.
1803 * sysdeps/ia64/fpu/e_log10l.c: New file.
1804 * sysdeps/ia64/fpu/e_logf.S: New file.
1805 * sysdeps/ia64/fpu/e_logl.c: New file.
1806 * sysdeps/ia64/fpu/e_pow.S: New file.
1807 * sysdeps/ia64/fpu/e_powf.S: New file.
1808 * sysdeps/ia64/fpu/e_powl.S: New file.
1809 * sysdeps/ia64/fpu/e_rem_pio2.c: New file.
1810 * sysdeps/ia64/fpu/e_rem_pio2f.c: New file.
1811 * sysdeps/ia64/fpu/e_remainder.S: New file.
1812 * sysdeps/ia64/fpu/e_remainderf.S: New file.
1813 * sysdeps/ia64/fpu/e_remainderl.S: New file.
1814 * sysdeps/ia64/fpu/e_scalb.S: New file.
1815 * sysdeps/ia64/fpu/e_scalbf.S: New file.
1816 * sysdeps/ia64/fpu/e_scalbl.S: New file.
1817 * sysdeps/ia64/fpu/e_sinh.S: New file.
1818 * sysdeps/ia64/fpu/e_sinhf.S: New file.
1819 * sysdeps/ia64/fpu/e_sinhl.S: New file.
1820 * sysdeps/ia64/fpu/e_sqrt.S: New file.
1821 * sysdeps/ia64/fpu/e_sqrtf.S: New file.
1822 * sysdeps/ia64/fpu/e_sqrtl.S: New file.
1823 * sysdeps/ia64/fpu/k_rem_pio2.c: New file.
1824 * sysdeps/ia64/fpu/k_rem_pio2f.c: New file.
1825 * sysdeps/ia64/fpu/k_rem_pio2l.c: New file.
1826 * sysdeps/ia64/fpu/libm_atan2_reg.S: New file.
1827 * sysdeps/ia64/fpu/libm_error.c: New file.
1828 * sysdeps/ia64/fpu/libm_frexp4.S: New file.
1829 * sysdeps/ia64/fpu/libm_frexp4f.S: New file.
1830 * sysdeps/ia64/fpu/libm_frexp4l.S: New file.
1831 * sysdeps/ia64/fpu/libm_reduce.S: New file.
1832 * sysdeps/ia64/fpu/libm_support.h: New file.
1833 * sysdeps/ia64/fpu/libm_tan.S: New file.
1834 * sysdeps/ia64/fpu/s_atan.S: New file.
1835 * sysdeps/ia64/fpu/s_atanf.S: New file.
1836 * sysdeps/ia64/fpu/s_atanl.S: New file.
1837 * sysdeps/ia64/fpu/s_cbrt.S: New file.
1838 * sysdeps/ia64/fpu/s_cbrtf.S: New file.
1839 * sysdeps/ia64/fpu/s_cbrtl.S: New file.
1840 * sysdeps/ia64/fpu/s_ceil.S: New file.
1841 * sysdeps/ia64/fpu/s_ceilf.S: New file.
1842 * sysdeps/ia64/fpu/s_ceill.S: New file.
1843 * sysdeps/ia64/fpu/s_cos.S: New file.
1844 * sysdeps/ia64/fpu/s_cosf.S: New file.
1845 * sysdeps/ia64/fpu/s_cosl.S: New file.
1846 * sysdeps/ia64/fpu/s_expm1.S: New file.
1847 * sysdeps/ia64/fpu/s_expm1f.S: New file.
1848 * sysdeps/ia64/fpu/s_expm1l.S: New file.
1849 * sysdeps/ia64/fpu/s_floor.S: New file.
1850 * sysdeps/ia64/fpu/s_floorf.S: New file.
1851 * sysdeps/ia64/fpu/s_floorl.S: New file.
1852 * sysdeps/ia64/fpu/s_frexp.c: New file.
1853 * sysdeps/ia64/fpu/s_frexpf.c: New file.
1854 * sysdeps/ia64/fpu/s_frexpl.c: New file.
1855 * sysdeps/ia64/fpu/s_ilogb.S: New file.
1856 * sysdeps/ia64/fpu/s_ilogbf.S: New file.
1857 * sysdeps/ia64/fpu/s_ilogbl.S: New file.
1858 * sysdeps/ia64/fpu/s_ldexp.S: New file.
1859 * sysdeps/ia64/fpu/s_ldexpf.S: New file.
1860 * sysdeps/ia64/fpu/s_ldexpl.S: New file.
1861 * sysdeps/ia64/fpu/s_log1p.S: New file.
1862 * sysdeps/ia64/fpu/s_log1pf.S: New file.
1863 * sysdeps/ia64/fpu/s_log1pl.S: New file.
1864 * sysdeps/ia64/fpu/s_logb.S: New file.
1865 * sysdeps/ia64/fpu/s_logbf.S: New file.
1866 * sysdeps/ia64/fpu/s_logbl.S: New file.
1867 * sysdeps/ia64/fpu/s_matherrf.c: New file.
1868 * sysdeps/ia64/fpu/s_matherrl.c: New file.
1869 * sysdeps/ia64/fpu/s_modf.S: New file.
1870 * sysdeps/ia64/fpu/s_modff.S: New file.
1871 * sysdeps/ia64/fpu/s_modfl.S: New file.
1872 * sysdeps/ia64/fpu/s_nearbyint.S: New file.
1873 * sysdeps/ia64/fpu/s_nearbyintf.S: New file.
1874 * sysdeps/ia64/fpu/s_nearbyintl.S: New file.
1875 * sysdeps/ia64/fpu/s_rint.S: New file.
1876 * sysdeps/ia64/fpu/s_rintf.S: New file.
1877 * sysdeps/ia64/fpu/s_rintl.S: New file.
1878 * sysdeps/ia64/fpu/s_round.S: New file.
1879 * sysdeps/ia64/fpu/s_roundf.S: New file.
1880 * sysdeps/ia64/fpu/s_roundl.S: New file.
1881 * sysdeps/ia64/fpu/s_scalbn.S: New file.
1882 * sysdeps/ia64/fpu/s_scalbnf.S: New file.
1883 * sysdeps/ia64/fpu/s_scalbnl.S: New file.
1884 * sysdeps/ia64/fpu/s_significand.S: New file.
1885 * sysdeps/ia64/fpu/s_significandf.S: New file.
1886 * sysdeps/ia64/fpu/s_significandl.S: New file.
1887 * sysdeps/ia64/fpu/s_sin.c: New file.
1888 * sysdeps/ia64/fpu/s_sincos.c: New file.
1889 * sysdeps/ia64/fpu/s_sincosf.c: New file.
1890 * sysdeps/ia64/fpu/s_sincosl.c: New file.
1891 * sysdeps/ia64/fpu/s_sinf.c: New file.
1892 * sysdeps/ia64/fpu/s_sinl.c: New file.
1893 * sysdeps/ia64/fpu/s_tan.S: New file.
1894 * sysdeps/ia64/fpu/s_tanf.S: New file.
1895 * sysdeps/ia64/fpu/s_tanl.S: New file.
1896 * sysdeps/ia64/fpu/s_trunc.S: New file.
1897 * sysdeps/ia64/fpu/s_truncf.S: New file.
1898 * sysdeps/ia64/fpu/s_truncl.S: New file.
1899 * sysdeps/ia64/fpu/w_acos.c: New file.
1900 * sysdeps/ia64/fpu/w_acosf.c: New file.
1901 * sysdeps/ia64/fpu/w_acosl.c: New file.
1902 * sysdeps/ia64/fpu/w_asin.c: New file.
1903 * sysdeps/ia64/fpu/w_asinf.c: New file.
1904 * sysdeps/ia64/fpu/w_asinl.c: New file.
1905 * sysdeps/ia64/fpu/w_atan2.c: New file.
1906 * sysdeps/ia64/fpu/w_atan2f.c: New file.
1907 * sysdeps/ia64/fpu/w_atan2l.c: New file.
1908 * sysdeps/ia64/fpu/w_cosh.c: New file.
1909 * sysdeps/ia64/fpu/w_coshf.c: New file.
1910 * sysdeps/ia64/fpu/w_coshl.c: New file.
1911 * sysdeps/ia64/fpu/w_exp.c: New file.
1912 * sysdeps/ia64/fpu/w_expf.c: New file.
1913 * sysdeps/ia64/fpu/w_fmod.c: New file.
1914 * sysdeps/ia64/fpu/w_fmodf.c: New file.
1915 * sysdeps/ia64/fpu/w_fmodl.c: New file.
1916 * sysdeps/ia64/fpu/w_hypot.c: New file.
1917 * sysdeps/ia64/fpu/w_hypotf.c: New file.
1918 * sysdeps/ia64/fpu/w_hypotl.c: New file.
1919 * sysdeps/ia64/fpu/w_log.c: New file.
1920 * sysdeps/ia64/fpu/w_log10.c: New file.
1921 * sysdeps/ia64/fpu/w_log10f.c: New file.
1922 * sysdeps/ia64/fpu/w_log10l.c: New file.
1923 * sysdeps/ia64/fpu/w_logf.c: New file.
1924 * sysdeps/ia64/fpu/w_logl.c: New file.
1925 * sysdeps/ia64/fpu/w_pow.c: New file.
1926 * sysdeps/ia64/fpu/w_powf.c: New file.
1927 * sysdeps/ia64/fpu/w_powl.c: New file.
1928 * sysdeps/ia64/fpu/w_remainder.c: New file.
1929 * sysdeps/ia64/fpu/w_remainderf.c: New file.
1930 * sysdeps/ia64/fpu/w_remainderl.c: New file.
1931 * sysdeps/ia64/fpu/w_scalb.c: New file.
1932 * sysdeps/ia64/fpu/w_scalbf.c: New file.
1933 * sysdeps/ia64/fpu/w_scalbl.c: New file.
1934 * sysdeps/ia64/fpu/w_sqrt.c: New file.
1935 * sysdeps/ia64/fpu/w_sqrtf.c: New file.
1936 * sysdeps/ia64/fpu/w_sqrtl.c: New file.
1937 * sysdeps/ia64/fpu/libm-test-ulps: Adjust for long double
1939 * sysdeps/ia64/fpu/bits/mathdef.h: Correct float_t and double_t types.
1940 Change FP_ILOGBNAN for new implementation.
1941 * Verions.def: Add 2.2.3 versions.
1943 2001-02-18 Ulrich Drepper <drepper@redhat.com>
1945 * math/libm-test.inc (scalb_test): Require invalid exception being
1946 raised for invalid parameters.
1947 * sysdeps/i386/fpu/e_scalb.S: Raise invalid exception if necessary.
1948 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1949 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1951 2001-02-18 Mark Kettenis <kettenis@gnu.org>
1953 * sysdeps/mach/getsysstats.c (__get_phys_pages): Change return
1955 (__get_avphys_pages): Likewise.
1957 2001-02-18 Ulrich Drepper <drepper@redhat.com>
1959 * math/libm-test.inc (pow_test): Correct expected results for x == +-1.
1960 * sysdeps/i386/fpu/e_pow.S: Handle x == +-1 correctly.
1961 * sysdeps/i386/fpu/e_powf.S: Likewise.
1962 * sysdeps/i386/fpu/e_powl.S: Likewise.
1964 * sysdeps/i386/fpu/bits/mathinline.h: Remove pow inline code.
1966 2001-02-17 Ulrich Drepper <drepper@redhat.com>
1968 * math/Makefile (libm-calls): It's e_exp2 not s_exp2.
1970 * sysdeps/generic/s_exp2l.c: Renamed to...
1971 * sysdeps/generic/e_exp2l.c: ...this. New file.
1972 * sysdeps/i386/fpu/s_exp2.S: Renamed to...
1973 * sysdeps/i386/fpu/e_exp2.S: ...this. New file.
1974 * sysdeps/i386/fpu/s_exp2f.S: Renamed to...
1975 * sysdeps/i386/fpu/e_exp2f.S: ...this. New file.
1976 * sysdeps/i386/fpu/s_exp2l.S: Renamed to...
1977 * sysdeps/i386/fpu/e_exp2l.S: ...this. New file.
1978 * sysdeps/ieee754/flt-32/s_exp2f.c: Renamed to...
1979 * sysdeps/ieee754/flt-32/e_exp2f.c: ...this. New file.
1980 * sysdeps/ieee754/dbl-64/s_exp2.c: Renamed to...
1981 * sysdeps/ieee754/dbl-64/e_exp2.c: ...this. New file.
1982 * sysdeps/m68k/fpu/s_exp2.c: Renamed to...
1983 * sysdeps/m68k/fpu/e_exp2.c: ...this. New file.
1984 * sysdeps/m68k/fpu/s_exp2f.c: Renamed to...
1985 * sysdeps/m68k/fpu/e_exp2f.c: ...this. New file.
1986 * sysdeps/m68k/fpu/s_exp2l.c: Renamed to...
1987 * sysdeps/m68k/fpu/e_exp2l.c: ...this. New file.
1989 2001-02-17 Andreas Jaeger <aj@suse.de>
1991 * configure.in: Allow gcc 3.
1993 2001-02-16 Ulrich Drepper <drepper@redhat.com>
1995 * math/w_acos.c: Move to ...
1996 * sysdeps/generic/w_acos.c: ...here. New file.
1997 * math/w_acosf.c: Move to ...
1998 * sysdeps/generic/w_acosf.c: ...here. New file.
1999 * math/w_acosh.c: Move to ...
2000 * sysdeps/generic/w_acosh.c: ...here. New file.
2001 * math/w_acoshf.c: Move to ...
2002 * sysdeps/generic/w_acoshf.c: ...here. New file.
2003 * math/w_acoshl.c: Move to ...
2004 * sysdeps/generic/w_acoshl.c: ...here. New file.
2005 * math/w_acosl.c: Move to ...
2006 * sysdeps/generic/w_acosl.c: ...here. New file.
2007 * math/w_asin.c: Move to ...
2008 * sysdeps/generic/w_asin.c: ...here. New file.
2009 * math/w_asinf.c: Move to ...
2010 * sysdeps/generic/w_asinf.c: ...here. New file.
2011 * math/w_asinl.c: Move to ...
2012 * sysdeps/generic/w_asinl.c: ...here. New file.
2013 * math/w_atan2.c: Move to ...
2014 * sysdeps/generic/w_atan2.c: ...here. New file.
2015 * math/w_atan2f.c: Move to ...
2016 * sysdeps/generic/w_atan2f.c: ...here. New file.
2017 * math/w_atan2l.c: Move to ...
2018 * sysdeps/generic/w_atan2l.c: ...here. New file.
2019 * math/w_atanh.c: Move to ...
2020 * sysdeps/generic/w_atanh.c: ...here. New file.
2021 * math/w_atanhf.c: Move to ...
2022 * sysdeps/generic/w_atanhf.c: ...here. New file.
2023 * math/w_atanhl.c: Move to ...
2024 * sysdeps/generic/w_atanhl.c: ...here. New file.
2025 * math/w_cosh.c: Move to ...
2026 * sysdeps/generic/w_cosh.c: ...here. New file.
2027 * math/w_coshf.c: Move to ...
2028 * sysdeps/generic/w_coshf.c: ...here. New file.
2029 * math/w_coshl.c: Move to ...
2030 * sysdeps/generic/w_coshl.c: ...here. New file.
2031 * math/w_drem.c: Move to ...
2032 * sysdeps/generic/w_drem.c: ...here. New file.
2033 * math/w_dremf.c: Move to ...
2034 * sysdeps/generic/w_dremf.c: ...here. New file.
2035 * math/w_dreml.c: Move to ...
2036 * sysdeps/generic/w_dreml.c: ...here. New file.
2037 * math/w_exp10.c: Move to ...
2038 * sysdeps/generic/w_exp10.c: ...here. New file.
2039 * math/w_exp10f.c: Move to ...
2040 * sysdeps/generic/w_exp10f.c: ...here. New file.
2041 * math/w_exp10l.c: Move to ...
2042 * sysdeps/generic/w_exp10l.c: ...here. New file.
2043 * math/w_exp2.c: Move to ...
2044 * sysdeps/generic/w_exp2.c: ...here. New file.
2045 * math/w_exp2f.c: Move to ...
2046 * sysdeps/generic/w_exp2f.c: ...here. New file.
2047 * math/w_exp2l.c: Move to ...
2048 * sysdeps/generic/w_exp2l.c: ...here. New file.
2049 * math/w_fmod.c: Move to ...
2050 * sysdeps/generic/w_fmod.c: ...here. New file.
2051 * math/w_fmodf.c: Move to ...
2052 * sysdeps/generic/w_fmodf.c: ...here. New file.
2053 * math/w_fmodl.c: Move to ...
2054 * sysdeps/generic/w_fmodl.c: ...here. New file.
2055 * math/w_hypot.c: Move to ...
2056 * sysdeps/generic/w_hypot.c: ...here. New file.
2057 * math/w_hypotf.c: Move to ...
2058 * sysdeps/generic/w_hypotf.c: ...here. New file.
2059 * math/w_hypotl.c: Move to ...
2060 * sysdeps/generic/w_hypotl.c: ...here. New file.
2061 * math/w_j0.c: Move to ...
2062 * sysdeps/generic/w_j0.c: ...here. New file.
2063 * math/w_j0f.c: Move to ...
2064 * sysdeps/generic/w_j0f.c: ...here. New file.
2065 * math/w_j0l.c: Move to ...
2066 * sysdeps/generic/w_j0l.c: ...here. New file.
2067 * math/w_j1.c: Move to ...
2068 * sysdeps/generic/w_j1.c: ...here. New file.
2069 * math/w_j1f.c: Move to ...
2070 * sysdeps/generic/w_j1f.c: ...here. New file.
2071 * math/w_j1l.c: Move to ...
2072 * sysdeps/generic/w_j1l.c: ...here. New file.
2073 * math/w_jn.c: Move to ...
2074 * sysdeps/generic/w_jn.c: ...here. New file.
2075 * math/w_jnf.c: Move to ...
2076 * sysdeps/generic/w_jnf.c: ...here. New file.
2077 * math/w_jnl.c: Move to ...
2078 * sysdeps/generic/w_jnl.c: ...here. New file.
2079 * math/w_lgamma.c: Move to ...
2080 * sysdeps/generic/w_lgamma.c: ...here. New file.
2081 * math/w_lgammaf.c: Move to ...
2082 * sysdeps/generic/w_lgammaf.c: ...here. New file.
2083 * math/w_lgammaf_r.c: Move to ...
2084 * sysdeps/generic/w_lgammaf_r.c: ...here. New file.
2085 * math/w_lgammal.c: Move to ...
2086 * sysdeps/generic/w_lgammal.c: ...here. New file.
2087 * math/w_lgammal_r.c: Move to ...
2088 * sysdeps/generic/w_lgammal_r.c: ...here. New file.
2089 * math/w_lgamma_r.c: Move to ...
2090 * sysdeps/generic/w_lgamma_r.c: ...here. New file.
2091 * math/w_log10.c: Move to ...
2092 * sysdeps/generic/w_log10.c: ...here. New file.
2093 * math/w_log10f.c: Move to ...
2094 * sysdeps/generic/w_log10f.c: ...here. New file.
2095 * math/w_log10l.c: Move to ...
2096 * sysdeps/generic/w_log10l.c: ...here. New file.
2097 * math/w_log.c: Move to ...
2098 * sysdeps/generic/w_log.c: ...here. New file.
2099 * math/w_logf.c: Move to ...
2100 * sysdeps/generic/w_logf.c: ...here. New file.
2101 * math/w_logl.c: Move to ...
2102 * sysdeps/generic/w_logl.c: ...here. New file.
2103 * math/w_pow.c: Move to ...
2104 * sysdeps/generic/w_pow.c: ...here. New file.
2105 * math/w_powf.c: Move to ...
2106 * sysdeps/generic/w_powf.c: ...here. New file.
2107 * math/w_powl.c: Move to ...
2108 * sysdeps/generic/w_powl.c: ...here. New file.
2109 * math/w_remainder.c: Move to ...
2110 * sysdeps/generic/w_remainder.c: ...here. New file.
2111 * math/w_remainderf.c: Move to ...
2112 * sysdeps/generic/w_remainderf.c: ...here. New file.
2113 * math/w_remainderl.c: Move to ...
2114 * sysdeps/generic/w_remainderl.c: ...here. New file.
2115 * math/w_scalb.c: Move to ...
2116 * sysdeps/generic/w_scalb.c: ...here. New file.
2117 * math/w_scalbf.c: Move to ...
2118 * sysdeps/generic/w_scalbf.c: ...here. New file.
2119 * math/w_scalbl.c: Move to ...
2120 * sysdeps/generic/w_scalbl.c: ...here. New file.
2121 * math/w_sinh.c: Move to ...
2122 * sysdeps/generic/w_sinh.c: ...here. New file.
2123 * math/w_sinhf.c: Move to ...
2124 * sysdeps/generic/w_sinhf.c: ...here. New file.
2125 * math/w_sinhl.c: Move to ...
2126 * sysdeps/generic/w_sinhl.c: ...here. New file.
2127 * math/w_sqrtl.c: Move to ...
2128 * sysdeps/generic/w_sqrtl.c: ...here. New file.
2129 * math/w_tgamma.c: Move to ...
2130 * sysdeps/generic/w_tgamma.c: ...here. New file.
2131 * math/w_tgammaf.c: Move to ...
2132 * sysdeps/generic/w_tgammaf.c: ...here. New file.
2133 * math/w_tgammal.c: Move to ...
2134 * sysdeps/generic/w_tgammal.c: ...here. New file.
2136 * locale/programs/ld-address.c (address_finish): Add 'S' to allow
2137 formats for postal_fmt.
2139 2001-02-16 Jakub Jelinek <jakub@redhat.com>
2141 * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Add
2142 __ftruncate64 alias.
2143 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (ftruncate):
2146 2001-02-15 David Mosberger <davidm@hpl.hp.com>
2148 * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): No need to
2149 do "loadrs". Writing to bspstore already takes care of
2150 invalidating the "clean" partition.
2152 2001-02-16 Andreas Schwab <schwab@suse.de>
2154 * sysdeps/m68k/fpu/s_nextafterl.c: New file.
2155 * sysdeps/m68k/fpu/s_fpclassifyl.c: New file.
2157 2001-02-15 Jakub Jelinek <jakub@redhat.com>
2159 * posix/regex.c (init_syntax_once): Add prototype.
2160 (TRANSLATE): If MBS_SUPPORT, translate all characters up to '\xff'.
2161 (re_search_2): Avoid warning.
2162 (count_mbs_length): Add prototype.
2163 * posix/tst-regex3.c: New file.
2164 * posix/Makefile (tests): Add bug-regex3.
2166 2001-02-15 Ulrich Drepper <drepper@redhat.com>
2168 * stdio-common/Makefile (tests): Add tst-gets.
2169 * stdio-common/tst-gets.c: New file.
2170 * stdio-common/tst-gets.input: New file.
2172 * elf/elf.h (DT_CHECKSUM): Define.
2174 * sysdeps/generic/strtoll.c: Don't export __strto*_internal as
2176 * sysdeps/generic/strtoull.c: Likewise.
2178 2001-02-14 Wolfram Gloger <wg@malloc.de>
2180 * malloc/malloc.c (new_heap): When allocating large chunk aligned
2181 to HEAP_MAX_SIZE, prefer one with lower address, to avoid `holes'
2184 2001-02-14 Ulrich Drepper <drepper@redhat.com>
2186 * math/libm-test.inc (j0_test): Check whether sincos is available.
2187 (j1_test): Likewise.
2188 (jn_test): Likewise.
2189 (y0_test): Likewise.
2190 (y1_test): Likewise.
2191 (yn_test): Likewise.
2193 * posix/tst-gnuglob.c: Make a few entries DT_UNKNOWN and teach
2194 fake filesystem routines to handle this.
2196 * time/sys/time.h: Make settimeofday and adjtime available if
2199 * time/sys/time.h: Make timer* macros available for BSD.
2201 * iconvdata/gb18030.c: Update for Dec 2000 re-release of GB18030.
2202 Patch by Yong Li <rigel863@yahoo.com>.
2204 * sysdeps/generic/glob.c (CONVERT_DIRENT_DIRENT64): Fix copying of
2207 * posix/Makefile (tests): Add tst-gnuglob.
2208 * posix/tst-gnuglob.c: New file.
2210 2001-02-13 H.J. Lu <hjl@gnu.org>
2212 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __ftruncate64.
2214 2001-02-13 Ulrich Drepper <drepper@redhat.com>
2216 * locale/programs/ld-paper.c (paper_output): Pretty printing.
2218 * iconvdata/Makefile (modules): Add GBBIG5.
2219 (distribute): Add gbbig5.c.
2220 * iconvdata/gconv-modules: Add entries for GBBIG5 module.
2222 * iconvdata/gbbig5.c: New file.
2223 Contributed by Yong Li <rigel863@yahoo.com>.
2225 2001-02-13 Philip Blundell <pb@futuretv.com>
2227 * manual/crypt.texi: Remove outdated references to crypt add-on.
2229 * manual/creature.texi: Improve wording slightly.
2231 2001-02-13 Ulrich Drepper <drepper@redhat.com>
2233 * io/ftw.c: Always use readdir64.
2234 * io/ftw64.c: Likewise.
2235 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2236 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2237 * sysdeps/generic/glob.c: Likewise. Convert results of gl_readdir
2238 callback to dirent. Still allow compiling outside glibc.
2239 * sysdeps/gnu/glob64.c: Define COMPILE_GLOB64.
2240 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
2242 * malloc/mtrace.c: Use fopen64.
2243 * posix/spawni.c: Use __open64.
2244 * sysdeps/unix/opendir.c: Likewise.
2245 * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
2247 * sysdeps/generic/ftruncate64.c: Define __ftruncate64 and make old
2249 * sysdeps/unix/sysv/aix/ftruncate64.c: Likewise.
2250 * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise.
2251 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
2252 * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Likewise.
2254 * resolv/res_data.c: Add cast to avoid warning.
2256 * include/unistd.h: Declare __ftruncate64.
2258 * sysdeps/generic/utmp_file.c: Use LFS functions and types.
2260 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use __lseek64
2263 2001-02-13 Andreas Jaeger <aj@suse.de>
2265 * login/getutent_r.c: Include <stdlib.h> for NULL.
2266 * login/getutid_r.c: Likewise.
2268 2001-02-12 Ulrich Drepper <drepper@redhat.com>
2270 * sysdeps/dbl-64/e_j0.c: Little optimization, use sincos.
2271 * sysdeps/dbl-64/e_j1.c: Likewise.
2272 * sysdeps/dbl-64/e_jn.c: Likewise.
2273 * sysdeps/flt-32/e_j0f.c: Likewise.
2274 * sysdeps/flt-32/e_j1f.c: Likewise.
2275 * sysdeps/ldbl-96/e_j0l.c: Likewise.
2277 2000-12-02 H.J. Lu <hjl@gnu.org>
2279 * resolv/res_libc.c (res_init): Don't make it default.
2281 2001-02-12 Ulrich Drepper <drepper@redhat.com>
2283 * manual/debug.texi: Improved the wording.
2284 Patch by Philip Blundell <pb@futuretv.com>.
2286 2001-02-12 Andreas Jaeger <aj@suse.de>
2288 * posix/Makefile (tests): Don't run bug-regex2 when
2291 * libio/Makefile (tests): Don't run test-freopen when
2294 * manual/stdio.texi (Streams and I18N): Fix typos.
2296 2001-02-12 Ulrich Drepper <drepper@redhat.com>
2298 * sysdeps/i386/fpu/libm-test-ulps: Adjust for errors in y0l.
2300 * math/libm-test.inc (j0_test): Make expected results long double
2302 (y0_test): Likewise.
2304 * sysdeps/ieee754/ldbl-96/e_j0l.c: New file.
2305 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
2307 2001-02-11 Jakub Jelinek <jakub@redhat.com>
2309 * sysdeps/generic/strtoll.c (__strtoq_internal): Ressurect alias
2310 which was exported from libc.
2311 * sysdeps/generic/strtoull.c (__strtouq_internal): Likewise.
2313 2001-02-12 Andreas Jaeger <aj@suse.de>
2315 * manual/arith.texi (Parsing of Integers): Fix some wordings.
2317 2001-02-11 Ulrich Drepper <drepper@redhat.com>
2319 * sysdeps/generic/getsysstat.c: Change return value of get_phys_pages
2320 and get_avphys_page to long int.
2321 * sysdeps/unix/sysv/linux/getsysstat.c: Likewise.
2322 * include/sys/sysinfo.h: Likewise.
2323 * sysdeps/generic/sys/sysinfo.h: Likewise.
2324 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
2326 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Fail if we
2327 cannot return as many values as the user asked for.
2329 2001-02-11 Andreas Jaeger <aj@suse.de>
2331 * manual/resource.texi (Memory Resources): Fix typo.
2333 * libio/Makefile ($(objpfx)test-freopen.out): Pass
2336 * libio/test-freopen.sh: Use run_program_prefix.
2338 2001-02-10 Andreas Jaeger <aj@suse.de>
2340 * stdlib/Makefile (tests): Don't run tst-fmtmsg when
2342 ($(objpfx)tst-fmtmsg.out): Pass run-program-prefix.
2344 * stdlib/tst-fmtmsg.sh (test): Use run_program_prefix for static
2347 * elf/Makefile (tests): Only run tst-pathopt with shared libs.
2349 * posix/Makefile: Fix typo, it's build-static-nss.
2351 * iconv/Makefile (extra-objs): New.
2353 2001-02-10 Mark Kettenis <kettenis@gnu.org>
2355 * sysdeps/unix/stime.c: Include <time.h>.
2357 * sysdeps/mach/hurd/setitimer.c: Include <time.h>.
2359 2001-02-10 Andreas Jaeger <aj@suse.de>
2361 * manual/string.texi (Search Functions): Fix typo.
2363 2001-02-10 Mark Kettenis <kettenis@gnu.org>
2365 * sysdeps/unix/bsd/times.c: Reorder includes and add <time.h>.
2366 (timeval_to_clock_t): Add clk_tck argument and use that instead of
2368 (__times): Use __getclktck to get the number of clock ticks per
2369 second and use its return value instead of CLK_TCK.
2371 2001-02-10 Mark Kettenis <kettenis@gnu.org>
2373 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (_HAVE_SA_LEN): Define.
2375 2001-02-10 Mark Kettenis <kettenis@gnu.org>
2377 * sysdeps/mach/gettimeofday.c: Include <stddef.h>.
2379 2001-02-10 Andreas Jaeger <aj@suse.de>
2381 * wctype/wcfuncs.c (func): Add prototype declarations to avoid
2384 2001-02-09 Ulrich Drepper <drepper@redhat.com>
2386 * posix/Makefile: Add rules to build and run bug-regex2.
2387 * posix/bug-regex2.c: New file.
2389 2001-02-10 Jakub Jelinek <jakub@redhat.com>
2391 * posix/regex.c (convert_mbs_to_wcs): Change is_binary to char *.
2392 (regex_compile): Likewise.
2393 (FREE_VARIABLES): Don't free is_binary1 and is_binary2.
2394 (re_match_2_internal): Use just is_binary instead of two variables.
2395 Use REGEX_TALLOC to allocate it and FREE_VAR to free on failure.
2397 2001-02-09 Ulrich Drepper <drepper@redhat.com>
2399 * version.h (VERSION): Bump to 2.2.2.
2401 * iconv/Makefile (distribute): Add iconv_charmap.c and
2403 * elf/Makefile (distribute): Add firstobj.c.
2404 * Makefile (distribute): Add include/pthread.h.
2406 * configure.in: Require makeinfo version 4.
2408 * libio/tst_wscanf.c (main): Add cast to avoid warning.
2409 * libio/tst_swscanf.c (main): Likewise..
2411 2001-02-09 Jakub Jelinek <jakub@redhat.com>
2413 * sysdeps/generic/setenv.c (unsetenv): Remove const from len.
2414 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, fdim): Don't define if
2416 * sysdeps/i386/dl-machine.h (elf_machine_rel): Only declare refsym
2417 if not RTLD_BOOTSTRAP.
2418 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
2419 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
2421 2001-02-09 Ulrich Drepper <drepper@redhat.com>
2423 * locale/programs/linereader.c (get_ident): Stop loop if EOF. Use
2424 lr_ungetc to push back last read character.
2425 * locale/programs/linereader.h (lr_ungetc): Don't push back is
2427 (lr_ignore_rest): Don't warn about garbage if it is really the end
2430 * manual/Makefile: Use ifnottext and not ifinfo to protect Top node
2433 2001-02-08 Ulrich Drepper <drepper@redhat.com>
2435 * Makerules (build-shlib): Work around different order of
2436 processing of -B option in different gcc versions.
2438 * posix/regex.c: Fix alignment problem.
2439 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
2441 * sysdeps/alpha/strrchr.S: Little optimization.
2442 Patch by Richard Henderson <rth@redhat.com>.
2444 * sysdeps/alpha/alphaev67/strrchr.S: New file.
2445 Contributed by Rick Gorton <rick.gorton@alpha-processor.com>.
2447 2001-02-08 kaz Kojima <kkojima@rr.iij4u.or.jp>
2449 * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Correct function name
2450 in the assembler end directive.
2452 2001-02-08 Andreas Jaeger <aj@suse.de>
2454 * manual/stdio.texi (Closing Streams): Fix typos.
2456 2001-02-07 Ulrich Drepper <drepper@redhat.com>
2458 * sysdeps/alpha/alphaev67/strncat.S: Align last write address.
2459 Patch by Richard Henderson <rth@redhat.com>.
2460 Reported by Claus-Justus Heine <heine@instmath.rwth-aachen.de>.
2462 * stdlib/strfmon.c [USE_IN_LIBIO]: Define lock variable and store
2463 pointer in FILE structure before calling _IO_init.
2464 * stdlib/Makefile: Add -D_IO_MTSAFE_IO to CFLAGS for strfmon and
2465 strfmon_l if necessary.
2466 Reported by Jury Gerold <gjury@grips.com>.
2468 * sysdeps/gnu/netinet/tcp.h: Correct values of TCP_ macros.
2469 Patch by Pekka.Pietikainen@cern.ch.
2471 * posix/regex.c: Correct several problems with 64-bit architectures
2472 introduced in the MBS changes.
2473 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
2475 2001-02-07 Jakub Jelinek <jakub@redhat.com>
2477 * math/tgmath.h: Only add l suffixes if __NO_LONG_DOUBLE_MATH is
2479 * sysdeps/alpha/fpu/bits/mathinline.h: Honour __NO_MATH_INLINES.
2481 2001-02-07 Andreas Jaeger <aj@suse.de>
2483 * manual/install.texi (Tools for Compilation): Fix typo.
2484 Reported by Pavel Machek <pavel@bug.ucw.cz>.
2486 2001-02-07 Ulrich Drepper <drepper@redhat.com>
2488 * stdlib/strtod.c: Never stop prematurely reading digits before the
2489 decimal point is found. Compute exponent limit for negative exponents
2490 correctly. For numbers ending in all zeros eat the zeros even before
2491 the decimal point if the exponent is negative [PR libc/2072].
2492 * stdlib/Makefile (tests): Add bug-strtod.
2493 * stdlib/bug-strtod.c: New file.
2495 2001-02-07 Andreas Jaeger <aj@suse.de>
2497 * posix/bug-regex1.c: Include <wchar.h> for fwide.
2499 2001-02-06 Ulrich Drepper <drepper@redhat.com>
2501 * posix/regex.c (regex_compile): Don't store pointer in wchar_t array.
2503 (compile_range): Handle index being passed, not pointer.
2504 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
2506 * posix/regex.c: Fix a cast in the code for bracket handling which
2507 caused 8-bit uncleanliness.
2508 Patch by Michal Jaegermann <michal@ellpspace.math.ualberta.ca>.
2510 * posix/Makefile (tests): Add bug-regex1.
2511 * posix/bug-regex1.c: New file.
2512 Contributed by Jim Meyering <jim@meyering.net>.
2514 * posix/regex.c: Many cleanups for incorrect format strings.
2516 2001-02-06 Andreas Jaeger <aj@suse.de>
2518 * time/time.h (CLK_TCK): Check for !__STRICT_ANSI.
2520 2001-02-06 Ulrich Drepper <drepper@redhat.com>
2522 * locale/programs/locale.c (write_locales): Use scandir to read
2523 directory so that the entries are sorted.
2525 2001-02-06 Andreas Jaeger <aj@suse.de>
2527 * include/pthread.h: New file.
2529 * wctype/wctype.h: Move internal interfaces from here to...
2530 * include/wctype.h: ...here.
2532 * wcsmbs/wchar.h: Move __wcslen from here to...
2533 * include/wchar.h: ...here.
2535 * posix/sys/wait.h: Move __wait from here to...
2536 * include/sys/wait.h: ...here.
2538 * string/string.h: Move __ffs and __strerror_r from here to...
2539 * include/string.h: ...here.
2541 * stdlib/stdlib.h: Move __on_exit from here to...
2542 * include/stdlib.h: ...here.
2544 * libio/stdio.h: Move __vsnprintf from here to...
2545 * include/stdio.h: ...here.
2547 2001-02-06 Andreas Schwab <schwab@suse.de>
2549 * sysdeps/unix/sysv/linux/ia64/ioperm.c: Don't include kernel
2552 * timezone/Makefile: Don't assume that $(inst_zonedir) is a subdir
2555 2001-02-06 Ulrich Drepper <drepper@redhat.com>
2557 * iconvdata/Makefile: Add dependency for bug-iconv2.out.
2559 2001-02-06 Andreas Jaeger <aj@suse.de>
2561 * elf/firstobj.c: Add prototype.
2563 * posix/regex.c (convert_mbs_to_wcs): Make static, add prototype
2564 (truncate_wchar): Likewise.
2566 2001-02-06 Ulrich Drepper <drepper@redhat.com>
2568 * locale/programs/locale.c: Implement --verbose option for -a
2569 which prints detailed information about the locales.
2571 2001-02-05 Ulrich Drepper <drepper@redhat.com>
2573 * sunrpc/xdr_rec.c (set_input_fragment): Change type of header
2574 variable to uint32_t.
2575 Reported by Ulrich Weigand <weigand@immd1.informatik.uni-erlangen.de>.
2577 2001-02-04 Bruno Haible <haible@clisp.cons.org>
2579 * locale/C-translit.h.in: Add transliterations for CJK units of
2582 2001-02-05 Ulrich Drepper <drepper@redhat.com>
2584 * elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf
2585 string. Include <inttypes.h> instead of <stdint.h>.
2587 * localedata/Makefile (tests): Add bug-iconv-trans.
2588 Define bug-iconv-trans-ENV.
2589 * localedata/bug-iconv-trans.c: New file.
2591 2001-02-04 Bruno Haible <haible@clisp.cons.org>
2593 * iconv/gconv_trans.c (__gconv_transliterate): Use a temporary output
2594 pointer, to avoid accumulating output from incomplete (unsuccessful)
2595 transliteration attempts.
2597 2001-02-05 Ulrich Drepper <drepper@redhat.com>
2599 * elf/ldconfig.c (search_dir): Use PRIx64 instead of Lx in printf
2600 string. Include <inttypes.h> instead of <stdint.h>.
2602 * configure.in: Add check for bison.
2603 * config.make.in: Define BISON variable.
2604 * intl/Makefile: Use BISON instead of YACC when generating plural.c.
2605 Rename YFLAGS to BISONFLAGS.
2607 2001-02-05 Andreas Jaeger <aj@suse.de>
2609 * io/test-lfs.c (do_test): Test lseek64 return value, call
2611 (test_ftello): New function to test ftello64 and fseeko64.
2613 * signal/signal.h: Move __sigaction from here to...
2614 * include/signal.h: ...here.
2616 * io/fcntl.h: Move __fcntl and __open to...
2617 * include/fcntl.h: ...here.
2619 2001-02-04 Philip Blundell <philb@gnu.org>
2621 * configure.in: Distinguish ARM from Thumb.
2623 2001-02-04 Philip Blundell <philb@gnu.org>
2625 * sysdeps/arm/dl-machine.h (elf_machine_rel): Correct handling of
2626 PC24 relocs with negative value.
2628 2001-02-04 Ulrich Drepper <drepper@redhat.com>
2630 * iconv/Makefile (iconv_prog-modules): Define. Add vpath to find
2631 files in locale/programs. Add CFLAGS definition to allow compiling
2633 * iconv/dummy-repertoire.c: New file.
2634 * iconv/iconv_charmap.c: New file.
2635 * iconv/iconv_prog.h: New file.
2636 * iconv/iconv_prog.c: Make verbose and omit_invalid global.
2637 (main): If parameter for -f and -t contain slashes try first to resolve
2638 the strings as filenames of charmap files. Use them for conversion
2640 * iconvdata/run-iconv-test.sh: If charmaps exist also run tests with
2641 iconv getting charmap names as parameters.
2642 * locale/programs/linereader.c (lr_token): Take extra parameters
2643 verbose and pass it to get_string.
2644 (get_string): Take extra parameters verbose.
2645 * locale/programs/charmap.c (parse_charmap): Take extra parameters
2646 verbose and be_quiet. Change all callers of lr_token and
2648 * locale/programs/charmap.h: Likewise.
2649 * locale/programs/ld-address.c: Likewise.
2650 * locale/programs/ld-collate.c: Likewise.
2651 * locale/programs/ld-ctype.c: Likewise.
2652 * locale/programs/ld-identification.c: Likewise.
2653 * locale/programs/ld-measurement.c: Likewise.
2654 * locale/programs/ld-messages.c: Likewise.
2655 * locale/programs/ld-monetary.c: Likewise.
2656 * locale/programs/ld-name.c: Likewise.
2657 * locale/programs/ld-numeric.c: Likewise.
2658 * locale/programs/ld-paper.c: Likewise.
2659 * locale/programs/ld-telephone.c: Likewise.
2660 * locale/programs/ld-time.c: Likewise.
2661 * locale/programs/linereader.c: Likewise.
2662 * locale/programs/linereader.h: Likewise.
2663 * locale/programs/localedef.c: Likewise.
2664 * locale/programs/locfile.c: Likewise.
2665 * locale/programs/locfile.h: Likewise.
2666 * locale/programs/repertoire.c: Likewise.
2668 2001-02-03 Ulrich Drepper <drepper@redhat.com>
2670 * iconv/iconv_prog.c (main): If output file name is "-" write to
2672 (main): If -f or -t argument is missing use charset of the current
2675 2001-02-03 Andreas Jaeger <aj@suse.de>
2677 * sysdeps/i386/elf/start.S (_start): Align stack to 16-byte
2678 boundary for SSE/SSE-2 alignment.
2680 * posix/Makefile ($(objpfx)annexc.out): Also pass sysincludes to
2683 2001-02-03 Ulrich Drepper <drepper@redhat.com>
2685 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: File was using crlf.
2686 Remove comma at end of enum.
2688 * elf/dl-init.c: Add a few __builtin_expect.
2690 * hesiod/hesiod.c: Remove unnecessary code. Remove all uses of strcat.
2692 2001-02-02 Ulrich Drepper <drepper@redhat.com>
2694 * hesiod/hesiod.c (hesiod_resolve): Also search HS records if
2695 errno is ECONNREFUSED.
2697 * posix/Makefile: Define MBS_SUPPORT for regex.c.
2698 * posix/regex.c: Implement multibyte character handling.
2699 Patch by Isamu Hasegawa <isamu@yamato.ibm.co.jp>.
2701 * string/tst-svc.input: Add two more test cases.
2702 * string/tst-svc.expect: Modify to reflect new test cases.
2704 2001-02-01 Jakub Jelinek <jakub@redhat.com>
2706 * sysdeps/posix/getaddrinfo.c (gaih_local, gaih_inet): Replace all
2707 tp->name tests with tp->name[0] tests.
2709 2001-01-29 Ben Collins <bcollins@debian.org>
2711 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r):
2712 Fix check for name == NULL.
2714 2001-02-01 Ulrich Drepper <drepper@redhat.com>
2716 * elf/Makefile: Add rules to build and run initfirst test.
2717 * elf/initfirst.c: New file.
2718 * elf/firstobj.c: New file.
2720 * Makerules (build-shlib): Add $(extra-B-$(@F:lib%.so=%).so).
2721 * configure.in: Test for -z initfirst linker option.
2722 * config.make.in: Add have-z-initfirst.
2723 * elf/dl-init.c (_dl_init): Split out actual initialization code in
2724 new function call_init. If _dl_initfirst is non-NULL initialize first.
2725 * elf/dl-load.c (_dl_map_from_fd): If DF_1_INITFIRST flag is set
2726 remember object in _dl_initfirst.
2727 * elf/soinit.c: Remove special support for calling
2728 __pthread_initialize_minimal.
2730 * conform/conformtest.pl: Add missing $prepend in type test.
2732 2001-01-31 Ulrich Drepper <drepper@redhat.com>
2734 * elf/elf.h (SHT_CHECKSUM): New definition.
2736 * posix/fnmatch_loop.c: Remove incorrect reverse condition in
2737 [. .] matching. Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
2738 * posix/tst-fnmatch.input: Add tests for [. .] in locales.
2740 2001-01-31 Mark Kettenis <kettenis@gnu.org>
2742 * misc/sys/select.h: Include <bits/time.h> instead of <sys/time.h>
2743 to get definition of `struct timeval'.
2745 2001-01-31 Ulrich Drepper <drepper@redhat.com>
2747 * posix/tst-fnmatch.input: Add test cases for de_DE.UTF-8 locale.
2748 * posix/fnmatch_loop.c: Fix handling of [= =] for multibyte charsets.
2750 2001-01-30 Ulrich Drepper <drepper@redhat.com>
2752 * iconv/gconv_open.c (__gconv_open): Set conv_flags if IGNORE is
2755 * nis/nis_findserv.c: Include <time.h>.
2757 2001-01-30 Yong Li <yong.li@asu.edu>
2759 * iconv/iconv_prog.c (main): Correct error handling method name.
2761 2001-01-29 Ben Collins <bcollins@debian.org>
2763 * sysdeps/sparc/fpu/fraiseexcpt.c: Include <float.h>.
2764 * sysdeps/hppa/fpu/fraiseexcpt.c: Likewise.
2765 * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
2766 * sysdeps/s390/fpu/fraiseexcpt.c: Likewise.
2768 2001-01-30 Ulrich Drepper <drepper@redhat.com>
2770 * locale/programs/ld-measurement.c (measurement_finish): Fix a typo.
2771 Patch by Marko Myllynen <myllynen@lut.fi>.
2773 * string/bits/string2.h (__strpbrk_c2): Correct parameter types
2774 (int instead of char).
2775 (__strpbrk_c3): Likewise.
2776 Reported by GOTO Masanori <gotom@debian.or.jp>.
2778 * sysdeps/generic/bits/sockaddr.h: Remove SA_LEN macro.
2779 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Likewise.
2780 * include/sys/socket.h: Add SA_LEN here for internal use.
2781 Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
2783 2001-01-29 Ulrich Drepper <drepper@redhat.com>
2785 * malloc/Makefile: Don't build memusagestat if cross-compiling.
2787 * sysdeps/generic/dl-sysdep.c (set_seen): Fix typo.
2789 * math/libm-test.inc (rint_test): Add a few more tests for round
2792 2001-01-28 Ulrich Drepper <drepper@redhat.com>
2794 * conform/data/pthread.h-data: Correct return type of pthread_exit.
2796 * conform/conformtest.pl: Add -fno-builtin to CFLAGS.
2798 * conform/data/stdlib.h-data: Add _Exit.
2800 * inet/arpa/inet.h: Don't include <sys/types.h>. Define socklen_t
2801 if not already happened.
2802 * inet/netinet/in.h: Don't include <sys/types.h>, use <bits/types.h>.
2803 Don't include <limits.h> and <bits/sockaddr.h>.
2805 * conform/data/netinet/in.h-data: Allow all of <inttypes.h>.
2807 * conform/data/spawn.h-data: Allow all of <sched.h>.
2809 * sysdeps/ia64/fpu/fraiseexcpt.c: Include <float.h>. Removed
2812 * sunrpc/xdr_rec.c (xdrrec_getpos): Add cast to long to avoid warning.
2813 * sunrpc/xdr_sizeof.c (x_inline): Likewise.
2815 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include <float.h>.
2817 * conform/conformtest.pl: Define $mustprepend{"stdio.h"}.
2818 * libio/stdio.h: Define va_list correctly.
2820 * conform/data/pthread.h-data: Make priority protocol related
2821 functions optional. Fix typos.
2823 * posix/sched.h: Define sched_priority as __sched_priority.
2824 * sysdeps/generic/bits/sched.h (struct sched_param): Rename element
2825 to __sched_priority.
2826 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
2828 2001-01-27 Ulrich Drepper <drepper@redhat.com>
2830 * sysdeps/generic/clock_getcpuclockid.c: Include <time.h> instead
2833 * sysdeps/unix/stime.c: Include <stddef.h> for NULL.
2834 * sysdeps/unix/time.c: Likewise.
2836 * conform/data/time.h-data: CLK_TCK is not in XPG6. Fix tzname entry.
2837 * sysdeps/mach/hurd/bits/time.h: Don't define CLK_TCK for XPG6.
2838 * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
2839 * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
2840 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
2841 * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
2842 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
2843 * time/time.h: Likewise.
2845 * conform/conformtest.pl (@headers): Add complex.h and tgmath.h.
2846 * conform/data/complex.h-data: New file.
2847 * conform/data/tgmath.h-data: New file.
2849 * conform/data/wchar.h-data: Add missing functions.
2851 * sysdeps/gnu/bits/utmpx.h: Define RUN_LVL only if __USE_GNU.
2853 * conform/data/termios.h-data: Add missing const in tcsetattr()
2856 * posix/sys/wait.h: Include <signal.h> and <sys/resource.h>.
2857 Don't define pid_t here.
2859 * conform/data/sys/utsname.h-data: Don't provide fixed array sizes.
2861 * conform/data/sys/time.h-data: Allow sys/select.h.
2862 * conform/data/sys/un.h-data: Fix typo.
2863 * time/sys/time.h: Don't include all of <time.h>, just struct timeval.
2864 * sysdeps/posix/clock_getres.c: Include <time.h> instead of
2866 * sysdeps/unix/clock_nanosleep.c: Likewise.
2867 * sysdeps/unix/i386/clock_getcpuclockid.c: Likewise.
2868 * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
2869 * sysdeps/unix/clock_gettime.c: Also include <time.h>.
2870 * sysdeps/unix/clock_settime.c: Likewise.
2872 * sysdeps/generic/pselect.c: Include <stddef.h> for NULL.
2873 * login/getutent.c: Likewise.
2874 * login/getutid.c: Likewise.
2875 * login/getutline.c: Likewise.
2877 * socket/sys/un.h: Define SUN_LEN only if __USE_MISC.
2879 * sysdeps/unix/sysv/linux/bits/statvfs.h: Change type of f_fsid field
2880 to unsigned long. Add __f_unused. Define _STATVFSBUF_F_UNUSED.
2881 * sysdeps/unix/sysv/linux/internal_statvfs.c: Adjust initialization of
2882 f_fsid field after change in struct statvfs.
2883 * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: New file.
2884 * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: New file.
2885 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: New file.
2887 * conform/data/sys/stat.h-data: Remove isfdtype. Use
2890 * conform/data/sys/socket.h-data: Fix typos. Correct getsockopt,
2891 recvfrom, send, and socketpair prototypes. Add allow lines.
2892 * socket/sys/socket.h: Include <sys/uio.h>.
2893 Don't use fancy __SOCKADDR_ARG definition unless __USE_GNU.
2894 Fix type of second parameter of listen.
2895 Don't declare isfdtype unless __USE_MISC.
2896 * sysdeps/generic/listen.c: Fix type of second parameter of listen.
2897 * sysdeps/mach/hurd/listen.c: Likewise.
2898 * sysdeps/generic/bits/socket.h (struct sockaddr_storage): Define
2899 ss_family and __ss_family.
2900 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
2901 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
2902 (struct msghdr): Change type of msg_iovlen to int and type of
2903 msg_controllen to socklen_t.
2904 * sysdeps/unix/sysv/linux/alpha/bits/socket.h: New file.
2905 * sysdeps/unix/sysv/linux/ia64/bits/socket.h: New file.
2906 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: New file.
2907 * inet/rcmd.c (rcmd_af): __ss_family is now ss_family.
2908 (rresvport_af): Likewise.
2910 * conform/data/sys/shm.h-data: SHMLBA is not required to by a constant.
2911 * conform/conformtest.pl: Implement handling of symbol.
2913 * signal/signal.h: Fix handling of __need_* symbols.
2914 * misc/sys/select.c: Define fd_set here. Remove __fd_set. Define
2915 fd_mask only if __USE_MISC. Declare pselect for __USE_XOPEN2K.
2916 * include/sys/select.h: Use fd_set not __fd_set.
2917 * sysdeps/generic/bits/select.h: Likewise.
2918 * sysdeps/i386/bits/select.h: Likewise.
2919 * sysdeps/generic/bits/types.h: Don't define __fd_mask, __NFDBITS,
2920 __FDELT, __FDMASK, and __fd_set here.
2921 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
2922 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
2923 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
2924 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
2925 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
2926 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2927 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
2928 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
2929 * time/sys/time.h: Define struct timeval before including <time.h>
2932 * conform/data/sys/time.h-data: fd_set is a typedef.
2933 * conform/data/sys/select.h-data: New file.
2934 * conform/data/sys/mman.h-data: Make typed mem stuff optional.
2935 * conform/conformtest.pl (@headers): Add sys/select.h.
2936 (type, optional-type): Unless testing a typedef instantiate object.
2937 Implement optional-function.
2939 * math/test-misc.c: Include <float.h>.
2941 2001-01-27 Andreas Jaeger <aj@suse.de>
2943 * misc/efgcvt_r.c: Include <float.h>.
2945 2001-01-26 Ulrich Drepper <drepper@redhat.com>
2947 * conform/data/stdlib.h-data: Account for XPG6 changes.
2948 * stdlib/stdlib.h (__random): Change return value type to long.
2949 (posix_memalign): Cleanup parameter names.
2950 (setenv, unsetenv): Make available for __USE_XOPEN2K.
2951 Change return type of unsetenv to int.
2952 (qecvt, qgcvt, qfcvt): Declare only if __USE_MISC.
2953 * include/stdlib.h: Change return type of unsetenv to int.
2954 Change return type of random to long int.
2955 * sysdeps/generic/setenv.c (unsetenv): Change return type to int.
2956 Return -1 and set errno if parameter is invalid.
2957 * stdlib/random.c (__random): Change return value type to long.
2959 * conform/data/stdio.h-data: Account for changes in XPG6.
2961 * conform/data/spawn.h-data: Correct posix_spawnattr_setflags
2964 * conform/conformtest.pl: Define $mustprepend{"signal.h"}.
2965 * conform/data/signal.h-data: Fix sigev_notify_function entry.
2966 Fix typo (SIGVALRM -> SIGVTALRM).
2967 * sysdeps/unix/sysv/linux/bits/siginfo.h: Define sigev_notify_attr
2969 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
2970 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
2971 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
2972 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2973 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
2975 * conform/conformtest.pl: Implement optional-element. Define
2976 $mustprepend{"sched.h"}.
2977 * conform/data/sched.h-data: Make sporadic scheduler definitions
2980 * pwd/pwd.h: Don't define getpwent_r for XPG.
2982 * io/sys/poll.h: Define nfds_t and use it in poll prototype.
2983 * sysdeps/generic/poll.c: Use nfds_t type in function definition.
2984 * sysdeps/mach/hurd/poll.c: Likewise.
2985 * sysdeps/unix/bsd/poll.c: Likewise.
2986 * sysdeps/unix/sysv/linux/poll.c: Likewise.
2987 * sysdeps/unix/sysv/aix/poll.c: Likewise.
2988 * sysdeps/generic/bits/poll.h: Define NPOLLFILE only if __USE_MISC.
2989 * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
2990 * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
2991 * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
2992 * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
2993 * conform/data/poll.h-data: Fix typo in poll prototype.
2995 * sysdeps/gnu/netinet/tcp.h: Define everything but TCP_ macros
2997 * conform/data/netinet/tcp.h-data: Reserved prefix TCP_.
2999 * sysdeps/gnu/net/if.h: Cleanup namespace. Define IF_NAMESIZE.
3001 * inet/netinet/in.h: Make IPPROTO_ constants also macros.
3003 * conform/conformtest.pl: Implement optional-type.
3005 * resolv/netdb.h: Include <netinet/in.h> not <sys/socket.h>. Include
3006 <rpc/netdb.h> only if __USE_MISC. Include <stdint.h> instead of
3007 defining uint32_t here. Define IPPORT_RESERVED.
3008 (struct hostent): Type of h_length element is int.
3009 (getnameinfo): Type of flags parameter is unsigned int.
3010 * inet/getnameinfo.c (getnameinfo): flags argument is unsigned.
3011 * conform/data/netdb.h-data: Add many missing definitions.
3013 * conform/conformtest.pl: Implement optional-macro.
3014 * conform/data/math.h-data: Update for XPG6.
3016 * math/math.h (HUGE): Define as FLT_MAX value but don't use
3017 FLT_MAX. Don't include <float.h>.
3018 (MAXFLOAT): Likewise.
3020 * math/math.h: Define MATH_ERRNO and MATH_ERREXCEPT.
3022 * include/bits/xopen_lim.h: Don't define FOPEN_MAX here.
3024 * conform/data/limits.h-data: Mark constants as optional wherever
3027 * posix/bits/posix2_lim.h: Set correct values for
3028 _POSIX2_COLL_WEIGHTS_MAX and _POSIX2_CHARCLASS_NAME_MAX. Remove
3031 * posix/bits/posix1_lim.h: Define _POSIX_TZNAME_MAX as 6.
3034 * intl/loadmsgcat.c: Include <locale.h.> for _LIBC.
3036 * conform/data/netinet/in.h-data: Add reserved prefixes.
3038 * conform/data/arpa/inet.h-data: Fix a few typos.
3040 2001-01-26 Andreas Jaeger <aj@suse.de>
3042 * sysdeps/generic/strtol.c: Include <locale.h>
3043 * stdlib/strtod.c: Likewise
3044 * stdlib/strfmon.c: Likewise.
3045 * string/strcoll.c: Likewise.
3046 * string/strxfrm.c: Likewise.
3047 * wctype/wcfuncs_l.c: Likewise.
3048 * wctype/wctype_l.c: Likewise.
3049 * wctype/wctrans_l.c: Likewise.
3051 * include/bits/locale.h: New file.
3053 2001-01-26 Ulrich Drepper <drepper@redhat.com>
3055 * locale/langinfo.h: Correct logic in #ifs when defining YESSTR
3058 * locale/Makefile (headers): Add bits/locale.h.
3059 * locale/langinfo.h: Don't include <locale.h>. Include <bits/locale.h>
3060 and use __LC_ constants instead of LC_.
3061 * locale/locale.h: Include <bits/locale.h> and define LC_ constants
3062 using __LC_ constants.
3063 * locale/bits/locale.h: New file.
3064 * locale/loadlocale.c: Include <locale.h>.
3065 * locale/nl_langinfo.h: Likewise.
3067 * posix/glob.h: Cleanup namespace for non-_GNU_SOURCE case.
3069 * io/sys/stat.h: Define S_IFSOCK for XPG6.
3071 * conform/data/fcntl.h-data: posix_madvise is not expected here.
3073 * conform/conformtest.pl: Fix handling of macro-str.
3075 * conform/data/inttypes.h-data: Add missing definition and all of
3078 * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Bump to 20.
3080 2001-01-25 Ulrich Drepper <drepper@redhat.com>
3082 * conform/conformtest.pl (@headers): Add stdint.h.
3083 * conform/data/stdint.h-data: New file.
3085 * conform/conformtest.pl: Recognize options --headers and
3086 --dialect. Add dialect-specific CFLAGS.
3088 * conform/conformtest.pl: Implement handling of recursive
3091 * conform/data/locale.h-data: Add new struct lconv members.
3093 * posix/wordexp.h: Correct definition of wordexp_t.
3094 * posix/wordexp.c: Moved to ...
3095 * sysdeps/generic/wordexp.c: ...here. New file.
3096 * sysdeps/unix/sysv/linux/alpha/wordexp.c: New file.
3097 * sysdeps/unix/sysv/linux/ia64/wordexp.c: New file.
3098 * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: New file.
3099 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.2.2): Add
3101 * sysdeps/unix/sysv/linux/ia64/Versions: Likewise.
3102 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
3104 * math/tgmath.h: Pretty printing.
3106 * math/Makefile (tests): Add test-tgmath.
3107 (CFLAGS-test-tgmath.c): New variable.
3108 * math/test-tgmath.c: New file. Contributed by Jakub Jelinek.
3110 * conform/conformtest.pl: Handle allow-header in secondary headers
3113 * conform/data/fcntl.h-data: Mark symbols introduced in XPG6 with
3116 * conform/data/netinet/in.h-data: Use correct comment character.
3117 * conform/data/sys/stat.h-data: Likewise.
3119 2001-01-25 Jakub Jelinek <jakub@redhat.com>
3121 * math/tgmath.h (__TGMATH_BINARY_FIRST_REAL_ONLY,
3122 __TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY,
3123 __TGMATH_TERNARY_REAL_ONLY): Use proper arguments to
3124 __builtin_classify_type, add ##f suffixes where appropriate.
3125 (__TGMATH_UNARY_REAL_IMAG): Remove extraneous left parenthesis.
3126 (__TGMATH_BINARY_REAL_IMAG): Likewise, use proper arguments to
3127 __builtin_classify_type.
3128 (fma): Fix spelling of first argument.
3130 2001-01-25 Ulrich Drepper <drepper@redhat.com>
3132 * conform/data/unistd.h-data: Mark functions removed in XPG6
3135 * posix/unistd.h: Don't make functions removed in XPG6 available if
3138 * conform/conformtest.pl: Implement optional-constant.
3139 * conform/data/unistd.h-data: Use optional-constant wherever
3142 * sysdeps/generic/bits/confname.h: Correct names of _SC_PBS
3143 constants and add _SC_STREAMS.
3144 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
3146 * sysdeps/unix/sysv/linux/statvfs64.c: Rename to __statvfs64 and
3147 make old name weak alias.
3148 * sysdeps/generic/statvfs64.c: Likewise.
3149 * sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and
3150 make old name weak alias.
3151 * sysdeps/generic/fstatvfs64.c: Likewise.
3152 * include/sys/statvfs.h: New file.
3154 * sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE,
3155 _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and
3157 * sysdeps/posix/pathconf.c (__pathconf): Implement handling of
3158 _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
3159 _PC_REC_MIN_XFER_SIZE, and _PC_REC_XFER_ALIGN.
3160 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
3162 * conform/conformtest.pl: Run Unix tests for XPG6.
3163 Implement handling of known namespace violations.
3164 Improve printing of results.
3166 * posix/unistd.h (usleep): Correct return type.
3167 * sysdeps/unix/sysv/linux/usleep.c: Correct return type.
3168 * sysdeps/unix/bsd/usleep.c: Correct return type.
3169 * sysdeps/mach/usleep.c: Correct return type.
3170 * sysdeps/generic/usleep.c: Correct return type.
3172 * posix/unistd.h (sync): Correct return type.
3173 * sysdeps/generic/sync.c: Likewise.
3174 * sysdeps/mach/hurd/sync.c: Likewise.
3176 * sysdeps/generic/bits/confname.h (_SC_IOV_MAX): New definition.
3178 * posix/unistd.h: Make seteuid and setegid available for XPG6.
3180 * wcsmbs/wchar.h: Get FILE definition for XPG5.
3182 * conform/data/ctype.h-data: Use correct comment form.
3183 * conform/data/errno.h-data: Likewise.
3184 * conform/data/math.h-data: Likewise.
3185 * conform/data/mqueue.h-data: Likewise.
3186 * conform/data/netdb.h-data: Likewise.
3187 * conform/data/pthread.h-data: Likewise.
3189 2001-01-24 Ulrich Drepper <drepper@redhat.com>
3191 * conform/data/wordexp.h-data: Fix typo.
3193 * conform/conformtest.pl: Handle allow-header correctly.
3195 * conform/data/time.h-data: Use correct comment form.
3197 * conform/conformtest.pl (checknamespace): Ignore #undef lines.
3199 * configure.in: Comment out binutils version test.
3201 * stdlib/strtod.c (str_to_mpn): Correct parsing of thousands
3203 Reported by Lagardere Jean-Francois <LAGARDEREJ@thmulti.com>.
3205 * stdlib/tst-strtod.c (locale_test): New function.
3206 (main): Call locale_test.
3207 * stdlib/Makefile (tst-strtod-ENV): New variable.
3209 2001-01-24 Mark Kettenis <kettenis@gnu.org>
3211 * hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost
3212 declaration of value such that we actually return the value of the
3213 environment variable.
3215 2001-01-24 Andreas Jaeger <aj@suse.de>
3217 * sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl
3219 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
3221 * include/sys/sysctl.h: New file.
3223 2001-01-23 Andreas Jaeger <aj@suse.de>
3225 * stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to
3228 * elf/dl-load.c (_dl_init_paths): Don't use strdupa in function
3229 arguments. Reported by Jiri Kubicek <kubicek@bitsmart.com>,
3230 closes PR libc/2039.
3232 * manual/install.texi (Tools for Compilation): Change required
3235 2001-01-22 Andreas Jaeger <aj@suse.de>
3237 * configure.in: Add test for new enough binutils version, move
3238 compiler/binutils test up.
3240 * Versions.def: Add version GLIBC_2.2.2.
3242 2001-01-21 Ulrich Drepper <drepper@redhat.com>
3244 * iconvdata/TESTS: UTF-8 test data for IBM932 and IBM943 are now
3246 * iconvdata/testdata/IBM932: New file.
3247 * iconvdata/testdata/IBM932..UTF8: New file.
3248 * iconvdata/testdata/IBM943: New file.
3249 * iconvdata/testdata/IBM943..UTF8: New file.
3250 Contributed by Masahide Washizawa <washi@jp.ibm.com>.
3252 2001-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3254 * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset.
3256 2001-01-21 Ulrich Drepper <drepper@redhat.com>
3258 * malloc/malloc.c: Remove a few unnecessary initializers of global
3261 2000-12-09 H.J. Lu <hjl@gnu.org>
3263 * nss/Makefile (routines): Add digits_dots.
3264 * nss/Versions (libc): Add __nss_hostname_digits_dots to GLIBC_2.2.2.
3265 * nss/digits_dots.c (__nss_hostname_digits_dots): Turn template
3267 * nss/nsswitch.h (__nss_hostname_digits_dots): New internal NSS
3269 * nss/getXXbyYY.c (H_ERRNO_VAR_P): New definition.
3270 (TYPE_VAR_P): Likewise.
3271 (FLAGS_VAR): Likewise.
3272 (AF_VAR_P): Likewise.
3273 (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
3274 instead of including digits_dots.c.
3275 * nss/getXXbyYY_r.c (H_ERRNO_VAR_P): New definition.
3276 (TYPE_VAR_P): Likewise.
3277 (FLAGS_VAR): Likewise.
3278 (AF_VAR_P): Likewise.
3279 (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
3280 instead of including digits_dots.c.
3282 2001-01-21 Ulrich Drepper <drepper@redhat.com>
3284 * sysdeps/posix/getaddrinfo.c: Reduce .data size.
3286 2001-01-21 Andreas Jaeger <aj@suse.de>
3288 * elf/constload2.c: Add prototype for init.
3290 2001-01-21 Ulrich Drepper <drepper@redhat.com>
3292 * stdlib/stdlib.h (drand48_data): Make available only for
3293 __USE_MISC. Rename elements to protect namespace. Change type
3294 and position of a and init element.
3295 * stdlib/drand48-iter.c: Don't handle unsigned short > 16 bit
3296 differently. Adjust for drand48_data change. Don't compute a here,
3297 it comes from drand48_data.
3298 * stdlib/lcong48_r.c: Don't handle unsigned short > 16 bit
3299 differently. Adjust for drand48_data change. Compute a here.
3300 * stdlib/srand48_r.c: Likewise.
3301 * stdlib/drand48.c: Adjust for drand48_data change.
3302 * stdlib/lrand48.c: Likewise.
3303 * stdlib/mrand48.c: Likewise.
3304 * stdlib/seek48.c: Likewise.
3305 * stdlib/drand48_r.c: Likewise.
3306 * stdlib/lrand48_r.c: Likewise.
3307 * stdlib/mrand48_r.c: Likewise.
3308 * stdlib/seed48_r.c: Likewise. Don't handle unsigned short > 16 bit
3310 * stdlib/erand48_r.c: Don't handle unsigned short > 16 bit differently.
3311 * stdlib/jrand48_r.c: Likewise.
3313 * po/sv.po: Update from translation team.
3315 2001-01-21 Andreas Jaeger <aj@suse.de>
3317 * stdio-common/vfprintf.c (vfprintf): Add casts.
3319 2001-01-20 Ulrich Drepper <drepper@redhat.com>
3321 * iconvdata/run-iconv-test.sh: Reorgnize a bit to allow running only
3323 * iconvdata/TESTS: Add entries for IBM932 and IBM943.
3325 * iconvdata/Makefile (modules): Add IBM932 and IBM943.
3326 * iconvdata/gconv-modules: Add entries for IBM932 and IBM943.
3327 * iconvdata/ibm932.c: New file.
3328 * iconvdata/ibm932.h: New file.
3329 * iconvdata/ibm943.c: New file.
3330 * iconvdata/ibm943.h: New file.
3331 Patches by Masahide Washizawa <washi@jp.ibm.com>.
3333 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo
3334 preventing optimization from being done. Set the correct type bit
3335 in seen. Don't define and use _dl_base_addr unless
3336 NEED_DL_BASE_ADDR is defined.
3338 * io/ftw.c (ftw_dir): Add slash after directory name if there
3339 wasn't any. Reported by loris <loris@iol.it>.
3340 * io/Makefile (tests): Add bug-ftw2.
3341 * io/bug-ftw2.c: New file.
3343 2001-01-19 Ulrich Drepper <drepper@redhat.com>
3345 * stdlib/jrand48_r.c (__jrand48_r): Correct constructing of
3346 results. Reported by Jeff Higham <jhigham@algorithmics.com>.
3347 * stdlib/tst-rand48.c: New file.
3348 * stdlib/Makefile (tests): Add tst-rand48.
3350 * locale/newlocale.c (__newlocale): Fix test for setting all
3353 2001-01-19 Mark Kettenis <kettenis@gnu.org>
3355 * sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes,
3356 but change looking up the initial directory port in a similar way
3357 as done by _hurd_change_directory_port_from_name.
3358 * hurd/fchroot.c (fchroot): Likewise.
3360 2001-01-18 Ulrich Drepper <drepper@redhat.com>
3362 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If HAVE_AUX_XID is
3363 defined don't look whether the AT_*ID values were set.
3364 If HAVE_AUX_PAGESIZE is defined don't look whether the pagesize is set.
3365 (_dl_show_auxv): Rewrite to avoid switch statement.
3366 * sysdeps/unix/sysv/linux/kernel-features.h: Define
3367 __ASSUME_AT_PAGESIZE for kernel >= 2.4.1.
3368 * sysdeps/unix/sysv/linux/ldsodefs.h: Define HAVE_AUX_XID.
3369 Define HAVE_AUX_PAGESIZE if __ASSUME_AT_PAGESIZE is defined.
3371 * sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect.
3372 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
3373 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
3375 * elf/rtld.c (process_envvars): Call __strtoul_internal instead of
3377 * elf/dl-minimal.c (strtol, __strtol_internal, strtoul): Removed.
3378 (__sigjmp_save): Set __mask_was_saved to zero since we don't save
3380 * dlfcn/eval.c (__strtol_internal): Define here.
3381 (eval): Use __strtol_internal instead of strtol.
3383 * elf/elf.h: Add a few more EF_MIPS_* constants.
3385 2001-01-17 Ulrich Drepper <drepper@redhat.com>
3387 * manual/Makefile (chapters): Add debug.
3388 * manual/debug.texi: New file.
3389 * manual/examples/execinfo.c: New file.
3390 Patch by suckfish@ihug.co.nz.
3392 2001-01-17 Andreas Schwab <schwab@suse.de>
3394 * sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid
3397 2001-01-17 Andreas Jaeger <aj@suse.de>
3399 * nscd/connections.c (nscd_run): Use proper format specifier.
3401 2001-01-16 Ulrich Drepper <drepper@redhat.com>
3403 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Move x86_cap_flags and
3404 x86_platforms data into new file after prepending _dl_. Change
3406 * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: New file.
3407 * sysdeps/unix/sysv/linux/i386/Dist: Add dl-procinfo.c.
3408 * sysdeps/unix/sysv/linux/i386/Makefile: Add rules to build
3411 * setjmp/setjmp.h: Cleanup definition of setjmp macro.
3413 * sysdeps/i386/elf/bsd-setjmp.S: Real implementation.
3414 * sysdeps/i386/elf/bsd-_setjmp.S: Removed.
3415 * sysdeps/i386/elf/setjmp.S (setjmp): Removed here.
3416 (_setjmp): Likewise.
3417 * sysdeps/i386/bsd-_setjmp.S: Real implementation.
3418 * sysdeps/i386/bsd-setjmp.S: Real implementation.
3419 * sysdeps/i386/bits/setjmp.h: Remove PUSH_SIGNAL_MASK definition.
3420 * sysdeps/i386/setjmp.S: Remove PIC support. This is the non-ELF
3423 2001-01-16 Andreas Jaeger <aj@suse.de>
3425 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix
3426 misapplied last patch.
3428 2001-01-15 Ulrich Drepper <drepper@redhat.com>
3430 * stdlib/random.c (__initstate): Clean up a cast.
3431 (__setstate): Likewise.
3433 * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove select
3434 syscall handling. The generic Linux version should work.
3436 2001-01-15 Andreas Jaeger <aj@suse.de>
3438 * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
3440 * stdio-common/tstscanf.c (main): Add two testcases for '*' modifier.
3442 2001-01-14 Jakub Jelinek <jakub@redhat.com>
3444 * nss/getent.c (print_aliases, aliases_keys, ethers_keys,
3445 netgroup_keys, print_rpc, rpc_keys, print_shadow, shadow_keys):
3447 (group_keys, hosts_keys, network_keys, passwd_keys, protocols_keys):
3448 If number is 0, list all.
3449 (services_keys): Likewise. Lookup aliases as well.
3450 (databases): New table.
3451 (build_doc): Prepare argp doc text with list of supported databases.
3452 (main): Change to table driven processing.
3454 2001-01-14 Thorsten Kukuk <kukuk@suse.de>
3456 * sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about these
3459 2001-01-03 Jakub Jelinek <jakub@redhat.com>
3461 * sunrpc/xdr.c (xdr_long, xdr_u_long): Return FALSE if trying to
3462 encode value which does not fit in the 32bit type.
3464 2001-01-15 Hiroyuki Machida <machida@sm.sony.co.jp>
3466 * sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
3467 Change type of CTX to (struct sigcontext *).
3468 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise.
3469 (GET_FRAME): Likewise.
3470 (GET_STACK): Likewise.
3471 (SIGCONTEXT): Likewise. Add 2nd arg _code.
3472 (SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.
3474 2001-01-13 Ulrich Drepper <drepper@redhat.com>
3476 * manual/texinfo.tex: Update from upstream version.
3478 2001-01-13 Jakub Jelinek <jakub@redhat.com>
3480 * inet/ether_ntoh.c (lookup_function): Change arguments to match
3481 _nss_*_getntohost_r prototype.
3482 (ether_ntohost): Pass errno pointer to NSS function.
3484 2001-01-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3486 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value.
3487 (MAP_LOCKED): New definition.
3488 (MAP_NORESERVE): New definition.
3490 2001-01-12 Ulrich Drepper <drepper@redhat.com>
3492 * assert/assert.h: Use static_cast instead of C-style cast for C++.
3493 Patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>.
3495 2001-01-12 Ben Collins <bcollins@debian.org>
3497 * sysdeps/generic/segfault.c (install_handler): Use access, not
3500 2001-01-12 Andreas Jaeger <aj@suse.de>
3502 * posix/fnmatch_loop.c (FCT): Remove signed warnings.
3503 * posix/wordexp.c (do_parse_glob): Likewise.
3504 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
3505 * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
3506 * elf/dl-open.c (_dl_open): Likewise.
3507 * elf/dl-close.c (_dl_close): Likewise.
3508 * elf/dl-load.c (_dl_map_object): Likewise.
3509 * iconv/iconv_prog.c (process_fd): Likewise.
3510 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
3512 * locale/localeinfo.h (struct locale_data): Use __flexarr instead
3513 of a zero-length array.
3515 2001-01-11 Jakub Jelinek <jakub@redhat.com>
3517 * stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func.
3518 * stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument.
3519 * stdlib/cxa_on_exit.c: Remove.
3520 * stdlib/Makefile: Revert last patch.
3521 * stdlib/Versions: Likewise.
3522 * include/stdlib.h: Likewise.
3523 * stdlib/exit.h: Revert last patch.
3524 (struct exit_function): Add second argument to cxa fn.
3525 * stdlib/exit.c: Revert last patch.
3526 (exit): Add hidden second argument.
3528 2001-01-11 H.J. Lu <hjl@gnu.org>
3530 * elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ...
3531 * elf/dl-open.c (_dl_open): Here.
3532 * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock):
3534 (_dl_static_init): Initialize the variables every time when possible.
3535 * sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT):
3538 2001-01-11 Ulrich Drepper <drepper@redhat.com>
3540 * stdlib/Makefile (routines): Add cxa_on_exit.
3541 * stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit.
3542 * stdlib/cxa_on_exit.c: New file.
3543 * include/stdlib.h: Add prototype for __cxa_on_exit.
3544 * stdlib/exit.c: Handle ef_cxa2.
3545 * stdlib/exit.h (enum): Add ef_cxa2.
3546 (struct exit_function): Add cxa2.
3548 * Versions.def [ld]: Add GLIBC_2.2.1.
3550 2001-01-10 H.J. Lu <hjl@gnu.org>
3552 * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries.
3553 * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add
3555 * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init.
3556 * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined.
3557 * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file.
3558 * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file.
3559 * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
3561 2001-01-11 Ulrich Drepper <drepper@redhat.com>
3563 * libio/stdio.h: Remove definition of off_t.
3565 2001-01-11 Andreas Jaeger <aj@suse.de>
3567 * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
3570 2001-01-10 Ulrich Drepper <drepper@redhat.com>
3572 * sunrpc/Makefile (distribute): Add errqueue.h.
3574 2001-01-10 H.J. Lu <hjl@gnu.org>
3576 * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve
3577 r9, r10 and r11 for language specific registers.
3579 2001-01-10 Jakub Jelinek <jakub@redhat.com>
3581 * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the
3583 (clntudp_call): Handle MSG_ERRQUEUE.
3584 * sysdeps/generic/errqueue.h: New file.
3585 * sysdeps/unix/sysv/linux/errqueue.h: New file.
3587 2001-01-10 H.J. Lu <hjl@gnu.org>
3589 * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
3591 2001-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
3593 * CONFORMANCE: Update.
3595 2001-01-09 Ulrich Drepper <drepper@redhat.com>
3597 * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
3598 Minimal cleanups. Add assert to ensure memory handling is correct.
3600 * manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value.
3601 Reported by Ben Collins <bcollins@debian.org>.
3603 * time/strftime.c (my_strftime): Mark previous GNU extensions
3604 which are now in C99 as such.
3606 2001-01-08 Ulrich Drepper <drepper@redhat.com>
3608 * elf/rtld.c (process_envvars): Place output files for profiling
3609 in SUID binaries in /var/profile.
3611 * elf/dl-load.c (_dl_map_object): Don't look in cache for
3612 preloading in SUID binaries.
3614 * elf/dl-profile.c (_dl_start_profile): Open the output file with
3615 O_NOFOLLOW if possible.
3617 * include/stdlib.h: Add __posix_openpt declaration.
3618 * stdlib/stdlib.h: Add posix_openpt declaration.
3619 * login/Versions: Add posix_openpt for GLIBC_2.2.1.
3620 * sysdeps/generic/getpt.c: Define posix_openpt.
3621 * sysdeps/unix/bsd/getpt.c: Likewise.
3622 * sysdeps/unix/sysv/linux/getpt.c: Likewise.
3624 * time/Makefile (tests): Add tst-mktime.
3625 * time/tst-mktime.c: New file.
3627 * posix/tst-dir.c (main): One more mkdir() test.
3629 * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
3630 Remove getpagesize syscall. We assume that the pagesize is always
3631 determined from the auxiliary vector.
3633 * intl/dcigettext.c: Fix a few warnings.
3634 Patch by Bruno Haible <haible@ilog.fr>.
3636 2001-01-08 Andreas Jaeger <aj@suse.de>
3638 * io/test-lfs.c (do_test): Check lseek64 return for EINVAL.
3639 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
3641 2001-01-08 Ulrich Drepper <drepper@redhat.com>
3643 * sysdeps/generic/segfault.c (install_handler): Check output file
3646 * resolv/res_query.c: Use simply getenv() for HOSTALIASES.
3647 * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
3649 * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
3651 * malloc/memusage.c (me): Use access() to determine whether we
3652 should write the output file or not.
3654 * libio/bits/stdio.h (printf): Define macro to map printf call to
3655 fprintf which gcc can optimize.
3656 * stdio-common/printf.c: Undefine printf.
3658 2001-01-07 Ulrich Drepper <drepper@redhat.com>
3660 * sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last
3661 patch. We must use unsigned int for l member of union.
3663 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call
3664 _dl_aux_init for shared libraries.
3666 * sysdeps/unix/sysv/linux/glob64.c: Moved to ...
3667 * sysdeps/gnu/glob64.c: ...here. New file.
3669 2001-01-07 Ben Collins <bcollins@debian.org>
3671 * manual/examples/longopt.c: Make the "struct option" a little
3672 more like it should be, adding usage of required_argument,
3673 noargument and such, and also setting the options string right.
3675 * manual/sysinfo.texi (Load Average): New section, documents
3678 2001-01-06 Ulrich Drepper <drepper@redhat.com>
3680 * version.h (VERSION): Bump to 2.2.1.
3682 * sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
3683 * sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S.
3684 * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S.
3685 * dlfcn/Makefile (distribute): Add errmsg1mod.c.
3686 * Makefile (distribute): Add include/libc-internal.h.
3687 * libio/Makefile (distribute): Avoid overwriting.
3689 * iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in
3690 buffer and table handling.
3692 2001-01-05 H.J. Lu <hjl@gnu.org>
3694 * elf/dl-support.c (non_dynamic_init): Move the auxiliary
3695 vector checking to ...
3696 (_dl_aux_init): Here. New function. Defined only if
3697 HAVE_AUX_VECTOR is defined.
3699 * sysdeps/generic/libc-start.c (__libc_start_main): Call
3700 _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined.
3702 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call
3705 * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed.
3706 (HAVE_AUX_VECTOR): Defined.
3707 (_dl_aux_init): Declared.
3709 2001-01-05 Ben Collins <bcollins@debian.org>
3711 * manual/string.texi (Finding Tokens in a String): Document XPG
3712 basename() and dirname(), as well as GNU basename().
3714 2001-01-05 Jakub Jelinek <jakub@redhat.com>
3716 * Makeconfig (preprocess-version): Replace -traditional with
3717 -x assembler-with-cpp.
3719 2001-01-05 Joseph S. Myers <jsm28@cam.ac.uk>
3721 * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj
3722 for GCC 2.97 or later.
3724 2001-01-05 Ben Collins <bcollins@debian.org>
3726 * manual/stdio.texi (getline): Clarify the return value in the
3727 case of EOF being reached before a newline.
3729 2001-01-04 Jakub Jelinek <jakub@redhat.com>
3731 * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful,
3733 (pmap_set, pmap_unset): Check __get_myaddress return value.
3735 2001-01-05 Mark Kettenis <kettenis@gnu.org>
3737 * sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>.
3738 (struct ether_addr): Declare ether_addr_octet member as
3739 `u_int8_t'. Add __attribute__ ((__packed__)).
3741 2001-01-06 Mark Kettenis <kettenis@gnu.org>
3743 * sysdeps/mach/hurd/readdir64.c: New file.
3744 * sysdeps/mach/hurd/readdir64_r.c: New file.
3746 2001-01-07 Mark Kettenis <kettenis@gnu.org>
3748 * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about
3749 `struct statfs' and `struct statvfs' being identical.
3750 * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
3752 2001-01-06 Mark Kettenis <kettenis@gnu.org>
3754 * sysdeps/mach/hurd/fstatfs64.c: New file.
3755 * sysdeps/mach/hurd/fstatvfs64.c: New file.
3756 * sysdeps/mach/hurd/statfs64.c: New file.
3757 * sysdeps/mach/hurd/statvfs64.c: New file.
3758 * sysdeps/mach/hurd/statfsconv.c: New file.
3759 * sysdeps/mach/hurd/Dist: Add statfsconv.c.
3761 2001-01-06 Ulrich Drepper <drepper@redhat.com>
3763 * iconv/skeleton.c: Reset outbuf for next round of the loop.
3764 Reported by Owen Taylor <otaylor@redhat.com>.
3765 * iconv/Makefile (tests): Add tst-iconv3.
3766 * iconv/tst-iconv3.c: New file.
3768 * iconvdata/ibm930.c: Fix handling of state. Optimize a bit.
3769 * iconvdata/ibm933.c: Likewise.
3770 * iconvdata/ibm935.c: Likewise.
3771 * iconvdata/ibm937.c: Likewise.
3772 * iconvdata/ibm939.c: Likewise.
3773 * iconvdata/ibm930.h: Adjust single byte table for optimization.
3774 * iconvdata/ibm933.h: Likewise.
3775 * iconvdata/ibm935.h: Likewise.
3776 * iconvdata/ibm939.h: Likewise.
3778 * iconvdata/testdata/IBM930: Add misssing SI.
3779 * iconvdata/testdata/IBM933: Likewise.
3780 * iconvdata/testdata/IBM935: Likewise.
3781 * iconvdata/testdata/IBM937: Likewise.
3782 * iconvdata/testdata/IBM939: Likewise.
3784 2001-01-06 Andreas Jaeger <aj@suse.de>
3786 * configure.in: Check for old add-ons that shouldn't be used with
3787 current glibc anymore.
3789 2001-01-06 Mark Kettenis <kettenis@gnu.org>
3791 * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number
3792 instead of -1 on failure. Don't forget to copy file name into
3793 *ENTRY if successful. Set *RESULT to NULL upon reaching the end
3796 2001-01-06 Mark Kettenis <kettenis@gnu.org>
3798 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
3799 copy st_atime member.
3801 2001-01-05 Ulrich Drepper <drepper@redhat.com>
3803 * io/ftw.c (ftw_dir): Don't add a second slash at the beginning
3804 for searches from the root directory.
3805 Reported by loris <loris@iol.it> [PR libc/1991].
3806 * io/Makefile (tests): Add bug-ftw1.
3807 * io/bug-ftw1.c: New file.
3809 * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
3810 if it is not available. Instead use it only if it is available.
3811 * sysdeps/unix/sysv/linux/ldsodefs.h: New file.
3813 * iconv/gconv_simple.c (internal_ics4_loop): Correct test for
3814 overflowing output buffer.
3815 (internal_ucs4_loop_unaligned): Likewise.
3816 (ucs4_internal_loop): Likewise.
3817 (ucs4_internal_loop_unaligned): Likewise.
3818 (internal_ucs4le_loop): Likewise.
3819 (internal_ucs4le_loop_unaligned): Likewise.
3820 (ucs4le_internal_loop): Likewise.
3821 (ucs4le_internal_loop_unaligned): Likewise.
3822 Reported by Owen Taylor <otaylor@redhat.com>.
3823 * iconv/Makefile (tests): Add tst-iconv2.
3824 * iconv/tst-iconv2.c: New file.
3826 2001-01-04 H.J. Lu <hjl@gnu.org>
3828 * elf/dl-support.c (DL_FIND_AUXV): New. Defined if not defined.
3829 (_dl_clktck): Declared.
3830 (non_dynamic_init): Take 3 arguments.
3831 Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.
3833 2001-01-01 Bruno Haible <haible@clisp.cons.org>
3835 Finish implementation of plural form handling.
3836 * intl/dcigettext.c (known_translation_t): Rename 'domain' field to
3837 'domainname'. Remove 'plindex' field. Add 'domain' and
3838 'translation_length' fields.
3839 (transcmp): Don't compare 'plindex' fields.
3840 (plural_lookup): New function.
3841 (DCIGETTEXT): Change cache handing in the plural case. Don't call
3842 plural_eval before the translation and its catalog file have been
3843 found. Remove plindex from cache key. Add 'translation_length' and
3844 'domain' to cache result.
3845 (_nl_find_msg): Remove index argument, return length of translation
3846 to the caller instead. Weaken comparison of string lengths, to account
3847 for plural entries. Call iconv() on the entire result string, not
3848 only on the portion needed so far.
3849 * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
3851 * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
3853 2001-01-04 Ulrich Drepper <drepper@redhat.com>
3855 * intl/plural.y (yylex): Minimal improvement in number scanner.
3857 2000-07-31 Bruno Haible <haible@clisp.cons.org>
3859 * intl/plural.y: Include config.h. Needed to define 'inline' away for
3860 C compilers that don't support it.
3861 (yylex): Don't use gcc specific case range syntax.
3862 * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
3865 2000-10-12 Bruno Haible <haible@clisp.cons.org>
3867 * intl/finddomain.c: Remove unneeded includes.
3869 2000-10-12 Bruno Haible <haible@clisp.cons.org>
3871 * intl/localealias.c (memcpy): Return first argument, just like the
3872 real memcpy function does.
3873 * intl/bindtextdom.c (memcpy): Likewise.
3874 * intl/finddomain.c (memcpy): Likewise.
3875 * intl/l10nflist.c (memcpy): Likewise.
3876 * intl/textdomain.c (memcpy): Likewise.
3877 From Paul Eggert <eggert@twinsun.com>.
3879 2001-01-03 Jakub Jelinek <jakub@redhat.com>
3881 * resolv/resolv.h (struct __res_state): Add nsinit field.
3882 * resolv/res_send.c (res_nsend): Use it instead of nscount.
3883 * resolv/res_init.c (__res_vinit): Initialize it.
3884 (res_nclose): Clear it instead of nscount.
3886 2001-01-04 Ulrich Drepper <drepper@redhat.com>
3888 * malloc/mtrace.pl: Fix matching of addresses.
3889 Patch by Aharon Robbins <arnold@skeeve.com>.
3891 * Versions.def (ld): Add GLIBC_2.2.
3893 * catgets/gencat.c: Copyright 2001.
3894 * csu/version.c: Likewise.
3895 * debug/catchsegv.sh: Likewise.
3896 * debug/xtrace.sh: Likewise.
3897 * elf/ldconfig.c: Likewise.
3898 * elf/sprof.c: Likewise.
3899 * iconv/iconv_prog.c: Likewise.
3900 * locale/locale.c: Likewise.
3901 * locale/localedef.c: Likewise.
3902 * malloc/memusage.sh: Likewise.
3903 * malloc/mtrace.pl: Likewise.
3904 * nscd/nscd.c: Likewise.
3905 * posix/getconf.c: Likewise.
3907 2001-01-04 Mark Kettenis <kettenis@gnu.org>
3909 * include/stdio.h: Only provide __getwc_unlocked prototype if
3910 USE_IN_LIBIO is defined.
3912 2001-01-04 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3914 * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code
3917 2001-01-03 Andreas Schwab <schwab@suse.de>
3919 * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias.
3920 * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias.
3922 * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias.
3923 * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix
3925 * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias.
3926 * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix
3929 * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this
3931 * sysdeps/generic/strtol_l.c: Likewise.
3932 * sysdeps/generic/strtoul_l.c: Likewise.
3933 * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c.
3935 * sysdeps/wordsize-64/strtol_l.c: Fix alias.
3936 * sysdeps/wordsize-64/strtoul_l.c: Likewise.
3937 * sysdeps/wordsize-64/wcstol_l.c: Fix alias.
3938 * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
3940 2001-01-04 Andreas Jaeger <aj@suse.de>
3942 * nss/nsswitch.c: Include files for missing prototypes, remove
3943 buggy declaration of prototypes.
3945 2001-01-03 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3947 * resolv/Versions: Fix bracing.
3948 * sysdeps/powerpc/soft-fp/Versions: Likewise.
3949 * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
3951 2001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3953 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
3955 2001-01-02 Ulrich Drepper <drepper@redhat.com>
3957 * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
3958 Suggested by Minko Markov <mmarkov@home.com>.
3960 2001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3962 * sysdeps/powerpc/elf/start.S (__data_start): Make it global.
3963 * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
3965 (__process_machine_rela): Pass symbol to dl_reloc_overflow().
3967 2001-01-02 Ben Collins <bcollins@debian.org>
3969 * time/tzset.c (tzset_internal): Make sure we fall back to UTC
3970 if TZ is not set and TZDEFAULT is not present.
3972 2001-01-01 Ben Collins <bcollins@debian.org>
3974 * string/strings.h: Make sure we declare our functions even if
3975 string.h is already included, based on whether or not __USE_BSD is
3978 2001-01-02 Ulrich Drepper <drepper@redhat.com>
3980 * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
3981 other dlopen() and dlsym().
3982 Based on a patch by Ben Collins <bcollins@debian.org>.
3984 2001-01-02 Andreas Jaeger <aj@suse.de>
3986 * dlfcn/errmsg1.c (main): Call dlerror initially.
3987 Reported by Ben Collins <bcollins@debian.org>.
3989 2001-01-02 Ulrich Drepper <drepper@redhat.com>
3991 * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
3992 value is ignored if the selected locale is the C locale.
3993 * intl/tst-gettext.c: Set locale for above change.
3994 * intl/tst-translit.c: Likewise.
3996 2001-01-02 Andreas Jaeger <aj@suse.de>
3998 * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
3999 (_IO_switch_to_wget_mode): Likewise.
4000 (_IO_sputbackwc): Likewise.
4001 (_IO_sungetwc): Use wint_t for result.
4003 * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done.
4005 * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct
4008 * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked
4009 to (int) to avoid warnings.
4010 * stdio-common/printf_fp.c (putc): Likewise.
4011 * stdio-common/printf_size.c (putc): Likewise.
4013 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make
4016 2001-01-01 Andreas Jaeger <aj@suse.de>
4018 * inet/rcmd.c (rcmd_af): Use socklen_t for len.
4020 2000-12-31 Andreas Jaeger <aj@suse.de>
4022 * include/libc-internal.h: Add prototype for __libc_freeres.
4024 * sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
4025 for prototypes, remove redundant prototypes.
4026 * gmon/gmon.c: Likewise.
4027 * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
4028 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
4029 * malloc/mtrace.c: Likewise.
4031 * sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
4033 * elf/soinit.c: Likewise.
4034 * sysdeps/generic/prof-freq.c: Likewise.
4035 * sysdeps/mach/hurd/profil.c: Likewise.
4036 * debug/noophooks.c: Likewise.
4037 * debug/pcprofile.c: Likewise.
4038 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
4039 * sysdeps/generic/get_clockfreq.c: Likewise.
4040 * malloc/set-freeres.c: Likewise.
4042 * locale/localeinfo.h: Add internal prototypes.
4044 * elf/rtld.c (dl_main): Fix prototype.
4046 * iconvdata/tst-table-to.c (main): Use return instead of exit to
4049 * nis/rpcsvc/yp_prot.h: Remove __P.
4050 * nis/rpcsvc/ypupd.h: Likewise.
4051 * nis/rpcsvc/yp.h: Likewise.
4053 * sunrpc/rpc_main.c: Add noreturn attributes.
4054 * sunrpc/rpc_scan.h: Likewise.
4056 * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.
4058 * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.
4060 * sunrpc/proto.h: Add noreturn attributes to error and crash.
4062 * posix/bsd-getpgrp.c: Add prototype to avoid warning.
4064 * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.
4066 * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.
4068 * include/rpc/rpc_msg.h: Add prototypes for some functions.
4069 * include/rpc/auth.h: Likewise.
4070 * include/rpc/auth_des.h: Likewise.
4071 * include/rpc/clnt.h: Likewise.
4072 * include/rpc/rpc.h: Likewise.
4073 * include/rpc/svc.h: Likewise.
4074 * include/rpc/svc_auth.h: Likewise.
4076 * include/rpc/des_crypt.h: New file.
4078 * malloc/memusagestat.c (main): Use return instead of exit to
4080 * io/pwd.c (main): Likewise.
4081 * iconvdata/tst-table-from.c (main): Likewise.
4082 * ctype/test_ctype.c (main): Likewise.
4083 * setjmp/tst-setjmp.c (main): Likewise.
4084 * signal/tst-signal.c (main): Likewise.
4085 * stdlib/tst-strtol.c (main): Likewise.
4086 * stdlib/tst-strtod.c (main): Likewise.
4087 * stdlib/tst-strtoll.c (main): Likewise.
4088 * stdlib/tst-xpg-basename.c (main): Likewise.
4089 * dirent/tst-seekdir.c (main): Likewise.
4090 * grp/testgrp.c (main): Likewise.
4091 * inet/test_ifindex.c (main): Likewise.
4092 * io/test-utime.c (main): Likewise.
4093 * posix/test-vfork.c (main): Likewise.
4094 * posix/testfnm.c (main): Likewise.
4095 * stdio-common/temptest.c (main): Likewise.
4096 * stdio-common/test_rdwr.c (main): Likewise.
4097 * stdio-common/tst-fileno.c (main): Likewise.
4098 * stdio-common/tst-sscanf.c (main): Likewise.
4099 * stdio-common/tstscanf.c (main): Likewise.
4100 * string/bug-strncat1.c (main): Likewise.
4101 * string/bug-strpbrk1.c (main): Likewise.
4102 * string/bug-strspn1.c (main): Likewise.
4103 * string/test-ffs.c (main): Likewise.
4104 * string/tst-inlcall.c (main): Likewise.
4105 * string/tst-svc.c (main): Likewise.
4106 * timezone/test-tz.c (main): Likewise.
4107 * wctype/test_wcfuncs.c (main): Likewise.
4108 * wctype/test_wctype.c (main): Likewise.
4110 * stdlib/tst-random.c: Add attribute noreturn to fail.
4112 2000-12-28 Wolfram Gloger <wg@malloc.de>
4114 * malloc/malloc.c (MALLOC_COPY): Handle case if source and
4115 destination overlap. Assume dest is always below source if
4118 2000-12-30 Ulrich Drepper <drepper@redhat.com>
4120 * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
4121 object was not yet initialized.
4123 2000-12-28 H.J. Lu <hjl@gnu.org>
4125 * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
4126 is always consistent even if its dependency is failed.
4128 * elf/dl-open.c (_dl_open): Increment the open count before
4129 calling _dl_close () in case of failure.
4131 * elf/neededtest4.c: New file.
4132 * elf/neededobj5.c: New file.
4133 * elf/neededobj6.c: New file.
4135 * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
4136 (tests): Add neededtest4.
4137 (modules-names): Add neededobj5 and neededobj6.
4138 ($(objpfx)neededobj6.so): New target.
4139 ($(objpfx)neededtest4): New target.
4140 ($(objpfx)neededtest4.out): New target.
4142 2000-12-28 Joseph S. Myers <jsm28@cam.ac.uk>
4144 * misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
4145 * stdlib/monetary.h: Add strfmon format attributes.
4147 2000-12-28 Roland McGrath <roland@frob.com>
4149 * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
4150 __mempcpy does it for us.
4152 2000-12-28 Andreas Jaeger <aj@suse.de>
4154 * sysdeps/generic/dl-environ.c: Add prototype for unsetenv.
4156 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
4159 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
4162 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
4165 * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
4166 __chown_is_lchown and __real_chown.
4168 * sysdeps/generic/ldsodefs.h: Add noreturn attribute to
4171 * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
4172 up GCC's warning about "deprecated use of label at end of compound
4174 * sunrpc/rpc_cout.c (emit_inline): Likewise.
4176 * gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
4178 Remove struct bb and __bb_head since those are declared by
4181 2000-12-22 Ben Collins <bcollins@debian.org>
4183 * manual/charset.texi: Fix typo in description of WCHAR_MAX.
4185 * manual/argp.texi: Document argp_domain as part of struct argp.
4187 2000-12-28 Andreas Jaeger <aj@suse.de>
4189 * catgets/Makefile (generated): Add sample.SJIS.cat.
4191 * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
4193 * elf/dl-minimal.c: Add prototypes.
4195 * include/locale.h: Add internal prototypes.
4196 * include/sys/gmon.h: Likewise.
4198 * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
4200 2000-12-27 Ben Collins <bcollins@debian.org>
4202 * elf/dl-open.c (_dl_open): Correctly set the new objname pointer
4203 when reallocating the error strings.
4204 Reported by Kalle Olavi Niemitalo <kon@iki.fi>
4206 2000-12-27 Ulrich Drepper <drepper@redhat.com>
4208 * dlfcn/Makefile (tests): Add errmsg1.
4209 (modules-names): Add errmsg1mod.
4210 Add rules to run errmsg1.
4211 * dlfcn/errmsg1.c: New file.
4212 * dlfcn/errmsg1mod.c: New file.
4214 * dlfcn/dlerror.c (dlerror): Always create output string which
4215 includes object file name.
4217 * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
4218 if we would go through it only once.
4219 Patch by Rick Gorton <rick.gorton@api-networks.com>.
4221 * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
4222 Patch by Richard Henderson <rth@redhat.com>.
4224 2000-12-27 Jakub Jelinek <jakub@redhat.com>
4226 * malloc/malloc.c (memmove): Add prototypes.
4227 (MALLOC_MEMMOVE): Define.
4228 (chunk_realloc): Use it instead of MALLOC_COPY if source and
4229 destination might overlap.
4231 2000-12-27 Andreas Jaeger <aj@suse.de>
4233 * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
4235 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
4236 * locale/programs/locale.c (show_locale_vars): Likewise.
4237 (show_info): Likewise.
4238 * locale/programs/ld-collate.c (collate_output): Likewise.
4239 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
4240 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
4241 * stdlib/rpmatch.c (rpmatch): Likewise.
4243 * setjmp/tst-setjmp.c: Make local functions static.
4244 * setjmp/jmpbug.c: Likewise.
4245 * signal/tst-signal.c: Likewise.
4246 * stdio-common/tfformat.c: Likewise.
4247 * string/tst-svc.c: Likewise.
4248 * time/clocktest.c: Likewise.
4249 * time/tst-getdate.c: Likewise.
4250 * dirent/list.c: Likewise.
4251 * dirent/opendir-tst1.c: Likewise.
4252 * posix/runtests.c: Likewise.
4253 * posix/tst-getaddrinfo.c: Likewise.
4254 * posix/tst-chmod.c: Likewise.
4255 * posix/wordexp-test.c: Likewise.
4256 * misc/tst-efgcvt.c: Likewise.
4257 * timezone/tst-timezone.c: Likewise.
4258 * rt/tst-clock.c: Likewise.
4259 * rt/tst-shm.c: Likewise.
4260 * rt/tst-aio2.c: Likewise.
4261 * rt/tst-aio3.c: Likewise.
4262 * rt/tst-aio4.c: Likewise.
4263 * rt/tst-aio5.c: Likewise.
4265 * dlfcn/failtest.c: Add prototype for foo.
4267 * dlfcn/glrefmain.c: Add prototype for do_test.
4269 * dlfcn/tst-dladdr.c: Add prototype for do_test.
4271 * string/test-ffs.c (main): Add prototype for nested function.
4273 * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
4275 * nss/XXX-lookup.c: Add prototype to shut up GCC.
4277 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
4278 setetherent prototype.
4279 Add internal interfaces.
4281 * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
4282 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
4284 * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
4286 * nis/nis_intern.h: Add prototype for __pmap_getnisport.
4288 * nss/nss_files/files-ethers.c: Include netinet/ether.h to get
4289 prototypes, remove struct etherent since it's declared in ether.h.
4290 Fix ntohost declaration.
4292 * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
4294 * include/getopt.h: Add internal interfaces.
4295 * include/termios.h: Likewise.
4296 * include/resolv.h: Likewise.
4297 * include/netdb.h: Likewise.
4298 * include/grp.h: Likewise.
4299 * include/pwd.h: Likewise.
4300 * include/shadow.h: Likewise.
4301 * include/rpc/netdb.h: Likewise.
4302 * include/setjmp.h: Likewise.
4304 * include/stdio.h: Add prototypes for compatibility functions.
4305 * include/grp.h: Likewise.
4306 * include/pwd.h: Likewise.
4307 * include/shadow.h: Likewise.
4309 * include/fenv.h: Define internal interfaces.
4311 2000-12-27 Ulrich Drepper <drepper@redhat.com>
4313 * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
4314 argument case separately.
4315 * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
4317 2000-12-27 Andreas Jaeger <aj@suse.de>
4319 * include/sys/wait.h: Add some prototypes.
4320 * Rules (dummy.c): Create also prototype to shut up GCC.
4322 2000-12-27 Andreas Jaeger <aj@suse.de>
4324 * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
4325 it's not needed at the moment.
4326 * sysdeps/generic/if_index.c (__protocol_available): Likewise.
4327 * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
4329 2000-12-26 Andreas Jaeger <aj@suse.de>
4331 * libio/getc_u.c: Include stdio.h via system path to get internal
4333 * libio/getwc_u.c: Likewise.
4335 * stdlib/strfmon.c: Fix prototype of __printf_fp.
4337 * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
4338 __printf_fp prototypes to ...
4339 * include/printf.h: ...here.
4341 * include/stdio.h: Add some internal prototypes to shut up GCC.
4342 * include/stdlib.h: Likewise.
4344 * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
4347 * include/signal.h: Add prototypes for internal sigpause
4350 2000-12-26 Ulrich Drepper <drepper@redhat.com>
4352 * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
4353 64bit platforms. Reported by Dave Gilbert <gilbertd@treblig.org>.
4355 * string/Makefile (tests): Add tst-bswap.
4356 * string/tst-bswap.c: New file.
4358 2000-12-11 Bruno Haible <haible@clisp.cons.org>
4360 * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
4362 2000-12-26 Ulrich Drepper <drepper@redhat.com>
4364 * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
4365 Patch by Ed Connell <Ed.Connell@sas.com>.
4367 2000-12-24 Ulrich Drepper <drepper@redhat.com>
4369 * locale/iso-639.def: Correct one entry. Add two missing entries.
4371 * locale/iso-4217.def: Change entry for Eritrea.
4372 Reported by Daniel Yacob <yacob@geez.org>.
4374 2000-12-23 Ben Collins <bcollins@debian.org>
4376 * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
4379 * manual/stdio.texi (Dynamic Output): Document the return value of
4380 asprintf. Also make the asprintf/snprintf examples a little
4381 better (check for some error returns).
4383 2000-12-22 Andreas Jaeger <aj@suse.de>
4385 * include/stdio.h: Add __ftrylockfile prototype.
4387 2000-12-21 H.J. Lu <hjl@gnu.org>
4389 * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
4390 Make sign_exponent element signed.
4392 * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
4395 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
4397 2000-12-21 Andreas Jaeger <aj@suse.de>
4399 * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
4400 * inet/ether_hton.c: Likewise
4401 * inet/ether_ntoh.c: Likewise.
4403 * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
4404 declaration to match prototype.
4406 * include/netinet/ether.h (struct etherent): Declare here so that
4407 all implementations use the same struct.
4409 * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
4411 (struct ether): Removed.
4412 Use struct etherent instead of ether everywhere.
4414 * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
4416 * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
4418 * sunrpc/publickey.c: Include auth_des.h for prototypes.
4420 2000-12-20 Ulrich Drepper <drepper@redhat.com>
4422 * math/test-misc.c: Add more tests for nextafter functions.
4424 * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
4425 normal correctly. Correct test for sign.
4426 Based on a patch by HJ Lu.
4428 2000-12-19 Ulrich Drepper <drepper@redhat.com>
4430 * Makeconfig (preprocess-version): Add -traditional to gcc call.
4433 2000-12-19 Andreas Jaeger <aj@suse.de>
4435 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
4437 * nis/nis_intern.h: Add prototype for __do_niscall3.
4439 * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
4442 * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
4444 * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
4446 * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
4448 2000-12-18 Ulrich Drepper <drepper@redhat.com>
4450 * math/test-misc.c: Add more tests for nextafter.
4451 * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
4452 * sysdeps/ieee754/ldbl-96/math_ldbl.h
4453 (ieee_long_double_shape_type): Make sign_exponent element signed.
4455 * manual/message.texi: Add Estonian to plural overview list.
4456 Correct rule for Slavic languages.
4457 Patch by Stanislav Brabec <utx@penguin.cz>.
4459 * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
4461 2000-12-18 Andreas Jaeger <aj@suse.de>
4463 * test-skeleton.c: Use temp_name_list instead of name_list to
4464 avoid collision with name_list from inet/netgroup.h.
4466 * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
4468 * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
4469 * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
4470 * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
4471 * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
4473 * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
4474 declaration to match prototype.
4475 * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
4476 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
4477 * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
4479 * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
4480 * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
4481 * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
4482 * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
4483 (_nss_nis_getservbyport_r): Likewise.
4484 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
4485 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
4486 * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
4487 (_nss_nis_setnetent): Likewise
4488 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
4489 (_nss_nis_endnetgrent): Likewise.
4490 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
4492 (_nss_nisplus_setnetgrent): Likewise.
4493 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
4494 * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
4495 * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
4496 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
4498 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
4500 * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
4502 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
4504 * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
4505 * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
4506 * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
4507 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
4508 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
4509 (_nss_dns_getnetbyaddr_r): Likewise.
4511 2000-12-17 Andreas Jaeger <aj@suse.de>
4513 * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
4516 * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
4517 unused attribute to shut up gcc warnings.
4519 * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
4520 * sysdeps/generic/k_tanl.c: Likewise.
4521 * sysdeps/generic/k_cosl.c: Likewise.
4522 * sysdeps/generic/e_j0l.c: Likewise.
4523 * sysdeps/generic/e_j1l.c: Likewise.
4524 * sysdeps/generic/e_jnl.c: Likewise.
4525 * sysdeps/generic/e_lgammal_r.c: Likewise.
4527 * elf/vismain.c: Move prototypes for functions in vismod*.c to
4529 * elf/vismod.h: New file.
4530 * elf/Makefile (distribute): Add vismod.h.
4531 * elf/vismod1.c: Include vismod.h.
4532 * elf/vismod2.c: Likewise.
4533 * elf/vismod3.c: Likewise.
4535 * elf/constload3.c: Add prototype declarations to shut up gcc.
4536 * elf/failobj.c: Likewise.
4537 * elf/nodelmod3.c: Likewise.
4538 * elf/filtmod1.c: Likewise.
4539 * elf/filtmod2.c: Likewise.
4540 * elf/reldepmod1.c: Likewise.
4541 * elf/reldepmod2.c: Likewise.
4542 * elf/reldepmod3.c: Likewise.
4543 * elf/reldepmod4.c: Likewise.
4544 * elf/unload2dep.c: Likewise.
4545 * elf/unload2mod.c: Likewise.
4546 * elf/ltglobmod1.c: Likewise.
4547 * elf/pathoptobj.c: Likewise.
4548 * elf/neededobj1.c: Likewise.
4549 * elf/neededobj2.c: Likewise.
4550 * elf/neededobj3.c: Likewise.
4551 * elf/neededobj4.c: Likewise.
4552 * elf/nextmod1.c: Likewise.
4553 * elf/nextmod2.c: Likewise.
4555 * locale/programs/ld-collate.c (collate_finish): Don't use labels
4556 at end of compound statement.
4557 * locale/programs/locale.c (show_info): Likewise.
4558 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
4560 2000-12-16 Jakub Jelinek <jakub@redhat.com>
4562 * catgets/gencat.c (read_input_file): Avoid calling obstack_free
4563 with a pointer not returned by obstack_ functions.
4565 2000-12-16 Ulrich Drepper <drepper@redhat.com>
4567 * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
4569 (struct stat64): Likewise.
4570 Reported by Michael Keezer <mkeezer@redhat.com>.
4572 * timezone/asia: Update from tzdata2000h.
4573 * timezone/australasia: Likewise.
4574 * timezone/backward: Likewise.
4575 * timezone/europe: Likewise.
4576 * timezone/northamerica: Likewise.
4577 * timezone/southamerica: Likewise.
4578 * timezone/zone.tab: Likewise.
4580 2000-12-14 Jakub Jelinek <jakub@redhat.com>
4582 * io/ftw.c (ftw_dir): If process_entry returned non-zero result
4583 and dir.stream is NULL, only free dir.content.
4584 * io/ftwtest.c (cb, main): Add --early-exit option to test it.
4585 * io/ftwtest-sh: Test with --early-exit.
4587 2000-12-13 Jakub Jelinek <jakub@redhat.com>
4589 * misc/efgcvt.c (FCVT_MAXDIG): Define.
4590 (FCVT_BUFPTR): New variable.
4591 (fcvt): If fcvt_r returns -1 on the static short buffer,
4592 try to malloc a sufficiently large one and retry.
4593 (free_mem): New function.
4594 * misc/qefgcvt.c (FCVT_MAXDIG): Define.
4595 * misc/tst-efgcvt.c (fcvt_tests): Add new test.
4597 2000-12-15 Ulrich Drepper <drepper@redhat.com>
4599 * misc/dirname.c (dirname): Fix search for second to last slash.
4601 2000-12-13 Andreas Jaeger <aj@suse.de>
4603 * misc/tst-dirname.c (main): Fix typo in test to really use
4604 the examples from Unix98.
4605 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
4607 2000-12-09 H.J. Lu <hjl@gnu.org>
4609 * sysdeps/ia64/fpu/s_fabs.S: New file.
4610 * sysdeps/ia64/fpu/s_fabsf.S: New file.
4611 * sysdeps/ia64/fpu/s_fabsl.S: New file.
4613 2000-12-15 Andreas Jaeger <aj@suse.de>
4615 * stdio-common/scanf9.c (main): Reformat and change to avoid
4618 * stdio-common/tstdiomisc.c: Make local functions static.
4619 * stdio-common/tst-printf.c: Likewise.
4621 * elf/constload2.c: Add prototype declarations to shut up gcc.
4622 * elf/dep1.c: Likewise.
4623 * elf/dep2.c: Likewise.
4624 * elf/dep3.c: Likewise.
4625 * elf/dep4.c: Likewise.
4626 * elf/ltglobmod2.c: Likewise.
4628 * libio/fmemopen.c: Make local functions static.
4630 * elf/Makefile (distribute): Added testobj.h.
4632 * elf/testobj.h: New file.
4634 * elf/testobj1.c: Include testobj.h and move prototype
4635 declarations to testobj.h.
4636 * elf/testobj2.c: Likewise.
4637 * elf/testobj3.c: Likewise.
4638 * elf/testobj4.c: Likewise.
4639 * elf/testobj5.c: Likewise.
4640 * elf/testobj6.c: Likewise.
4641 * elf/testobj1_1.c: Likewise.
4642 * elf/preloadtest.c: Likewise.
4644 2000-12-15 Ben Collins <bcollins@debian.org>
4646 * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
4647 Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
4649 2000-12-14 H.J. Lu <hjl@gnu.org>
4651 * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
4652 field in a float is 8 bits, not 11 bits.
4654 2000-12-13 Jakub Jelinek <jakub@redhat.com>
4656 * math/test-misc.c (main): Adjust m for IEEE quad long double.
4658 2000-12-13 Andreas Jaeger <aj@suse.de>
4660 * manual/message.texi (Using gettextized software): Fix typo.
4662 * manual/charset.texi (Converting a Character): Fix mbstouwcs
4664 Patch by Martin Buchholz <martin@xemacs.org>.
4666 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
4667 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
4669 2000-12-11 Andreas Jaeger <aj@suse.de>
4671 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
4672 kernel_sigset_t and use it.
4673 Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
4675 2000-12-10 Richard Henderson <rth@redhat.com>
4677 * sysdeps/alpha/alphaev67/fpu/Implies: New file.
4678 * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
4679 * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
4681 2000-12-10 Jakub Jelinek <jakub@redhat.com>
4683 * sysdeps/alpha/htonl.S: Fix a typo.
4685 2000-12-10 Jakub Jelinek <jakub@redhat.com>
4687 * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
4689 2000-12-10 Andreas Jaeger <aj@suse.de>
4691 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
4692 cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
4693 Drepper <drepper@redhat.com>.
4695 2000-12-09 Andreas Jaeger <aj@suse.de>
4697 * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
4699 * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
4701 Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
4703 * locale/programs/ld-collate.c (handle_ellipsis): Fix format
4706 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
4709 * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
4710 * nscd/connections.c (handle_request): Likewise.
4711 * nscd/pwdcache.c (addpwbyname): Likewise.
4712 * nscd/grpcache.c (addgrbyname): Likewise.
4714 * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
4716 2000-12-09 Ulrich Drepper <drepper@redhat.com>
4718 * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
4720 * Makeconfig (default_cflags): Make -O2 the default for stable
4723 2000-12-08 H.J. Lu <hjl@gnu.org>
4725 * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
4726 * sysdeps/ia64/fpu/s_isinf.S: This.
4727 Add a .pred.rel.mutex note to avoid false report.
4729 * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
4730 * sysdeps/ia64/fpu/s_isnan.S: This.
4732 * sysdeps/ia64/fpu/s_fpclassify.S: New file.
4733 * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
4734 * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
4735 * sysdeps/ia64/fpu/s_isinff.S: New file.
4736 * sysdeps/ia64/fpu/s_isinfl.S: New file.
4737 * sysdeps/ia64/fpu/s_isnanf.S: New file.
4738 * sysdeps/ia64/fpu/s_isnanl.S: New file.
4739 * sysdeps/ia64/fpu/s_finite.S: New file.
4740 * sysdeps/ia64/fpu/s_finitef.S: New file.
4741 * sysdeps/ia64/fpu/s_finitel.S: New file.
4742 * sysdeps/ia64/fpu/s_signbit.S: New file.
4743 * sysdeps/ia64/fpu/s_signbitf.S: New file.
4744 * sysdeps/ia64/fpu/s_signbitl.S: New file.
4745 * sysdeps/ia64/fpu/s_copysign.S: New file.
4746 * sysdeps/ia64/fpu/s_copysignf.S: New file.
4747 * sysdeps/ia64/fpu/s_copysignl.S: New file.
4749 2000-12-08 Ulrich Drepper <drepper@redhat.com>
4751 * math/libm-test.inc (main): Fix typos in messages.
4753 * string/stratcliff.c: Add test for rawmemchr.
4755 2000-12-08 Jakub Jelinek <jakub@redhat.com>
4757 * elf/dl-open.c (_dl_open): If objname points right after errstring,
4758 allocate it together with errstring using alloca.
4759 * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
4760 to "", because it might point to local stack.
4762 2000-12-05 H.J. Lu <hjl@gnu.org>
4764 * nss/Makefile (routines): Add getnssent and getnssent_r.
4765 * nss/nsswitch.h (__nss_setent): New internal NSS function.
4766 (__nss_endent): Likewise.
4767 (__nss_getent_r): Likewise.
4768 (__nss_getent): Likewise.
4769 * nss/getnssent_r.c: New file.
4770 * nss/getnssent.c: New file.
4771 * nss/getXXent.c (H_ERRNO_VAR): Updated.
4772 (GETFUNC_NAME): Updated to call __nss_getent ().
4773 * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
4774 (STAYOPEN_TMPVAR): Updated.
4775 (STAYOPEN_VAR): Updated.
4776 (SETFUNC_NAME): Updated to call __nss_setent ().
4777 (ENDFUNC_NAME): Updated to call __nss_endent ().
4778 (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
4780 2000-12-08 Andreas Jaeger <aj@suse.de>
4782 * nscd/dbg_log.h (dbg_log): Correct attribute.
4784 2000-12-08 Jakub Jelinek <jakub@redhat.com>
4786 * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
4787 cp + len. Compute where from dirname.
4788 Reported by <jreiser@BitWagon.com>.
4790 2000-12-08 Richard Henderson <rth@twiddle.net>
4792 * sysdeps/alpha/_mcount.S: Fix typo.
4793 * sysdeps/alpha/strncpy.S: Likewise.
4795 * sysdeps/alpha/alphaev6/Implies: New file.
4796 * sysdeps/alpha/alphaev67/Implies: New file.
4797 * sysdeps/alpha/alphaev67/ffs.S: New file.
4798 * sysdeps/alpha/alphaev67/ffsll.S: New file.
4799 * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
4800 * sysdeps/alpha/alphaev67/stpcpy.S: New file.
4801 * sysdeps/alpha/alphaev67/stpncpy.S: New file.
4802 * sysdeps/alpha/rawmemchr.S: New file.
4803 * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
4804 * sysdeps/alpha/strcpy.S: Likewise.
4807 * sysdeps/alpha/alphaev6/addmul_1.s: New file.
4809 From rick.gorton@alpha-processor.com:
4810 * sysdeps/alpha/alphaev6/memchr.S: New file.
4811 * sysdeps/alpha/alphaev6/memcpy.S: New file.
4812 * sysdeps/alpha/alphaev6/memset.S: New file.
4813 * sysdeps/alpha/alphaev6/stxcpy.S: New file.
4814 * sysdeps/alpha/alphaev6/stxncpy.S: New file.
4815 * sysdeps/alpha/alphaev67/strcat.S: New file.
4816 * sysdeps/alpha/alphaev67/strchr.S: New file.
4817 * sysdeps/alpha/alphaev67/strlen.S: New file.
4818 * sysdeps/alpha/alphaev67/strncat.S: New file.
4819 * sysdeps/alpha/htonl.S: Use a shorter sequence.
4821 2000-12-08 Jakub Jelinek <jakub@redhat.com>
4823 * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
4824 Reported by <pspencer@fields.utoronto.ca>.
4826 2000-12-07 Jes Sorensen <jes@linuxcare.com>
4828 * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
4829 Pointed out by Hans Boehm.
4831 2000-12-07 H.J. Lu <hjl@gnu.org>
4833 * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
4835 2000-12-07 Andreas Jaeger <aj@suse.de>
4837 * misc/error.c: Add format attributes for __error and __error_at_line.
4839 * nscd/dbg_log.h: Add format attribute.
4841 2000-12-08 Ulrich Drepper <drepper@redhat.com>
4843 * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
4844 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
4846 2000-12-07 Dan Pop <Dan.Pop@cern.ch>
4848 * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
4850 2000-12-06 Ulrich Drepper <drepper@redhat.com>
4852 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
4853 (sysdep_routines): Add uitrunc.
4854 * sysdeps/unix/sysv/aix/uitrunc.c: New file.
4855 Patches by Michael Keezer <mkeezer@redhat.com>.
4857 2000-12-06 Roland McGrath <roland@frob.com>
4859 * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
4860 argument data, since it will be used to copy out too (for INOUT).
4861 Reported by Marcus Brinkmann <marcus@gnu.org>.
4863 * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
4864 (__ioctl): Use uintptr_t instead of unsigned long int.
4866 2000-12-06 Jim Wilson <wilson@redhat.com>
4868 * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
4870 2000-12-06 Ulrich Drepper <drepper@redhat.com>
4872 * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
4873 x.5 rounding correctly.
4875 2000-12-06 Mark Kettenis <kettenis@gnu.org>
4877 * stdio-common/perror.c (perror): Conditionalize code dealing with
4878 wide-oriented streams on USE_IN_LIBIO.
4880 2000-12-06 Mark Kettenis <kettenis@gnu.org>
4882 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
4883 as internal_function.
4885 2000-12-05 Ulrich Drepper <drepper@redhat.com>
4887 * sysdeps/alpha/elf/start.S (__data_start): Define.
4889 2000-12-05 H.J. Lu <hjl@gnu.org>
4891 * nss/getXXent_r.c (setup): Change the return type to int.
4893 2000-12-05 Ulrich Drepper <drepper@redhat.com>
4895 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
4896 (sysdep_routines): Add restf and savef.
4897 * sysdeps/unix/sysv/aix/restf.c: New file.
4898 * sysdeps/unix/sysv/aix/savef.c: New file.
4899 Patches by Michael Keezer <mkeezer@redhat.com>.
4901 * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
4902 if O_DIRECTORY is not defined.
4903 Patch by Michael Keezer <mkeezer@redhat.com>.
4905 * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
4906 Patch by Michael Keezer <mkeezer@redhat.com>.
4908 * locale/programs/linereader.c (get_toplvl_escape): Recognize more
4909 than 4 bytes in escape sequence.
4910 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
4912 2000-12-05 Andreas Jaeger <aj@suse.de>
4914 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
4917 * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
4919 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
4921 * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
4922 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
4924 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
4926 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
4927 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
4929 * sysdeps/generic/dl-cache.c: Remove declaration of
4930 _dl_sysdep_read_whole_file.
4932 * elf/dl-load.c (_dl_map_object): Remove declaration of
4933 _dl_load_cache_lookup.
4935 * sysdeps/generic/ldsodefs.h: Add declarations of
4936 _dl_load_cache_lookup, _dl_unload_cache,
4937 _dl_sysdep_read_whole_file, _dl_sysdep_start and
4938 _dl_sysdep_start_cleanup.
4940 * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
4943 * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
4944 * sysdeps/generic/dl-environ.c: Likewise.
4946 * stdio-common/printf_fp.c: Include <gmp.h> instead of
4948 * math/atest-exp.c: Likewise.
4949 * math/atest-exp2.c: Likewise.
4950 * math/atest-sincos.c: Likewise.
4951 * stdio-common/_itoa.c: Likewise.
4952 * stdio-common/_itowa.c: Likewise.
4954 * include/gmp.h: New file with internal prototypes.
4956 * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
4958 * include/setjmp.h: ...here.
4960 * locale/Makefile (routines): Remove codeset_name since it's not
4963 * locale/codeset_name.c: Removed.
4965 2000-12-05 Ulrich Drepper <drepper@redhat.com>
4967 * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
4969 2000-12-05 Andreas Jaeger <aj@suse.de>
4971 * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
4973 2000-12-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
4975 * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
4978 2000-12-05 Andreas Jaeger <aj@suse.de>
4980 * nss/test-netdb.c: Mark local functions as static to avoid
4982 (main): Use return to silence warning.
4984 * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
4986 * stdio-common/test-popen.c: Mark local functions as static to
4988 (main): Use return to silence warning.
4990 * stdlib/testsort.c (compare): Mark as static to avoid warning.
4992 * assert/test-assert.c: Mark local functions as static to avoid
4994 * assert/test-assert-perr.c: Likewise.
4996 * math/libm-test.inc (main): Use return to silence warnings.
4998 2000-12-04 Ulrich Drepper <drepper@redhat.com>
5000 * math/fenv.h: Fix typo in comment.
5002 * math/test-misc.c (main): Add a few more over and underflow tests
5005 * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
5006 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5007 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5008 * math/w_scalb.c: Don't use matherr except in SVID mode.
5009 * math/w_scalbf.c: Likewise.
5010 * math/w_scalbl.c: Likewise.
5011 * math/test-misc.c: Add test for NaN and scalbl.
5012 Reported by Fred J. Tydeman <tydeman@tybor.com>.
5014 2000-12-04 Ulrich Drepper <drepper@redhat.com>
5016 * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
5017 * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
5018 * include/libc-symbols.h (strong_alias): Define special version
5019 for HAVE_ASM_GLOBAL_DOT_NAME.
5020 (weak_alias): Likewise.
5021 * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
5022 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
5023 (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
5024 getutxline, pututxline, and utmpxname.
5025 * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
5026 * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
5027 * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
5028 * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
5029 * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
5030 * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
5031 * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
5032 * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup. Add comments.
5033 * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
5034 Patches by Michael Keezer <mkeezer@redhat.com>.
5036 2000-12-04 H.J. Lu <hjl@gnu.org>
5038 * configure.in: Change --with-oldest-abi=ABI to
5039 --enable-oldest-abi=ABI.
5041 2000-12-02 Bruno Haible <haible@clisp.cons.org>
5043 * stdio-common/perror.c (perror): If stderr is wide-oriented, use
5044 fwprintf instead of fprintf.
5046 2000-12-04 Ulrich Drepper <drepper@redhat.com>
5048 * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
5049 DECIMAL_DIG definitions.
5050 * sysdeps/arm/fpu/bits/mathdef.h: Likewise
5051 * sysdeps/generic/bits/mathdef.h: Likewise
5052 * sysdeps/i386/fpu/bits/mathdef.h: Likewise
5053 * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
5054 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
5055 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
5056 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
5057 * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
5059 2000-12-03 Ulrich Drepper <drepper@redhat.com>
5061 * math/test-fenv.c (main): Use return instead of exit to avoid warning.
5063 * math/atest-exp.c: Mark local functions as static to avoid warnings.
5064 * math/atest-exp2.c: Likewise.
5065 * math/atest-sincos.c: Likewise.
5067 * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
5068 Reported by Fred J. Tydeman <tydeman@tybor.com>.
5070 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
5071 the handling of denormalized numbers.
5073 * math/test-misc.c (main): Test for fpclassify and pseudo denormal
5075 * sysdeps/i386/fpu/fpclassifyl.c: New file.
5077 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
5078 pseudo denormal representation of LDBL_MIN.
5080 * iconvdata/SJIS.irreversible: Remove unnecessary entries.
5081 * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
5083 * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
5084 * iconvdata/jis0208.c: Likewise.
5085 * iconvdata/jis0212.c: Likewise.
5086 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
5088 * math/test-misc.c (main): More tests for frexp and some for
5089 fpclassify and isnormal.
5091 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
5093 Reported by Fred J. Tydeman <tydeman@tybor.com>.
5095 * math/test-misc.c (main): Add tests for frexp.
5096 Reported by Fred J. Tydeman <tydeman@tybor.com>.
5097 * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
5099 2000-12-02 H.J. Lu <hjl@gnu.org>
5101 * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
5104 2000-12-02 Ulrich Drepper <drepper@redhat.com>
5106 * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
5107 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5108 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5110 * sysdeps/generic/glob.c: Adjust types of several variables to
5113 2000-12-01 Ulrich Drepper <drepper@redhat.com>
5115 * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
5117 2000-11-30 Roland McGrath <roland@frob.com>
5119 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
5120 (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
5121 allow multiple instances using the same function name in one file.
5123 2000-12-01 Ulrich Drepper <drepper@redhat.com>
5125 * configure.in: Correct test for pserver CVS access.
5127 2000-11-28 H.J. Lu <hjl@gnu.org>
5129 * libio/libio.h: Remove extra "#if ... #endif".
5131 2000-11-29 H.J. Lu <hjl@gnu.org>
5133 * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
5135 2000-12-01 H.J. Lu <hjl@gnu.org>
5137 * nss/getXXbyYY_r.c: Fix verioned symbol handling.
5138 * nss/getXXent_r.c: Likewise.
5139 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5141 2000-11-30 H.J. Lu <hjl@gnu.org>
5143 * scripts/abi-versions.awk (oldest_abi): New variable.
5144 Handle the oldest ABI supported.
5146 * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
5147 for scripts/abi-versions.awk.
5149 * configure.in: Add --with-oldest-abi=ABI.
5150 * configure: Rebuild.
5152 * config.make.in (oldest-abi): New.
5154 * config.h.in (GLIBC_OLDEST_ABI): New.
5156 * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
5158 2000-11-30 Jakub Jelinek <jakub@redhat.com>
5160 * locale/setlocale.c (setname): Free for all categories, not just
5162 (setlocale): Store a copy of string passed by user, not the string
5165 2000-11-30 Roland McGrath <roland@frob.com>
5167 * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
5168 rather than _hurd_fd_subinit, so it happens after it's safe to use
5169 libc facilities like malloc.
5171 2000-11-28 Andreas Jaeger <aj@suse.de>
5173 * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
5174 declaration, adjust declaration of __syscall_getdents to match
5177 2000-11-29 H.J. Lu <hjl@gnu.org>
5179 * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
5181 2000-11-29 Andreas Jaeger <aj@suse.de>
5183 * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
5185 2000-11-28 Ulrich Drepper <drepper@redhat.com>
5187 * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
5188 * dlfcn/defaultmod2.c: Likewise.
5189 * dlfcn/dlopen.c: Likewise.
5190 * dlfcn/dlopenold.c: Likewise.
5191 * dlfcn/failtestmod.c: Likewise.
5192 * dlfcn/glreflib1.c: Likewise.
5193 * dlfcn/glreflib2.c: Likewise.
5194 * dlfcn/eval.c: Likewise. Add attributes.
5196 * ctype/ctype-extn.c: Define isblank and not __isblank.
5198 * time/strftime.c: Add const where necessary to avoid warnings.
5199 * time/strptime.c (strptime_internal): Add casts to avoid warnings.
5201 2000-11-22 Paul Eggert <eggert@twinsun.com>
5203 * time/strftime.c (my_strftime): Do not invoke mbrlen with a
5204 size of (size_t) -1; it's not portable.
5206 2000-11-28 Ulrich Drepper <drepper@redhat.com>
5208 * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
5210 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
5212 2000-11-14 Jes Sorensen <jes@linuxcare.com>
5214 * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
5216 * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
5217 _mcount is required by profiled binaries.
5219 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
5220 * sysdeps/ia64/machine-gmon.h: ...here.
5222 2000-11-28 Masahide Washizawa <washi@jp.ibm.com>
5224 * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
5225 (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
5227 * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
5229 * iconvdata/ibm922.c: New file.
5230 * iconvdata/ibm922.h: New file.
5231 * iconvdata/ibm1124.c: New file.
5232 * iconvdata/ibm1124.h: New file.
5233 * iconvdata/ibm1129.c: New file.
5234 * iconvdata/ibm1129.h: New file.
5235 * iconvdata/testdata/IBM922: New file.
5236 * iconvdata/testdata/IBM922..UTF8: New file.
5237 * iconvdata/testdata/IBM1124: New file.
5238 * iconvdata/testdata/IBM1124..UTF8: New file.
5239 * iconvdata/testdata/IBM1129: New file.
5240 * iconvdata/testdata/IBM1129..UTF8: New file.
5242 2000-11-28 Ulrich Drepper <drepper@redhat.com>
5244 * catgets/gencat.c (normalize_line): Take extra parameter with escape
5245 character. Change callers.
5246 (open_conversion): Determine mapping of 0x5c as wchar_t value.
5247 * catgets/Makefile: Add rules to build and run test-gencat.
5248 * catgets/sample.SJIS: New file.
5249 * catgets/test-gencat.c: New file.
5250 * catgets/test-gencat.sh: New file.
5251 Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
5253 2000-11-28 Andreas Jaeger <aj@suse.de>
5255 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
5258 2000-11-28 Ulrich Drepper <drepper@redhat.com>
5260 * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
5262 2000-11-28 Andreas Jaeger <aj@suse.de>
5264 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
5266 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
5269 2000-11-27 Ulrich Drepper <drepper@redhat.com>
5271 * misc/getusershell.c: Make strings in okshells array const.
5272 * misc/regexp.c: Add const to cast to avoid warnings.
5273 * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
5274 * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
5276 * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
5278 * misc/error.c: Add prototypes for __error and __error_at_line.
5279 * misc/mntent_r.c (__getmntent_r): Add break at end of switch
5280 statement to avoid warning.
5281 * test-skeleton.c: Mark timeout_handler with noreturn.
5282 * iconv/skeleton.c (get16u): Add const to cast.
5284 * iconvdata/gb18030.c: Likewise.
5285 * iconvdata/iso-2022-cn-ext.c: Likewise.
5286 * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
5287 * iconvdata/big5.c: Likewise.
5288 * iconvdata/big5hkscs.c: Likewise.
5289 * iconvdata/iso_6937.c: Likewise.
5290 * iconvdata/iso_6937-2.c: Likewise.
5291 * iconvdata/t.61.c: Likewise.
5292 * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
5293 * iconvdata/unicode.c: Likewise.
5294 * iconvdata/utf-16.c: Likewise.
5295 * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
5296 * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
5297 with little code shuffling.
5299 * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
5300 the problems introduced when the user selects -O3.
5302 * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
5303 * misc/sys/cdefs.h: Define __flexarr.
5304 Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
5306 * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
5307 * iconv/skeleton.c: Likewise.
5308 * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
5309 * iconv/loop.c (get16): Add const to cast.
5312 2000-11-27 Andreas Jaeger <aj@suse.de>
5314 * login/programs/pt_chown.c (do_pt_chown): Mark function as static
5316 * login/programs/utmpdump.c (print_entry): Likewise.
5318 2000-11-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
5320 * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
5321 in a single asm as they may be used to access other stored
5323 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
5325 2000-11-27 Andreas Jaeger <aj@suse.de>
5327 * rt/tst-aio.c: Mark test functions as static to avoid warnings.
5328 * rt/tst-aio64.c: Likewise.
5330 2000-11-27 Ulrich Drepper <drepper@redhat.com>
5332 * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
5334 (libc.cat): Likewise.
5335 * catgets/gencat.c: Implement handling of message catalogs encoded
5336 with stateful character sets.
5337 Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
5339 2000-11-26 Ulrich Drepper <drepper@redhat.com>
5341 * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
5343 * inet/getnameinfo.c: Adjust casts to avoid warnings.
5344 * inet/rcmd.c: Likewise.
5345 * inet/ruserpass.c: Likewise.
5346 * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
5347 IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
5348 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
5349 IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
5350 IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
5351 IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
5352 * include/aliases.h: Add prototypes for internal __getalias* functions.
5353 * include/netdb.h: Add prototypes for __old_gethostent_r,
5354 __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
5355 __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
5356 __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
5357 __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
5358 * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
5359 __old_getrpcbynumber_r, __old_getrpcent_r.
5361 * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
5362 __getrpcent_r prototypes.
5364 2000-11-25 Ulrich Drepper <drepper@redhat.com>
5366 * string/strcoll.c: Add casts to avoid warnings.
5367 * string/strnlen.c: Likewise.
5368 * string/strxfrm.c: Likewise.
5369 * sysdeps/generic/_strerror.c: Likewise.
5370 * sysdeps/generic/memrchr.c: Likewise.
5371 * sysdeps/generic/strcasestr.c: Likewise.
5372 * sysdeps/generic/strstr.c: Likewise.
5374 * locale/weight.h (findidx): Add const to cast to avoid warning.
5376 * elf/loadfail.c: Little cosmetic changes to avoid warnings.
5377 * elf/loadtest.c: Likewise.
5378 * elf/multiload.c: Likewise.
5379 * elf/next.c: Likewise.
5380 * elf/nodelete.c: Likewise.
5381 * elf/noload.c: Likewise.
5382 * elf/order.c: Likewise.
5383 * elf/origtest.c: Likewise.
5384 * elf/preloadtest.c: Likewise.
5385 * elf/restest1.c: Likewise.
5387 * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
5388 parameter of asm must be in %ecx.
5390 * string/tester.c: Mark test functions as static to avoid warnings.
5392 * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
5393 preserve value over different gconv-modules files.
5395 2000-11-24 Ulrich Drepper <drepper@redhat.com>
5397 * locale/findlocale.c: Add casts to avoid warnings.
5398 * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
5399 * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
5401 * misc/tsearch.c (const_node): New type.
5402 (trecurse): Correct casts to avoid warnings.
5403 (__twalk): Likewise.
5404 * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
5407 * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
5409 * test-skeleton.c: Mark local functions as static to avoid warnings.
5411 2000-11-23 H.J. Lu <hjl@gnu.org>
5413 * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
5414 support the background job.
5417 2000-11-24 Ulrich Drepper <drepper@redhat.com>
5419 * iconv/gconv_conf.c (insert_module): Replace old entry if new one
5420 has same names but lower cost.
5422 2000-11-23 Jakub Jelinek <jakub@redhat.com>
5424 * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
5425 which never occur during bootstrap.
5426 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5428 2000-11-23 Andreas Jaeger <aj@suse.de>
5430 * nss/nss_files/files-hosts.c: Remove getipnodebyname.
5432 * nss/Versions: Remove _nss_files_getipnodebyname_r.
5434 * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
5436 2000-11-18 Martin Buchholz <martin@xemacs.org>
5438 * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
5441 2000-11-21 Alan Modra <alan@linuxcare.com.au>
5443 * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
5445 * csu/abi-note.S: Correct comment for operating system number.
5447 2000-11-22 Ulrich Drepper <drepper@redhat.com>
5449 * Versions.def: Add GLIBC_2.2.1 for glibc.
5451 2000-11-22 Andreas Schwab <schwab@suse.de>
5453 * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
5454 * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
5456 2000-11-22 Ulrich Drepper <drepper@redhat.com>
5458 * rt/aio_suspend.c (aio_suspend): Convert timeout value to
5459 absolute time for pthread_cond_timedwait call.
5460 Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
5462 * rt/Makefile (tests): Add tst-aio6.
5463 * rt/tst-aio6.c: New file.
5465 2000-11-23 Andreas Jaeger <aj@suse.de>
5467 * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
5469 2000-11-22 Andreas Jaeger <aj@suse.de>
5471 * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
5473 2000-11-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
5475 * sysdeps/s390/bits/string.h: Make strncat always add a \0.
5477 2000-11-21 Andreas Schwab <schwab@suse.de>
5479 * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
5480 * sysdeps/arm/setjmp.S: Likewise.
5481 * sysdeps/arm/fpu/setjmp.S: Likewise.
5482 * sysdeps/i386/setjmp.S: Likewise.
5483 * sysdeps/i386/elf/setjmp.S: Likewise.
5484 * sysdeps/s390/setjmp.S: Likewise.
5485 * sysdeps/s390/elf/setjmp.S: Likewise.
5486 * sysdeps/sh/sh3/setjmp.S: Likewise.
5487 * sysdeps/sh/sh4/setjmp.S: Likewise.
5488 * sysdeps/sparc/sparc32/setjmp.S: Likewise.
5489 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
5490 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
5491 * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
5493 2000-11-21 Andreas Jaeger <aj@suse.de>
5495 * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
5496 NORETURN, fix parameter list.
5498 * string/bug-strncat1.c (main): Fix typo.
5499 Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
5501 2000-11-20 Ulrich Drepper <drepper@redhat.com>
5503 * configure.in: Add --enable-all-warnings.
5504 * config.make.in (all-warnings): New variable.
5505 * Makeconfig (+gccwarn): Define with many more warnings if
5506 all-warnings is yes.
5508 2000-11-20 Jakub Jelinek <jakub@redhat.com>
5510 * iconvdata/bug-iconv2.c (main): Use %zd in format string.
5511 * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
5512 * malloc/tst-valloc.c (main): Cast valloc return value to long.
5513 * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
5514 * math/test-fpucw.c (main): Use %lx in format string, cast
5515 control words to long.
5516 * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
5517 * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
5518 large that it is unsigned warning.
5520 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
5521 it to long on sparc64.
5523 2000-11-20 Andreas Jaeger <aj@suse.de>
5525 * nscd/nscd.h (termination_handler): Add noreturn attribute.
5526 (receiv_print_stats): Likewise.
5528 * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
5530 2000-11-20 Ulrich Drepper <drepper@redhat.com>
5532 * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
5534 * csu/gmon-start.c: Always have prototype for __gmon_start.
5535 * csu/version.c: Add prototypes for __libc_print_version and
5537 * iconv/gconv.c: Include gconv_int.h and gconv.h.
5538 * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
5540 * iconv/gconv_builtin.h: Add ASCII module definitions.
5541 * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
5542 (add_module): Add cast to avoid warning. Rework construction of
5543 strings for new module.
5544 * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
5545 (derivation_compare): Likewise.
5546 * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
5547 (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
5548 * iconv/gconv_int.h (__gconv_path_elem): Remove const.
5549 (struct gconv_alias): Remove const from fromname and toname.
5550 * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
5552 (internal_ucs4_loop): Use correct const-ness.
5553 (ucs4_internal_loop): Likewise.
5554 (internal_ucs4le_loop): Likewise.
5555 (ucs4le_internal_loop_single): Likewise.
5556 * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
5557 to_idx, to_tbl, winbuf, winbufend const. Change casts in
5558 assignments appropriately.
5559 (struct known_trans): Remove const from fname.
5560 (trans_compare): Make s1 and s2 const.
5561 * iconv/loop.c (LOOPFC): Make outend parameter const. Add cast to
5563 * iconv/skeleton.c: Remove cast in calls of loop functions.
5564 * iconvdata/gconv-modules: Remove US-ASCII definitions.
5565 * iconvdata/iso646.c: Remove US_ASCII support.
5566 * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
5567 * include/unistd.h: Add __libc_check_standard_fds prototype.
5568 * string/bits/string2.h (__mempcpy_args): Add const to casts.
5569 * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
5571 * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
5572 * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
5573 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
5575 * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
5576 __libc_init_first and _dl_start.
5577 * intl/dcigettext.c (transcmp): Make s1 and s2 const.
5578 (DCIGETTEXT): Make domaindata variable const.
5579 * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
5582 2000-11-20 Hiroyuki Machida <machida@sm.sony.co.jp>
5584 * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
5586 * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
5587 time_t to 'long int' not, 'unsigned int'. Use 'long int' for
5590 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
5591 value defined in /usr/include/asm-mips/fcntl.h.
5593 2000-11-18 Ulrich Drepper <drepper@redhat.com>
5595 * stdio-common/Makefile (tests): Add test-vfprintf.
5596 (test-vfprintf-ENV): New variable.
5597 * stdio-common/test-vfprintf.c: New file.
5599 * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
5601 * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
5602 (tst-mbrtowc-ENV): New variable.
5603 (tst-wcrtomb-ENV): New variable.
5604 * wcsmbs/tst-mbrtowc.c: New file.
5605 * wcsmbs/tst-wcrtomb.c: New file.
5607 2000-11-16 Andreas Jaeger <aj@suse.de>
5609 * manual/install.texi (Tools for Compilation): Update
5610 documentation for GCC 2.95.2.
5612 2000-11-18 Ulrich Drepper <drepper@redhat.com>
5614 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
5615 if IPv4 and IPv6 requests timed out.
5617 2000-11-18 Akim Demaille <akim@epita.fr>
5619 * malloc/obstack.h: Formatting changes.
5620 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
5621 prevents type checking.
5622 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
5623 cast the value to (void *): assigning a `foo *' to a `void *'
5625 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
5627 2000-11-17 Ulrich Drepper <drepper@redhat.com>
5629 * scripts/config.guess: Update from upstream maintainer.
5630 * scripts/config.sub: Likewise.
5632 2000-11-16 Ulrich Drepper <drepper@redhat.com>
5634 * libio/freopen.c (freopen): Reset _mode after succesful reopening.
5635 * libio/freopen64.c (freopen64): Likewise.
5636 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
5638 * libio/Makefile: Add rules to build and run test-freopen.
5639 * libio/test-freopen.c: New file.
5640 * libio/test-freopen.sh: New file.
5642 2000-11-15 H.J. Lu <hjl@gnu.org>
5644 * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
5645 ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
5646 (DL_DT_FINI_ADDRESS): Likewise.
5648 * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
5649 return type to ElfW(Addr).
5650 (_dl_function_address): New prototype.
5651 (DL_FUNCTION_ADDRESS): Defined.
5652 (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
5653 (DL_DT_FINI_ADDRESS): Likewise.
5655 * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
5657 * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
5658 (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
5660 * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
5661 (_dl_function_address): This.
5663 * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
5664 function pointer for DT_FINI.
5665 * elf/dl-close.c (_dl_close): Likewise.
5667 * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
5668 function pointer for DT_INIT.
5670 2000-11-16 Jakub Jelinek <jakub@redhat.com>
5672 * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
5673 end of wexpbuf buffer.
5675 2000-11-16 Andreas Jaeger <aj@suse.de>
5677 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
5678 definition of F_GETLK, F_SETLK, F_SETLKW.
5680 2000-11-16 Andreas Jaeger <aj@suse.de>
5682 * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
5685 2000-11-15 Jakub Jelinek <jakub@redhat.com>
5687 * dlfcn/default.c (main): Add test for dladdr of main returning
5688 argv[0] in dli_fname field.
5690 2000-11-15 Jakub Jelinek <jakub@redhat.com>
5692 * Makeconfig (run-program-prefix): Move test-static test into the
5695 * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
5696 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
5697 schedule instructions.
5698 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
5699 schedule instructions, fix a bug in copying auxiliary data.
5701 2000-11-15 Ulrich Drepper <drepper@redhat.com>
5703 * manual/startup.texi (Program Arguments): Fix type of main's envp
5705 Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
5707 * iconvdata/gconv-modules: Add CP950 alias.
5709 2000-11-13 Jakub Jelinek <jakub@redhat.com>
5711 * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
5712 syscall-list.h goal.
5713 * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
5715 2000-11-15 Ulrich Drepper <drepper@redhat.com>
5717 * intl/Makefile: tst-gettext2.sh does not need a third parameter.
5719 * intl/tst-gettext2.sh: Copy locale data. Adjust LOCPATH. Verify
5722 * intl/tst-gettext2.c: Set C locale if setting other locale
5723 failed. Use gettext() not _().
5725 * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
5726 successfully loaded a new locale.
5728 2000-11-13 Andreas Jaeger <aj@suse.de>
5730 * configure.in: Require gcc 2.95 or newer.
5732 2000-11-15 Ulrich Drepper <drepper@redhat.com>
5734 * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
5735 Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
5737 2000-11-11 Jim Meyering <meyering@lucent.com>
5739 * string/strndup.c (strndup): Cast return value to `char *'.
5741 2000-11-15 Jim Meyering <meyering@ascend.com>
5743 * sysdeps/generic/memchr.c: Remove some useless parentheses.
5744 [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
5745 [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
5746 [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
5747 Also #undef __memchr.
5748 Use `weak_alias' only if it's defined.
5750 2000-11-10 H.J. Lu <hjl@gnu.org>
5752 * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
5754 2000-11-15 Andreas Jaeger <aj@suse.de>
5756 * elf/chroot_canon.c: Include <stdint.h>.
5758 * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
5759 (print_entry): Likewise.
5760 (add_to_cache): Likewise.
5762 * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
5764 * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
5765 (path_hwcap): Likewise.
5766 (search_dir): Likewise.
5768 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
5770 * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
5772 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
5773 (_dl_platform_string): New.
5774 (_DL_HWCAP_PLATFORM): New.
5775 (_dl_string_platform): New.
5776 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
5778 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
5779 (_dl_string_platform): New.
5780 (_DL_HWCAP_PLATFORM): New.
5781 (_dl_platform_string): New.
5783 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
5785 (_DL_HWCAP_COUNT): New.
5786 (_dl_string_platform): New.
5787 (_DL_HWCAP_PLATFORM): New.
5788 (_dl_platform_string): New.
5790 2000-11-14 Ulrich Drepper <drepper@redhat.com>
5792 * iconvdata/gconv-modules: Add CP936 as alias for GBK.
5794 2000-11-14 Andreas Jaeger <aj@suse.de>
5796 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
5798 2000-11-13 Roland McGrath <roland@frob.com>
5800 * hurd/get-host.c (_hurd_get_host_config): Fix last change.
5802 2000-11-13 Marcus Brinkmann <marcus@gnu.org>
5804 * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
5805 underrun and make sure the result is null terminated even if there
5806 is no trailing newline.
5808 2000-11-13 Jakub Jelinek <jakub@redhat.com>
5810 * sysdeps/alpha/fpu/libm-test-ulps: Update.
5812 2000-11-10 H.J. Lu <hjl@gnu.org>
5814 * sysdeps/ia64/fpu/libm-test-ulps: Updated.
5816 2000-11-10 Andreas Jaeger <aj@suse.de>
5818 * elf/ldconfig.c (create_links): Fix alloca calculation.
5819 Patch by Ben Collins <bcollins@debian.org>.
5821 2000-11-09 Ulrich Drepper <drepper@redhat.com>
5823 * inet/getnameinfo.c (getnameinfo): Use correct destination
5824 parameter for if_indextoname.
5825 Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
5827 2000-11-09 H.J. Lu <hjl@gnu.org>
5829 * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
5830 xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
5831 xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
5834 * time/Versions (GLIBC_2.1): Move getitimer to...
5835 * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
5837 2000-11-03 Bruno Haible <haible@clisp.cons.org>
5839 * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
5840 "make install", to work around a binary incompatibility between
5841 glibc 2.1 and glibc 2.2 gconv modules.
5843 2000-11-09 Ulrich Drepper <drepper@redhat.com>
5845 * intl/locale.alias: Add thai.
5846 Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
5848 2000-11-07 Akim Demaille <akim@epita.fr>
5850 * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
5851 argument `data' for consistency with the prototypes.
5853 (obstack_copy, obstack_copy0): Rename the second argument as
5854 `address' for consistency. Qualify it `const'.
5855 * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
5856 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
5857 `const' their input argument (`data' or `address').
5858 Adjust the corresponding macros to include `const' in casts.
5860 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
5862 * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
5865 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
5867 * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
5870 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
5872 * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
5873 ai_protocol by internal table if service was not given.
5875 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
5877 * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
5878 numerical port was specified with protocol without socktype.
5880 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
5882 * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
5884 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
5886 * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
5888 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
5890 * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
5891 sin6_scope_id field.
5893 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
5895 * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
5897 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
5899 * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
5901 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
5903 * inet/getnameinfo.c: Wake-up sin6_scope_id support in
5904 getnameinfo(): check for whether sin6_socpe_id exist was wrong.
5906 2000-11-09 Martin Schwidefsky <mschwide@nc.boeblingen.de.ibm.com>
5908 * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
5909 * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
5911 2000-11-09 H.J. Lu <hjl@gnu.org>
5913 * io/Versions (GLIBC_2.1.1): Remove lockf64.
5916 See ChangeLog.11 for earlier changes.