1 2001-03-30 Andreas Jaeger <aj@suse.de>
3 * sysdeps/alpha/ldiv.S (ldiv): Add alias for imaxdiv.
5 2001-03-29 Ulrich Drepper <drepper@redhat.com>
7 * posix/regex.c: Remove unnecessary ifs.
9 * math/bits/mathcalls.h: Remove infnan declaration.
11 2001-03-29 H.J. Lu <hjl@gnu.org>
13 * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF,
14 and LOW_HALF only if _LIBC is defined and _ISOMAC is not defined.
15 * stdlib/isomac.c (fmt): Define _LIBC and _ISOMAC.
17 2001-03-29 Isamu Hasegawa <isamu@yamato.ibm.com>
19 * posix/regex.c: Fix typo and add a sentinel.
21 2001-03-29 Ulrich Drepper <drepper@redhat.com>
23 * sysdeps/unix/sysv/linux/shm_open.c: Open new file always with
24 O_NOFOLLOW. Suggested by Christoph Roland.
26 2001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
28 * sysdeps/s390/bits/string.h: New unified 31/64 bit string.h.
29 * sysdeps/s390/s390-32/bits/string.h: Remove.
30 * sysdeps/s390/s390-64/bits/string.h: Remove.
31 * sysdeps/s390/s390-32/strcmp.S: New file.
32 * sysdeps/s390/s390-64/strcmp.S: New file.
34 2001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
36 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix typo.
37 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
39 2001-03-27 Ulrich Drepper <drepper@redhat.com>
41 * version.h (VERSION): Bump to 2.2.3.
43 * stdlib/isomac.c (fmt): Don't define _LIBC.
44 * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF, and
45 LOW_HALF only if _LIBC is defined.
47 * sysdeps/i386/fpu/libm-test-ulps: Slight adjustment of yn() error.
49 * posix/fnmatch_loop.c (FCT): Handle !() after * special like @()
51 * posix/tst-fnmatch.input: Add test cases for matching empty strings.
53 * sysdeps/ieee754/dbl-64/endian.h: Removed. Move definitions...
54 * include/endian.h: ...to here.
56 2001-03-27 kaz Kojima <kkojima@rr.iij4u.or.jp>
58 * sysdeps/sh/sys/ucontext.h (NFREG): Rename to NFPREG.
59 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NFREG): Likewise.
61 2001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
63 * sysdeps/unix/sysv/linux/s390/ldconfig.h: Fix typo.
65 2001-03-26 Ulrich Drepper <drepper@redhat.com>
67 * sysdeps/ia64/fpu/Dist: Add new files to distribute.
68 * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Likewise.
69 * sysdeps/unix/sysv/linux/ia64/Dist: Likewise.
71 * gmon/Makefile (headers): Add sys/profil.h.
73 2001-03-18 Andreas Jaeger <aj@suse.de>
75 * manual/install.texi (Tools for Compilation): Advise to use GCC
77 (Supported Configurations): Mention s390x.
79 2001-03-26 Ben Collins <bcollins@debian.org>
81 * sysdeps/unix/sysv/linux/mips/bits/mman.h: Add MAP_* and MADV_*
82 defines to match other architectures.
84 2001-03-26 Ulrich Drepper <drepper@redhat.com>
86 * libio/Makefile (tests): Add tst-ext.
87 * libio/tst-ext.c: New file.
89 * libio/iosetvbuf.c (_IO_setvbuf): Clear line buffer flag for _IONBF.
91 2001-03-25 Ulrich Drepper <drepper@redhat.com>
93 Add changes which were in this form in the original patch by
94 Eric Norum <eric.norum@usask.ca>.
95 * include/rpc/rpc.h: Remove svc_fdset, rpc_createerr, svc_pollfd, and
97 * sunrpc/rpc/rpc.h: Declare __rpc_thread_svc_fdset,
98 __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
99 __rpc_thread_svc_max_pollfd.
100 Define svc_fdset, get_rpc_createerr, svc_pollfd, and
102 * sunrpc/rpc_thread.c: Handle first thread special, it uses the
104 Define __rpc_thread_svc_fdset, __rpc_thread_createerr,
105 __rpc_thread_svc_pollfd, and __rpc_thread_svc_max_pollfd.
106 * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_svc_fdset,
107 __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
108 __rpc_thread_svc_max_pollfd.
109 * sunrpc/clnt_gen.c: Replace use of rpc_createerr by call to
111 * sunrpc/clnt_perr.c: Likewise.
112 * sunrpc/clnt_simp.c: Likewise.
113 * sunrpc/clnt_tcp.c: Likewise.
114 * sunrpc/clnt_udp.c: Likewise.
115 * sunrpc/clnt_unix.c: Likewise.
116 * sunrpc/pm_getport.c: Likewise.
118 * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): getgroups32
119 syscall checks for negative n so don't test here as well.
121 2001-03-23 Jes Sorensen <jes@linuxcare.com>
123 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Moved to ...
124 * sysdeps/ia64/sysdep.h: ...here.
126 * sysdeps/ia64/sysdep.h (LOCAL_ENTRY): Define.
127 * sysdeps/ia64/sysdep.h (LOCAL_LEAF): Define.
129 * sysdeps/ia64/_mcount.S (_mcount_ret_helper): Use LOCAL_LEAF() to
130 declare instead of LEAF(). Suggestion from David Mosberger.
132 2001-03-21 David Mosberger <davidm@hpl.hp.com>
134 * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Add unwind
136 (PSEUDO): Drop .psr and .lsb directives.
138 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Ditto. Add unwind
140 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Ditto.
142 * sysdeps/ia64/elf/start.S: Misc cleanup: remove .psr and .lsb
144 * sysdeps/unix/sysv/linux/ia64/brk.S: Ditto.
145 * sysdeps/unix/sysv/linux/ia64/__longjmp.S: Ditto.
146 * sysdeps/ia64/_mcount.S: Remove .psr and .lsb directives (no
147 longer needed). Add unwind directives.
149 * sysdeps/ia64/sysdep.h: Define ASM_UNW_PRLG_RP, ASM_UNW_PRLG_PFS,
150 ASM_UNW_PRLG_PSP, ASM_UNW_PRLG_PR, and ASM_UNW_PRLG_GRSAVE.
152 2001-03-21 Paul Eggert <eggert@twinsun.com>
154 * posix/regex.h (RE_INVALID_INTERVAL_ORD): New macro.
155 (RE_SYNTAX_POSIX_EGREP): Use it.
156 * posix/regex.c (regex_compile): Implement it.
158 2001-03-21 Paul Eggert <eggert@twinsun.com>
160 * posix/regex.c (GET_UNSIGNED_NUMBER): Check for overflow.
161 Rewrite to avoid duplicate code.
163 2001-03-21 H.J. Lu <hjl@gnu.org>
165 * elf/Makefile (tests): Don't depend on $(objpfx)tst-pathopt.out
167 ($(objpfx)tst-pathopt.out): Undo the last change.
169 2001-03-24 Mark Kettenis <kettenis@gnu.org>
171 * sysdeps/mach/hurd/i386/bits/sigcontext.h (sc_sp, sc_fp, sc_pc,
172 sc_ps): Define as aliases for sc_uesp, sc_ebl, sc_eip and sc_efl.
174 * sysdeps/mach/hurd/i386/init-first.c: Include <assert.h>.
176 (init) [SHARED]: Readjust _dl_argv if we switched to a new stack.
178 2001-03-22 Andreas Jaeger <aj@suse.de>
180 * iconvdata/Makefile (generated): Add iconv-test.xxx.
182 * posix/Makefile (generated): Add bug-regex2.mtrace and
185 2001-03-21 Ulrich Drepper <drepper@redhat.com>
187 * csu/version.c (__gnu_get_libc_release): Add prototype.
188 (__gnu_get_libc_version): Likewise.
189 * include/gnu/libc-version.h: Remove prototypes for not exported
192 2001-03-21 Jes Sorensen <jes@linuxcare.com>
194 * sysdeps/unix/sysv/linux/ia64/makecontext.c: Include libintl.h
195 for internationalized printfs to work.
197 2001-03-09 Bruno Haible <haible@clisp.cons.org>
199 * intl/dcigettext.c (transmem_block_t): Change to unsigned char, to
200 avoid compiler warning.
201 (_nl_find_msg): Add casts to avoid compiler warnings.
203 2001-03-21 Ulrich Drepper <drepper@redhat.com>
205 * gmon/Makefile (routines): Add sprofil.
206 (tests): Add tst-sprofil.
207 (noprof): Add sprofil.
208 * gmon/Versions [libc] (GLIBC_2.2.3): Add sprofil.
210 2001-03-20 David Mosberger <davidm@hpl.hp.com>
212 * sysdeps/generic/sprofil.c: New file.
213 * sysdeps/posix/sprofil.c: New file.
214 * gmon/tst-sprofil.c: New file.
215 * gmon/sys/profil.h: New file.
217 2001-03-20 Andreas Schwab <schwab@suse.de>
219 * include/unistd.h: Adjust prototype of __gethostname.
221 2001-03-20 Jakub Jelinek <jakub@redhat.com>
223 * sysdeps/sparc/stackinfo.h: New file.
225 2001-03-21 Andreas Jaeger <aj@suse.de>
227 * elf/global.c (main): Use proper prototype.
229 2001-03-20 Ulrich Drepper <drepper@redhat.com>
231 * sunrpc/Makefile (routines): Add rpc_thread.
232 (CPPFLAGS): Add -D_RPC_THREAD_SAFE.
233 * sunrpc/rpc_thread.c: New file.
234 * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_destroy.
235 * sunrpc/auth_none.c: Don't use global variables. Access state in
236 thread-local storage.
237 * sunrpc/clnt_perr.c: Likewise.
238 * sunrpc/clnt_raw.c: Likewise.
239 * sunrpc/clnt_simp.c: Likewise.
240 * sunrpc/key_call.c: Likewise.
241 * sunrpc/rpc_common.c: Likewise.
242 * sunrpc/svc.c: Likewise.
243 * sunrpc/svc_raw.c: Likewise.
244 * sunrpc/svc_simple.c: Likewise.
245 * sunrpc/svcauth_des.c: Likewise.
246 * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
247 _HURD_THREADVAR_RPC_VARS.
248 * sysdeps/generic/bits/libc-tsd.h: Mention _LIBC_TSD_KEY_RPC_VARS.
249 * include/rpc/rpc.h: Define data structures for internal thread-local
251 Based on patches by Eric Norum <eric.norum@usask.ca>.
253 * elf/dl-load.c: Various little optimizations.
255 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Return
256 LINUX_LINK_MAX only if the statfs function is not implemented for
259 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Return
260 LINUX_LINK_MAX only if the fstatfs function is not implemented for
263 2001-03-19 Ulrich Drepper <drepper@redhat.com>
265 * elf/dl-dst.h (DL_DST_COUNT): Add __builtin_expect.
267 * elf/dl-load.c (_dl_dst_count): Make DST recognition more robust.
268 (_dl_dst_substitute): Likewise.
270 2001-03-17 Bruno Haible <haible@clisp.cons.org>
272 * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC]: Use fstat, not fstat64.
274 2001-03-17 Bruno Haible <haible@clisp.cons.org>
276 * intl/gettextP.h (struct expression): Add operators lnot, less_than,
277 greater_than, less_or_equal, greater_or_equal. Replace args2/args3
278 union by a 'nargs' counter and an 'args[]' array.
279 * intl/plural.y: Don't include stdarg.h.
280 (new_exp): Take an array of arguments instead of varargs.
281 (new_exp_0, new_exp_1, new_exp_2, new_exp_3): New functions.
282 ('?' ':'): Make right-associative.
283 (EQUOP2): New token, replaces '=' and '!'.
285 (ADDOP2): New token, replaces '+' and '-'.
286 (MULOP2): New token, replaces '*', '/' and '%'.
288 (exp): Add rules for CMPOP2 and '!'. Don't call YYABORT.
289 (start): Call YYABORT here.
290 (FREE_EXPRESSION): Update.
291 (yylex): Don't skip "\\n". Recognize comparison and '!' operators.
292 Update for new token symbols.
293 * intl/loadmsgcat.c (plvar, plone, germanic_plural,
294 init_germanic_plural): Update.
295 * intl/dcigettext.c (_nl_find_msg): Optimize for space.
296 (plural_eval): Recognize comparison and '!' operators. Optimize for
299 2001-03-10 Bruno Haible <haible@clisp.cons.org>
301 * intl/loadmsgcat.c (_nl_load_domain): locale_charset() doesn't return
304 2001-01-05 Bruno Haible <haible@clisp.cons.org>
306 * intl/loadmsgcat.c: Include headers needed for alloca().
308 (_nl_load_domain): Add fallback code for platforms lacking alloca.
309 * intl/localealias.c: (ADD_BLOCK, FREE_BLOCK): Remove macros.
311 (read_alias_file): Simplify fallback code for platforms lacking
314 2001-01-07 Bruno Haible <haible@clisp.cons.org>
316 * intl/gettextP.h (__gettextdebug): Remove declaration.
317 (__gettext_free_exp, __gettextparse): Convert prototype to K&R C
319 (gettext_free_exp__, gettextparse__): New non-libc declarations.
320 * intl/plural.y [!_LIBC]: Define gettextparse__, gettext_free_exp__,
321 not __gettextparse, __gettext_free_exp.
322 * intl/loadmsgcat.c [!_LIBC]: Use gettextparse__, not __gettextparse.
324 2001-02-24 Bruno Haible <haible@clisp.cons.org>
326 * intl/dcigettext.c: Update comment about HAVE_LOCALE_NULL.
328 2001-01-05 Bruno Haible <haible@clisp.cons.org>
330 * intl/loadmsgcat.c (_nl_load_domain): Add fallback code for platforms
331 lacking strtoul, like SunOS4.
333 2001-01-05 Bruno Haible <haible@clisp.cons.org>
335 * intl/l10nflist.c (_nl_normalize_codeset): Use tolower, not _tolower.
337 2001-01-05 Bruno Haible <haible@clisp.cons.org>
339 * intl/bindtextdom.c (set_binding_values): Convert prototype to K&R C
341 * intl/dcigettext.c (transcmp): Convert to K&R C syntax.
342 * intl/explodename.c (_nl_find_language): Convert to K&R C syntax.
343 * intl/plural.y (__gettext_free_exp, yylex, yyerror): Convert to K&R C
346 2001-01-07 Bruno Haible <haible@clisp.cons.org>
348 * intl/gettextP.h (gettext__, dgettext__, dcgettext__, textdomain__,
349 bindtextdomain__, bind_textdomain_codeset__): New declarations, from
351 * intl/bindtextdom.c: Include libgnuintl.h instead of libgettext.h.
352 * intl/dcgettext.c: Likewise.
353 * intl/dcigettext.c: Likewise.
354 * intl/dcngettext.c: Likewise.
355 * intl/dngettext.c: Likewise.
356 * intl/finddomain.c: Likewise.
357 * intl/ngettext.c: Likewise.
358 * intl/textdomain.c: Likewise.
359 * intl/dgettext.c: Include libgnuintl.h instead of libgettext.h.
361 * intl/gettext.c: Likewise. Don't include locale.h.
363 2001-03-17 Bruno Haible <haible@clisp.cons.org>
365 * intl/gettextP.h (ZERO): New macro.
366 (struct binding): Always use ZERO.
367 * intl/bindtextdom.c (offsetof): Provide fallback for platforms that
368 lack it, like SunOS4.
369 (set_binding_values): Use offsetof, not sizeof.
370 * intl/dcigettext.c (offsetof): Provide fallback for platforms that
371 lack it, like SunOS4.
372 (ZERO): Remove macro.
373 (struct transmem_list): Use ZERO.
374 (DCIGETTEXT): Use offsetof, not sizeof.
376 2001-03-17 Bruno Haible <haible@clisp.cons.org>
378 * intl/gettextP.h: Include <stddef.h>. Include gettext.h, for
380 * intl/bindtextdom.c: Don't include gettext.h.
381 * intl/dcgettext.c: Likewise.
382 * intl/dcigettext.c: Likewise.
383 * intl/dcngettext.c: Likewise.
384 * intl/dngettext.c: Likewise.
385 * intl/finddomain.c: Likewise.
386 * intl/localealias.c: Likewise.
387 * intl/ngettext.c: Likewise.
388 * intl/plural.y: Likewise.
389 * intl/textdomain.c: Likewise.
391 2001-03-17 Bruno Haible <haible@clisp.cons.org>
393 * intl/gettext.h: Don't include <stdio.h>.
395 2001-03-17 Bruno Haible <haible@clisp.cons.org>
397 * intl/Makefile (CPPFLAGS): Set LOCALEDIR instead of GNULOCALEDIR.
398 * intl/dcigettext.c (_nl_default_dirname): Initialize with LOCALEDIR.
400 2001-03-19 Ulrich Drepper <drepper@redhat.com>
402 * sysdeps/unix/i386/i686/tempname.c: New file.
404 * sysdeps/posix/tempname.c (__gen_tempname): If RANDOM_BITS is
405 defined use this macro to get some bits of randomness instead of
406 the usual gettimeofday or time calls.
408 2001-03-16 Paul Eggert <eggert@twinsun.com>
410 * sysdeps/posix/tempname.c (uint64_t): Define to uintmax_t if
411 not defined, and if UINT64_MAX is not defined.
413 2001-03-19 Ulrich Drepper <drepper@redhat.com>
415 * elf/cache.c: Mark and have translated a few more messages.
417 2001-03-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
419 * elf/cache.c: Add case for FLAG_S390_LIB64.
420 * sysdeps/generic/ldconfig.h: Add define for FLAG_S390_LIB64.
421 * sysdeps/unix/sysv/linux/s390/ldconfig.h: New file.
422 * sysdeps/unix/sysv/linux/s390/readelflib.c: New file.
424 2001-03-19 Ulrich Drepper <drepper@redhat.com>
426 * string/Makefile (tests): Add tst-strxfrm.
427 * string/tst-strxfrm.c: New file. Based on a test case by Paul Eggert.
428 * string/Depend: New file.
430 2001-03-19 Paul Eggert <eggert@twinsun.com>
432 * string/strxfrm.c (strxfrm): strxfrm should return 0, not 1,
433 when given the empty string in nontrivial locales.
435 2001-03-17 H.J. Lu <hjl@gnu.org>
437 * manual/Makefile (install): Use $(INSTALL_DATA) instead of
440 2001-03-19 Andreas Schwab <schwab@suse.de>
442 * Makerules (build-shlib): Make sure exit codes get checked
445 2001-03-18 Ulrich Drepper <drepper@redhat.com>
447 * Makerules (build-shlib): Remove unnecessary slashes introduced in
450 * configure.in: Test for -Bgroup option of linker.
451 * config.make.in: Define have-Bgroup.
453 * conform/data/unistd.h-data: Require gethostname.
454 * posix/unistd.h: Make gethostname prototype available for
457 * crypt/Makefile: When generating DSO link with libc_nonshared.a.
458 * debug/Makefile: Likewise.
459 * dlfcn/Makefile: Likewise.
460 * hesiod/Makefile: Likewise.
461 * iconvdata/extra-module.mk: Likewise.
462 * locale/Makefile: Likewise.
463 * login/Makefile: Likewise.
464 * math/Makefile: Likewise.
465 * nis/Makefile: Likewise.
466 * nss/Makefile: Likewise.
467 * resolv/Makefile: Likewise.
468 * rt/Makefile: Likewise.
470 2001-03-17 Ulrich Drepper <drepper@redhat.com>
472 * inet/Makefile (tests): Remove left-over comment.
474 * posix/unistd.h (gethostname): Change type of second parameter
475 back to size_t as per upcoming XPG6.
476 * sysdeps/unix/sysv/aix/gethostname.c: Change type of second
477 parameter back to size_t as per upcoming XPG6.
478 * sysdeps/unix/sysv/sysv4/gethostname.c: Likewise.
479 * sysdeps/unix/sysv/gethostname.c: Likewise.
480 * sysdeps/mach/hurd/gethostname.c: Likewise.
481 * sysdeps/generic/gethostname.c: Likewise.
483 2001-03-16 Ulrich Drepper <drepper@redhat.com>
485 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
488 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext):
491 2001-02-06 Jakub Jelinek <jakub@redhat.com>
493 * elf/dl-load.c (_dl_map_object): Don't test l_opencount when
494 looking for name matches.
496 2001-02-26 Jakub Jelinek <jakub@redhat.com>
498 * sysdeps/generic/sigcontextinfo.h (CALL_SIGHANDLER): Define.
499 * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
500 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
501 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
502 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
503 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
504 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
505 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
506 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
507 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
508 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
509 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
511 2001-03-16 Ulrich Drepper <drepper@redhat.com>
513 * sysdeps/ieee754/ldbl-96/s_erfl.c: New file.
514 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
516 * sysdeps/i386/fpu/libm-test-ulps: Adjust for addition of erfl and
518 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
520 2001-03-16 David Mosberger <davidm@hpl.hp.com>
522 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
523 Drop hack that was needed for 2.1.1 kernel headers.
525 * sysdeps/unix/sysv/linux/ia64/ucontext_i.h: New file.
527 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Rewrite to make it
528 overlay with kernel's "struct sigcontext".
530 * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep_headers): Add
531 sys/rse.h for "misc" subdir.
532 (sysdep_routines): Add __start_context for "stdlib" subdir.
534 * sysdeps/unix/sysv/linux/ia64/sys/rse.h: New file (based on
535 kernel file of the same name).
537 * stdlib/Makefile (tests): Add tst-setcontext.
538 * stdlib/tst-setcontext.c: New file (based on a sample program by
541 * sysdeps/unix/sysv/linux/ia64/setcontext.S: New file.
542 * sysdeps/unix/sysv/linux/ia64/getcontext.S: New file.
543 * sysdeps/unix/sysv/linux/ia64/__start_context.S: New file.
544 * sysdeps/unix/sysv/linux/ia64/makecontext.c: New file.
545 * sysdeps/unix/sysv/linux/ia64/swapcontext.c: New file.
547 * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): Use extr.u
548 instead of shift & and.
550 2001-03-16 Martin Schwidefsky <schwidefsky@de.ibm.com>
552 * sysdeps/s390/s390-64/bits/huge_val.h: Move to...
553 * sysdeps/s390/bits/huge_val.h: ...here.
554 * sysdeps/s390/s390-32/bit/huge_val.h: Remove.
555 * sysdeps/s390/s390-64/ffs.c: Move to...
556 * sysdeps/s390/ffs.c: ...here.
557 * sysdeps/s390/s390-32/ffs.c: Remove.
559 2001-03-16 Jakub Jelinek <jakub@redhat.com>
561 * elf/ldconfig.c (search_dir): Remove bogus diagnostic, instead
562 update osversion from more recent library.
564 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
566 * sysdeps/unix/sysv/linux/s390/Dist: Move to...
567 * sysdeps/unix/sysv/linux/s390/s390-32/Dist: ...here.
568 * sysdeps/unix/sysv/linux/s390/Makefile: Move to...
569 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: ...here.
570 * sysdeps/unix/sysv/linux/s390/Versions: Move to...
571 * sysdeps/unix/sysv/linux/s390/s390-32/Versions: ...here.
572 * sysdeps/unix/sysv/linux/s390/alphasort64.c: Move to...
573 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: ...here.
574 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Move to...
575 * sysdeps/unix/sysv/linux/s390/s390-32/bits/fcntl.h: ...here.
576 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Move to...
577 * sysdeps/unix/sysv/linux/s390/s390-32/bits/mman.h: ...here.
578 * sysdeps/unix/sysv/linux/s390/bits/resource.h: Move to...
579 * sysdeps/unix/sysv/linux/s390/s390-32/bits/resource.h: ...here.
580 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Move to...
581 * sysdeps/unix/sysv/linux/s390/s390-32/bits/stat.h: ...here.
582 * sysdeps/unix/sysv/linux/s390/chown.c: Move to...
583 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: ...here.
584 * sysdeps/unix/sysv/linux/s390/clone.S: Move to...
585 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: ...here.
586 * sysdeps/unix/sysv/linux/s390/fchown.c: Move to...
587 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: ...here.
588 * sysdeps/unix/sysv/linux/s390/fcntl.c: Move to...
589 * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: ...here.
590 * sysdeps/unix/sysv/linux/s390/fxstat.c: Move to...
591 * sysdeps/unix/sysv/linux/s390/s390-32/fxstat.c: ...here.
592 * sysdeps/unix/sysv/linux/s390/getdents64.c: Move to...
593 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: ...here.
594 * sysdeps/unix/sysv/linux/s390/getegid.c: Move to...
595 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: ...here.
596 * sysdeps/unix/sysv/linux/s390/geteuid.c: Move to...
597 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: ...here.
598 * sysdeps/unix/sysv/linux/s390/getgid.c: Move to...
599 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: ...here.
600 * sysdeps/unix/sysv/linux/s390/getgroups.c: Move to...
601 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: ...here.
602 * sysdeps/unix/sysv/linux/s390/getresgid.c: Move to...
603 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: ...here.
604 * sysdeps/unix/sysv/linux/s390/getresuid.c: Move to...
605 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: ...here.
606 * sysdeps/unix/sysv/linux/s390/getrlimit.c: Move to...
607 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: ...here.
608 * sysdeps/unix/sysv/linux/s390/getrlimit64.c: Move to...
609 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: ...here.
610 * sysdeps/unix/sysv/linux/s390/getuid.c: Move to...
611 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: ...here.
612 * sysdeps/unix/sysv/linux/s390/lchown.c: Move to...
613 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: ...here.
614 * sysdeps/unix/sysv/linux/s390/lockf64.c: Move to...
615 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: ...here.
616 * sysdeps/unix/sysv/linux/s390/lxstat.c: Move to...
617 * sysdeps/unix/sysv/linux/s390/s390-32/lxstat.c: ...here.
618 * sysdeps/unix/sysv/linux/s390/mmap.S: Move to...
619 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: ...here.
620 * sysdeps/unix/sysv/linux/s390/mmap64.S: Move to...
621 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: ...here.
622 * sysdeps/unix/sysv/linux/s390/msgctl.c: Move to...
623 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: ...here.
624 * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: Move to...
625 * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: ...here.
626 * sysdeps/unix/sysv/linux/s390/readdir64.c: Move to...
627 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: ...here.
628 * sysdeps/unix/sysv/linux/s390/readdir64_r.c: Move to...
629 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: ...here.
630 * sysdeps/unix/sysv/linux/s390/register-dump.h: Move to...
631 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: ...here.
632 * sysdeps/unix/sysv/linux/s390/scandir64.c: Move to...
633 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: ...here.
634 * sysdeps/unix/sysv/linux/s390/semctl.c: Move to...
635 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: ...here.
636 * sysdeps/unix/sysv/linux/s390/setegid.c: Move to...
637 * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: ...here.
638 * sysdeps/unix/sysv/linux/s390/seteuid.c: Move to...
639 * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: ...here.
640 * sysdeps/unix/sysv/linux/s390/setfsgid.c: Move to...
641 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: ...here.
642 * sysdeps/unix/sysv/linux/s390/setfsuid.c: Move to...
643 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: ...here.
644 * sysdeps/unix/sysv/linux/s390/setgid.c: Move to...
645 * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: ...here.
646 * sysdeps/unix/sysv/linux/s390/setgroups.c: Move to...
647 * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: ...here.
648 * sysdeps/unix/sysv/linux/s390/setregid.c: Move to...
649 * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: ...here.
650 * sysdeps/unix/sysv/linux/s390/setresgid.c: Move to...
651 * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: ...here.
652 * sysdeps/unix/sysv/linux/s390/setresuid.c: Move to...
653 * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: ...here.
654 * sysdeps/unix/sysv/linux/s390/setreuid.c: Move to...
655 * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: ...here.
656 * sysdeps/unix/sysv/linux/s390/setrlimit.c: Move to...
657 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: ...here.
658 * sysdeps/unix/sysv/linux/s390/setuid.c: Move to...
659 * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: ...here.
660 * sysdeps/unix/sysv/linux/s390/shmctl.c: Move to...
661 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: ...here.
662 * sysdeps/unix/sysv/linux/s390/socket.S: Move to...
663 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: ...here.
664 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Move to...
665 * sysdeps/unix/sysv/linux/s390/s390-32/sys/procfs.h: ...here.
666 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Move to...
667 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: ...here.
668 * sysdeps/unix/sysv/linux/s390/syscall.S: Move to...
669 * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: ...here.
670 * sysdeps/unix/sysv/linux/s390/syscalls.list: Move to...
671 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: ...here.
672 * sysdeps/unix/sysv/linux/s390/sysdep.S: Move to...
673 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: ...here.
674 * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
675 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here.
676 * sysdeps/unix/sysv/linux/s390/versionsort64.c: Move to...
677 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: ...here.
678 * sysdeps/unix/sysv/linux/s390/xstat.c: Move to...
679 * sysdeps/unix/sysv/linux/s390/s390-32/xstat.c: ...here.
681 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
683 * sysdeps/unix/sysv/linux/s390/s390-64/Dist: New file.
684 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: New file.
685 * sysdeps/unix/sysv/linux/s390/s390-64/bits/elfclass.h: New file.
686 * sysdeps/unix/sysv/linux/s390/s390-64/bits/fcntl.h: New file.
687 * sysdeps/unix/sysv/linux/s390/s390-64/bits/ipc.h: New file.
688 * sysdeps/unix/sysv/linux/s390/s390-64/bits/mman.h: New file.
689 * sysdeps/unix/sysv/linux/s390/s390-64/bits/msq.h: New file.
690 * sysdeps/unix/sysv/linux/s390/s390-64/bits/resource.h: New file.
691 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sem.h: New file.
692 * sysdeps/unix/sysv/linux/s390/s390-64/bits/shm.h: New file.
693 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: New file.
694 * sysdeps/unix/sysv/linux/s390/s390-64/bits/siginfo.h: New file.
695 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigstack.h: New file.
696 * sysdeps/unix/sysv/linux/s390/s390-64/bits/stat.h: New file.
697 * sysdeps/unix/sysv/linux/s390/s390-64/bits/types.h: New file.
698 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: New file.
699 * sysdeps/unix/sysv/linux/s390/s390-64/fstatfs64.c: New file.
700 * sysdeps/unix/sysv/linux/s390/s390-64/ftruncate64.c: New file.
701 * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: New file.
702 * sysdeps/unix/sysv/linux/s390/s390-64/fxstat64.c: New file.
703 * sysdeps/unix/sysv/linux/s390/s390-64/getdents.c: New file.
704 * sysdeps/unix/sysv/linux/s390/s390-64/getdents64.c: New file.
705 * sysdeps/unix/sysv/linux/s390/s390-64/getrlimit64.c: New file.
706 * sysdeps/unix/sysv/linux/s390/s390-64/glob.c: New file.
707 * sysdeps/unix/sysv/linux/s390/s390-64/glob64.c: New file.
708 * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: New file.
709 * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: New file.
710 * sysdeps/unix/sysv/linux/s390/s390-64/lxstat64.c: New file.
711 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: New file.
712 * sysdeps/unix/sysv/linux/s390/s390-64/mmap64.c: New file.
713 * sysdeps/unix/sysv/linux/s390/s390-64/pread64.c: New file.
714 * sysdeps/unix/sysv/linux/s390/s390-64/pwrite64.c: New file.
715 * sysdeps/unix/sysv/linux/s390/s390-64/readdir.c: New file.
716 * sysdeps/unix/sysv/linux/s390/s390-64/readdir64.c: New file.
717 * sysdeps/unix/sysv/linux/s390/s390-64/readdir64_r.c: New file.
718 * sysdeps/unix/sysv/linux/s390/s390-64/readdir_r.c : New file.
719 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: New file.
720 * sysdeps/unix/sysv/linux/s390/s390-64/setrlimit64.c: New file.
721 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: New file.
722 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: New file.
723 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c: New file.
724 * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: New file.
725 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: New file.
726 * sysdeps/unix/sysv/linux/s390/s390-64/statfs64.c: New file.
727 * sysdeps/unix/sysv/linux/s390/s390-64/sys/procfs.h: New file.
728 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: New file.
729 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: New file.
730 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: New file.
731 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: New file.
732 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: New file.
733 * sysdeps/unix/sysv/linux/s390/s390-64/truncate64.c: New file.
734 * sysdeps/unix/sysv/linux/s390/s390-64/xstat.c: New file.
735 * sysdeps/unix/sysv/linux/s390/s390-64/xstat64.c: New file.
737 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
739 * sysdeps/s390/Dist: Move to...
740 * sysdeps/s390/390-32/Dist: ...here.
741 * sysdeps/s390/Implies: Move to...
742 * sysdeps/s390/s390-32/Implies: ...here.
743 * sysdeps/s390/Makefile: Move to...
744 * sysdeps/s390/s390-32/Makefile: ...here.
745 * sysdeps/s390/Versions: Move to...
746 * sysdeps/s390-32/s390/Versions: ...here.
747 * sysdeps/s390/add_n.S: Move to...
748 * sysdeps/s390/s390-32/add_n.S: ...here.
749 * sysdeps/s390/addmul_1.S: Move to...
750 * sysdeps/s390/s390-32/addmul_1.S: ...here.
751 * sysdeps/s390/atomicity.h: Move to...
752 * sysdeps/s390/s390-32/atomicity.h: ...here.
753 * sysdeps/s390/backtrace.c: Move to...
754 * sysdeps/s390/s390-32/backtrace.c: ...here.
755 * sysdeps/s390/bcopy.S: Move to...
756 * sysdeps/s390/s390-32/bcopy.S: ...here.
757 * sysdeps/s390/bits/byteswap.h: Move to...
758 * sysdeps/s390/s390-32/bits/byteswap.h: ...here.
759 * sysdeps/s390/bits/huge_val.h: Move to...
760 * sysdeps/s390/s390-32/bits/huge_val.h: ...here.
761 * sysdeps/s390/bsd-_setjmp.S: Move to...
762 * sysdeps/s390/s390-32/bsd-_setjmp.S: ...here.
763 * sysdeps/s390/bsd-setjmp.S: Move to...
764 * sysdeps/s390/s390-32/bsd-setjmp.S: ...here.
765 * sysdeps/s390/bzero.S: Move to...
766 * sysdeps/s390/s390-32/bzero.S: ...here.
767 * sysdeps/s390/elf/bsd-_setjmp.S: Move to...
768 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: ...here.
769 * sysdeps/s390/elf/bsd-setjmp.S: Move to...
770 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: ...here.
771 * sysdeps/s390/elf/start.S: Move to...
772 * sysdeps/s390/s390-32/elf/start.S: ...here.
773 * sysdeps/s390/ffs.c: Move to...
774 * sysdeps/s390/s390-32/ffs.c: ...here.
775 * sysdeps/s390/memchr.S: Move to...
776 * sysdeps/s390/s390-32/memchr.S: ...here.
777 * sysdeps/s390/memcpy.S: Move to...
778 * sysdeps/s390/s390-32/memcpy.S: ...here.
779 * sysdeps/s390/memset.S: Move to...
780 * sysdeps/s390/s390-32/memset.S: ...here.
781 * sysdeps/s390/mul_1.S: Move to...
782 * sysdeps/s390/s390-32/mul_1.S: ...here.
783 * sysdeps/s390/s390-mcount.S: Move to...
784 * sysdeps/s390/s390-32/s390-mcount.S: ...here.
785 * sysdeps/s390/strcpy.S: Move to...
786 * sysdeps/s390/s390-32/strcpy.S: ...here.
787 * sysdeps/s390/strncpy.S: Move to...
788 * sysdeps/s390/s390-32/strncpy.S: ...here.
789 * sysdeps/s390/sub_n.S: Move to...
790 * sysdeps/s390/s390-32/sub_n.S: ...here.
792 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
794 * sysdeps/s390/s390-64/Dist: New file.
795 * sysdeps/s390/s390-64/Implies: New file.
796 * sysdeps/s390/s390-64/Makefile: New file.
797 * sysdeps/s390/s390-64/__longjmp.c: New file.
798 * sysdeps/s390/s390-64/add_n.S: New file.
799 * sysdeps/s390/s390-64/atomicity.h: New file.
800 * sysdeps/s390/s390-64/backtrace.c: New file.
801 * sysdeps/s390/s390-64/bcopy.S: New file.
802 * sysdeps/s390/s390-64/bits/byteswap.h: New file.
803 * sysdeps/s390/s390-64/bits/huge_val.h: New file.
804 * sysdeps/s390/s390-64/bits/setjmp.h: New file.
805 * sysdeps/s390/s390-64/bits/string.h: New file.
806 * sysdeps/s390/s390-64/bsd-_setjmp.S: New file.
807 * sysdeps/s390/s390-64/bsd-setjmp.S: New file.
808 * sysdeps/s390/s390-64/bzero.S: New file.
809 * sysdeps/s390/s390-64/dl-machine.h: New file.
810 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: New file.
811 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: New file.
812 * sysdeps/s390/s390-64/elf/setjmp.S: New file.
813 * sysdeps/s390/s390-64/elf/start.S: New file.
814 * sysdeps/s390/s390-64/ffs.c: New file.
815 * sysdeps/s390/s390-64/initfini.c: New file.
816 * sysdeps/s390/s390-64/memchr.S: New file.
817 * sysdeps/s390/s390-64/memcpy.S: New file.
818 * sysdeps/s390/s390-64/memset.S: New file.
819 * sysdeps/s390/s390-64/s390x-mcount.S: New file.
820 * sysdeps/s390/s390-64/setjmp.S: New file.
821 * sysdeps/s390/s390-64/strcpy.S: New file.
822 * sysdeps/s390/s390-64/strncpy.S: New file.
823 * sysdeps/s390/s390-64/sub_n.S: New file.
824 * sysdeps/s390/s390-64/sysdep.h: New file.
826 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
828 * scripts/config.guess: Add support for Linux on 64 bit S/390.
829 * scripts/config.sub: Likewise.
831 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
833 * configure.in: Add support for 64 bit S/390.
835 * elf/elf.h: Add new relocations for 64 bit S/390.
837 * shlib-versions: Add rules for Linux on 64 bit S/390.
839 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
841 * sysdeps/s390/__longjmp.c: Move to...
842 * sysdeps/s390/s390-32/__longjmp.c: ...here. Add code
843 to load the floating point registers that should be saved
844 according to the ABI.
846 * sysdeps/s390/bits/setjmp.h: Move to...
847 * sysdeps/s390/s390-32/bits/setjmp.h: ...here. Avoid
848 the use of long long in the __jmp_buf type definition.
850 * sysdeps/s390/bits/string.h: Move to...
851 * sysdeps/s390/s390-32/bits/string.h: ...here. Add several missing
852 #ifndef _FORCE_INLINES.
854 * sysdeps/s390/dl-machine.h: Move to...
855 * sysdeps/s390/s390-32/dl-machine.h: ...here. Add a check for the
856 executables EI_CLASS in elf_machine_matches_host.
858 * sysdeps/s390/elf/setjmp.S: Move to...
859 * sysdeps/s390/s390-32/elf/setjmp.S: ...here. Replace
860 branches to globally defined symbol __sigsetjmp by branches to
861 a local label (this avoids the generation of a R_390_PC16DBL
862 relocation in -fpic code).
864 * sysdeps/s390/gmp-mparam.h: Use defines from <bits/wordsize.h> to
865 calculate BITS_PER_MP_LIMB, BYTES_PER_MP_LIMB and BITS_PER_LONGINT.
867 * sysdeps/s390/initfini.c: Move to...
868 * sysdeps/s390/s390-32/initfini.c: ...here. Replace ALIGN with
871 * sysdeps/s390/setjmp.S: Move to...
872 * sysdeps/s390/s390-32/setjmp.S: ...here. Add code to store the
873 floating point registers that should be saved according to the ABI.
875 * sysdeps/s390/sys/ucontext.h: Remove since it is unused.
877 * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
878 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here. Include
879 sysdeps/s390/s390-32/sysdep.h instead of sysdeps/s390/sysdep.h.
881 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
883 * configure.in: Change machine=s390 to machine=s390/s390-32.
885 * elf/elf.h: Correct comment for R_390_PLT16DBL.
887 2001-03-12 Jakub Jelinek <jakub@redhat.com>
889 * csu/Makefile (abi-tag.h): Define OS and version separately, allow
890 version to be overriden from config.h.
891 * csu/abi-note.S: Use OS and version separately, include config.h.
892 * elf/dl-load.c (_dl_osversion): New.
893 (_dl_map_object_from_fd): Kill some warnings.
894 (open_verify): Check .note.ABI-tag of the library if present.
895 * elf/Makefile (CPPFLAGS-dl-load.c): Add -I$(csu-objpfx).
896 * elf/cache.c (struct cache_entry): Add osversion.
897 (print_entry): Print osversion.
898 (print_cache): Pass osversion to it.
899 (compare): Sort according to osversion.
900 (save_cache): Set osversion.
901 (add_to_cache): Add osversion argument.
902 * sysdeps/generic/ldconfig.h (add_to_cache, process_file,
903 process_elf_file): Add osversion argument.
904 * elf/readlib.c (process_file): Likewise.
905 * sysdeps/generic/readelflib.c (process_elf_file): Likewise.
906 * sysdeps/unix/sysv/linux/ia64/readelflib.c (process_elf_file,
907 process_elf32_file, process_elf64_file): Likewise.
908 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file,
909 process_elf32_file, process_elf64_file): Likewise.
910 * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file,
911 process_elf32_file, process_elf64_file): Likewise.
912 * elf/ldconfig.c (manual_link): Pass it.
913 (search_dir): Issue diagnostic if two libs with the same soname in
914 the same directory have different .note.ABI-tag. Record osversion in
915 dlib_entry and use it from there.
916 (struct lib_entry): Remove.
917 (struct dlib_entry): Add osversion.
918 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Check
920 * sysdeps/generic/dl-cache.h (struct file_entry_new): Replace __unused
921 field with osversion.
922 * sysdeps/generic/ldsodefs.h (_dl_osversion): Declare.
923 * sysdeps/unix/sysv/linux/init-first.c: Include ldsodefs.h.
924 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Save kernel
925 version in _dl_osversion.
926 * sysdeps/unix/sysv/linux/configure.in: Define __ABI_TAG_VERSION.
927 * Makerules (build-shlib-helper, build-module-helper): New.
928 (build-shlib, build-module-helper): Make sure .note.ABI-tag comes
930 * config.h.in (__ABI_TAG_VERSION): Add.
931 * elf/dl-minimal.c (__strtoul_internal): Set endptr on return.
932 * sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS):
933 Handle LD_ASSUME_KERNEL.
934 * sysdeps/unix/sysv/linux/dl-librecon.h: New.
936 2001-03-15 Ulrich Drepper <drepper@redhat.com>
938 * timezone/antarctica: Update from tzdata2001a.
939 * timezone/asia: Likewise.
940 * timezone/australasia: Likewise.
941 * timezone/backward: Likewise.
942 * timezone/etcetera: Likewise.
943 * timezone/europe: Likewise.
944 * timezone/leapseconds: Likewise.
945 * timezone/northamerica: Likewise.
946 * timezone/southamerica: Likewise.
947 * timezone/systemv: Likewise.
948 * timezone/yearistype: Likewise.
949 * timezone/zone.tab: Likewise.
950 * timezone/tzdump.c: Update from tzcode2001a.
952 2001-03-15 H.J. Lu <hjl@gnu.org>
954 * intl/Makefile: Fix a typo.
956 2001-03-14 David Mosberger <davidm@hpl.hp.com>
958 * gmon/gmon.c (write_call_graph): Avoid unaligned accesses when
959 writing arc structures.
961 2001-03-15 H.J. Lu <hjl@gnu.org>
963 * elf/Makefile ($(objpfx)tst-pathopt.out): Protected against
966 2001-03-13 Andreas Schwab <schwab@suse.de>
968 * posix/PTESTS2C.sed: Replace literal CRs by `\r'.
970 2001-03-15 Ulrich Drepper <drepper@redhat.com>
972 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Fix test
973 for control message fitting into message data.
974 Patch by James Antill <james@and.org>.
976 * posix/tst-fnmatch.input: Add test case for FNM_PERIOD handling with
979 * posix/fnmatch_loop.c: Optimize handling of ?() and @().
980 * posix/fnmatch.c: Define STRLEN and STRCAT appropriately.
982 * posix/Versions [libc] (GLIBC_2.2.3): Add fnmatch.
983 * posix/fnmatch.c: Define with new default version GLIBC_2.2.3 to
984 avoid running binaries with libc versions without FNM_EXTMATCH support.
986 * include/wchar.h: Add prototype for __wcscat.
987 * wcsmbs/wcscat.c: Define __wcscat and make wcscat weak alias.
989 * posix/fnmatch.h (FNM_EXTMATCH): Define.
990 * posix/fnmatch.c (NO_LEADING_PERIOD): Define.
991 (posixly_correct): Move global variable here.
992 (INT, EXT, END): Name new functions defined in fnmatch_loop.c.
993 (fnmatch): Pretty printing.
994 * posix/fnmatch_loop.c: Add code to handle FNM_EXTMATCH.
995 * posix/tst-fnmatch.c: Recognize EXTMATCH flag.
996 * posix/tst-fnmatch.input: Add tests for extended matching.
998 * posix/testfnm.c: Add test for patterns with multiple ** before /.
999 * posix/fnmatch_loop.c: Fix problem with the test above.
1001 2001-03-14 Ulrich Drepper <drepper@redhat.com>
1003 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove
1006 * resolv/res_data.c (fp_nquery): Call __res_ninit not __res_init.
1008 2001-03-12 Andreas Jaeger <aj@suse.de>
1010 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
1011 Use EM_X86_64 instead of EM_X8664.
1013 2001-03-12 Ulrich Drepper <drepper@redhat.com>
1015 * sysdeps/ieee754/dbl-64/upow.h: Define nZERO and nINF.
1017 * sysdeps/ieee754/dbl-64/e_remainder.c: Fix handling of boundary
1020 * sysdeps/ieee754/dbl-64/e_pow.c: Fix handling of boundary
1023 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Handle Inf and NaN
1027 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Handle NaN
1029 (__ieee754_acos): Likewise.
1031 2001-03-12 Andreas Jaeger <aj@suse.de>
1033 * sysdeps/unix/sysv/linux/s390/sysdep.h (_LINUX_S390_SYSDEP_H):
1034 Fix typo. Patch by Martin Schwidefsky <schwidefsky@de.ibm.com>.
1036 * sysdeps/s390/bits/string.h: Protect __STRING_INLINE against
1039 2001-03-11 Roland McGrath <roland@frob.com>
1041 * sysdeps/mach/hurd/configure.in: Add a sanity check on $prefix.
1043 2001-03-11 Ulrich Drepper <drepper@redhat.com>
1045 * sysdeps/ieee754/dbl-64/endian.h: Define also one of BIG_ENDI and
1048 * sysdeps/ieee754/dbl-64/MathLib.h (Init_Lib): Use void as
1051 Last-bit accurate math library implementation by IBM Haifa.
1052 Contributed by Abraham Ziv <ziv@il.ibm.com>, Moshe Olshansky
1053 <olshansk@il.ibm.com>, Ealan Henis <ealan@il.ibm.com>, and
1054 Anna Reitman <reitman@il.ibm.com>.
1055 * math/Makefile (dbl-only-routines): New variable.
1056 (libm-routines): Add $(dbl-only-routines).
1057 * sysdeps/ieee754/dbl-64/e_acos.c: Empty, definition is in e_asin.c.
1058 * sysdeps/ieee754/dbl-64/e_asin.c: Replaced with accurate asin
1060 * sysdeps/ieee754/dbl-64/e_atan2.c: Replaced with accurate atan2
1062 * sysdeps/ieee754/dbl-64/e_exp.c: Replaced with accurate exp
1064 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't use __kernel_sin and
1066 * sysdeps/ieee754/dbl-64/e_log.c: Replaced with accurate log
1068 * sysdeps/ieee754/dbl-64/e_remainder.c: Replaced with accurate
1069 remainder implementation.
1070 * sysdeps/ieee754/dbl-64/e_pow.c: Replaced with accurate pow
1072 * sysdeps/ieee754/dbl-64/e_sqrt.c: Replaced with accurate sqrt
1074 * sysdeps/ieee754/dbl-64/k_cos.c: Empty, definition is in s_sin.c.
1075 * sysdeps/ieee754/dbl-64/k_sin.c: Empty, definition is in s_sin.c.
1076 * sysdeps/ieee754/dbl-64/s_atan.c: Replaced with accurate atan
1078 * sysdeps/ieee754/dbl-64/s_cos.c: Empty, definition is in s_sin.c.
1079 * sysdeps/ieee754/dbl-64/s_sin.c: Replaced with accurate sin/cos
1081 * sysdeps/ieee754/dbl-64/s_sincos.c: Rewritten to not use __kernel_sin
1083 * sysdeps/ieee754/dbl-64/s_tan.c: Replaced with accurate tan
1085 * sysdeps/ieee754/dbl-64/Dist: Add new non-code files.
1086 * sysdeps/ieee754/dbl-64/MathLib.h: New file.
1087 * sysdeps/ieee754/dbl-64/asincos.tbl: New file.
1088 * sysdeps/ieee754/dbl-64/atnat.h: New file.
1089 * sysdeps/ieee754/dbl-64/atnat2.h: New file.
1090 * sysdeps/ieee754/dbl-64/branred.c: New file.
1091 * sysdeps/ieee754/dbl-64/branred.h: New file.
1092 * sysdeps/ieee754/dbl-64/dla.h: New file.
1093 * sysdeps/ieee754/dbl-64/doasin.c: New file.
1094 * sysdeps/ieee754/dbl-64/doasin.h: New file.
1095 * sysdeps/ieee754/dbl-64/dosincos.c: New file.
1096 * sysdeps/ieee754/dbl-64/dosincos.h: New file.
1097 * sysdeps/ieee754/dbl-64/endian.h: New file.
1098 * sysdeps/ieee754/dbl-64/halfulp.c: New file.
1099 * sysdeps/ieee754/dbl-64/mpa.c: New file.
1100 * sysdeps/ieee754/dbl-64/mpa.h: New file.
1101 * sysdeps/ieee754/dbl-64/mpa2.h: New file.
1102 * sysdeps/ieee754/dbl-64/mpatan.c: New file.
1103 * sysdeps/ieee754/dbl-64/mpatan.h: New file.
1104 * sysdeps/ieee754/dbl-64/mpatan2.c: New file.
1105 * sysdeps/ieee754/dbl-64/mpexp.c: New file.
1106 * sysdeps/ieee754/dbl-64/mpexp.h: New file.
1107 * sysdeps/ieee754/dbl-64/mplog.c: New file.
1108 * sysdeps/ieee754/dbl-64/mplog.h: New file.
1109 * sysdeps/ieee754/dbl-64/mpsqrt.c: New file.
1110 * sysdeps/ieee754/dbl-64/mpsqrt.h: New file.
1111 * sysdeps/ieee754/dbl-64/mptan.c: New file.
1112 * sysdeps/ieee754/dbl-64/mydefs.h: New file.
1113 * sysdeps/ieee754/dbl-64/powtwo.tbl: New file.
1114 * sysdeps/ieee754/dbl-64/root.tbl: New file.
1115 * sysdeps/ieee754/dbl-64/sincos.tbl: New file.
1116 * sysdeps/ieee754/dbl-64/sincos32.c: New file.
1117 * sysdeps/ieee754/dbl-64/sincos32.h: New file.
1118 * sysdeps/ieee754/dbl-64/slowexp.c: New file.
1119 * sysdeps/ieee754/dbl-64/slowpow.c: New file.
1120 * sysdeps/ieee754/dbl-64/uasncs.h: New file.
1121 * sysdeps/ieee754/dbl-64/uatan.tbl: New file.
1122 * sysdeps/ieee754/dbl-64/uexp.h: New file.
1123 * sysdeps/ieee754/dbl-64/uexp.tbl: New file.
1124 * sysdeps/ieee754/dbl-64/ulog.h: New file.
1125 * sysdeps/ieee754/dbl-64/ulog.tbl: New file.
1126 * sysdeps/ieee754/dbl-64/upow.h: New file.
1127 * sysdeps/ieee754/dbl-64/upow.tbl: New file.
1128 * sysdeps/ieee754/dbl-64/urem.h: New file.
1129 * sysdeps/ieee754/dbl-64/uroot.h: New file.
1130 * sysdeps/ieee754/dbl-64/usncs.h: New file.
1131 * sysdeps/ieee754/dbl-64/utan.h: New file.
1132 * sysdeps/ieee754/dbl-64/utan.tbl: New file.
1133 * sysdeps/i386/fpu/branred.c: New file.
1134 * sysdeps/i386/fpu/doasin.c: New file.
1135 * sysdeps/i386/fpu/dosincos.c: New file.
1136 * sysdeps/i386/fpu/halfulp.c: New file.
1137 * sysdeps/i386/fpu/mpa.c: New file.
1138 * sysdeps/i386/fpu/mpatan.c: New file.
1139 * sysdeps/i386/fpu/mpatan2.c: New file.
1140 * sysdeps/i386/fpu/mpexp.c: New file.
1141 * sysdeps/i386/fpu/mplog.c: New file.
1142 * sysdeps/i386/fpu/mpsqrt.c: New file.
1143 * sysdeps/i386/fpu/mptan.c: New file.
1144 * sysdeps/i386/fpu/sincos32.c: New file.
1145 * sysdeps/i386/fpu/slowexp.c: New file.
1146 * sysdeps/i386/fpu/slowpow.c: New file.
1147 * sysdeps/ia64/fpu/branred.c: New file.
1148 * sysdeps/ia64/fpu/doasin.c: New file.
1149 * sysdeps/ia64/fpu/dosincos.c: New file.
1150 * sysdeps/ia64/fpu/halfulp.c: New file.
1151 * sysdeps/ia64/fpu/mpa.c: New file.
1152 * sysdeps/ia64/fpu/mpatan.c: New file.
1153 * sysdeps/ia64/fpu/mpatan2.c: New file.
1154 * sysdeps/ia64/fpu/mpexp.c: New file.
1155 * sysdeps/ia64/fpu/mplog.c: New file.
1156 * sysdeps/ia64/fpu/mpsqrt.c: New file.
1157 * sysdeps/ia64/fpu/mptan.c: New file.
1158 * sysdeps/ia64/fpu/sincos32.c: New file.
1159 * sysdeps/ia64/fpu/slowexp.c: New file.
1160 * sysdeps/ia64/fpu/slowpow.c: New file.
1161 * sysdeps/m68k/fpu/branred.c: New file.
1162 * sysdeps/m68k/fpu/doasin.c: New file.
1163 * sysdeps/m68k/fpu/dosincos.c: New file.
1164 * sysdeps/m68k/fpu/halfulp.c: New file.
1165 * sysdeps/m68k/fpu/mpa.c: New file.
1166 * sysdeps/m68k/fpu/mpatan.c: New file.
1167 * sysdeps/m68k/fpu/mpatan2.c: New file.
1168 * sysdeps/m68k/fpu/mpexp.c: New file.
1169 * sysdeps/m68k/fpu/mplog.c: New file.
1170 * sysdeps/m68k/fpu/mpsqrt.c: New file.
1171 * sysdeps/m68k/fpu/mptan.c: New file.
1172 * sysdeps/m68k/fpu/sincos32.c: New file.
1173 * sysdeps/m68k/fpu/slowexp.c: New file.
1174 * sysdeps/m68k/fpu/slowpow.c: New file.
1176 * iconvdata/gconv-modules: Add a number of alias, mostly for IBM
1179 2001-03-11 Andreas Jaeger <aj@suse.de>
1181 * elf/elf.h (EM_*): Synch with official list.
1183 2001-03-07 David Mosberger <davidm@hpl.hp.com>
1185 * sysdeps/ia64/bits/fenv.h (FE_NONIEEE_ENV): New macro.
1187 2001-03-07 Jes Sorensen <jes@linuxcare.com>
1189 * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Remove unused
1190 variables addr & len.
1192 2001-02-22 Jes Sorensen <jes@linuxcare.com>
1194 * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Remove
1195 punctuation in asm constraint.
1197 2001-03-07 Mark Kettenis <kettenis@gnu.org>
1199 * resolv/netdb.h [__USE_GNU]: Define __need_timespec and include
1200 <time.h> to get definition of `struct timespec'.
1202 2001-03-08 Jakub Jelinek <jakub@redhat.com>
1204 * elf/rtld.c (dl_main): If tracing, warn about undefined symbols if
1205 LD_WARN=1, not if LD_WARN is unset.
1207 2001-03-07 Andreas Schwab <schwab@suse.de>
1209 * elf/ldconfig.h: Moved to ...
1210 * sysdeps/generic/ldconfig.h: ... here.
1211 * sysdeps/unix/sysv/linux/i386/ldconfig.h: New file.
1212 * sysdeps/unix/sysv/linux/m68k/ldconfig.h: New file.
1213 * sysdeps/unix/sysv/linux/ia64/ldconfig.h: New file.
1214 * elf/readlib.c (interpreters, known_libs): Use
1215 SYSDEP_KNOWN_INTERPRETER_NAMES and SYSDEP_KNOWN_LIBRARY_NAMES
1216 instead of hard coding old names.
1218 2001-03-09 Ulrich Drepper <drepper@redhat.com>
1220 * catgets/Makefile (generated): Add test-gencat.h.
1221 (sample.SJIS.cat): Also generate header.
1222 * catgets/sample.SJIS: Add new set and message, both with symbolic
1224 * catgets/test-gencat.sh: Also compare generated header with what
1227 2001-03-07 Jakub Jelinek <jakub@redhat.com>
1229 * catgets/gencat.c (read_input_file): Preserve properly symbolic
1232 2001-03-06 Andreas Jaeger <aj@suse.de>
1234 * sysdeps/s390/dl-machine.h (elf_machine_relplt): Removed, it's not
1236 (elf_machine_pltrel_p): Likewise.
1237 * sysdeps/powerpc/dl-machine.h: Likewise.
1238 * sysdeps/generic/dl-machine.h (elf_machine_pltrel_p): Likewise.
1240 2001-03-09 Ulrich Drepper <drepper@redhat.com>
1242 * sysdeps/unix/sysv/linux/arm/Dist: Add dl-procinfo.c and
1245 2001-03-05 Philip Blundell <philb@gnu.org>
1247 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c: New file.
1248 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h: New file.
1249 * sysdeps/unix/sysv/linux/arm/Makefile [subdir=elf]
1250 (sysdep-dl-routines, sysdep_routines, sysdep-rtld-routines): Add
1253 2001-03-09 Ulrich Drepper <drepper@redhat.com>
1255 * dlfcn/tstatexit.c (main): Don't perform the test if __dso_handle
1257 * dlfcn/tstcxaatexit.c (main): Likewise.
1259 2001-03-10 Andreas Jaeger <aj@suse.de>
1261 * sysdeps/i386/fpu/libm-test-ulps: Revert last patch.
1263 2001-03-09 Andreas Jaeger <aj@suse.de>
1265 * sysdeps/s390/dl-machine.h (elf_machine_matches_host): Handle
1266 both new and old EM_S390 values.
1267 (EM_S390_OLD): New constant.
1269 * elf/elf.h (EM_S390): Use official value.
1271 2001-03-09 Ulrich Drepper <drepper@redhat.com>
1273 * conform/data/sys/socket.h-data: Allow SO* symbols.
1275 2001-03-07 Andreas Schwab <schwab@suse.de>
1277 * sysdeps/ia64/fpu/Makefile: Modify sysdep_routines instead of
1278 routines, and sysdep-CPPFLAGS instead of CPPFLAGS.
1280 2001-03-07 Andreas Jaeger <aj@suse.de>
1282 * resolv/Makefile (routines): Only build gai_sigqueue when threads
1285 2001-03-07 Jakub Jelinek <jakub@redhat.com>
1287 * elf/ldconfig.c (_dl_sysdep_message): Remove.
1288 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Include
1290 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
1292 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Use
1293 _dl_error_printf instead of _dl_sysdep_error.
1294 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
1295 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h (_dl_procinfo):
1296 Use _dl_printf instead of _dl_sysdep_message.
1297 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h (_dl_procinfo):
1300 2001-03-06 Ben Collins <bcollins@debian.org>
1302 * manual/arith.texi (Integers): Fix documentation of fast and
1303 least integer typedefs.
1305 2001-03-06 Jakub Jelinek <jakub@redhat.com>
1307 * resolv/Depend: New file.
1308 * resolv/Makefile (extra-libs, tests): Build libanl and ga_test only
1309 when libpthread is built.
1311 2001-03-06 Andreas Jaeger <aj@suse.de>
1313 * sysdeps/i386/fpu/libm-test-ulps: Add some deltas.
1315 * sysdeps/sh/dl-machine.h (elf_machine_rela): Add missing comma.
1316 Patch by kaz Kojima <kkojima@rr.iij4u.or.jp>.
1318 2001-03-05 Ulrich Drepper <drepper@redhat.com>
1320 * stdlib/Versions: Remove __new_exitfn again. Not needed.
1322 2001-03-05 Andreas Jaeger <aj@suse.de>
1324 * stdlib/msort.c (qsort): Don't use alloca in a function call.
1326 2001-03-05 Ulrich Drepper <drepper@redhat.com>
1328 * sysdeps/unix/sysv/linux/bits/stat.h (__S_TYPEISMQ, __S_TYPEISSEM,
1329 __S_TYPEISSHM): Rewrite to enforce correct use the macros. They still
1331 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
1332 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
1333 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
1334 * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Likewise.
1335 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
1336 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
1337 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
1339 2001-03-04 Andreas Jaeger <aj@suse.de>
1341 * stdlib/longlong.h: Don't use multi-line strings.
1342 * iconvdata/tst-loading.c: Likewise.
1344 * csu/Makefile ($(objpfx)version-info.h): Don't use multi-line
1347 2001-03-04 Ulrich Drepper <drepper@redhat.com>
1349 * sysdeps/ia64/fpu/libm-test-ulps: Adjust for addition of lgammal.
1351 * rt/lio_listio.c: Add a few asserts.
1353 * elf/global.c: New file.
1354 * elf/globalmod1.c: New file.
1355 * elf/Makefile: Add rules to build and run global.
1357 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Define SI_ASYNCNL.
1358 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
1359 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
1360 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1361 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
1363 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: New file.
1364 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
1366 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Fix handling of boundary cases.
1368 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Always initialize sign variable.
1369 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
1371 * sysdeps/i386/fpu/libm-test-ulps: Adjust after addition of lgammal.
1373 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Fix typo in last change.
1375 2001-03-04 Andreas Jaeger <aj@suse.de>
1377 * resolv/tst-aton.c: Add testcase for IP with four periods.
1379 * resolv/inet_addr.c: Don't recognize an IP with four periods.
1380 Patch by Andre' Breiler <A.Breiler@gmx.net>.
1382 2001-02-27 Philip Blundell <pb@futuretv.com>
1384 * elf/elf.h: Add new ARM definitions from latest (B-01)
1385 specification. Correct naming of EF_ARM_ALIGN8 et al.
1387 2001-03-04 Ulrich Drepper <drepper@redhat.com>
1389 * stdio-common/tst-printf.sh: Remove bashisms.
1390 Patch by Matthew Clarke <Matthew_Clarke@mindlink.bc.ca>.
1392 2001-03-03 Ulrich Drepper <drepper@redhat.com>
1394 * Versions.def: Add libanl definition.
1395 * shlib-versions: Add entry for libanl.
1396 * resolv/Makefile (distribute): Add gai_misc.h and ga_test.c.
1397 (routines): Add gai_sigqueue.
1398 (extra-libs): Add libanl.
1399 (libanl-routines): New variable.
1400 Add rules to build libanl and ga_test.
1401 * resolv/Versions [libc] (GLIBC_2.2.3): Add __gai_sigqueue.
1402 [libanl]: New library.
1403 * resolv/netdb.h: Add definitions for libanl.
1404 * resolv/getaddrinfo_a.c: New file.
1405 * resolv/gai_cancel.c: New file.
1406 * resolv/gai_error.c: New file.
1407 * resolv/gai_misc.c: New file.
1408 * resolv/gai_misc.h: New file.
1409 * resolv/gai_notify.c: New file.
1410 * resolv/gai_suspend.c: New file.
1411 * resolv/ga_test.c: New file.
1412 * sysdeps/generic/gai_sigqueue.c: New file.
1413 * sysdeps/unix/sysv/linux/gai_sigqueue.c: New file.
1414 * sysdeps/generic/bits/siginfo.h: Allow __need_sigevent_t being defined
1415 and provide only that definition.
1416 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
1417 * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
1418 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
1419 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
1420 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1421 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
1423 * rt/aio_misc.c: Fix typos in comments.
1424 * rt/lio_listio.c: Pretty printing. Little optimization in request
1427 * elf/rtld.c: Remove commented out code.
1429 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC):
1430 Update for real 2.4 kernels.
1432 2001-03-01 Ulrich Drepper <drepper@redhat.com>
1434 * elf/dl-load.c: Pretty printing.
1436 * elf/dl-object.c (_dl_new_object): Don't add the loader's scope
1439 2001-02-28 Ulrich Drepper <drepper@redhat.com>
1441 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle
1442 relocations which are not in ld.so if RTLD_BOOTSTRAP is defined.
1444 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
1446 * elf/dl-misc.c (_dl_debug_vdprintf): Fix typo visible on 64-bit
1449 * sysdeps/unix/sysv/linux/powerpc/sysdep.h (C_TEXT): Define.
1451 2001-02-27 Ulrich Drepper <drepper@redhat.com>
1453 * sysdeps/powerpc/elf/libc-start.c: Use new output functions and
1456 * elf/Versions [ld]: Don't export _dl_debug_message anymore. Export
1458 * elf/dl-misc.c: Remove definition of _dl_sysdep_output and
1459 _dl_debug_message. Define _dl_debug_vdprintf, _dl_debug_printf,
1460 _dl_debug_printf_c, and _dl_printf.
1461 * sysdeps/generic/ldsodefs.h: Don't declare _dl_sysdep_output,
1462 _dl_debug_message, _dl_sysdep_message, _dl_sysdep_error, and
1463 _dl_sysdep_fatal. Declare _dl_debug_printf, _dl_debug_printf_c,
1464 _dl_printf, _dl_error_printf, and _dl_fatal_printf.
1465 * elf/dl-close.c: Replace use of old output functions with the new
1467 * elf/dl-deps.c: Likewise.
1468 * elf/dl-error.c: Likewise.
1469 * elf/dl-fini.c: Likewise.
1470 * elf/dl-init.c: Likewise.
1471 * elf/dl-load.c: Likewise.
1472 * elf/dl-lookup.c: Likewise.
1473 * elf/dl-minimal.c: Likewise.
1474 * elf/dl-open.c: Likewise.
1475 * elf/dl-profile.c: Likewise.
1476 * elf/dl-reloc.c: Likewise.
1477 * elf/dl-version.c: Likewise.
1478 * elf/do-lookup.h: Likewise.
1479 * elf/rtld.c: Likewise.
1480 * sysdeps/generic/dl-cache.c: Likewise.
1481 * sysdeps/generic/dl-sysdep.c: Likewise.
1482 * sysdeps/generic/libc-start.c: Likewise.
1483 * sysdeps/i386/dl-machine.h: Likewise.
1484 * sysdeps/arm/dl-machine.h: Likewise.
1485 * sysdeps/hppa/dl-machine.h: Likewise.
1486 * sysdeps/m68k/dl-machine.h: Likewise.
1487 * sysdeps/powerpc/dl-machine.h: Likewise.
1488 * sysdeps/s390/dl-machine.h: Likewise.
1489 * sysdeps/sh/dl-machine.h: Likewise.
1490 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
1491 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
1492 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
1494 * sysdeps/generic/ldsodefs.h: Remove _dl_secure declaration.
1496 * dlfcn/Makefile: Don't run tstatexit test unless .hidden is
1497 supported by assembler.
1499 * sysdeps/generic/ldsodefs.h: Remove commented-out variable
1502 * elf/rtld.c: Little optimizations in handling _dl_lazy.
1504 * elf/cache.c (save_cache): Portability changes.
1505 * elf/dl-profile.c (_dl_start_profile): Likewise.
1507 * elf/sln.c: Cleanups. Remove arbitrary limits.
1509 * elf/dl-close.c: Replace _dl_debug_* variables with _dl_debug_mask.
1510 * elf/dl-deps.c: Likewise.
1511 * elf/dl-fini.c: Likewise.
1512 * elf/dl-init.c: Likewise.
1513 * elf/dl-load.c: Likewise.
1514 * elf/dl-lookup.c: Likewise.
1515 * elf/dl-open.c: Likewise.
1516 * elf/dl-reloc.c: Likewise.
1517 * elf/dl-support.c: Likewise.
1518 * elf/dl-version.c: Likewise.
1519 * elf/do-lookup.h: Likewise.
1520 * elf/rtld.c: Likewise.
1521 * sysdeps/generic/dl-cache.c: Likewise.
1522 * sysdeps/generic/ldsodefs.h: Likewise.
1523 * sysdeps/generic/libc-start.c: Likewise.
1524 * elf/Versions: Don't export _dl_debug_impcalls and _dl_debug_files.
1525 Export _dl_debug_mask.
1526 * Versions.def: Define GLIBC_2.2.3 for ld.
1528 2001-02-26 Greg McGary <greg@mcgary.org>
1530 * sysdeps/unix/make-syscalls.sh (ptr): Handle `V' keyletter.
1532 2001-02-26 Paul Eggert <eggert@twinsun.com>
1534 Modify mkstemp.c and tempname.c so that they can be used by
1535 GNU applications on non-glibc platforms.
1537 * misc/mkstemp.c (__GT_FILE): Define to zero if not defined.
1539 * sysdeps/posix/tempname.c: Include <config.h> if HAVE_CONFIG_H.
1540 Include <stddef.h>, <stdint.h>, <string.h> only if
1541 STDC_HEADERS || _LIBC.
1542 Include <fcntl.h> only if HAVE_FCNTL_H || _LIBC.
1543 Include <unistd.h> only if HAVE_UNISTD_H || _LIBC.
1544 Include <sys/time.h> only if HAVE_SYS_TIME_H || _LIBC.
1545 (__set_errno): Define this macro if <errno.h> doesn't.
1546 (P_tmpdir, TMP_MAX, __GT_FILE, __GT_BIGFILE, __GT_DIR, __GT_NOCREATE):
1547 Define these macros if <stdio.h> doesn't.
1548 (S_ISDIR, S_IRUSR, S_IWUSR, S_IXUSR):
1549 Define these macros if <sys/stat.h> doesn't.
1550 Ignore <sys/stat.h> S_ISDIR if STAT_MACROS_BROKEN.
1551 (stat64, __getpid, __gettimeofday, __mkdir, __open, __open64,
1552 lxstat64, __xstat64): Define if not _LIBC.
1553 (struct_stat64): New macro.
1554 (direxists, __gen_tempname): Use it, to avoid a
1555 portability problem with Solaris 8.
1556 (__secure_getenv): Define if ! (HAVE___SECURE_GETENV || _LIBC).
1557 (__gen_tempname): Invoke gettimeofday only if
1558 HAVE_GETTIMEOFDAY || _LIBC; otherwise, fall back on plain "time".
1559 Use portable macros like S_IRUSR | S_IWUSR rather than nonportable
1560 octal values like 0600.
1562 2001-02-26 Ulrich Drepper <drepper@redhat.com>
1564 * sysdeps/ieee754/ldbl-96/e_jnl.c: New file.
1565 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
1567 * sysdeps/i386/fpu/libm-test-ulps: Update for jnl and ynl introduction.
1568 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
1570 * posix/wordexp-test.c (testit): Remove warnings.
1572 * dlfcn/Makefile (distribute): Add modatexit.c and modcxaatexit.c.
1573 (tests): Add tstatexit and tstcxaatexit.
1574 (module-names): Add modatexit and modcxaatexit.
1575 Add rules to build and run tstatexit and tstcxaatexit.
1576 * dlfcn/modatexit.c: New file.
1577 * dlfcn/modcxaatexit.c: New file.
1578 * dlfcn/tstatexit.c: New file.
1579 * dlfcn/tstcxaatexit.c: New file.
1581 * io/Makefile: Pass -DHAVE_DOT_HIDDEN to stat and mknod functions if
1582 .hidden is available.
1583 * io/stat.c: If .hidden is available use it to avoid exporting
1585 * io/fstat.c: Likewise.
1586 * io/lstat.c: Likewise.
1587 * io/stat64.c: Likewise.
1588 * io/fstat64.c: Likewise.
1589 * io/lstat64.c: Likewise.
1590 * sysdeps/generic/mknod.c: Likewise.
1592 * malloc/mtrace.c: Use __cxa_atexit and not atexit.
1593 * sysdeps/generic/bb_init_func.c: Likewise.
1594 * sysdeps/generic/libc-start.c: Likewise.
1596 * stdlib/atexit.c (__new_exitfn): Move to cxa_atexit.c.
1597 (atexit): Implement using __cxa_atexit.
1598 Use .hidden if availble to avoid exporting atexit.
1599 * stdlib/cxa_atexit.c (__new_exitfn): Moved to here from atexit.c.
1600 * stdlib/Versions: Export __new_exitfn for GLIBC_2.2.3.
1601 * stdlib/Makefile (routines): Add old_atexit.
1602 (static-only-routines): Add atexit.
1603 Pass -DHAVE_DOT_HIDDEN for atexit.c if .hidden is available.
1604 * stdlib/old_atexit.c: New file.
1606 * intl/Makefile: Remove bogus endif.
1608 2001-02-26 Andreas Jaeger <aj@suse.de>
1610 * iconvdata/Makefile (tests): Fix typo in last patch.
1612 * intl/Makefile (tests): Run mtrace-tst-gettext only when perl is
1614 Reported by Achim Gottinger <achim@gentoo.org>.
1616 2001-02-25 Andreas Jaeger <aj@suse.de>
1618 * intl/Makefile (plural.c): Reorder rules so that they work if
1619 BISON doesn't exist.
1621 2001-02-25 Ulrich Drepper <drepper@redhat.com>
1623 * intl/locale.alias: Don't use nb_NO but define aliases for it.
1625 2001-02-23 Ulrich Drepper <drepper@redhat.com>
1627 * sysdeps/i386/strtok.S: Continue to return NULL after the first
1630 2001-02-23 Andreas Jaeger <aj@suse.de>
1632 * string/tester.c (test_strtok_r): Add testcase.
1633 (test_strtok_r): Always initialize cp for proper checking.
1635 * sysdeps/generic/strtok.c (strtok): Handle case of first strtok
1636 returning NULL correctly.
1637 Patch by Fumitoshi UKAI <ukai@debian.or.jp>.
1638 * sysdeps/generic/strtok_r.c (__strtok_r): Likewise.
1640 2001-02-23 Ulrich Drepper <drepper@redhat.com>
1642 * sysdeps/unix/sysv/aix/bits/types.h: Define __need_NULL before
1643 including <stddef.h>.
1644 * sysdeps/unix/sysv/aix/write.c: Define alias __libc_write.
1645 * include/libc-symbols.h (weak_alias): Don't use .weak if
1646 HAVE_ASM_GLOBAL_DOT_NAME is defined.
1647 Patches by Michael Keezer <mkeezer@redhat.com>.
1649 * sysdeps/generic/ftime.c: Don't include <sys/time.h> at all.
1650 Patch by Michael Keezer <mkeezer@redhat.com>.
1652 * sysdeps/unix/sysv/aix/Dist: Remove restf.S and savef.S.
1653 * sysdeps/unix/sysv/aix/Makefile [$(subdir) == misc]
1654 (sysdep_routines): Remove restf.S and savef.S.
1655 * sysdeps/unix/sysv/aix/restf.S. Removed.
1656 * sysdeps/unix/sysv/aix/savef.S. Removed.
1657 * sysdeps/powerpc/fprrest.S: Use C_TEXT to define label. Also define
1658 alternative names used on some platforms.
1659 * sysdeps/powerpc/fprsave.S: Likewise.
1660 * sysdeps/powerpc/gprrest0.S: Likewise.
1661 * sysdeps/powerpc/gprrest1.S: Likewise.
1662 * sysdeps/powerpc/gprsave0.S: Likewise.
1663 * sysdeps/powerpc/gprsave1.S: Likewise.
1664 Patch by Michael Keezer <mkeezer@redhat.com>.
1666 2001-02-22 Ulrich Drepper <drepper@redhat.com>
1668 * sysdeps/i386/elf/start.S (_fp_hw): Actually define label.
1670 2001-02-22 Andreas Jaeger <aj@suse.de>
1672 * string/tst-strtok.c (main): Fix error messages.
1674 2001-02-22 Andreas Jaeger <aj@suse.de>
1676 * math/Makefile: Remove omit-long-double-fcts.
1678 2001-02-18 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1680 * sysdeps/mips/bsd-_setjmp.S (_setjmp): Reorder instructions to
1681 avoid problems on MIPS I.
1682 * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
1684 * sysdeps/mips/dl-machine.h (RTLD_START): Remove duplicate ".set
1687 2001-02-21 Ulrich Drepper <drepper@redhat.com>
1689 * posix/fnmatch_loop.c: Handle ranges outside glibc correctly.
1691 * sysdeps/generic/ftime.c: Include <time.h>.
1693 * configure.in: Don't check for libgd if user passed --without-gd.
1694 Patch by Achim Gottinger <achim@gentoo.org>.
1696 * sysdeps/i386/i686/strtok.S: Continue to return NULL after the
1697 first time this happened.
1698 * string/Makefile (tests): Add tst-strtok.
1700 2001-02-21 Andreas Jaeger <aj@suse.de>
1702 * string/tst-strtok.c: New testcase, reported by
1703 Andrew Church <achurch@achurch.org>.
1705 2001-02-20 Ulrich Drepper <drepper@redhat.com>
1707 * libio/iofwide.c: Remove fwide alias.
1709 2001-02-20 Andreas Jaeger <aj@suse.de>
1711 * iconvdata/Makefile (tests): Only run mtrace-tst-loading if perl
1713 Reported by Achim Gottinger <achim@gentoo.org>.
1715 2001-02-19 Ulrich Drepper <drepper@redhat.com>
1717 * iconv/tst-iconv1.c (main): Remove debugging code.
1719 * sysdeps/ieee754/flt-32/e_powf.c: Handle x == +-1 correctly.
1720 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1722 * sysdeps/generic/e_scalb.c: Set invalid exception for invalid
1724 * sysdeps/generic/e_scalbf.c: Likewise.
1725 * sysdeps/generic/e_scalbl.c: Likewise.
1727 * sysdeps/ia64/fpu/Makefile (libm-sysdep-routines): Add libm_error,
1728 libm_frexp4, libm_frexp4f, libm_frexp4l, and all the functions also
1730 (routines): Replace libm_error with libc_libm_error.
1731 * sysdeps/ia64/fpu/Dist: Add libc_libm_error.c.
1732 * sysdeps/ia64/fpu/libc_libm_error.c: New file.
1734 2001-02-18 Mark Kettenis <kettenis@gnu.org>
1736 * malloc/mtrace.c [USE_IN_LIBIO]: Define fopen as _IO_fopen64.
1737 (mtrace): Revert 2001-02-13 patch: use fopen instead of fopen64.
1739 2001-02-17 H.J. Lu <hjl@gnu.org>
1741 * sysdeps/unix/sysv/linux/ia64/clone2.S: Use clone2 and don't use
1742 scratch registers across the system call.
1744 2001-02-19 Andreas Jaeger <aj@suse.de>
1746 * malloc/Makefile (tests): Run mtrace only when perl is available.
1747 Reported by Achim Gottinger <achim@gentoo.org>.
1749 2001-02-19 Ulrich Drepper <drepper@redhat.com>
1751 * sysdeps/ieee754/ldbl-96/e_j1l.c: New file.
1752 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
1754 * sysdeps/i386/fpu/libm-test-ulps: Adjust error values for j1 and y1.
1755 * sysdeps/ia64/fpu/libm-test-ulps: Adjust error values for y1.
1756 * math/libm-test.inc (j1_test): Mark constants as long double.
1757 (jn_test): Likewise.
1758 (y1_test): Likewise.
1759 (yn_test): Likewise.
1761 * libio/iogetline.c: Move return until after last statement.
1763 * localedata/show-ucs-data.c: Don't show < > for better readability.
1765 * sysdeps/ia64/fpu/Dist: New file.
1766 * sysdeps/ia64/fpu/Makefile: New file.
1767 * sysdeps/ia64/fpu/Versions: New file.
1768 * sysdeps/ia64/fpu/e_acos.S: New file.
1769 * sysdeps/ia64/fpu/e_acosf.S: New file.
1770 * sysdeps/ia64/fpu/e_acosl.S: New file.
1771 * sysdeps/ia64/fpu/e_asin.S: New file.
1772 * sysdeps/ia64/fpu/e_asinf.S: New file.
1773 * sysdeps/ia64/fpu/e_asinl.S: New file.
1774 * sysdeps/ia64/fpu/e_atan2.S: New file.
1775 * sysdeps/ia64/fpu/e_atan2f.S: New file.
1776 * sysdeps/ia64/fpu/e_atan2l.c: New file.
1777 * sysdeps/ia64/fpu/e_cosh.S: New file.
1778 * sysdeps/ia64/fpu/e_coshf.S: New file.
1779 * sysdeps/ia64/fpu/e_coshl.S: New file.
1780 * sysdeps/ia64/fpu/e_exp.S: New file.
1781 * sysdeps/ia64/fpu/e_expf.S: New file.
1782 * sysdeps/ia64/fpu/e_expl.c: New file.
1783 * sysdeps/ia64/fpu/e_fmod.S: New file.
1784 * sysdeps/ia64/fpu/e_fmodf.S: New file.
1785 * sysdeps/ia64/fpu/e_fmodl.S: New file.
1786 * sysdeps/ia64/fpu/e_hypot.S: New file.
1787 * sysdeps/ia64/fpu/e_hypotf.S: New file.
1788 * sysdeps/ia64/fpu/e_hypotl.S: New file.
1789 * sysdeps/ia64/fpu/e_log.S: New file.
1790 * sysdeps/ia64/fpu/e_log10.c: New file.
1791 * sysdeps/ia64/fpu/e_log10f.c: New file.
1792 * sysdeps/ia64/fpu/e_log10l.c: New file.
1793 * sysdeps/ia64/fpu/e_logf.S: New file.
1794 * sysdeps/ia64/fpu/e_logl.c: New file.
1795 * sysdeps/ia64/fpu/e_pow.S: New file.
1796 * sysdeps/ia64/fpu/e_powf.S: New file.
1797 * sysdeps/ia64/fpu/e_powl.S: New file.
1798 * sysdeps/ia64/fpu/e_rem_pio2.c: New file.
1799 * sysdeps/ia64/fpu/e_rem_pio2f.c: New file.
1800 * sysdeps/ia64/fpu/e_remainder.S: New file.
1801 * sysdeps/ia64/fpu/e_remainderf.S: New file.
1802 * sysdeps/ia64/fpu/e_remainderl.S: New file.
1803 * sysdeps/ia64/fpu/e_scalb.S: New file.
1804 * sysdeps/ia64/fpu/e_scalbf.S: New file.
1805 * sysdeps/ia64/fpu/e_scalbl.S: New file.
1806 * sysdeps/ia64/fpu/e_sinh.S: New file.
1807 * sysdeps/ia64/fpu/e_sinhf.S: New file.
1808 * sysdeps/ia64/fpu/e_sinhl.S: New file.
1809 * sysdeps/ia64/fpu/e_sqrt.S: New file.
1810 * sysdeps/ia64/fpu/e_sqrtf.S: New file.
1811 * sysdeps/ia64/fpu/e_sqrtl.S: New file.
1812 * sysdeps/ia64/fpu/k_rem_pio2.c: New file.
1813 * sysdeps/ia64/fpu/k_rem_pio2f.c: New file.
1814 * sysdeps/ia64/fpu/k_rem_pio2l.c: New file.
1815 * sysdeps/ia64/fpu/libm_atan2_reg.S: New file.
1816 * sysdeps/ia64/fpu/libm_error.c: New file.
1817 * sysdeps/ia64/fpu/libm_frexp4.S: New file.
1818 * sysdeps/ia64/fpu/libm_frexp4f.S: New file.
1819 * sysdeps/ia64/fpu/libm_frexp4l.S: New file.
1820 * sysdeps/ia64/fpu/libm_reduce.S: New file.
1821 * sysdeps/ia64/fpu/libm_support.h: New file.
1822 * sysdeps/ia64/fpu/libm_tan.S: New file.
1823 * sysdeps/ia64/fpu/s_atan.S: New file.
1824 * sysdeps/ia64/fpu/s_atanf.S: New file.
1825 * sysdeps/ia64/fpu/s_atanl.S: New file.
1826 * sysdeps/ia64/fpu/s_cbrt.S: New file.
1827 * sysdeps/ia64/fpu/s_cbrtf.S: New file.
1828 * sysdeps/ia64/fpu/s_cbrtl.S: New file.
1829 * sysdeps/ia64/fpu/s_ceil.S: New file.
1830 * sysdeps/ia64/fpu/s_ceilf.S: New file.
1831 * sysdeps/ia64/fpu/s_ceill.S: New file.
1832 * sysdeps/ia64/fpu/s_cos.S: New file.
1833 * sysdeps/ia64/fpu/s_cosf.S: New file.
1834 * sysdeps/ia64/fpu/s_cosl.S: New file.
1835 * sysdeps/ia64/fpu/s_expm1.S: New file.
1836 * sysdeps/ia64/fpu/s_expm1f.S: New file.
1837 * sysdeps/ia64/fpu/s_expm1l.S: New file.
1838 * sysdeps/ia64/fpu/s_floor.S: New file.
1839 * sysdeps/ia64/fpu/s_floorf.S: New file.
1840 * sysdeps/ia64/fpu/s_floorl.S: New file.
1841 * sysdeps/ia64/fpu/s_frexp.c: New file.
1842 * sysdeps/ia64/fpu/s_frexpf.c: New file.
1843 * sysdeps/ia64/fpu/s_frexpl.c: New file.
1844 * sysdeps/ia64/fpu/s_ilogb.S: New file.
1845 * sysdeps/ia64/fpu/s_ilogbf.S: New file.
1846 * sysdeps/ia64/fpu/s_ilogbl.S: New file.
1847 * sysdeps/ia64/fpu/s_ldexp.S: New file.
1848 * sysdeps/ia64/fpu/s_ldexpf.S: New file.
1849 * sysdeps/ia64/fpu/s_ldexpl.S: New file.
1850 * sysdeps/ia64/fpu/s_log1p.S: New file.
1851 * sysdeps/ia64/fpu/s_log1pf.S: New file.
1852 * sysdeps/ia64/fpu/s_log1pl.S: New file.
1853 * sysdeps/ia64/fpu/s_logb.S: New file.
1854 * sysdeps/ia64/fpu/s_logbf.S: New file.
1855 * sysdeps/ia64/fpu/s_logbl.S: New file.
1856 * sysdeps/ia64/fpu/s_matherrf.c: New file.
1857 * sysdeps/ia64/fpu/s_matherrl.c: New file.
1858 * sysdeps/ia64/fpu/s_modf.S: New file.
1859 * sysdeps/ia64/fpu/s_modff.S: New file.
1860 * sysdeps/ia64/fpu/s_modfl.S: New file.
1861 * sysdeps/ia64/fpu/s_nearbyint.S: New file.
1862 * sysdeps/ia64/fpu/s_nearbyintf.S: New file.
1863 * sysdeps/ia64/fpu/s_nearbyintl.S: New file.
1864 * sysdeps/ia64/fpu/s_rint.S: New file.
1865 * sysdeps/ia64/fpu/s_rintf.S: New file.
1866 * sysdeps/ia64/fpu/s_rintl.S: New file.
1867 * sysdeps/ia64/fpu/s_round.S: New file.
1868 * sysdeps/ia64/fpu/s_roundf.S: New file.
1869 * sysdeps/ia64/fpu/s_roundl.S: New file.
1870 * sysdeps/ia64/fpu/s_scalbn.S: New file.
1871 * sysdeps/ia64/fpu/s_scalbnf.S: New file.
1872 * sysdeps/ia64/fpu/s_scalbnl.S: New file.
1873 * sysdeps/ia64/fpu/s_significand.S: New file.
1874 * sysdeps/ia64/fpu/s_significandf.S: New file.
1875 * sysdeps/ia64/fpu/s_significandl.S: New file.
1876 * sysdeps/ia64/fpu/s_sin.c: New file.
1877 * sysdeps/ia64/fpu/s_sincos.c: New file.
1878 * sysdeps/ia64/fpu/s_sincosf.c: New file.
1879 * sysdeps/ia64/fpu/s_sincosl.c: New file.
1880 * sysdeps/ia64/fpu/s_sinf.c: New file.
1881 * sysdeps/ia64/fpu/s_sinl.c: New file.
1882 * sysdeps/ia64/fpu/s_tan.S: New file.
1883 * sysdeps/ia64/fpu/s_tanf.S: New file.
1884 * sysdeps/ia64/fpu/s_tanl.S: New file.
1885 * sysdeps/ia64/fpu/s_trunc.S: New file.
1886 * sysdeps/ia64/fpu/s_truncf.S: New file.
1887 * sysdeps/ia64/fpu/s_truncl.S: New file.
1888 * sysdeps/ia64/fpu/w_acos.c: New file.
1889 * sysdeps/ia64/fpu/w_acosf.c: New file.
1890 * sysdeps/ia64/fpu/w_acosl.c: New file.
1891 * sysdeps/ia64/fpu/w_asin.c: New file.
1892 * sysdeps/ia64/fpu/w_asinf.c: New file.
1893 * sysdeps/ia64/fpu/w_asinl.c: New file.
1894 * sysdeps/ia64/fpu/w_atan2.c: New file.
1895 * sysdeps/ia64/fpu/w_atan2f.c: New file.
1896 * sysdeps/ia64/fpu/w_atan2l.c: New file.
1897 * sysdeps/ia64/fpu/w_cosh.c: New file.
1898 * sysdeps/ia64/fpu/w_coshf.c: New file.
1899 * sysdeps/ia64/fpu/w_coshl.c: New file.
1900 * sysdeps/ia64/fpu/w_exp.c: New file.
1901 * sysdeps/ia64/fpu/w_expf.c: New file.
1902 * sysdeps/ia64/fpu/w_fmod.c: New file.
1903 * sysdeps/ia64/fpu/w_fmodf.c: New file.
1904 * sysdeps/ia64/fpu/w_fmodl.c: New file.
1905 * sysdeps/ia64/fpu/w_hypot.c: New file.
1906 * sysdeps/ia64/fpu/w_hypotf.c: New file.
1907 * sysdeps/ia64/fpu/w_hypotl.c: New file.
1908 * sysdeps/ia64/fpu/w_log.c: New file.
1909 * sysdeps/ia64/fpu/w_log10.c: New file.
1910 * sysdeps/ia64/fpu/w_log10f.c: New file.
1911 * sysdeps/ia64/fpu/w_log10l.c: New file.
1912 * sysdeps/ia64/fpu/w_logf.c: New file.
1913 * sysdeps/ia64/fpu/w_logl.c: New file.
1914 * sysdeps/ia64/fpu/w_pow.c: New file.
1915 * sysdeps/ia64/fpu/w_powf.c: New file.
1916 * sysdeps/ia64/fpu/w_powl.c: New file.
1917 * sysdeps/ia64/fpu/w_remainder.c: New file.
1918 * sysdeps/ia64/fpu/w_remainderf.c: New file.
1919 * sysdeps/ia64/fpu/w_remainderl.c: New file.
1920 * sysdeps/ia64/fpu/w_scalb.c: New file.
1921 * sysdeps/ia64/fpu/w_scalbf.c: New file.
1922 * sysdeps/ia64/fpu/w_scalbl.c: New file.
1923 * sysdeps/ia64/fpu/w_sqrt.c: New file.
1924 * sysdeps/ia64/fpu/w_sqrtf.c: New file.
1925 * sysdeps/ia64/fpu/w_sqrtl.c: New file.
1926 * sysdeps/ia64/fpu/libm-test-ulps: Adjust for long double
1928 * sysdeps/ia64/fpu/bits/mathdef.h: Correct float_t and double_t types.
1929 Change FP_ILOGBNAN for new implementation.
1930 * Verions.def: Add 2.2.3 versions.
1932 2001-02-18 Ulrich Drepper <drepper@redhat.com>
1934 * math/libm-test.inc (scalb_test): Require invalid exception being
1935 raised for invalid parameters.
1936 * sysdeps/i386/fpu/e_scalb.S: Raise invalid exception if necessary.
1937 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1938 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1940 2001-02-18 Mark Kettenis <kettenis@gnu.org>
1942 * sysdeps/mach/getsysstats.c (__get_phys_pages): Change return
1944 (__get_avphys_pages): Likewise.
1946 2001-02-18 Ulrich Drepper <drepper@redhat.com>
1948 * math/libm-test.inc (pow_test): Correct expected results for x == +-1.
1949 * sysdeps/i386/fpu/e_pow.S: Handle x == +-1 correctly.
1950 * sysdeps/i386/fpu/e_powf.S: Likewise.
1951 * sysdeps/i386/fpu/e_powl.S: Likewise.
1953 * sysdeps/i386/fpu/bits/mathinline.h: Remove pow inline code.
1955 2001-02-17 Ulrich Drepper <drepper@redhat.com>
1957 * math/Makefile (libm-calls): It's e_exp2 not s_exp2.
1959 * sysdeps/generic/s_exp2l.c: Renamed to...
1960 * sysdeps/generic/e_exp2l.c: ...this. New file.
1961 * sysdeps/i386/fpu/s_exp2.S: Renamed to...
1962 * sysdeps/i386/fpu/e_exp2.S: ...this. New file.
1963 * sysdeps/i386/fpu/s_exp2f.S: Renamed to...
1964 * sysdeps/i386/fpu/e_exp2f.S: ...this. New file.
1965 * sysdeps/i386/fpu/s_exp2l.S: Renamed to...
1966 * sysdeps/i386/fpu/e_exp2l.S: ...this. New file.
1967 * sysdeps/ieee754/flt-32/s_exp2f.c: Renamed to...
1968 * sysdeps/ieee754/flt-32/e_exp2f.c: ...this. New file.
1969 * sysdeps/ieee754/dbl-64/s_exp2.c: Renamed to...
1970 * sysdeps/ieee754/dbl-64/e_exp2.c: ...this. New file.
1971 * sysdeps/m68k/fpu/s_exp2.c: Renamed to...
1972 * sysdeps/m68k/fpu/e_exp2.c: ...this. New file.
1973 * sysdeps/m68k/fpu/s_exp2f.c: Renamed to...
1974 * sysdeps/m68k/fpu/e_exp2f.c: ...this. New file.
1975 * sysdeps/m68k/fpu/s_exp2l.c: Renamed to...
1976 * sysdeps/m68k/fpu/e_exp2l.c: ...this. New file.
1978 2001-02-17 Andreas Jaeger <aj@suse.de>
1980 * configure.in: Allow gcc 3.
1982 2001-02-16 Ulrich Drepper <drepper@redhat.com>
1984 * math/w_acos.c: Move to ...
1985 * sysdeps/generic/w_acos.c: ...here. New file.
1986 * math/w_acosf.c: Move to ...
1987 * sysdeps/generic/w_acosf.c: ...here. New file.
1988 * math/w_acosh.c: Move to ...
1989 * sysdeps/generic/w_acosh.c: ...here. New file.
1990 * math/w_acoshf.c: Move to ...
1991 * sysdeps/generic/w_acoshf.c: ...here. New file.
1992 * math/w_acoshl.c: Move to ...
1993 * sysdeps/generic/w_acoshl.c: ...here. New file.
1994 * math/w_acosl.c: Move to ...
1995 * sysdeps/generic/w_acosl.c: ...here. New file.
1996 * math/w_asin.c: Move to ...
1997 * sysdeps/generic/w_asin.c: ...here. New file.
1998 * math/w_asinf.c: Move to ...
1999 * sysdeps/generic/w_asinf.c: ...here. New file.
2000 * math/w_asinl.c: Move to ...
2001 * sysdeps/generic/w_asinl.c: ...here. New file.
2002 * math/w_atan2.c: Move to ...
2003 * sysdeps/generic/w_atan2.c: ...here. New file.
2004 * math/w_atan2f.c: Move to ...
2005 * sysdeps/generic/w_atan2f.c: ...here. New file.
2006 * math/w_atan2l.c: Move to ...
2007 * sysdeps/generic/w_atan2l.c: ...here. New file.
2008 * math/w_atanh.c: Move to ...
2009 * sysdeps/generic/w_atanh.c: ...here. New file.
2010 * math/w_atanhf.c: Move to ...
2011 * sysdeps/generic/w_atanhf.c: ...here. New file.
2012 * math/w_atanhl.c: Move to ...
2013 * sysdeps/generic/w_atanhl.c: ...here. New file.
2014 * math/w_cosh.c: Move to ...
2015 * sysdeps/generic/w_cosh.c: ...here. New file.
2016 * math/w_coshf.c: Move to ...
2017 * sysdeps/generic/w_coshf.c: ...here. New file.
2018 * math/w_coshl.c: Move to ...
2019 * sysdeps/generic/w_coshl.c: ...here. New file.
2020 * math/w_drem.c: Move to ...
2021 * sysdeps/generic/w_drem.c: ...here. New file.
2022 * math/w_dremf.c: Move to ...
2023 * sysdeps/generic/w_dremf.c: ...here. New file.
2024 * math/w_dreml.c: Move to ...
2025 * sysdeps/generic/w_dreml.c: ...here. New file.
2026 * math/w_exp10.c: Move to ...
2027 * sysdeps/generic/w_exp10.c: ...here. New file.
2028 * math/w_exp10f.c: Move to ...
2029 * sysdeps/generic/w_exp10f.c: ...here. New file.
2030 * math/w_exp10l.c: Move to ...
2031 * sysdeps/generic/w_exp10l.c: ...here. New file.
2032 * math/w_exp2.c: Move to ...
2033 * sysdeps/generic/w_exp2.c: ...here. New file.
2034 * math/w_exp2f.c: Move to ...
2035 * sysdeps/generic/w_exp2f.c: ...here. New file.
2036 * math/w_exp2l.c: Move to ...
2037 * sysdeps/generic/w_exp2l.c: ...here. New file.
2038 * math/w_fmod.c: Move to ...
2039 * sysdeps/generic/w_fmod.c: ...here. New file.
2040 * math/w_fmodf.c: Move to ...
2041 * sysdeps/generic/w_fmodf.c: ...here. New file.
2042 * math/w_fmodl.c: Move to ...
2043 * sysdeps/generic/w_fmodl.c: ...here. New file.
2044 * math/w_hypot.c: Move to ...
2045 * sysdeps/generic/w_hypot.c: ...here. New file.
2046 * math/w_hypotf.c: Move to ...
2047 * sysdeps/generic/w_hypotf.c: ...here. New file.
2048 * math/w_hypotl.c: Move to ...
2049 * sysdeps/generic/w_hypotl.c: ...here. New file.
2050 * math/w_j0.c: Move to ...
2051 * sysdeps/generic/w_j0.c: ...here. New file.
2052 * math/w_j0f.c: Move to ...
2053 * sysdeps/generic/w_j0f.c: ...here. New file.
2054 * math/w_j0l.c: Move to ...
2055 * sysdeps/generic/w_j0l.c: ...here. New file.
2056 * math/w_j1.c: Move to ...
2057 * sysdeps/generic/w_j1.c: ...here. New file.
2058 * math/w_j1f.c: Move to ...
2059 * sysdeps/generic/w_j1f.c: ...here. New file.
2060 * math/w_j1l.c: Move to ...
2061 * sysdeps/generic/w_j1l.c: ...here. New file.
2062 * math/w_jn.c: Move to ...
2063 * sysdeps/generic/w_jn.c: ...here. New file.
2064 * math/w_jnf.c: Move to ...
2065 * sysdeps/generic/w_jnf.c: ...here. New file.
2066 * math/w_jnl.c: Move to ...
2067 * sysdeps/generic/w_jnl.c: ...here. New file.
2068 * math/w_lgamma.c: Move to ...
2069 * sysdeps/generic/w_lgamma.c: ...here. New file.
2070 * math/w_lgammaf.c: Move to ...
2071 * sysdeps/generic/w_lgammaf.c: ...here. New file.
2072 * math/w_lgammaf_r.c: Move to ...
2073 * sysdeps/generic/w_lgammaf_r.c: ...here. New file.
2074 * math/w_lgammal.c: Move to ...
2075 * sysdeps/generic/w_lgammal.c: ...here. New file.
2076 * math/w_lgammal_r.c: Move to ...
2077 * sysdeps/generic/w_lgammal_r.c: ...here. New file.
2078 * math/w_lgamma_r.c: Move to ...
2079 * sysdeps/generic/w_lgamma_r.c: ...here. New file.
2080 * math/w_log10.c: Move to ...
2081 * sysdeps/generic/w_log10.c: ...here. New file.
2082 * math/w_log10f.c: Move to ...
2083 * sysdeps/generic/w_log10f.c: ...here. New file.
2084 * math/w_log10l.c: Move to ...
2085 * sysdeps/generic/w_log10l.c: ...here. New file.
2086 * math/w_log.c: Move to ...
2087 * sysdeps/generic/w_log.c: ...here. New file.
2088 * math/w_logf.c: Move to ...
2089 * sysdeps/generic/w_logf.c: ...here. New file.
2090 * math/w_logl.c: Move to ...
2091 * sysdeps/generic/w_logl.c: ...here. New file.
2092 * math/w_pow.c: Move to ...
2093 * sysdeps/generic/w_pow.c: ...here. New file.
2094 * math/w_powf.c: Move to ...
2095 * sysdeps/generic/w_powf.c: ...here. New file.
2096 * math/w_powl.c: Move to ...
2097 * sysdeps/generic/w_powl.c: ...here. New file.
2098 * math/w_remainder.c: Move to ...
2099 * sysdeps/generic/w_remainder.c: ...here. New file.
2100 * math/w_remainderf.c: Move to ...
2101 * sysdeps/generic/w_remainderf.c: ...here. New file.
2102 * math/w_remainderl.c: Move to ...
2103 * sysdeps/generic/w_remainderl.c: ...here. New file.
2104 * math/w_scalb.c: Move to ...
2105 * sysdeps/generic/w_scalb.c: ...here. New file.
2106 * math/w_scalbf.c: Move to ...
2107 * sysdeps/generic/w_scalbf.c: ...here. New file.
2108 * math/w_scalbl.c: Move to ...
2109 * sysdeps/generic/w_scalbl.c: ...here. New file.
2110 * math/w_sinh.c: Move to ...
2111 * sysdeps/generic/w_sinh.c: ...here. New file.
2112 * math/w_sinhf.c: Move to ...
2113 * sysdeps/generic/w_sinhf.c: ...here. New file.
2114 * math/w_sinhl.c: Move to ...
2115 * sysdeps/generic/w_sinhl.c: ...here. New file.
2116 * math/w_sqrtl.c: Move to ...
2117 * sysdeps/generic/w_sqrtl.c: ...here. New file.
2118 * math/w_tgamma.c: Move to ...
2119 * sysdeps/generic/w_tgamma.c: ...here. New file.
2120 * math/w_tgammaf.c: Move to ...
2121 * sysdeps/generic/w_tgammaf.c: ...here. New file.
2122 * math/w_tgammal.c: Move to ...
2123 * sysdeps/generic/w_tgammal.c: ...here. New file.
2125 * locale/programs/ld-address.c (address_finish): Add 'S' to allow
2126 formats for postal_fmt.
2128 2001-02-16 Jakub Jelinek <jakub@redhat.com>
2130 * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Add
2131 __ftruncate64 alias.
2132 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (ftruncate):
2135 2001-02-15 David Mosberger <davidm@hpl.hp.com>
2137 * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): No need to
2138 do "loadrs". Writing to bspstore already takes care of
2139 invalidating the "clean" partition.
2141 2001-02-16 Andreas Schwab <schwab@suse.de>
2143 * sysdeps/m68k/fpu/s_nextafterl.c: New file.
2144 * sysdeps/m68k/fpu/s_fpclassifyl.c: New file.
2146 2001-02-15 Jakub Jelinek <jakub@redhat.com>
2148 * posix/regex.c (init_syntax_once): Add prototype.
2149 (TRANSLATE): If MBS_SUPPORT, translate all characters up to '\xff'.
2150 (re_search_2): Avoid warning.
2151 (count_mbs_length): Add prototype.
2152 * posix/tst-regex3.c: New file.
2153 * posix/Makefile (tests): Add bug-regex3.
2155 2001-02-15 Ulrich Drepper <drepper@redhat.com>
2157 * stdio-common/Makefile (tests): Add tst-gets.
2158 * stdio-common/tst-gets.c: New file.
2159 * stdio-common/tst-gets.input: New file.
2161 * elf/elf.h (DT_CHECKSUM): Define.
2163 * sysdeps/generic/strtoll.c: Don't export __strto*_internal as
2165 * sysdeps/generic/strtoull.c: Likewise.
2167 2001-02-14 Wolfram Gloger <wg@malloc.de>
2169 * malloc/malloc.c (new_heap): When allocating large chunk aligned
2170 to HEAP_MAX_SIZE, prefer one with lower address, to avoid `holes'
2173 2001-02-14 Ulrich Drepper <drepper@redhat.com>
2175 * math/libm-test.inc (j0_test): Check whether sincos is available.
2176 (j1_test): Likewise.
2177 (jn_test): Likewise.
2178 (y0_test): Likewise.
2179 (y1_test): Likewise.
2180 (yn_test): Likewise.
2182 * posix/tst-gnuglob.c: Make a few entries DT_UNKNOWN and teach
2183 fake filesystem routines to handle this.
2185 * time/sys/time.h: Make settimeofday and adjtime available if
2188 * time/sys/time.h: Make timer* macros available for BSD.
2190 * iconvdata/gb18030.c: Update for Dec 2000 re-release of GB18030.
2191 Patch by Yong Li <rigel863@yahoo.com>.
2193 * sysdeps/generic/glob.c (CONVERT_DIRENT_DIRENT64): Fix copying of
2196 * posix/Makefile (tests): Add tst-gnuglob.
2197 * posix/tst-gnuglob.c: New file.
2199 2001-02-13 H.J. Lu <hjl@gnu.org>
2201 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __ftruncate64.
2203 2001-02-13 Ulrich Drepper <drepper@redhat.com>
2205 * locale/programs/ld-paper.c (paper_output): Pretty printing.
2207 * iconvdata/Makefile (modules): Add GBBIG5.
2208 (distribute): Add gbbig5.c.
2209 * iconvdata/gconv-modules: Add entries for GBBIG5 module.
2211 * iconvdata/gbbig5.c: New file.
2212 Contributed by Yong Li <rigel863@yahoo.com>.
2214 2001-02-13 Philip Blundell <pb@futuretv.com>
2216 * manual/crypt.texi: Remove outdated references to crypt add-on.
2218 * manual/creature.texi: Improve wording slightly.
2220 2001-02-13 Ulrich Drepper <drepper@redhat.com>
2222 * io/ftw.c: Always use readdir64.
2223 * io/ftw64.c: Likewise.
2224 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2225 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2226 * sysdeps/generic/glob.c: Likewise. Convert results of gl_readdir
2227 callback to dirent. Still allow compiling outside glibc.
2228 * sysdeps/gnu/glob64.c: Define COMPILE_GLOB64.
2229 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
2231 * malloc/mtrace.c: Use fopen64.
2232 * posix/spawni.c: Use __open64.
2233 * sysdeps/unix/opendir.c: Likewise.
2234 * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
2236 * sysdeps/generic/ftruncate64.c: Define __ftruncate64 and make old
2238 * sysdeps/unix/sysv/aix/ftruncate64.c: Likewise.
2239 * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise.
2240 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
2241 * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Likewise.
2243 * resolv/res_data.c: Add cast to avoid warning.
2245 * include/unistd.h: Declare __ftruncate64.
2247 * sysdeps/generic/utmp_file.c: Use LFS functions and types.
2249 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use __lseek64
2252 2001-02-13 Andreas Jaeger <aj@suse.de>
2254 * login/getutent_r.c: Include <stdlib.h> for NULL.
2255 * login/getutid_r.c: Likewise.
2257 2001-02-12 Ulrich Drepper <drepper@redhat.com>
2259 * sysdeps/dbl-64/e_j0.c: Little optimization, use sincos.
2260 * sysdeps/dbl-64/e_j1.c: Likewise.
2261 * sysdeps/dbl-64/e_jn.c: Likewise.
2262 * sysdeps/flt-32/e_j0f.c: Likewise.
2263 * sysdeps/flt-32/e_j1f.c: Likewise.
2264 * sysdeps/ldbl-96/e_j0l.c: Likewise.
2266 2000-12-02 H.J. Lu <hjl@gnu.org>
2268 * resolv/res_libc.c (res_init): Don't make it default.
2270 2001-02-12 Ulrich Drepper <drepper@redhat.com>
2272 * manual/debug.texi: Improved the wording.
2273 Patch by Philip Blundell <pb@futuretv.com>.
2275 2001-02-12 Andreas Jaeger <aj@suse.de>
2277 * posix/Makefile (tests): Don't run bug-regex2 when
2280 * libio/Makefile (tests): Don't run test-freopen when
2283 * manual/stdio.texi (Streams and I18N): Fix typos.
2285 2001-02-12 Ulrich Drepper <drepper@redhat.com>
2287 * sysdeps/i386/fpu/libm-test-ulps: Adjust for errors in y0l.
2289 * math/libm-test.inc (j0_test): Make expected results long double
2291 (y0_test): Likewise.
2293 * sysdeps/ieee754/ldbl-96/e_j0l.c: New file.
2294 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
2296 2001-02-11 Jakub Jelinek <jakub@redhat.com>
2298 * sysdeps/generic/strtoll.c (__strtoq_internal): Ressurect alias
2299 which was exported from libc.
2300 * sysdeps/generic/strtoull.c (__strtouq_internal): Likewise.
2302 2001-02-12 Andreas Jaeger <aj@suse.de>
2304 * manual/arith.texi (Parsing of Integers): Fix some wordings.
2306 2001-02-11 Ulrich Drepper <drepper@redhat.com>
2308 * sysdeps/generic/getsysstat.c: Change return value of get_phys_pages
2309 and get_avphys_page to long int.
2310 * sysdeps/unix/sysv/linux/getsysstat.c: Likewise.
2311 * include/sys/sysinfo.h: Likewise.
2312 * sysdeps/generic/sys/sysinfo.h: Likewise.
2313 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
2315 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Fail if we
2316 cannot return as many values as the user asked for.
2318 2001-02-11 Andreas Jaeger <aj@suse.de>
2320 * manual/resource.texi (Memory Resources): Fix typo.
2322 * libio/Makefile ($(objpfx)test-freopen.out): Pass
2325 * libio/test-freopen.sh: Use run_program_prefix.
2327 2001-02-10 Andreas Jaeger <aj@suse.de>
2329 * stdlib/Makefile (tests): Don't run tst-fmtmsg when
2331 ($(objpfx)tst-fmtmsg.out): Pass run-program-prefix.
2333 * stdlib/tst-fmtmsg.sh (test): Use run_program_prefix for static
2336 * elf/Makefile (tests): Only run tst-pathopt with shared libs.
2338 * posix/Makefile: Fix typo, it's build-static-nss.
2340 * iconv/Makefile (extra-objs): New.
2342 2001-02-10 Mark Kettenis <kettenis@gnu.org>
2344 * sysdeps/unix/stime.c: Include <time.h>.
2346 * sysdeps/mach/hurd/setitimer.c: Include <time.h>.
2348 2001-02-10 Andreas Jaeger <aj@suse.de>
2350 * manual/string.texi (Search Functions): Fix typo.
2352 2001-02-10 Mark Kettenis <kettenis@gnu.org>
2354 * sysdeps/unix/bsd/times.c: Reorder includes and add <time.h>.
2355 (timeval_to_clock_t): Add clk_tck argument and use that instead of
2357 (__times): Use __getclktck to get the number of clock ticks per
2358 second and use its return value instead of CLK_TCK.
2360 2001-02-10 Mark Kettenis <kettenis@gnu.org>
2362 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (_HAVE_SA_LEN): Define.
2364 2001-02-10 Mark Kettenis <kettenis@gnu.org>
2366 * sysdeps/mach/gettimeofday.c: Include <stddef.h>.
2368 2001-02-10 Andreas Jaeger <aj@suse.de>
2370 * wctype/wcfuncs.c (func): Add prototype declarations to avoid
2373 2001-02-09 Ulrich Drepper <drepper@redhat.com>
2375 * posix/Makefile: Add rules to build and run bug-regex2.
2376 * posix/bug-regex2.c: New file.
2378 2001-02-10 Jakub Jelinek <jakub@redhat.com>
2380 * posix/regex.c (convert_mbs_to_wcs): Change is_binary to char *.
2381 (regex_compile): Likewise.
2382 (FREE_VARIABLES): Don't free is_binary1 and is_binary2.
2383 (re_match_2_internal): Use just is_binary instead of two variables.
2384 Use REGEX_TALLOC to allocate it and FREE_VAR to free on failure.
2386 2001-02-09 Ulrich Drepper <drepper@redhat.com>
2388 * version.h (VERSION): Bump to 2.2.2.
2390 * iconv/Makefile (distribute): Add iconv_charmap.c and
2392 * elf/Makefile (distribute): Add firstobj.c.
2393 * Makefile (distribute): Add include/pthread.h.
2395 * configure.in: Require makeinfo version 4.
2397 * libio/tst_wscanf.c (main): Add cast to avoid warning.
2398 * libio/tst_swscanf.c (main): Likewise..
2400 2001-02-09 Jakub Jelinek <jakub@redhat.com>
2402 * sysdeps/generic/setenv.c (unsetenv): Remove const from len.
2403 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, fdim): Don't define if
2405 * sysdeps/i386/dl-machine.h (elf_machine_rel): Only declare refsym
2406 if not RTLD_BOOTSTRAP.
2407 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
2408 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
2410 2001-02-09 Ulrich Drepper <drepper@redhat.com>
2412 * locale/programs/linereader.c (get_ident): Stop loop if EOF. Use
2413 lr_ungetc to push back last read character.
2414 * locale/programs/linereader.h (lr_ungetc): Don't push back is
2416 (lr_ignore_rest): Don't warn about garbage if it is really the end
2419 * manual/Makefile: Use ifnottext and not ifinfo to protect Top node
2422 2001-02-08 Ulrich Drepper <drepper@redhat.com>
2424 * Makerules (build-shlib): Work around different order of
2425 processing of -B option in different gcc versions.
2427 * posix/regex.c: Fix alignment problem.
2428 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
2430 * sysdeps/alpha/strrchr.S: Little optimization.
2431 Patch by Richard Henderson <rth@redhat.com>.
2433 * sysdeps/alpha/alphaev67/strrchr.S: New file.
2434 Contributed by Rick Gorton <rick.gorton@alpha-processor.com>.
2436 2001-02-08 kaz Kojima <kkojima@rr.iij4u.or.jp>
2438 * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Correct function name
2439 in the assembler end directive.
2441 2001-02-08 Andreas Jaeger <aj@suse.de>
2443 * manual/stdio.texi (Closing Streams): Fix typos.
2445 2001-02-07 Ulrich Drepper <drepper@redhat.com>
2447 * sysdeps/alpha/alphaev67/strncat.S: Align last write address.
2448 Patch by Richard Henderson <rth@redhat.com>.
2449 Reported by Claus-Justus Heine <heine@instmath.rwth-aachen.de>.
2451 * stdlib/strfmon.c [USE_IN_LIBIO]: Define lock variable and store
2452 pointer in FILE structure before calling _IO_init.
2453 * stdlib/Makefile: Add -D_IO_MTSAFE_IO to CFLAGS for strfmon and
2454 strfmon_l if necessary.
2455 Reported by Jury Gerold <gjury@grips.com>.
2457 * sysdeps/gnu/netinet/tcp.h: Correct values of TCP_ macros.
2458 Patch by Pekka.Pietikainen@cern.ch.
2460 * posix/regex.c: Correct several problems with 64-bit architectures
2461 introduced in the MBS changes.
2462 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
2464 2001-02-07 Jakub Jelinek <jakub@redhat.com>
2466 * math/tgmath.h: Only add l suffixes if __NO_LONG_DOUBLE_MATH is
2468 * sysdeps/alpha/fpu/bits/mathinline.h: Honour __NO_MATH_INLINES.
2470 2001-02-07 Andreas Jaeger <aj@suse.de>
2472 * manual/install.texi (Tools for Compilation): Fix typo.
2473 Reported by Pavel Machek <pavel@bug.ucw.cz>.
2475 2001-02-07 Ulrich Drepper <drepper@redhat.com>
2477 * stdlib/strtod.c: Never stop prematurely reading digits before the
2478 decimal point is found. Compute exponent limit for negative exponents
2479 correctly. For numbers ending in all zeros eat the zeros even before
2480 the decimal point if the exponent is negative [PR libc/2072].
2481 * stdlib/Makefile (tests): Add bug-strtod.
2482 * stdlib/bug-strtod.c: New file.
2484 2001-02-07 Andreas Jaeger <aj@suse.de>
2486 * posix/bug-regex1.c: Include <wchar.h> for fwide.
2488 2001-02-06 Ulrich Drepper <drepper@redhat.com>
2490 * posix/regex.c (regex_compile): Don't store pointer in wchar_t array.
2492 (compile_range): Handle index being passed, not pointer.
2493 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
2495 * posix/regex.c: Fix a cast in the code for bracket handling which
2496 caused 8-bit uncleanliness.
2497 Patch by Michal Jaegermann <michal@ellpspace.math.ualberta.ca>.
2499 * posix/Makefile (tests): Add bug-regex1.
2500 * posix/bug-regex1.c: New file.
2501 Contributed by Jim Meyering <jim@meyering.net>.
2503 * posix/regex.c: Many cleanups for incorrect format strings.
2505 2001-02-06 Andreas Jaeger <aj@suse.de>
2507 * time/time.h (CLK_TCK): Check for !__STRICT_ANSI.
2509 2001-02-06 Ulrich Drepper <drepper@redhat.com>
2511 * locale/programs/locale.c (write_locales): Use scandir to read
2512 directory so that the entries are sorted.
2514 2001-02-06 Andreas Jaeger <aj@suse.de>
2516 * include/pthread.h: New file.
2518 * wctype/wctype.h: Move internal interfaces from here to...
2519 * include/wctype.h: ...here.
2521 * wcsmbs/wchar.h: Move __wcslen from here to...
2522 * include/wchar.h: ...here.
2524 * posix/sys/wait.h: Move __wait from here to...
2525 * include/sys/wait.h: ...here.
2527 * string/string.h: Move __ffs and __strerror_r from here to...
2528 * include/string.h: ...here.
2530 * stdlib/stdlib.h: Move __on_exit from here to...
2531 * include/stdlib.h: ...here.
2533 * libio/stdio.h: Move __vsnprintf from here to...
2534 * include/stdio.h: ...here.
2536 2001-02-06 Andreas Schwab <schwab@suse.de>
2538 * sysdeps/unix/sysv/linux/ia64/ioperm.c: Don't include kernel
2541 * timezone/Makefile: Don't assume that $(inst_zonedir) is a subdir
2544 2001-02-06 Ulrich Drepper <drepper@redhat.com>
2546 * iconvdata/Makefile: Add dependency for bug-iconv2.out.
2548 2001-02-06 Andreas Jaeger <aj@suse.de>
2550 * elf/firstobj.c: Add prototype.
2552 * posix/regex.c (convert_mbs_to_wcs): Make static, add prototype
2553 (truncate_wchar): Likewise.
2555 2001-02-06 Ulrich Drepper <drepper@redhat.com>
2557 * locale/programs/locale.c: Implement --verbose option for -a
2558 which prints detailed information about the locales.
2560 2001-02-05 Ulrich Drepper <drepper@redhat.com>
2562 * sunrpc/xdr_rec.c (set_input_fragment): Change type of header
2563 variable to uint32_t.
2564 Reported by Ulrich Weigand <weigand@immd1.informatik.uni-erlangen.de>.
2566 2001-02-04 Bruno Haible <haible@clisp.cons.org>
2568 * locale/C-translit.h.in: Add transliterations for CJK units of
2571 2001-02-05 Ulrich Drepper <drepper@redhat.com>
2573 * elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf
2574 string. Include <inttypes.h> instead of <stdint.h>.
2576 * localedata/Makefile (tests): Add bug-iconv-trans.
2577 Define bug-iconv-trans-ENV.
2578 * localedata/bug-iconv-trans.c: New file.
2580 2001-02-04 Bruno Haible <haible@clisp.cons.org>
2582 * iconv/gconv_trans.c (__gconv_transliterate): Use a temporary output
2583 pointer, to avoid accumulating output from incomplete (unsuccessful)
2584 transliteration attempts.
2586 2001-02-05 Ulrich Drepper <drepper@redhat.com>
2588 * elf/ldconfig.c (search_dir): Use PRIx64 instead of Lx in printf
2589 string. Include <inttypes.h> instead of <stdint.h>.
2591 * configure.in: Add check for bison.
2592 * config.make.in: Define BISON variable.
2593 * intl/Makefile: Use BISON instead of YACC when generating plural.c.
2594 Rename YFLAGS to BISONFLAGS.
2596 2001-02-05 Andreas Jaeger <aj@suse.de>
2598 * io/test-lfs.c (do_test): Test lseek64 return value, call
2600 (test_ftello): New function to test ftello64 and fseeko64.
2602 * signal/signal.h: Move __sigaction from here to...
2603 * include/signal.h: ...here.
2605 * io/fcntl.h: Move __fcntl and __open to...
2606 * include/fcntl.h: ...here.
2608 2001-02-04 Philip Blundell <philb@gnu.org>
2610 * configure.in: Distinguish ARM from Thumb.
2612 2001-02-04 Philip Blundell <philb@gnu.org>
2614 * sysdeps/arm/dl-machine.h (elf_machine_rel): Correct handling of
2615 PC24 relocs with negative value.
2617 2001-02-04 Ulrich Drepper <drepper@redhat.com>
2619 * iconv/Makefile (iconv_prog-modules): Define. Add vpath to find
2620 files in locale/programs. Add CFLAGS definition to allow compiling
2622 * iconv/dummy-repertoire.c: New file.
2623 * iconv/iconv_charmap.c: New file.
2624 * iconv/iconv_prog.h: New file.
2625 * iconv/iconv_prog.c: Make verbose and omit_invalid global.
2626 (main): If parameter for -f and -t contain slashes try first to resolve
2627 the strings as filenames of charmap files. Use them for conversion
2629 * iconvdata/run-iconv-test.sh: If charmaps exist also run tests with
2630 iconv getting charmap names as parameters.
2631 * locale/programs/linereader.c (lr_token): Take extra parameters
2632 verbose and pass it to get_string.
2633 (get_string): Take extra parameters verbose.
2634 * locale/programs/charmap.c (parse_charmap): Take extra parameters
2635 verbose and be_quiet. Change all callers of lr_token and
2637 * locale/programs/charmap.h: Likewise.
2638 * locale/programs/ld-address.c: Likewise.
2639 * locale/programs/ld-collate.c: Likewise.
2640 * locale/programs/ld-ctype.c: Likewise.
2641 * locale/programs/ld-identification.c: Likewise.
2642 * locale/programs/ld-measurement.c: Likewise.
2643 * locale/programs/ld-messages.c: Likewise.
2644 * locale/programs/ld-monetary.c: Likewise.
2645 * locale/programs/ld-name.c: Likewise.
2646 * locale/programs/ld-numeric.c: Likewise.
2647 * locale/programs/ld-paper.c: Likewise.
2648 * locale/programs/ld-telephone.c: Likewise.
2649 * locale/programs/ld-time.c: Likewise.
2650 * locale/programs/linereader.c: Likewise.
2651 * locale/programs/linereader.h: Likewise.
2652 * locale/programs/localedef.c: Likewise.
2653 * locale/programs/locfile.c: Likewise.
2654 * locale/programs/locfile.h: Likewise.
2655 * locale/programs/repertoire.c: Likewise.
2657 2001-02-03 Ulrich Drepper <drepper@redhat.com>
2659 * iconv/iconv_prog.c (main): If output file name is "-" write to
2661 (main): If -f or -t argument is missing use charset of the current
2664 2001-02-03 Andreas Jaeger <aj@suse.de>
2666 * sysdeps/i386/elf/start.S (_start): Align stack to 16-byte
2667 boundary for SSE/SSE-2 alignment.
2669 * posix/Makefile ($(objpfx)annexc.out): Also pass sysincludes to
2672 2001-02-03 Ulrich Drepper <drepper@redhat.com>
2674 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: File was using crlf.
2675 Remove comma at end of enum.
2677 * elf/dl-init.c: Add a few __builtin_expect.
2679 * hesiod/hesiod.c: Remove unnecessary code. Remove all uses of strcat.
2681 2001-02-02 Ulrich Drepper <drepper@redhat.com>
2683 * hesiod/hesiod.c (hesiod_resolve): Also search HS records if
2684 errno is ECONNREFUSED.
2686 * posix/Makefile: Define MBS_SUPPORT for regex.c.
2687 * posix/regex.c: Implement multibyte character handling.
2688 Patch by Isamu Hasegawa <isamu@yamato.ibm.co.jp>.
2690 * string/tst-svc.input: Add two more test cases.
2691 * string/tst-svc.expect: Modify to reflect new test cases.
2693 2001-02-01 Jakub Jelinek <jakub@redhat.com>
2695 * sysdeps/posix/getaddrinfo.c (gaih_local, gaih_inet): Replace all
2696 tp->name tests with tp->name[0] tests.
2698 2001-01-29 Ben Collins <bcollins@debian.org>
2700 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r):
2701 Fix check for name == NULL.
2703 2001-02-01 Ulrich Drepper <drepper@redhat.com>
2705 * elf/Makefile: Add rules to build and run initfirst test.
2706 * elf/initfirst.c: New file.
2707 * elf/firstobj.c: New file.
2709 * Makerules (build-shlib): Add $(extra-B-$(@F:lib%.so=%).so).
2710 * configure.in: Test for -z initfirst linker option.
2711 * config.make.in: Add have-z-initfirst.
2712 * elf/dl-init.c (_dl_init): Split out actual initialization code in
2713 new function call_init. If _dl_initfirst is non-NULL initialize first.
2714 * elf/dl-load.c (_dl_map_from_fd): If DF_1_INITFIRST flag is set
2715 remember object in _dl_initfirst.
2716 * elf/soinit.c: Remove special support for calling
2717 __pthread_initialize_minimal.
2719 * conform/conformtest.pl: Add missing $prepend in type test.
2721 2001-01-31 Ulrich Drepper <drepper@redhat.com>
2723 * elf/elf.h (SHT_CHECKSUM): New definition.
2725 * posix/fnmatch_loop.c: Remove incorrect reverse condition in
2726 [. .] matching. Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
2727 * posix/tst-fnmatch.input: Add tests for [. .] in locales.
2729 2001-01-31 Mark Kettenis <kettenis@gnu.org>
2731 * misc/sys/select.h: Include <bits/time.h> instead of <sys/time.h>
2732 to get definition of `struct timeval'.
2734 2001-01-31 Ulrich Drepper <drepper@redhat.com>
2736 * posix/tst-fnmatch.input: Add test cases for de_DE.UTF-8 locale.
2737 * posix/fnmatch_loop.c: Fix handling of [= =] for multibyte charsets.
2739 2001-01-30 Ulrich Drepper <drepper@redhat.com>
2741 * iconv/gconv_open.c (__gconv_open): Set conv_flags if IGNORE is
2744 * nis/nis_findserv.c: Include <time.h>.
2746 2001-01-30 Yong Li <yong.li@asu.edu>
2748 * iconv/iconv_prog.c (main): Correct error handling method name.
2750 2001-01-29 Ben Collins <bcollins@debian.org>
2752 * sysdeps/sparc/fpu/fraiseexcpt.c: Include <float.h>.
2753 * sysdeps/hppa/fpu/fraiseexcpt.c: Likewise.
2754 * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
2755 * sysdeps/s390/fpu/fraiseexcpt.c: Likewise.
2757 2001-01-30 Ulrich Drepper <drepper@redhat.com>
2759 * locale/programs/ld-measurement.c (measurement_finish): Fix a typo.
2760 Patch by Marko Myllynen <myllynen@lut.fi>.
2762 * string/bits/string2.h (__strpbrk_c2): Correct parameter types
2763 (int instead of char).
2764 (__strpbrk_c3): Likewise.
2765 Reported by GOTO Masanori <gotom@debian.or.jp>.
2767 * sysdeps/generic/bits/sockaddr.h: Remove SA_LEN macro.
2768 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Likewise.
2769 * include/sys/socket.h: Add SA_LEN here for internal use.
2770 Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
2772 2001-01-29 Ulrich Drepper <drepper@redhat.com>
2774 * malloc/Makefile: Don't build memusagestat if cross-compiling.
2776 * sysdeps/generic/dl-sysdep.c (set_seen): Fix typo.
2778 * math/libm-test.inc (rint_test): Add a few more tests for round
2781 2001-01-28 Ulrich Drepper <drepper@redhat.com>
2783 * conform/data/pthread.h-data: Correct return type of pthread_exit.
2785 * conform/conformtest.pl: Add -fno-builtin to CFLAGS.
2787 * conform/data/stdlib.h-data: Add _Exit.
2789 * inet/arpa/inet.h: Don't include <sys/types.h>. Define socklen_t
2790 if not already happened.
2791 * inet/netinet/in.h: Don't include <sys/types.h>, use <bits/types.h>.
2792 Don't include <limits.h> and <bits/sockaddr.h>.
2794 * conform/data/netinet/in.h-data: Allow all of <inttypes.h>.
2796 * conform/data/spawn.h-data: Allow all of <sched.h>.
2798 * sysdeps/ia64/fpu/fraiseexcpt.c: Include <float.h>. Removed
2801 * sunrpc/xdr_rec.c (xdrrec_getpos): Add cast to long to avoid warning.
2802 * sunrpc/xdr_sizeof.c (x_inline): Likewise.
2804 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include <float.h>.
2806 * conform/conformtest.pl: Define $mustprepend{"stdio.h"}.
2807 * libio/stdio.h: Define va_list correctly.
2809 * conform/data/pthread.h-data: Make priority protocol related
2810 functions optional. Fix typos.
2812 * posix/sched.h: Define sched_priority as __sched_priority.
2813 * sysdeps/generic/bits/sched.h (struct sched_param): Rename element
2814 to __sched_priority.
2815 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
2817 2001-01-27 Ulrich Drepper <drepper@redhat.com>
2819 * sysdeps/generic/clock_getcpuclockid.c: Include <time.h> instead
2822 * sysdeps/unix/stime.c: Include <stddef.h> for NULL.
2823 * sysdeps/unix/time.c: Likewise.
2825 * conform/data/time.h-data: CLK_TCK is not in XPG6. Fix tzname entry.
2826 * sysdeps/mach/hurd/bits/time.h: Don't define CLK_TCK for XPG6.
2827 * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
2828 * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
2829 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
2830 * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
2831 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
2832 * time/time.h: Likewise.
2834 * conform/conformtest.pl (@headers): Add complex.h and tgmath.h.
2835 * conform/data/complex.h-data: New file.
2836 * conform/data/tgmath.h-data: New file.
2838 * conform/data/wchar.h-data: Add missing functions.
2840 * sysdeps/gnu/bits/utmpx.h: Define RUN_LVL only if __USE_GNU.
2842 * conform/data/termios.h-data: Add missing const in tcsetattr()
2845 * posix/sys/wait.h: Include <signal.h> and <sys/resource.h>.
2846 Don't define pid_t here.
2848 * conform/data/sys/utsname.h-data: Don't provide fixed array sizes.
2850 * conform/data/sys/time.h-data: Allow sys/select.h.
2851 * conform/data/sys/un.h-data: Fix typo.
2852 * time/sys/time.h: Don't include all of <time.h>, just struct timeval.
2853 * sysdeps/posix/clock_getres.c: Include <time.h> instead of
2855 * sysdeps/unix/clock_nanosleep.c: Likewise.
2856 * sysdeps/unix/i386/clock_getcpuclockid.c: Likewise.
2857 * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
2858 * sysdeps/unix/clock_gettime.c: Also include <time.h>.
2859 * sysdeps/unix/clock_settime.c: Likewise.
2861 * sysdeps/generic/pselect.c: Include <stddef.h> for NULL.
2862 * login/getutent.c: Likewise.
2863 * login/getutid.c: Likewise.
2864 * login/getutline.c: Likewise.
2866 * socket/sys/un.h: Define SUN_LEN only if __USE_MISC.
2868 * sysdeps/unix/sysv/linux/bits/statvfs.h: Change type of f_fsid field
2869 to unsigned long. Add __f_unused. Define _STATVFSBUF_F_UNUSED.
2870 * sysdeps/unix/sysv/linux/internal_statvfs.c: Adjust initialization of
2871 f_fsid field after change in struct statvfs.
2872 * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: New file.
2873 * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: New file.
2874 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: New file.
2876 * conform/data/sys/stat.h-data: Remove isfdtype. Use
2879 * conform/data/sys/socket.h-data: Fix typos. Correct getsockopt,
2880 recvfrom, send, and socketpair prototypes. Add allow lines.
2881 * socket/sys/socket.h: Include <sys/uio.h>.
2882 Don't use fancy __SOCKADDR_ARG definition unless __USE_GNU.
2883 Fix type of second parameter of listen.
2884 Don't declare isfdtype unless __USE_MISC.
2885 * sysdeps/generic/listen.c: Fix type of second parameter of listen.
2886 * sysdeps/mach/hurd/listen.c: Likewise.
2887 * sysdeps/generic/bits/socket.h (struct sockaddr_storage): Define
2888 ss_family and __ss_family.
2889 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
2890 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
2891 (struct msghdr): Change type of msg_iovlen to int and type of
2892 msg_controllen to socklen_t.
2893 * sysdeps/unix/sysv/linux/alpha/bits/socket.h: New file.
2894 * sysdeps/unix/sysv/linux/ia64/bits/socket.h: New file.
2895 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: New file.
2896 * inet/rcmd.c (rcmd_af): __ss_family is now ss_family.
2897 (rresvport_af): Likewise.
2899 * conform/data/sys/shm.h-data: SHMLBA is not required to by a constant.
2900 * conform/conformtest.pl: Implement handling of symbol.
2902 * signal/signal.h: Fix handling of __need_* symbols.
2903 * misc/sys/select.c: Define fd_set here. Remove __fd_set. Define
2904 fd_mask only if __USE_MISC. Declare pselect for __USE_XOPEN2K.
2905 * include/sys/select.h: Use fd_set not __fd_set.
2906 * sysdeps/generic/bits/select.h: Likewise.
2907 * sysdeps/i386/bits/select.h: Likewise.
2908 * sysdeps/generic/bits/types.h: Don't define __fd_mask, __NFDBITS,
2909 __FDELT, __FDMASK, and __fd_set here.
2910 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
2911 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
2912 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
2913 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
2914 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
2915 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2916 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
2917 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
2918 * time/sys/time.h: Define struct timeval before including <time.h>
2921 * conform/data/sys/time.h-data: fd_set is a typedef.
2922 * conform/data/sys/select.h-data: New file.
2923 * conform/data/sys/mman.h-data: Make typed mem stuff optional.
2924 * conform/conformtest.pl (@headers): Add sys/select.h.
2925 (type, optional-type): Unless testing a typedef instantiate object.
2926 Implement optional-function.
2928 * math/test-misc.c: Include <float.h>.
2930 2001-01-27 Andreas Jaeger <aj@suse.de>
2932 * misc/efgcvt_r.c: Include <float.h>.
2934 2001-01-26 Ulrich Drepper <drepper@redhat.com>
2936 * conform/data/stdlib.h-data: Account for XPG6 changes.
2937 * stdlib/stdlib.h (__random): Change return value type to long.
2938 (posix_memalign): Cleanup parameter names.
2939 (setenv, unsetenv): Make available for __USE_XOPEN2K.
2940 Change return type of unsetenv to int.
2941 (qecvt, qgcvt, qfcvt): Declare only if __USE_MISC.
2942 * include/stdlib.h: Change return type of unsetenv to int.
2943 Change return type of random to long int.
2944 * sysdeps/generic/setenv.c (unsetenv): Change return type to int.
2945 Return -1 and set errno if parameter is invalid.
2946 * stdlib/random.c (__random): Change return value type to long.
2948 * conform/data/stdio.h-data: Account for changes in XPG6.
2950 * conform/data/spawn.h-data: Correct posix_spawnattr_setflags
2953 * conform/conformtest.pl: Define $mustprepend{"signal.h"}.
2954 * conform/data/signal.h-data: Fix sigev_notify_function entry.
2955 Fix typo (SIGVALRM -> SIGVTALRM).
2956 * sysdeps/unix/sysv/linux/bits/siginfo.h: Define sigev_notify_attr
2958 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
2959 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
2960 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
2961 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2962 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
2964 * conform/conformtest.pl: Implement optional-element. Define
2965 $mustprepend{"sched.h"}.
2966 * conform/data/sched.h-data: Make sporadic scheduler definitions
2969 * pwd/pwd.h: Don't define getpwent_r for XPG.
2971 * io/sys/poll.h: Define nfds_t and use it in poll prototype.
2972 * sysdeps/generic/poll.c: Use nfds_t type in function definition.
2973 * sysdeps/mach/hurd/poll.c: Likewise.
2974 * sysdeps/unix/bsd/poll.c: Likewise.
2975 * sysdeps/unix/sysv/linux/poll.c: Likewise.
2976 * sysdeps/unix/sysv/aix/poll.c: Likewise.
2977 * sysdeps/generic/bits/poll.h: Define NPOLLFILE only if __USE_MISC.
2978 * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
2979 * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
2980 * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
2981 * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
2982 * conform/data/poll.h-data: Fix typo in poll prototype.
2984 * sysdeps/gnu/netinet/tcp.h: Define everything but TCP_ macros
2986 * conform/data/netinet/tcp.h-data: Reserved prefix TCP_.
2988 * sysdeps/gnu/net/if.h: Cleanup namespace. Define IF_NAMESIZE.
2990 * inet/netinet/in.h: Make IPPROTO_ constants also macros.
2992 * conform/conformtest.pl: Implement optional-type.
2994 * resolv/netdb.h: Include <netinet/in.h> not <sys/socket.h>. Include
2995 <rpc/netdb.h> only if __USE_MISC. Include <stdint.h> instead of
2996 defining uint32_t here. Define IPPORT_RESERVED.
2997 (struct hostent): Type of h_length element is int.
2998 (getnameinfo): Type of flags parameter is unsigned int.
2999 * inet/getnameinfo.c (getnameinfo): flags argument is unsigned.
3000 * conform/data/netdb.h-data: Add many missing definitions.
3002 * conform/conformtest.pl: Implement optional-macro.
3003 * conform/data/math.h-data: Update for XPG6.
3005 * math/math.h (HUGE): Define as FLT_MAX value but don't use
3006 FLT_MAX. Don't include <float.h>.
3007 (MAXFLOAT): Likewise.
3009 * math/math.h: Define MATH_ERRNO and MATH_ERREXCEPT.
3011 * include/bits/xopen_lim.h: Don't define FOPEN_MAX here.
3013 * conform/data/limits.h-data: Mark constants as optional wherever
3016 * posix/bits/posix2_lim.h: Set correct values for
3017 _POSIX2_COLL_WEIGHTS_MAX and _POSIX2_CHARCLASS_NAME_MAX. Remove
3020 * posix/bits/posix1_lim.h: Define _POSIX_TZNAME_MAX as 6.
3023 * intl/loadmsgcat.c: Include <locale.h.> for _LIBC.
3025 * conform/data/netinet/in.h-data: Add reserved prefixes.
3027 * conform/data/arpa/inet.h-data: Fix a few typos.
3029 2001-01-26 Andreas Jaeger <aj@suse.de>
3031 * sysdeps/generic/strtol.c: Include <locale.h>
3032 * stdlib/strtod.c: Likewise
3033 * stdlib/strfmon.c: Likewise.
3034 * string/strcoll.c: Likewise.
3035 * string/strxfrm.c: Likewise.
3036 * wctype/wcfuncs_l.c: Likewise.
3037 * wctype/wctype_l.c: Likewise.
3038 * wctype/wctrans_l.c: Likewise.
3040 * include/bits/locale.h: New file.
3042 2001-01-26 Ulrich Drepper <drepper@redhat.com>
3044 * locale/langinfo.h: Correct logic in #ifs when defining YESSTR
3047 * locale/Makefile (headers): Add bits/locale.h.
3048 * locale/langinfo.h: Don't include <locale.h>. Include <bits/locale.h>
3049 and use __LC_ constants instead of LC_.
3050 * locale/locale.h: Include <bits/locale.h> and define LC_ constants
3051 using __LC_ constants.
3052 * locale/bits/locale.h: New file.
3053 * locale/loadlocale.c: Include <locale.h>.
3054 * locale/nl_langinfo.h: Likewise.
3056 * posix/glob.h: Cleanup namespace for non-_GNU_SOURCE case.
3058 * io/sys/stat.h: Define S_IFSOCK for XPG6.
3060 * conform/data/fcntl.h-data: posix_madvise is not expected here.
3062 * conform/conformtest.pl: Fix handling of macro-str.
3064 * conform/data/inttypes.h-data: Add missing definition and all of
3067 * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Bump to 20.
3069 2001-01-25 Ulrich Drepper <drepper@redhat.com>
3071 * conform/conformtest.pl (@headers): Add stdint.h.
3072 * conform/data/stdint.h-data: New file.
3074 * conform/conformtest.pl: Recognize options --headers and
3075 --dialect. Add dialect-specific CFLAGS.
3077 * conform/conformtest.pl: Implement handling of recursive
3080 * conform/data/locale.h-data: Add new struct lconv members.
3082 * posix/wordexp.h: Correct definition of wordexp_t.
3083 * posix/wordexp.c: Moved to ...
3084 * sysdeps/generic/wordexp.c: ...here. New file.
3085 * sysdeps/unix/sysv/linux/alpha/wordexp.c: New file.
3086 * sysdeps/unix/sysv/linux/ia64/wordexp.c: New file.
3087 * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: New file.
3088 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.2.2): Add
3090 * sysdeps/unix/sysv/linux/ia64/Versions: Likewise.
3091 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
3093 * math/tgmath.h: Pretty printing.
3095 * math/Makefile (tests): Add test-tgmath.
3096 (CFLAGS-test-tgmath.c): New variable.
3097 * math/test-tgmath.c: New file. Contributed by Jakub Jelinek.
3099 * conform/conformtest.pl: Handle allow-header in secondary headers
3102 * conform/data/fcntl.h-data: Mark symbols introduced in XPG6 with
3105 * conform/data/netinet/in.h-data: Use correct comment character.
3106 * conform/data/sys/stat.h-data: Likewise.
3108 2001-01-25 Jakub Jelinek <jakub@redhat.com>
3110 * math/tgmath.h (__TGMATH_BINARY_FIRST_REAL_ONLY,
3111 __TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY,
3112 __TGMATH_TERNARY_REAL_ONLY): Use proper arguments to
3113 __builtin_classify_type, add ##f suffixes where appropriate.
3114 (__TGMATH_UNARY_REAL_IMAG): Remove extraneous left parenthesis.
3115 (__TGMATH_BINARY_REAL_IMAG): Likewise, use proper arguments to
3116 __builtin_classify_type.
3117 (fma): Fix spelling of first argument.
3119 2001-01-25 Ulrich Drepper <drepper@redhat.com>
3121 * conform/data/unistd.h-data: Mark functions removed in XPG6
3124 * posix/unistd.h: Don't make functions removed in XPG6 available if
3127 * conform/conformtest.pl: Implement optional-constant.
3128 * conform/data/unistd.h-data: Use optional-constant wherever
3131 * sysdeps/generic/bits/confname.h: Correct names of _SC_PBS
3132 constants and add _SC_STREAMS.
3133 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
3135 * sysdeps/unix/sysv/linux/statvfs64.c: Rename to __statvfs64 and
3136 make old name weak alias.
3137 * sysdeps/generic/statvfs64.c: Likewise.
3138 * sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and
3139 make old name weak alias.
3140 * sysdeps/generic/fstatvfs64.c: Likewise.
3141 * include/sys/statvfs.h: New file.
3143 * sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE,
3144 _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and
3146 * sysdeps/posix/pathconf.c (__pathconf): Implement handling of
3147 _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
3148 _PC_REC_MIN_XFER_SIZE, and _PC_REC_XFER_ALIGN.
3149 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
3151 * conform/conformtest.pl: Run Unix tests for XPG6.
3152 Implement handling of known namespace violations.
3153 Improve printing of results.
3155 * posix/unistd.h (usleep): Correct return type.
3156 * sysdeps/unix/sysv/linux/usleep.c: Correct return type.
3157 * sysdeps/unix/bsd/usleep.c: Correct return type.
3158 * sysdeps/mach/usleep.c: Correct return type.
3159 * sysdeps/generic/usleep.c: Correct return type.
3161 * posix/unistd.h (sync): Correct return type.
3162 * sysdeps/generic/sync.c: Likewise.
3163 * sysdeps/mach/hurd/sync.c: Likewise.
3165 * sysdeps/generic/bits/confname.h (_SC_IOV_MAX): New definition.
3167 * posix/unistd.h: Make seteuid and setegid available for XPG6.
3169 * wcsmbs/wchar.h: Get FILE definition for XPG5.
3171 * conform/data/ctype.h-data: Use correct comment form.
3172 * conform/data/errno.h-data: Likewise.
3173 * conform/data/math.h-data: Likewise.
3174 * conform/data/mqueue.h-data: Likewise.
3175 * conform/data/netdb.h-data: Likewise.
3176 * conform/data/pthread.h-data: Likewise.
3178 2001-01-24 Ulrich Drepper <drepper@redhat.com>
3180 * conform/data/wordexp.h-data: Fix typo.
3182 * conform/conformtest.pl: Handle allow-header correctly.
3184 * conform/data/time.h-data: Use correct comment form.
3186 * conform/conformtest.pl (checknamespace): Ignore #undef lines.
3188 * configure.in: Comment out binutils version test.
3190 * stdlib/strtod.c (str_to_mpn): Correct parsing of thousands
3192 Reported by Lagardere Jean-Francois <LAGARDEREJ@thmulti.com>.
3194 * stdlib/tst-strtod.c (locale_test): New function.
3195 (main): Call locale_test.
3196 * stdlib/Makefile (tst-strtod-ENV): New variable.
3198 2001-01-24 Mark Kettenis <kettenis@gnu.org>
3200 * hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost
3201 declaration of value such that we actually return the value of the
3202 environment variable.
3204 2001-01-24 Andreas Jaeger <aj@suse.de>
3206 * sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl
3208 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
3210 * include/sys/sysctl.h: New file.
3212 2001-01-23 Andreas Jaeger <aj@suse.de>
3214 * stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to
3217 * elf/dl-load.c (_dl_init_paths): Don't use strdupa in function
3218 arguments. Reported by Jiri Kubicek <kubicek@bitsmart.com>,
3219 closes PR libc/2039.
3221 * manual/install.texi (Tools for Compilation): Change required
3224 2001-01-22 Andreas Jaeger <aj@suse.de>
3226 * configure.in: Add test for new enough binutils version, move
3227 compiler/binutils test up.
3229 * Versions.def: Add version GLIBC_2.2.2.
3231 2001-01-21 Ulrich Drepper <drepper@redhat.com>
3233 * iconvdata/TESTS: UTF-8 test data for IBM932 and IBM943 are now
3235 * iconvdata/testdata/IBM932: New file.
3236 * iconvdata/testdata/IBM932..UTF8: New file.
3237 * iconvdata/testdata/IBM943: New file.
3238 * iconvdata/testdata/IBM943..UTF8: New file.
3239 Contributed by Masahide Washizawa <washi@jp.ibm.com>.
3241 2001-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3243 * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset.
3245 2001-01-21 Ulrich Drepper <drepper@redhat.com>
3247 * malloc/malloc.c: Remove a few unnecessary initializers of global
3250 2000-12-09 H.J. Lu <hjl@gnu.org>
3252 * nss/Makefile (routines): Add digits_dots.
3253 * nss/Versions (libc): Add __nss_hostname_digits_dots to GLIBC_2.2.2.
3254 * nss/digits_dots.c (__nss_hostname_digits_dots): Turn template
3256 * nss/nsswitch.h (__nss_hostname_digits_dots): New internal NSS
3258 * nss/getXXbyYY.c (H_ERRNO_VAR_P): New definition.
3259 (TYPE_VAR_P): Likewise.
3260 (FLAGS_VAR): Likewise.
3261 (AF_VAR_P): Likewise.
3262 (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
3263 instead of including digits_dots.c.
3264 * nss/getXXbyYY_r.c (H_ERRNO_VAR_P): New definition.
3265 (TYPE_VAR_P): Likewise.
3266 (FLAGS_VAR): Likewise.
3267 (AF_VAR_P): Likewise.
3268 (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
3269 instead of including digits_dots.c.
3271 2001-01-21 Ulrich Drepper <drepper@redhat.com>
3273 * sysdeps/posix/getaddrinfo.c: Reduce .data size.
3275 2001-01-21 Andreas Jaeger <aj@suse.de>
3277 * elf/constload2.c: Add prototype for init.
3279 2001-01-21 Ulrich Drepper <drepper@redhat.com>
3281 * stdlib/stdlib.h (drand48_data): Make available only for
3282 __USE_MISC. Rename elements to protect namespace. Change type
3283 and position of a and init element.
3284 * stdlib/drand48-iter.c: Don't handle unsigned short > 16 bit
3285 differently. Adjust for drand48_data change. Don't compute a here,
3286 it comes from drand48_data.
3287 * stdlib/lcong48_r.c: Don't handle unsigned short > 16 bit
3288 differently. Adjust for drand48_data change. Compute a here.
3289 * stdlib/srand48_r.c: Likewise.
3290 * stdlib/drand48.c: Adjust for drand48_data change.
3291 * stdlib/lrand48.c: Likewise.
3292 * stdlib/mrand48.c: Likewise.
3293 * stdlib/seek48.c: Likewise.
3294 * stdlib/drand48_r.c: Likewise.
3295 * stdlib/lrand48_r.c: Likewise.
3296 * stdlib/mrand48_r.c: Likewise.
3297 * stdlib/seed48_r.c: Likewise. Don't handle unsigned short > 16 bit
3299 * stdlib/erand48_r.c: Don't handle unsigned short > 16 bit differently.
3300 * stdlib/jrand48_r.c: Likewise.
3302 * po/sv.po: Update from translation team.
3304 2001-01-21 Andreas Jaeger <aj@suse.de>
3306 * stdio-common/vfprintf.c (vfprintf): Add casts.
3308 2001-01-20 Ulrich Drepper <drepper@redhat.com>
3310 * iconvdata/run-iconv-test.sh: Reorgnize a bit to allow running only
3312 * iconvdata/TESTS: Add entries for IBM932 and IBM943.
3314 * iconvdata/Makefile (modules): Add IBM932 and IBM943.
3315 * iconvdata/gconv-modules: Add entries for IBM932 and IBM943.
3316 * iconvdata/ibm932.c: New file.
3317 * iconvdata/ibm932.h: New file.
3318 * iconvdata/ibm943.c: New file.
3319 * iconvdata/ibm943.h: New file.
3320 Patches by Masahide Washizawa <washi@jp.ibm.com>.
3322 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo
3323 preventing optimization from being done. Set the correct type bit
3324 in seen. Don't define and use _dl_base_addr unless
3325 NEED_DL_BASE_ADDR is defined.
3327 * io/ftw.c (ftw_dir): Add slash after directory name if there
3328 wasn't any. Reported by loris <loris@iol.it>.
3329 * io/Makefile (tests): Add bug-ftw2.
3330 * io/bug-ftw2.c: New file.
3332 2001-01-19 Ulrich Drepper <drepper@redhat.com>
3334 * stdlib/jrand48_r.c (__jrand48_r): Correct constructing of
3335 results. Reported by Jeff Higham <jhigham@algorithmics.com>.
3336 * stdlib/tst-rand48.c: New file.
3337 * stdlib/Makefile (tests): Add tst-rand48.
3339 * locale/newlocale.c (__newlocale): Fix test for setting all
3342 2001-01-19 Mark Kettenis <kettenis@gnu.org>
3344 * sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes,
3345 but change looking up the initial directory port in a similar way
3346 as done by _hurd_change_directory_port_from_name.
3347 * hurd/fchroot.c (fchroot): Likewise.
3349 2001-01-18 Ulrich Drepper <drepper@redhat.com>
3351 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If HAVE_AUX_XID is
3352 defined don't look whether the AT_*ID values were set.
3353 If HAVE_AUX_PAGESIZE is defined don't look whether the pagesize is set.
3354 (_dl_show_auxv): Rewrite to avoid switch statement.
3355 * sysdeps/unix/sysv/linux/kernel-features.h: Define
3356 __ASSUME_AT_PAGESIZE for kernel >= 2.4.1.
3357 * sysdeps/unix/sysv/linux/ldsodefs.h: Define HAVE_AUX_XID.
3358 Define HAVE_AUX_PAGESIZE if __ASSUME_AT_PAGESIZE is defined.
3360 * sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect.
3361 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
3362 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
3364 * elf/rtld.c (process_envvars): Call __strtoul_internal instead of
3366 * elf/dl-minimal.c (strtol, __strtol_internal, strtoul): Removed.
3367 (__sigjmp_save): Set __mask_was_saved to zero since we don't save
3369 * dlfcn/eval.c (__strtol_internal): Define here.
3370 (eval): Use __strtol_internal instead of strtol.
3372 * elf/elf.h: Add a few more EF_MIPS_* constants.
3374 2001-01-17 Ulrich Drepper <drepper@redhat.com>
3376 * manual/Makefile (chapters): Add debug.
3377 * manual/debug.texi: New file.
3378 * manual/examples/execinfo.c: New file.
3379 Patch by suckfish@ihug.co.nz.
3381 2001-01-17 Andreas Schwab <schwab@suse.de>
3383 * sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid
3386 2001-01-17 Andreas Jaeger <aj@suse.de>
3388 * nscd/connections.c (nscd_run): Use proper format specifier.
3390 2001-01-16 Ulrich Drepper <drepper@redhat.com>
3392 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Move x86_cap_flags and
3393 x86_platforms data into new file after prepending _dl_. Change
3395 * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: New file.
3396 * sysdeps/unix/sysv/linux/i386/Dist: Add dl-procinfo.c.
3397 * sysdeps/unix/sysv/linux/i386/Makefile: Add rules to build
3400 * setjmp/setjmp.h: Cleanup definition of setjmp macro.
3402 * sysdeps/i386/elf/bsd-setjmp.S: Real implementation.
3403 * sysdeps/i386/elf/bsd-_setjmp.S: Removed.
3404 * sysdeps/i386/elf/setjmp.S (setjmp): Removed here.
3405 (_setjmp): Likewise.
3406 * sysdeps/i386/bsd-_setjmp.S: Real implementation.
3407 * sysdeps/i386/bsd-setjmp.S: Real implementation.
3408 * sysdeps/i386/bits/setjmp.h: Remove PUSH_SIGNAL_MASK definition.
3409 * sysdeps/i386/setjmp.S: Remove PIC support. This is the non-ELF
3412 2001-01-16 Andreas Jaeger <aj@suse.de>
3414 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix
3415 misapplied last patch.
3417 2001-01-15 Ulrich Drepper <drepper@redhat.com>
3419 * stdlib/random.c (__initstate): Clean up a cast.
3420 (__setstate): Likewise.
3422 * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove select
3423 syscall handling. The generic Linux version should work.
3425 2001-01-15 Andreas Jaeger <aj@suse.de>
3427 * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
3429 * stdio-common/tstscanf.c (main): Add two testcases for '*' modifier.
3431 2001-01-14 Jakub Jelinek <jakub@redhat.com>
3433 * nss/getent.c (print_aliases, aliases_keys, ethers_keys,
3434 netgroup_keys, print_rpc, rpc_keys, print_shadow, shadow_keys):
3436 (group_keys, hosts_keys, network_keys, passwd_keys, protocols_keys):
3437 If number is 0, list all.
3438 (services_keys): Likewise. Lookup aliases as well.
3439 (databases): New table.
3440 (build_doc): Prepare argp doc text with list of supported databases.
3441 (main): Change to table driven processing.
3443 2001-01-14 Thorsten Kukuk <kukuk@suse.de>
3445 * sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about these
3448 2001-01-03 Jakub Jelinek <jakub@redhat.com>
3450 * sunrpc/xdr.c (xdr_long, xdr_u_long): Return FALSE if trying to
3451 encode value which does not fit in the 32bit type.
3453 2001-01-15 Hiroyuki Machida <machida@sm.sony.co.jp>
3455 * sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
3456 Change type of CTX to (struct sigcontext *).
3457 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise.
3458 (GET_FRAME): Likewise.
3459 (GET_STACK): Likewise.
3460 (SIGCONTEXT): Likewise. Add 2nd arg _code.
3461 (SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.
3463 2001-01-13 Ulrich Drepper <drepper@redhat.com>
3465 * manual/texinfo.tex: Update from upstream version.
3467 2001-01-13 Jakub Jelinek <jakub@redhat.com>
3469 * inet/ether_ntoh.c (lookup_function): Change arguments to match
3470 _nss_*_getntohost_r prototype.
3471 (ether_ntohost): Pass errno pointer to NSS function.
3473 2001-01-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3475 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value.
3476 (MAP_LOCKED): New definition.
3477 (MAP_NORESERVE): New definition.
3479 2001-01-12 Ulrich Drepper <drepper@redhat.com>
3481 * assert/assert.h: Use static_cast instead of C-style cast for C++.
3482 Patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>.
3484 2001-01-12 Ben Collins <bcollins@debian.org>
3486 * sysdeps/generic/segfault.c (install_handler): Use access, not
3489 2001-01-12 Andreas Jaeger <aj@suse.de>
3491 * posix/fnmatch_loop.c (FCT): Remove signed warnings.
3492 * posix/wordexp.c (do_parse_glob): Likewise.
3493 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
3494 * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
3495 * elf/dl-open.c (_dl_open): Likewise.
3496 * elf/dl-close.c (_dl_close): Likewise.
3497 * elf/dl-load.c (_dl_map_object): Likewise.
3498 * iconv/iconv_prog.c (process_fd): Likewise.
3499 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
3501 * locale/localeinfo.h (struct locale_data): Use __flexarr instead
3502 of a zero-length array.
3504 2001-01-11 Jakub Jelinek <jakub@redhat.com>
3506 * stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func.
3507 * stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument.
3508 * stdlib/cxa_on_exit.c: Remove.
3509 * stdlib/Makefile: Revert last patch.
3510 * stdlib/Versions: Likewise.
3511 * include/stdlib.h: Likewise.
3512 * stdlib/exit.h: Revert last patch.
3513 (struct exit_function): Add second argument to cxa fn.
3514 * stdlib/exit.c: Revert last patch.
3515 (exit): Add hidden second argument.
3517 2001-01-11 H.J. Lu <hjl@gnu.org>
3519 * elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ...
3520 * elf/dl-open.c (_dl_open): Here.
3521 * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock):
3523 (_dl_static_init): Initialize the variables every time when possible.
3524 * sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT):
3527 2001-01-11 Ulrich Drepper <drepper@redhat.com>
3529 * stdlib/Makefile (routines): Add cxa_on_exit.
3530 * stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit.
3531 * stdlib/cxa_on_exit.c: New file.
3532 * include/stdlib.h: Add prototype for __cxa_on_exit.
3533 * stdlib/exit.c: Handle ef_cxa2.
3534 * stdlib/exit.h (enum): Add ef_cxa2.
3535 (struct exit_function): Add cxa2.
3537 * Versions.def [ld]: Add GLIBC_2.2.1.
3539 2001-01-10 H.J. Lu <hjl@gnu.org>
3541 * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries.
3542 * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add
3544 * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init.
3545 * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined.
3546 * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file.
3547 * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file.
3548 * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
3550 2001-01-11 Ulrich Drepper <drepper@redhat.com>
3552 * libio/stdio.h: Remove definition of off_t.
3554 2001-01-11 Andreas Jaeger <aj@suse.de>
3556 * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
3559 2001-01-10 Ulrich Drepper <drepper@redhat.com>
3561 * sunrpc/Makefile (distribute): Add errqueue.h.
3563 2001-01-10 H.J. Lu <hjl@gnu.org>
3565 * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve
3566 r9, r10 and r11 for language specific registers.
3568 2001-01-10 Jakub Jelinek <jakub@redhat.com>
3570 * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the
3572 (clntudp_call): Handle MSG_ERRQUEUE.
3573 * sysdeps/generic/errqueue.h: New file.
3574 * sysdeps/unix/sysv/linux/errqueue.h: New file.
3576 2001-01-10 H.J. Lu <hjl@gnu.org>
3578 * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
3580 2001-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
3582 * CONFORMANCE: Update.
3584 2001-01-09 Ulrich Drepper <drepper@redhat.com>
3586 * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
3587 Minimal cleanups. Add assert to ensure memory handling is correct.
3589 * manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value.
3590 Reported by Ben Collins <bcollins@debian.org>.
3592 * time/strftime.c (my_strftime): Mark previous GNU extensions
3593 which are now in C99 as such.
3595 2001-01-08 Ulrich Drepper <drepper@redhat.com>
3597 * elf/rtld.c (process_envvars): Place output files for profiling
3598 in SUID binaries in /var/profile.
3600 * elf/dl-load.c (_dl_map_object): Don't look in cache for
3601 preloading in SUID binaries.
3603 * elf/dl-profile.c (_dl_start_profile): Open the output file with
3604 O_NOFOLLOW if possible.
3606 * include/stdlib.h: Add __posix_openpt declaration.
3607 * stdlib/stdlib.h: Add posix_openpt declaration.
3608 * login/Versions: Add posix_openpt for GLIBC_2.2.1.
3609 * sysdeps/generic/getpt.c: Define posix_openpt.
3610 * sysdeps/unix/bsd/getpt.c: Likewise.
3611 * sysdeps/unix/sysv/linux/getpt.c: Likewise.
3613 * time/Makefile (tests): Add tst-mktime.
3614 * time/tst-mktime.c: New file.
3616 * posix/tst-dir.c (main): One more mkdir() test.
3618 * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
3619 Remove getpagesize syscall. We assume that the pagesize is always
3620 determined from the auxiliary vector.
3622 * intl/dcigettext.c: Fix a few warnings.
3623 Patch by Bruno Haible <haible@ilog.fr>.
3625 2001-01-08 Andreas Jaeger <aj@suse.de>
3627 * io/test-lfs.c (do_test): Check lseek64 return for EINVAL.
3628 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
3630 2001-01-08 Ulrich Drepper <drepper@redhat.com>
3632 * sysdeps/generic/segfault.c (install_handler): Check output file
3635 * resolv/res_query.c: Use simply getenv() for HOSTALIASES.
3636 * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
3638 * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
3640 * malloc/memusage.c (me): Use access() to determine whether we
3641 should write the output file or not.
3643 * libio/bits/stdio.h (printf): Define macro to map printf call to
3644 fprintf which gcc can optimize.
3645 * stdio-common/printf.c: Undefine printf.
3647 2001-01-07 Ulrich Drepper <drepper@redhat.com>
3649 * sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last
3650 patch. We must use unsigned int for l member of union.
3652 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call
3653 _dl_aux_init for shared libraries.
3655 * sysdeps/unix/sysv/linux/glob64.c: Moved to ...
3656 * sysdeps/gnu/glob64.c: ...here. New file.
3658 2001-01-07 Ben Collins <bcollins@debian.org>
3660 * manual/examples/longopt.c: Make the "struct option" a little
3661 more like it should be, adding usage of required_argument,
3662 noargument and such, and also setting the options string right.
3664 * manual/sysinfo.texi (Load Average): New section, documents
3667 2001-01-06 Ulrich Drepper <drepper@redhat.com>
3669 * version.h (VERSION): Bump to 2.2.1.
3671 * sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
3672 * sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S.
3673 * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S.
3674 * dlfcn/Makefile (distribute): Add errmsg1mod.c.
3675 * Makefile (distribute): Add include/libc-internal.h.
3676 * libio/Makefile (distribute): Avoid overwriting.
3678 * iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in
3679 buffer and table handling.
3681 2001-01-05 H.J. Lu <hjl@gnu.org>
3683 * elf/dl-support.c (non_dynamic_init): Move the auxiliary
3684 vector checking to ...
3685 (_dl_aux_init): Here. New function. Defined only if
3686 HAVE_AUX_VECTOR is defined.
3688 * sysdeps/generic/libc-start.c (__libc_start_main): Call
3689 _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined.
3691 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call
3694 * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed.
3695 (HAVE_AUX_VECTOR): Defined.
3696 (_dl_aux_init): Declared.
3698 2001-01-05 Ben Collins <bcollins@debian.org>
3700 * manual/string.texi (Finding Tokens in a String): Document XPG
3701 basename() and dirname(), as well as GNU basename().
3703 2001-01-05 Jakub Jelinek <jakub@redhat.com>
3705 * Makeconfig (preprocess-version): Replace -traditional with
3706 -x assembler-with-cpp.
3708 2001-01-05 Joseph S. Myers <jsm28@cam.ac.uk>
3710 * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj
3711 for GCC 2.97 or later.
3713 2001-01-05 Ben Collins <bcollins@debian.org>
3715 * manual/stdio.texi (getline): Clarify the return value in the
3716 case of EOF being reached before a newline.
3718 2001-01-04 Jakub Jelinek <jakub@redhat.com>
3720 * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful,
3722 (pmap_set, pmap_unset): Check __get_myaddress return value.
3724 2001-01-05 Mark Kettenis <kettenis@gnu.org>
3726 * sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>.
3727 (struct ether_addr): Declare ether_addr_octet member as
3728 `u_int8_t'. Add __attribute__ ((__packed__)).
3730 2001-01-06 Mark Kettenis <kettenis@gnu.org>
3732 * sysdeps/mach/hurd/readdir64.c: New file.
3733 * sysdeps/mach/hurd/readdir64_r.c: New file.
3735 2001-01-07 Mark Kettenis <kettenis@gnu.org>
3737 * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about
3738 `struct statfs' and `struct statvfs' being identical.
3739 * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
3741 2001-01-06 Mark Kettenis <kettenis@gnu.org>
3743 * sysdeps/mach/hurd/fstatfs64.c: New file.
3744 * sysdeps/mach/hurd/fstatvfs64.c: New file.
3745 * sysdeps/mach/hurd/statfs64.c: New file.
3746 * sysdeps/mach/hurd/statvfs64.c: New file.
3747 * sysdeps/mach/hurd/statfsconv.c: New file.
3748 * sysdeps/mach/hurd/Dist: Add statfsconv.c.
3750 2001-01-06 Ulrich Drepper <drepper@redhat.com>
3752 * iconv/skeleton.c: Reset outbuf for next round of the loop.
3753 Reported by Owen Taylor <otaylor@redhat.com>.
3754 * iconv/Makefile (tests): Add tst-iconv3.
3755 * iconv/tst-iconv3.c: New file.
3757 * iconvdata/ibm930.c: Fix handling of state. Optimize a bit.
3758 * iconvdata/ibm933.c: Likewise.
3759 * iconvdata/ibm935.c: Likewise.
3760 * iconvdata/ibm937.c: Likewise.
3761 * iconvdata/ibm939.c: Likewise.
3762 * iconvdata/ibm930.h: Adjust single byte table for optimization.
3763 * iconvdata/ibm933.h: Likewise.
3764 * iconvdata/ibm935.h: Likewise.
3765 * iconvdata/ibm939.h: Likewise.
3767 * iconvdata/testdata/IBM930: Add misssing SI.
3768 * iconvdata/testdata/IBM933: Likewise.
3769 * iconvdata/testdata/IBM935: Likewise.
3770 * iconvdata/testdata/IBM937: Likewise.
3771 * iconvdata/testdata/IBM939: Likewise.
3773 2001-01-06 Andreas Jaeger <aj@suse.de>
3775 * configure.in: Check for old add-ons that shouldn't be used with
3776 current glibc anymore.
3778 2001-01-06 Mark Kettenis <kettenis@gnu.org>
3780 * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number
3781 instead of -1 on failure. Don't forget to copy file name into
3782 *ENTRY if successful. Set *RESULT to NULL upon reaching the end
3785 2001-01-06 Mark Kettenis <kettenis@gnu.org>
3787 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
3788 copy st_atime member.
3790 2001-01-05 Ulrich Drepper <drepper@redhat.com>
3792 * io/ftw.c (ftw_dir): Don't add a second slash at the beginning
3793 for searches from the root directory.
3794 Reported by loris <loris@iol.it> [PR libc/1991].
3795 * io/Makefile (tests): Add bug-ftw1.
3796 * io/bug-ftw1.c: New file.
3798 * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
3799 if it is not available. Instead use it only if it is available.
3800 * sysdeps/unix/sysv/linux/ldsodefs.h: New file.
3802 * iconv/gconv_simple.c (internal_ics4_loop): Correct test for
3803 overflowing output buffer.
3804 (internal_ucs4_loop_unaligned): Likewise.
3805 (ucs4_internal_loop): Likewise.
3806 (ucs4_internal_loop_unaligned): Likewise.
3807 (internal_ucs4le_loop): Likewise.
3808 (internal_ucs4le_loop_unaligned): Likewise.
3809 (ucs4le_internal_loop): Likewise.
3810 (ucs4le_internal_loop_unaligned): Likewise.
3811 Reported by Owen Taylor <otaylor@redhat.com>.
3812 * iconv/Makefile (tests): Add tst-iconv2.
3813 * iconv/tst-iconv2.c: New file.
3815 2001-01-04 H.J. Lu <hjl@gnu.org>
3817 * elf/dl-support.c (DL_FIND_AUXV): New. Defined if not defined.
3818 (_dl_clktck): Declared.
3819 (non_dynamic_init): Take 3 arguments.
3820 Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.
3822 2001-01-01 Bruno Haible <haible@clisp.cons.org>
3824 Finish implementation of plural form handling.
3825 * intl/dcigettext.c (known_translation_t): Rename 'domain' field to
3826 'domainname'. Remove 'plindex' field. Add 'domain' and
3827 'translation_length' fields.
3828 (transcmp): Don't compare 'plindex' fields.
3829 (plural_lookup): New function.
3830 (DCIGETTEXT): Change cache handing in the plural case. Don't call
3831 plural_eval before the translation and its catalog file have been
3832 found. Remove plindex from cache key. Add 'translation_length' and
3833 'domain' to cache result.
3834 (_nl_find_msg): Remove index argument, return length of translation
3835 to the caller instead. Weaken comparison of string lengths, to account
3836 for plural entries. Call iconv() on the entire result string, not
3837 only on the portion needed so far.
3838 * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
3840 * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
3842 2001-01-04 Ulrich Drepper <drepper@redhat.com>
3844 * intl/plural.y (yylex): Minimal improvement in number scanner.
3846 2000-07-31 Bruno Haible <haible@clisp.cons.org>
3848 * intl/plural.y: Include config.h. Needed to define 'inline' away for
3849 C compilers that don't support it.
3850 (yylex): Don't use gcc specific case range syntax.
3851 * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
3854 2000-10-12 Bruno Haible <haible@clisp.cons.org>
3856 * intl/finddomain.c: Remove unneeded includes.
3858 2000-10-12 Bruno Haible <haible@clisp.cons.org>
3860 * intl/localealias.c (memcpy): Return first argument, just like the
3861 real memcpy function does.
3862 * intl/bindtextdom.c (memcpy): Likewise.
3863 * intl/finddomain.c (memcpy): Likewise.
3864 * intl/l10nflist.c (memcpy): Likewise.
3865 * intl/textdomain.c (memcpy): Likewise.
3866 From Paul Eggert <eggert@twinsun.com>.
3868 2001-01-03 Jakub Jelinek <jakub@redhat.com>
3870 * resolv/resolv.h (struct __res_state): Add nsinit field.
3871 * resolv/res_send.c (res_nsend): Use it instead of nscount.
3872 * resolv/res_init.c (__res_vinit): Initialize it.
3873 (res_nclose): Clear it instead of nscount.
3875 2001-01-04 Ulrich Drepper <drepper@redhat.com>
3877 * malloc/mtrace.pl: Fix matching of addresses.
3878 Patch by Aharon Robbins <arnold@skeeve.com>.
3880 * Versions.def (ld): Add GLIBC_2.2.
3882 * catgets/gencat.c: Copyright 2001.
3883 * csu/version.c: Likewise.
3884 * debug/catchsegv.sh: Likewise.
3885 * debug/xtrace.sh: Likewise.
3886 * elf/ldconfig.c: Likewise.
3887 * elf/sprof.c: Likewise.
3888 * iconv/iconv_prog.c: Likewise.
3889 * locale/locale.c: Likewise.
3890 * locale/localedef.c: Likewise.
3891 * malloc/memusage.sh: Likewise.
3892 * malloc/mtrace.pl: Likewise.
3893 * nscd/nscd.c: Likewise.
3894 * posix/getconf.c: Likewise.
3896 2001-01-04 Mark Kettenis <kettenis@gnu.org>
3898 * include/stdio.h: Only provide __getwc_unlocked prototype if
3899 USE_IN_LIBIO is defined.
3901 2001-01-04 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3903 * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code
3906 2001-01-03 Andreas Schwab <schwab@suse.de>
3908 * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias.
3909 * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias.
3911 * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias.
3912 * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix
3914 * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias.
3915 * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix
3918 * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this
3920 * sysdeps/generic/strtol_l.c: Likewise.
3921 * sysdeps/generic/strtoul_l.c: Likewise.
3922 * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c.
3924 * sysdeps/wordsize-64/strtol_l.c: Fix alias.
3925 * sysdeps/wordsize-64/strtoul_l.c: Likewise.
3926 * sysdeps/wordsize-64/wcstol_l.c: Fix alias.
3927 * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
3929 2001-01-04 Andreas Jaeger <aj@suse.de>
3931 * nss/nsswitch.c: Include files for missing prototypes, remove
3932 buggy declaration of prototypes.
3934 2001-01-03 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3936 * resolv/Versions: Fix bracing.
3937 * sysdeps/powerpc/soft-fp/Versions: Likewise.
3938 * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
3940 2001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3942 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
3944 2001-01-02 Ulrich Drepper <drepper@redhat.com>
3946 * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
3947 Suggested by Minko Markov <mmarkov@home.com>.
3949 2001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3951 * sysdeps/powerpc/elf/start.S (__data_start): Make it global.
3952 * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
3954 (__process_machine_rela): Pass symbol to dl_reloc_overflow().
3956 2001-01-02 Ben Collins <bcollins@debian.org>
3958 * time/tzset.c (tzset_internal): Make sure we fall back to UTC
3959 if TZ is not set and TZDEFAULT is not present.
3961 2001-01-01 Ben Collins <bcollins@debian.org>
3963 * string/strings.h: Make sure we declare our functions even if
3964 string.h is already included, based on whether or not __USE_BSD is
3967 2001-01-02 Ulrich Drepper <drepper@redhat.com>
3969 * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
3970 other dlopen() and dlsym().
3971 Based on a patch by Ben Collins <bcollins@debian.org>.
3973 2001-01-02 Andreas Jaeger <aj@suse.de>
3975 * dlfcn/errmsg1.c (main): Call dlerror initially.
3976 Reported by Ben Collins <bcollins@debian.org>.
3978 2001-01-02 Ulrich Drepper <drepper@redhat.com>
3980 * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
3981 value is ignored if the selected locale is the C locale.
3982 * intl/tst-gettext.c: Set locale for above change.
3983 * intl/tst-translit.c: Likewise.
3985 2001-01-02 Andreas Jaeger <aj@suse.de>
3987 * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
3988 (_IO_switch_to_wget_mode): Likewise.
3989 (_IO_sputbackwc): Likewise.
3990 (_IO_sungetwc): Use wint_t for result.
3992 * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done.
3994 * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct
3997 * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked
3998 to (int) to avoid warnings.
3999 * stdio-common/printf_fp.c (putc): Likewise.
4000 * stdio-common/printf_size.c (putc): Likewise.
4002 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make
4005 2001-01-01 Andreas Jaeger <aj@suse.de>
4007 * inet/rcmd.c (rcmd_af): Use socklen_t for len.
4009 2000-12-31 Andreas Jaeger <aj@suse.de>
4011 * include/libc-internal.h: Add prototype for __libc_freeres.
4013 * sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
4014 for prototypes, remove redundant prototypes.
4015 * gmon/gmon.c: Likewise.
4016 * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
4017 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
4018 * malloc/mtrace.c: Likewise.
4020 * sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
4022 * elf/soinit.c: Likewise.
4023 * sysdeps/generic/prof-freq.c: Likewise.
4024 * sysdeps/mach/hurd/profil.c: Likewise.
4025 * debug/noophooks.c: Likewise.
4026 * debug/pcprofile.c: Likewise.
4027 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
4028 * sysdeps/generic/get_clockfreq.c: Likewise.
4029 * malloc/set-freeres.c: Likewise.
4031 * locale/localeinfo.h: Add internal prototypes.
4033 * elf/rtld.c (dl_main): Fix prototype.
4035 * iconvdata/tst-table-to.c (main): Use return instead of exit to
4038 * nis/rpcsvc/yp_prot.h: Remove __P.
4039 * nis/rpcsvc/ypupd.h: Likewise.
4040 * nis/rpcsvc/yp.h: Likewise.
4042 * sunrpc/rpc_main.c: Add noreturn attributes.
4043 * sunrpc/rpc_scan.h: Likewise.
4045 * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.
4047 * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.
4049 * sunrpc/proto.h: Add noreturn attributes to error and crash.
4051 * posix/bsd-getpgrp.c: Add prototype to avoid warning.
4053 * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.
4055 * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.
4057 * include/rpc/rpc_msg.h: Add prototypes for some functions.
4058 * include/rpc/auth.h: Likewise.
4059 * include/rpc/auth_des.h: Likewise.
4060 * include/rpc/clnt.h: Likewise.
4061 * include/rpc/rpc.h: Likewise.
4062 * include/rpc/svc.h: Likewise.
4063 * include/rpc/svc_auth.h: Likewise.
4065 * include/rpc/des_crypt.h: New file.
4067 * malloc/memusagestat.c (main): Use return instead of exit to
4069 * io/pwd.c (main): Likewise.
4070 * iconvdata/tst-table-from.c (main): Likewise.
4071 * ctype/test_ctype.c (main): Likewise.
4072 * setjmp/tst-setjmp.c (main): Likewise.
4073 * signal/tst-signal.c (main): Likewise.
4074 * stdlib/tst-strtol.c (main): Likewise.
4075 * stdlib/tst-strtod.c (main): Likewise.
4076 * stdlib/tst-strtoll.c (main): Likewise.
4077 * stdlib/tst-xpg-basename.c (main): Likewise.
4078 * dirent/tst-seekdir.c (main): Likewise.
4079 * grp/testgrp.c (main): Likewise.
4080 * inet/test_ifindex.c (main): Likewise.
4081 * io/test-utime.c (main): Likewise.
4082 * posix/test-vfork.c (main): Likewise.
4083 * posix/testfnm.c (main): Likewise.
4084 * stdio-common/temptest.c (main): Likewise.
4085 * stdio-common/test_rdwr.c (main): Likewise.
4086 * stdio-common/tst-fileno.c (main): Likewise.
4087 * stdio-common/tst-sscanf.c (main): Likewise.
4088 * stdio-common/tstscanf.c (main): Likewise.
4089 * string/bug-strncat1.c (main): Likewise.
4090 * string/bug-strpbrk1.c (main): Likewise.
4091 * string/bug-strspn1.c (main): Likewise.
4092 * string/test-ffs.c (main): Likewise.
4093 * string/tst-inlcall.c (main): Likewise.
4094 * string/tst-svc.c (main): Likewise.
4095 * timezone/test-tz.c (main): Likewise.
4096 * wctype/test_wcfuncs.c (main): Likewise.
4097 * wctype/test_wctype.c (main): Likewise.
4099 * stdlib/tst-random.c: Add attribute noreturn to fail.
4101 2000-12-28 Wolfram Gloger <wg@malloc.de>
4103 * malloc/malloc.c (MALLOC_COPY): Handle case if source and
4104 destination overlap. Assume dest is always below source if
4107 2000-12-30 Ulrich Drepper <drepper@redhat.com>
4109 * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
4110 object was not yet initialized.
4112 2000-12-28 H.J. Lu <hjl@gnu.org>
4114 * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
4115 is always consistent even if its dependency is failed.
4117 * elf/dl-open.c (_dl_open): Increment the open count before
4118 calling _dl_close () in case of failure.
4120 * elf/neededtest4.c: New file.
4121 * elf/neededobj5.c: New file.
4122 * elf/neededobj6.c: New file.
4124 * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
4125 (tests): Add neededtest4.
4126 (modules-names): Add neededobj5 and neededobj6.
4127 ($(objpfx)neededobj6.so): New target.
4128 ($(objpfx)neededtest4): New target.
4129 ($(objpfx)neededtest4.out): New target.
4131 2000-12-28 Joseph S. Myers <jsm28@cam.ac.uk>
4133 * misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
4134 * stdlib/monetary.h: Add strfmon format attributes.
4136 2000-12-28 Roland McGrath <roland@frob.com>
4138 * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
4139 __mempcpy does it for us.
4141 2000-12-28 Andreas Jaeger <aj@suse.de>
4143 * sysdeps/generic/dl-environ.c: Add prototype for unsetenv.
4145 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
4148 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
4151 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
4154 * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
4155 __chown_is_lchown and __real_chown.
4157 * sysdeps/generic/ldsodefs.h: Add noreturn attribute to
4160 * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
4161 up GCC's warning about "deprecated use of label at end of compound
4163 * sunrpc/rpc_cout.c (emit_inline): Likewise.
4165 * gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
4167 Remove struct bb and __bb_head since those are declared by
4170 2000-12-22 Ben Collins <bcollins@debian.org>
4172 * manual/charset.texi: Fix typo in description of WCHAR_MAX.
4174 * manual/argp.texi: Document argp_domain as part of struct argp.
4176 2000-12-28 Andreas Jaeger <aj@suse.de>
4178 * catgets/Makefile (generated): Add sample.SJIS.cat.
4180 * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
4182 * elf/dl-minimal.c: Add prototypes.
4184 * include/locale.h: Add internal prototypes.
4185 * include/sys/gmon.h: Likewise.
4187 * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
4189 2000-12-27 Ben Collins <bcollins@debian.org>
4191 * elf/dl-open.c (_dl_open): Correctly set the new objname pointer
4192 when reallocating the error strings.
4193 Reported by Kalle Olavi Niemitalo <kon@iki.fi>
4195 2000-12-27 Ulrich Drepper <drepper@redhat.com>
4197 * dlfcn/Makefile (tests): Add errmsg1.
4198 (modules-names): Add errmsg1mod.
4199 Add rules to run errmsg1.
4200 * dlfcn/errmsg1.c: New file.
4201 * dlfcn/errmsg1mod.c: New file.
4203 * dlfcn/dlerror.c (dlerror): Always create output string which
4204 includes object file name.
4206 * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
4207 if we would go through it only once.
4208 Patch by Rick Gorton <rick.gorton@api-networks.com>.
4210 * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
4211 Patch by Richard Henderson <rth@redhat.com>.
4213 2000-12-27 Jakub Jelinek <jakub@redhat.com>
4215 * malloc/malloc.c (memmove): Add prototypes.
4216 (MALLOC_MEMMOVE): Define.
4217 (chunk_realloc): Use it instead of MALLOC_COPY if source and
4218 destination might overlap.
4220 2000-12-27 Andreas Jaeger <aj@suse.de>
4222 * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
4224 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
4225 * locale/programs/locale.c (show_locale_vars): Likewise.
4226 (show_info): Likewise.
4227 * locale/programs/ld-collate.c (collate_output): Likewise.
4228 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
4229 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
4230 * stdlib/rpmatch.c (rpmatch): Likewise.
4232 * setjmp/tst-setjmp.c: Make local functions static.
4233 * setjmp/jmpbug.c: Likewise.
4234 * signal/tst-signal.c: Likewise.
4235 * stdio-common/tfformat.c: Likewise.
4236 * string/tst-svc.c: Likewise.
4237 * time/clocktest.c: Likewise.
4238 * time/tst-getdate.c: Likewise.
4239 * dirent/list.c: Likewise.
4240 * dirent/opendir-tst1.c: Likewise.
4241 * posix/runtests.c: Likewise.
4242 * posix/tst-getaddrinfo.c: Likewise.
4243 * posix/tst-chmod.c: Likewise.
4244 * posix/wordexp-test.c: Likewise.
4245 * misc/tst-efgcvt.c: Likewise.
4246 * timezone/tst-timezone.c: Likewise.
4247 * rt/tst-clock.c: Likewise.
4248 * rt/tst-shm.c: Likewise.
4249 * rt/tst-aio2.c: Likewise.
4250 * rt/tst-aio3.c: Likewise.
4251 * rt/tst-aio4.c: Likewise.
4252 * rt/tst-aio5.c: Likewise.
4254 * dlfcn/failtest.c: Add prototype for foo.
4256 * dlfcn/glrefmain.c: Add prototype for do_test.
4258 * dlfcn/tst-dladdr.c: Add prototype for do_test.
4260 * string/test-ffs.c (main): Add prototype for nested function.
4262 * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
4264 * nss/XXX-lookup.c: Add prototype to shut up GCC.
4266 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
4267 setetherent prototype.
4268 Add internal interfaces.
4270 * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
4271 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
4273 * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
4275 * nis/nis_intern.h: Add prototype for __pmap_getnisport.
4277 * nss/nss_files/files-ethers.c: Include netinet/ether.h to get
4278 prototypes, remove struct etherent since it's declared in ether.h.
4279 Fix ntohost declaration.
4281 * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
4283 * include/getopt.h: Add internal interfaces.
4284 * include/termios.h: Likewise.
4285 * include/resolv.h: Likewise.
4286 * include/netdb.h: Likewise.
4287 * include/grp.h: Likewise.
4288 * include/pwd.h: Likewise.
4289 * include/shadow.h: Likewise.
4290 * include/rpc/netdb.h: Likewise.
4291 * include/setjmp.h: Likewise.
4293 * include/stdio.h: Add prototypes for compatibility functions.
4294 * include/grp.h: Likewise.
4295 * include/pwd.h: Likewise.
4296 * include/shadow.h: Likewise.
4298 * include/fenv.h: Define internal interfaces.
4300 2000-12-27 Ulrich Drepper <drepper@redhat.com>
4302 * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
4303 argument case separately.
4304 * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
4306 2000-12-27 Andreas Jaeger <aj@suse.de>
4308 * include/sys/wait.h: Add some prototypes.
4309 * Rules (dummy.c): Create also prototype to shut up GCC.
4311 2000-12-27 Andreas Jaeger <aj@suse.de>
4313 * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
4314 it's not needed at the moment.
4315 * sysdeps/generic/if_index.c (__protocol_available): Likewise.
4316 * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
4318 2000-12-26 Andreas Jaeger <aj@suse.de>
4320 * libio/getc_u.c: Include stdio.h via system path to get internal
4322 * libio/getwc_u.c: Likewise.
4324 * stdlib/strfmon.c: Fix prototype of __printf_fp.
4326 * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
4327 __printf_fp prototypes to ...
4328 * include/printf.h: ...here.
4330 * include/stdio.h: Add some internal prototypes to shut up GCC.
4331 * include/stdlib.h: Likewise.
4333 * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
4336 * include/signal.h: Add prototypes for internal sigpause
4339 2000-12-26 Ulrich Drepper <drepper@redhat.com>
4341 * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
4342 64bit platforms. Reported by Dave Gilbert <gilbertd@treblig.org>.
4344 * string/Makefile (tests): Add tst-bswap.
4345 * string/tst-bswap.c: New file.
4347 2000-12-11 Bruno Haible <haible@clisp.cons.org>
4349 * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
4351 2000-12-26 Ulrich Drepper <drepper@redhat.com>
4353 * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
4354 Patch by Ed Connell <Ed.Connell@sas.com>.
4356 2000-12-24 Ulrich Drepper <drepper@redhat.com>
4358 * locale/iso-639.def: Correct one entry. Add two missing entries.
4360 * locale/iso-4217.def: Change entry for Eritrea.
4361 Reported by Daniel Yacob <yacob@geez.org>.
4363 2000-12-23 Ben Collins <bcollins@debian.org>
4365 * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
4368 * manual/stdio.texi (Dynamic Output): Document the return value of
4369 asprintf. Also make the asprintf/snprintf examples a little
4370 better (check for some error returns).
4372 2000-12-22 Andreas Jaeger <aj@suse.de>
4374 * include/stdio.h: Add __ftrylockfile prototype.
4376 2000-12-21 H.J. Lu <hjl@gnu.org>
4378 * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
4379 Make sign_exponent element signed.
4381 * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
4384 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
4386 2000-12-21 Andreas Jaeger <aj@suse.de>
4388 * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
4389 * inet/ether_hton.c: Likewise
4390 * inet/ether_ntoh.c: Likewise.
4392 * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
4393 declaration to match prototype.
4395 * include/netinet/ether.h (struct etherent): Declare here so that
4396 all implementations use the same struct.
4398 * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
4400 (struct ether): Removed.
4401 Use struct etherent instead of ether everywhere.
4403 * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
4405 * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
4407 * sunrpc/publickey.c: Include auth_des.h for prototypes.
4409 2000-12-20 Ulrich Drepper <drepper@redhat.com>
4411 * math/test-misc.c: Add more tests for nextafter functions.
4413 * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
4414 normal correctly. Correct test for sign.
4415 Based on a patch by HJ Lu.
4417 2000-12-19 Ulrich Drepper <drepper@redhat.com>
4419 * Makeconfig (preprocess-version): Add -traditional to gcc call.
4422 2000-12-19 Andreas Jaeger <aj@suse.de>
4424 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
4426 * nis/nis_intern.h: Add prototype for __do_niscall3.
4428 * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
4431 * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
4433 * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
4435 * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
4437 2000-12-18 Ulrich Drepper <drepper@redhat.com>
4439 * math/test-misc.c: Add more tests for nextafter.
4440 * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
4441 * sysdeps/ieee754/ldbl-96/math_ldbl.h
4442 (ieee_long_double_shape_type): Make sign_exponent element signed.
4444 * manual/message.texi: Add Estonian to plural overview list.
4445 Correct rule for Slavic languages.
4446 Patch by Stanislav Brabec <utx@penguin.cz>.
4448 * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
4450 2000-12-18 Andreas Jaeger <aj@suse.de>
4452 * test-skeleton.c: Use temp_name_list instead of name_list to
4453 avoid collision with name_list from inet/netgroup.h.
4455 * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
4457 * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
4458 * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
4459 * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
4460 * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
4462 * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
4463 declaration to match prototype.
4464 * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
4465 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
4466 * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
4468 * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
4469 * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
4470 * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
4471 * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
4472 (_nss_nis_getservbyport_r): Likewise.
4473 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
4474 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
4475 * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
4476 (_nss_nis_setnetent): Likewise
4477 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
4478 (_nss_nis_endnetgrent): Likewise.
4479 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
4481 (_nss_nisplus_setnetgrent): Likewise.
4482 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
4483 * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
4484 * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
4485 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
4487 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
4489 * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
4491 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
4493 * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
4494 * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
4495 * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
4496 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
4497 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
4498 (_nss_dns_getnetbyaddr_r): Likewise.
4500 2000-12-17 Andreas Jaeger <aj@suse.de>
4502 * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
4505 * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
4506 unused attribute to shut up gcc warnings.
4508 * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
4509 * sysdeps/generic/k_tanl.c: Likewise.
4510 * sysdeps/generic/k_cosl.c: Likewise.
4511 * sysdeps/generic/e_j0l.c: Likewise.
4512 * sysdeps/generic/e_j1l.c: Likewise.
4513 * sysdeps/generic/e_jnl.c: Likewise.
4514 * sysdeps/generic/e_lgammal_r.c: Likewise.
4516 * elf/vismain.c: Move prototypes for functions in vismod*.c to
4518 * elf/vismod.h: New file.
4519 * elf/Makefile (distribute): Add vismod.h.
4520 * elf/vismod1.c: Include vismod.h.
4521 * elf/vismod2.c: Likewise.
4522 * elf/vismod3.c: Likewise.
4524 * elf/constload3.c: Add prototype declarations to shut up gcc.
4525 * elf/failobj.c: Likewise.
4526 * elf/nodelmod3.c: Likewise.
4527 * elf/filtmod1.c: Likewise.
4528 * elf/filtmod2.c: Likewise.
4529 * elf/reldepmod1.c: Likewise.
4530 * elf/reldepmod2.c: Likewise.
4531 * elf/reldepmod3.c: Likewise.
4532 * elf/reldepmod4.c: Likewise.
4533 * elf/unload2dep.c: Likewise.
4534 * elf/unload2mod.c: Likewise.
4535 * elf/ltglobmod1.c: Likewise.
4536 * elf/pathoptobj.c: Likewise.
4537 * elf/neededobj1.c: Likewise.
4538 * elf/neededobj2.c: Likewise.
4539 * elf/neededobj3.c: Likewise.
4540 * elf/neededobj4.c: Likewise.
4541 * elf/nextmod1.c: Likewise.
4542 * elf/nextmod2.c: Likewise.
4544 * locale/programs/ld-collate.c (collate_finish): Don't use labels
4545 at end of compound statement.
4546 * locale/programs/locale.c (show_info): Likewise.
4547 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
4549 2000-12-16 Jakub Jelinek <jakub@redhat.com>
4551 * catgets/gencat.c (read_input_file): Avoid calling obstack_free
4552 with a pointer not returned by obstack_ functions.
4554 2000-12-16 Ulrich Drepper <drepper@redhat.com>
4556 * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
4558 (struct stat64): Likewise.
4559 Reported by Michael Keezer <mkeezer@redhat.com>.
4561 * timezone/asia: Update from tzdata2000h.
4562 * timezone/australasia: Likewise.
4563 * timezone/backward: Likewise.
4564 * timezone/europe: Likewise.
4565 * timezone/northamerica: Likewise.
4566 * timezone/southamerica: Likewise.
4567 * timezone/zone.tab: Likewise.
4569 2000-12-14 Jakub Jelinek <jakub@redhat.com>
4571 * io/ftw.c (ftw_dir): If process_entry returned non-zero result
4572 and dir.stream is NULL, only free dir.content.
4573 * io/ftwtest.c (cb, main): Add --early-exit option to test it.
4574 * io/ftwtest-sh: Test with --early-exit.
4576 2000-12-13 Jakub Jelinek <jakub@redhat.com>
4578 * misc/efgcvt.c (FCVT_MAXDIG): Define.
4579 (FCVT_BUFPTR): New variable.
4580 (fcvt): If fcvt_r returns -1 on the static short buffer,
4581 try to malloc a sufficiently large one and retry.
4582 (free_mem): New function.
4583 * misc/qefgcvt.c (FCVT_MAXDIG): Define.
4584 * misc/tst-efgcvt.c (fcvt_tests): Add new test.
4586 2000-12-15 Ulrich Drepper <drepper@redhat.com>
4588 * misc/dirname.c (dirname): Fix search for second to last slash.
4590 2000-12-13 Andreas Jaeger <aj@suse.de>
4592 * misc/tst-dirname.c (main): Fix typo in test to really use
4593 the examples from Unix98.
4594 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
4596 2000-12-09 H.J. Lu <hjl@gnu.org>
4598 * sysdeps/ia64/fpu/s_fabs.S: New file.
4599 * sysdeps/ia64/fpu/s_fabsf.S: New file.
4600 * sysdeps/ia64/fpu/s_fabsl.S: New file.
4602 2000-12-15 Andreas Jaeger <aj@suse.de>
4604 * stdio-common/scanf9.c (main): Reformat and change to avoid
4607 * stdio-common/tstdiomisc.c: Make local functions static.
4608 * stdio-common/tst-printf.c: Likewise.
4610 * elf/constload2.c: Add prototype declarations to shut up gcc.
4611 * elf/dep1.c: Likewise.
4612 * elf/dep2.c: Likewise.
4613 * elf/dep3.c: Likewise.
4614 * elf/dep4.c: Likewise.
4615 * elf/ltglobmod2.c: Likewise.
4617 * libio/fmemopen.c: Make local functions static.
4619 * elf/Makefile (distribute): Added testobj.h.
4621 * elf/testobj.h: New file.
4623 * elf/testobj1.c: Include testobj.h and move prototype
4624 declarations to testobj.h.
4625 * elf/testobj2.c: Likewise.
4626 * elf/testobj3.c: Likewise.
4627 * elf/testobj4.c: Likewise.
4628 * elf/testobj5.c: Likewise.
4629 * elf/testobj6.c: Likewise.
4630 * elf/testobj1_1.c: Likewise.
4631 * elf/preloadtest.c: Likewise.
4633 2000-12-15 Ben Collins <bcollins@debian.org>
4635 * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
4636 Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
4638 2000-12-14 H.J. Lu <hjl@gnu.org>
4640 * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
4641 field in a float is 8 bits, not 11 bits.
4643 2000-12-13 Jakub Jelinek <jakub@redhat.com>
4645 * math/test-misc.c (main): Adjust m for IEEE quad long double.
4647 2000-12-13 Andreas Jaeger <aj@suse.de>
4649 * manual/message.texi (Using gettextized software): Fix typo.
4651 * manual/charset.texi (Converting a Character): Fix mbstouwcs
4653 Patch by Martin Buchholz <martin@xemacs.org>.
4655 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
4656 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
4658 2000-12-11 Andreas Jaeger <aj@suse.de>
4660 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
4661 kernel_sigset_t and use it.
4662 Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
4664 2000-12-10 Richard Henderson <rth@redhat.com>
4666 * sysdeps/alpha/alphaev67/fpu/Implies: New file.
4667 * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
4668 * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
4670 2000-12-10 Jakub Jelinek <jakub@redhat.com>
4672 * sysdeps/alpha/htonl.S: Fix a typo.
4674 2000-12-10 Jakub Jelinek <jakub@redhat.com>
4676 * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
4678 2000-12-10 Andreas Jaeger <aj@suse.de>
4680 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
4681 cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
4682 Drepper <drepper@redhat.com>.
4684 2000-12-09 Andreas Jaeger <aj@suse.de>
4686 * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
4688 * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
4690 Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
4692 * locale/programs/ld-collate.c (handle_ellipsis): Fix format
4695 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
4698 * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
4699 * nscd/connections.c (handle_request): Likewise.
4700 * nscd/pwdcache.c (addpwbyname): Likewise.
4701 * nscd/grpcache.c (addgrbyname): Likewise.
4703 * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
4705 2000-12-09 Ulrich Drepper <drepper@redhat.com>
4707 * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
4709 * Makeconfig (default_cflags): Make -O2 the default for stable
4712 2000-12-08 H.J. Lu <hjl@gnu.org>
4714 * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
4715 * sysdeps/ia64/fpu/s_isinf.S: This.
4716 Add a .pred.rel.mutex note to avoid false report.
4718 * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
4719 * sysdeps/ia64/fpu/s_isnan.S: This.
4721 * sysdeps/ia64/fpu/s_fpclassify.S: New file.
4722 * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
4723 * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
4724 * sysdeps/ia64/fpu/s_isinff.S: New file.
4725 * sysdeps/ia64/fpu/s_isinfl.S: New file.
4726 * sysdeps/ia64/fpu/s_isnanf.S: New file.
4727 * sysdeps/ia64/fpu/s_isnanl.S: New file.
4728 * sysdeps/ia64/fpu/s_finite.S: New file.
4729 * sysdeps/ia64/fpu/s_finitef.S: New file.
4730 * sysdeps/ia64/fpu/s_finitel.S: New file.
4731 * sysdeps/ia64/fpu/s_signbit.S: New file.
4732 * sysdeps/ia64/fpu/s_signbitf.S: New file.
4733 * sysdeps/ia64/fpu/s_signbitl.S: New file.
4734 * sysdeps/ia64/fpu/s_copysign.S: New file.
4735 * sysdeps/ia64/fpu/s_copysignf.S: New file.
4736 * sysdeps/ia64/fpu/s_copysignl.S: New file.
4738 2000-12-08 Ulrich Drepper <drepper@redhat.com>
4740 * math/libm-test.inc (main): Fix typos in messages.
4742 * string/stratcliff.c: Add test for rawmemchr.
4744 2000-12-08 Jakub Jelinek <jakub@redhat.com>
4746 * elf/dl-open.c (_dl_open): If objname points right after errstring,
4747 allocate it together with errstring using alloca.
4748 * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
4749 to "", because it might point to local stack.
4751 2000-12-05 H.J. Lu <hjl@gnu.org>
4753 * nss/Makefile (routines): Add getnssent and getnssent_r.
4754 * nss/nsswitch.h (__nss_setent): New internal NSS function.
4755 (__nss_endent): Likewise.
4756 (__nss_getent_r): Likewise.
4757 (__nss_getent): Likewise.
4758 * nss/getnssent_r.c: New file.
4759 * nss/getnssent.c: New file.
4760 * nss/getXXent.c (H_ERRNO_VAR): Updated.
4761 (GETFUNC_NAME): Updated to call __nss_getent ().
4762 * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
4763 (STAYOPEN_TMPVAR): Updated.
4764 (STAYOPEN_VAR): Updated.
4765 (SETFUNC_NAME): Updated to call __nss_setent ().
4766 (ENDFUNC_NAME): Updated to call __nss_endent ().
4767 (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
4769 2000-12-08 Andreas Jaeger <aj@suse.de>
4771 * nscd/dbg_log.h (dbg_log): Correct attribute.
4773 2000-12-08 Jakub Jelinek <jakub@redhat.com>
4775 * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
4776 cp + len. Compute where from dirname.
4777 Reported by <jreiser@BitWagon.com>.
4779 2000-12-08 Richard Henderson <rth@twiddle.net>
4781 * sysdeps/alpha/_mcount.S: Fix typo.
4782 * sysdeps/alpha/strncpy.S: Likewise.
4784 * sysdeps/alpha/alphaev6/Implies: New file.
4785 * sysdeps/alpha/alphaev67/Implies: New file.
4786 * sysdeps/alpha/alphaev67/ffs.S: New file.
4787 * sysdeps/alpha/alphaev67/ffsll.S: New file.
4788 * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
4789 * sysdeps/alpha/alphaev67/stpcpy.S: New file.
4790 * sysdeps/alpha/alphaev67/stpncpy.S: New file.
4791 * sysdeps/alpha/rawmemchr.S: New file.
4792 * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
4793 * sysdeps/alpha/strcpy.S: Likewise.
4796 * sysdeps/alpha/alphaev6/addmul_1.s: New file.
4798 From rick.gorton@alpha-processor.com:
4799 * sysdeps/alpha/alphaev6/memchr.S: New file.
4800 * sysdeps/alpha/alphaev6/memcpy.S: New file.
4801 * sysdeps/alpha/alphaev6/memset.S: New file.
4802 * sysdeps/alpha/alphaev6/stxcpy.S: New file.
4803 * sysdeps/alpha/alphaev6/stxncpy.S: New file.
4804 * sysdeps/alpha/alphaev67/strcat.S: New file.
4805 * sysdeps/alpha/alphaev67/strchr.S: New file.
4806 * sysdeps/alpha/alphaev67/strlen.S: New file.
4807 * sysdeps/alpha/alphaev67/strncat.S: New file.
4808 * sysdeps/alpha/htonl.S: Use a shorter sequence.
4810 2000-12-08 Jakub Jelinek <jakub@redhat.com>
4812 * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
4813 Reported by <pspencer@fields.utoronto.ca>.
4815 2000-12-07 Jes Sorensen <jes@linuxcare.com>
4817 * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
4818 Pointed out by Hans Boehm.
4820 2000-12-07 H.J. Lu <hjl@gnu.org>
4822 * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
4824 2000-12-07 Andreas Jaeger <aj@suse.de>
4826 * misc/error.c: Add format attributes for __error and __error_at_line.
4828 * nscd/dbg_log.h: Add format attribute.
4830 2000-12-08 Ulrich Drepper <drepper@redhat.com>
4832 * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
4833 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
4835 2000-12-07 Dan Pop <Dan.Pop@cern.ch>
4837 * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
4839 2000-12-06 Ulrich Drepper <drepper@redhat.com>
4841 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
4842 (sysdep_routines): Add uitrunc.
4843 * sysdeps/unix/sysv/aix/uitrunc.c: New file.
4844 Patches by Michael Keezer <mkeezer@redhat.com>.
4846 2000-12-06 Roland McGrath <roland@frob.com>
4848 * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
4849 argument data, since it will be used to copy out too (for INOUT).
4850 Reported by Marcus Brinkmann <marcus@gnu.org>.
4852 * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
4853 (__ioctl): Use uintptr_t instead of unsigned long int.
4855 2000-12-06 Jim Wilson <wilson@redhat.com>
4857 * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
4859 2000-12-06 Ulrich Drepper <drepper@redhat.com>
4861 * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
4862 x.5 rounding correctly.
4864 2000-12-06 Mark Kettenis <kettenis@gnu.org>
4866 * stdio-common/perror.c (perror): Conditionalize code dealing with
4867 wide-oriented streams on USE_IN_LIBIO.
4869 2000-12-06 Mark Kettenis <kettenis@gnu.org>
4871 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
4872 as internal_function.
4874 2000-12-05 Ulrich Drepper <drepper@redhat.com>
4876 * sysdeps/alpha/elf/start.S (__data_start): Define.
4878 2000-12-05 H.J. Lu <hjl@gnu.org>
4880 * nss/getXXent_r.c (setup): Change the return type to int.
4882 2000-12-05 Ulrich Drepper <drepper@redhat.com>
4884 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
4885 (sysdep_routines): Add restf and savef.
4886 * sysdeps/unix/sysv/aix/restf.c: New file.
4887 * sysdeps/unix/sysv/aix/savef.c: New file.
4888 Patches by Michael Keezer <mkeezer@redhat.com>.
4890 * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
4891 if O_DIRECTORY is not defined.
4892 Patch by Michael Keezer <mkeezer@redhat.com>.
4894 * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
4895 Patch by Michael Keezer <mkeezer@redhat.com>.
4897 * locale/programs/linereader.c (get_toplvl_escape): Recognize more
4898 than 4 bytes in escape sequence.
4899 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
4901 2000-12-05 Andreas Jaeger <aj@suse.de>
4903 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
4906 * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
4908 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
4910 * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
4911 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
4913 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
4915 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
4916 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
4918 * sysdeps/generic/dl-cache.c: Remove declaration of
4919 _dl_sysdep_read_whole_file.
4921 * elf/dl-load.c (_dl_map_object): Remove declaration of
4922 _dl_load_cache_lookup.
4924 * sysdeps/generic/ldsodefs.h: Add declarations of
4925 _dl_load_cache_lookup, _dl_unload_cache,
4926 _dl_sysdep_read_whole_file, _dl_sysdep_start and
4927 _dl_sysdep_start_cleanup.
4929 * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
4932 * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
4933 * sysdeps/generic/dl-environ.c: Likewise.
4935 * stdio-common/printf_fp.c: Include <gmp.h> instead of
4937 * math/atest-exp.c: Likewise.
4938 * math/atest-exp2.c: Likewise.
4939 * math/atest-sincos.c: Likewise.
4940 * stdio-common/_itoa.c: Likewise.
4941 * stdio-common/_itowa.c: Likewise.
4943 * include/gmp.h: New file with internal prototypes.
4945 * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
4947 * include/setjmp.h: ...here.
4949 * locale/Makefile (routines): Remove codeset_name since it's not
4952 * locale/codeset_name.c: Removed.
4954 2000-12-05 Ulrich Drepper <drepper@redhat.com>
4956 * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
4958 2000-12-05 Andreas Jaeger <aj@suse.de>
4960 * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
4962 2000-12-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
4964 * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
4967 2000-12-05 Andreas Jaeger <aj@suse.de>
4969 * nss/test-netdb.c: Mark local functions as static to avoid
4971 (main): Use return to silence warning.
4973 * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
4975 * stdio-common/test-popen.c: Mark local functions as static to
4977 (main): Use return to silence warning.
4979 * stdlib/testsort.c (compare): Mark as static to avoid warning.
4981 * assert/test-assert.c: Mark local functions as static to avoid
4983 * assert/test-assert-perr.c: Likewise.
4985 * math/libm-test.inc (main): Use return to silence warnings.
4987 2000-12-04 Ulrich Drepper <drepper@redhat.com>
4989 * math/fenv.h: Fix typo in comment.
4991 * math/test-misc.c (main): Add a few more over and underflow tests
4994 * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
4995 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4996 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4997 * math/w_scalb.c: Don't use matherr except in SVID mode.
4998 * math/w_scalbf.c: Likewise.
4999 * math/w_scalbl.c: Likewise.
5000 * math/test-misc.c: Add test for NaN and scalbl.
5001 Reported by Fred J. Tydeman <tydeman@tybor.com>.
5003 2000-12-04 Ulrich Drepper <drepper@redhat.com>
5005 * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
5006 * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
5007 * include/libc-symbols.h (strong_alias): Define special version
5008 for HAVE_ASM_GLOBAL_DOT_NAME.
5009 (weak_alias): Likewise.
5010 * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
5011 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
5012 (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
5013 getutxline, pututxline, and utmpxname.
5014 * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
5015 * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
5016 * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
5017 * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
5018 * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
5019 * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
5020 * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
5021 * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup. Add comments.
5022 * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
5023 Patches by Michael Keezer <mkeezer@redhat.com>.
5025 2000-12-04 H.J. Lu <hjl@gnu.org>
5027 * configure.in: Change --with-oldest-abi=ABI to
5028 --enable-oldest-abi=ABI.
5030 2000-12-02 Bruno Haible <haible@clisp.cons.org>
5032 * stdio-common/perror.c (perror): If stderr is wide-oriented, use
5033 fwprintf instead of fprintf.
5035 2000-12-04 Ulrich Drepper <drepper@redhat.com>
5037 * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
5038 DECIMAL_DIG definitions.
5039 * sysdeps/arm/fpu/bits/mathdef.h: Likewise
5040 * sysdeps/generic/bits/mathdef.h: Likewise
5041 * sysdeps/i386/fpu/bits/mathdef.h: Likewise
5042 * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
5043 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
5044 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
5045 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
5046 * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
5048 2000-12-03 Ulrich Drepper <drepper@redhat.com>
5050 * math/test-fenv.c (main): Use return instead of exit to avoid warning.
5052 * math/atest-exp.c: Mark local functions as static to avoid warnings.
5053 * math/atest-exp2.c: Likewise.
5054 * math/atest-sincos.c: Likewise.
5056 * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
5057 Reported by Fred J. Tydeman <tydeman@tybor.com>.
5059 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
5060 the handling of denormalized numbers.
5062 * math/test-misc.c (main): Test for fpclassify and pseudo denormal
5064 * sysdeps/i386/fpu/fpclassifyl.c: New file.
5066 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
5067 pseudo denormal representation of LDBL_MIN.
5069 * iconvdata/SJIS.irreversible: Remove unnecessary entries.
5070 * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
5072 * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
5073 * iconvdata/jis0208.c: Likewise.
5074 * iconvdata/jis0212.c: Likewise.
5075 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
5077 * math/test-misc.c (main): More tests for frexp and some for
5078 fpclassify and isnormal.
5080 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
5082 Reported by Fred J. Tydeman <tydeman@tybor.com>.
5084 * math/test-misc.c (main): Add tests for frexp.
5085 Reported by Fred J. Tydeman <tydeman@tybor.com>.
5086 * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
5088 2000-12-02 H.J. Lu <hjl@gnu.org>
5090 * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
5093 2000-12-02 Ulrich Drepper <drepper@redhat.com>
5095 * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
5096 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5097 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5099 * sysdeps/generic/glob.c: Adjust types of several variables to
5102 2000-12-01 Ulrich Drepper <drepper@redhat.com>
5104 * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
5106 2000-11-30 Roland McGrath <roland@frob.com>
5108 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
5109 (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
5110 allow multiple instances using the same function name in one file.
5112 2000-12-01 Ulrich Drepper <drepper@redhat.com>
5114 * configure.in: Correct test for pserver CVS access.
5116 2000-11-28 H.J. Lu <hjl@gnu.org>
5118 * libio/libio.h: Remove extra "#if ... #endif".
5120 2000-11-29 H.J. Lu <hjl@gnu.org>
5122 * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
5124 2000-12-01 H.J. Lu <hjl@gnu.org>
5126 * nss/getXXbyYY_r.c: Fix verioned symbol handling.
5127 * nss/getXXent_r.c: Likewise.
5128 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5130 2000-11-30 H.J. Lu <hjl@gnu.org>
5132 * scripts/abi-versions.awk (oldest_abi): New variable.
5133 Handle the oldest ABI supported.
5135 * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
5136 for scripts/abi-versions.awk.
5138 * configure.in: Add --with-oldest-abi=ABI.
5139 * configure: Rebuild.
5141 * config.make.in (oldest-abi): New.
5143 * config.h.in (GLIBC_OLDEST_ABI): New.
5145 * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
5147 2000-11-30 Jakub Jelinek <jakub@redhat.com>
5149 * locale/setlocale.c (setname): Free for all categories, not just
5151 (setlocale): Store a copy of string passed by user, not the string
5154 2000-11-30 Roland McGrath <roland@frob.com>
5156 * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
5157 rather than _hurd_fd_subinit, so it happens after it's safe to use
5158 libc facilities like malloc.
5160 2000-11-28 Andreas Jaeger <aj@suse.de>
5162 * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
5163 declaration, adjust declaration of __syscall_getdents to match
5166 2000-11-29 H.J. Lu <hjl@gnu.org>
5168 * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
5170 2000-11-29 Andreas Jaeger <aj@suse.de>
5172 * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
5174 2000-11-28 Ulrich Drepper <drepper@redhat.com>
5176 * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
5177 * dlfcn/defaultmod2.c: Likewise.
5178 * dlfcn/dlopen.c: Likewise.
5179 * dlfcn/dlopenold.c: Likewise.
5180 * dlfcn/failtestmod.c: Likewise.
5181 * dlfcn/glreflib1.c: Likewise.
5182 * dlfcn/glreflib2.c: Likewise.
5183 * dlfcn/eval.c: Likewise. Add attributes.
5185 * ctype/ctype-extn.c: Define isblank and not __isblank.
5187 * time/strftime.c: Add const where necessary to avoid warnings.
5188 * time/strptime.c (strptime_internal): Add casts to avoid warnings.
5190 2000-11-22 Paul Eggert <eggert@twinsun.com>
5192 * time/strftime.c (my_strftime): Do not invoke mbrlen with a
5193 size of (size_t) -1; it's not portable.
5195 2000-11-28 Ulrich Drepper <drepper@redhat.com>
5197 * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
5199 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
5201 2000-11-14 Jes Sorensen <jes@linuxcare.com>
5203 * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
5205 * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
5206 _mcount is required by profiled binaries.
5208 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
5209 * sysdeps/ia64/machine-gmon.h: ...here.
5211 2000-11-28 Masahide Washizawa <washi@jp.ibm.com>
5213 * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
5214 (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
5216 * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
5218 * iconvdata/ibm922.c: New file.
5219 * iconvdata/ibm922.h: New file.
5220 * iconvdata/ibm1124.c: New file.
5221 * iconvdata/ibm1124.h: New file.
5222 * iconvdata/ibm1129.c: New file.
5223 * iconvdata/ibm1129.h: New file.
5224 * iconvdata/testdata/IBM922: New file.
5225 * iconvdata/testdata/IBM922..UTF8: New file.
5226 * iconvdata/testdata/IBM1124: New file.
5227 * iconvdata/testdata/IBM1124..UTF8: New file.
5228 * iconvdata/testdata/IBM1129: New file.
5229 * iconvdata/testdata/IBM1129..UTF8: New file.
5231 2000-11-28 Ulrich Drepper <drepper@redhat.com>
5233 * catgets/gencat.c (normalize_line): Take extra parameter with escape
5234 character. Change callers.
5235 (open_conversion): Determine mapping of 0x5c as wchar_t value.
5236 * catgets/Makefile: Add rules to build and run test-gencat.
5237 * catgets/sample.SJIS: New file.
5238 * catgets/test-gencat.c: New file.
5239 * catgets/test-gencat.sh: New file.
5240 Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
5242 2000-11-28 Andreas Jaeger <aj@suse.de>
5244 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
5247 2000-11-28 Ulrich Drepper <drepper@redhat.com>
5249 * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
5251 2000-11-28 Andreas Jaeger <aj@suse.de>
5253 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
5255 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
5258 2000-11-27 Ulrich Drepper <drepper@redhat.com>
5260 * misc/getusershell.c: Make strings in okshells array const.
5261 * misc/regexp.c: Add const to cast to avoid warnings.
5262 * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
5263 * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
5265 * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
5267 * misc/error.c: Add prototypes for __error and __error_at_line.
5268 * misc/mntent_r.c (__getmntent_r): Add break at end of switch
5269 statement to avoid warning.
5270 * test-skeleton.c: Mark timeout_handler with noreturn.
5271 * iconv/skeleton.c (get16u): Add const to cast.
5273 * iconvdata/gb18030.c: Likewise.
5274 * iconvdata/iso-2022-cn-ext.c: Likewise.
5275 * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
5276 * iconvdata/big5.c: Likewise.
5277 * iconvdata/big5hkscs.c: Likewise.
5278 * iconvdata/iso_6937.c: Likewise.
5279 * iconvdata/iso_6937-2.c: Likewise.
5280 * iconvdata/t.61.c: Likewise.
5281 * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
5282 * iconvdata/unicode.c: Likewise.
5283 * iconvdata/utf-16.c: Likewise.
5284 * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
5285 * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
5286 with little code shuffling.
5288 * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
5289 the problems introduced when the user selects -O3.
5291 * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
5292 * misc/sys/cdefs.h: Define __flexarr.
5293 Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
5295 * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
5296 * iconv/skeleton.c: Likewise.
5297 * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
5298 * iconv/loop.c (get16): Add const to cast.
5301 2000-11-27 Andreas Jaeger <aj@suse.de>
5303 * login/programs/pt_chown.c (do_pt_chown): Mark function as static
5305 * login/programs/utmpdump.c (print_entry): Likewise.
5307 2000-11-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
5309 * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
5310 in a single asm as they may be used to access other stored
5312 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
5314 2000-11-27 Andreas Jaeger <aj@suse.de>
5316 * rt/tst-aio.c: Mark test functions as static to avoid warnings.
5317 * rt/tst-aio64.c: Likewise.
5319 2000-11-27 Ulrich Drepper <drepper@redhat.com>
5321 * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
5323 (libc.cat): Likewise.
5324 * catgets/gencat.c: Implement handling of message catalogs encoded
5325 with stateful character sets.
5326 Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
5328 2000-11-26 Ulrich Drepper <drepper@redhat.com>
5330 * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
5332 * inet/getnameinfo.c: Adjust casts to avoid warnings.
5333 * inet/rcmd.c: Likewise.
5334 * inet/ruserpass.c: Likewise.
5335 * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
5336 IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
5337 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
5338 IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
5339 IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
5340 IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
5341 * include/aliases.h: Add prototypes for internal __getalias* functions.
5342 * include/netdb.h: Add prototypes for __old_gethostent_r,
5343 __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
5344 __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
5345 __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
5346 __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
5347 * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
5348 __old_getrpcbynumber_r, __old_getrpcent_r.
5350 * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
5351 __getrpcent_r prototypes.
5353 2000-11-25 Ulrich Drepper <drepper@redhat.com>
5355 * string/strcoll.c: Add casts to avoid warnings.
5356 * string/strnlen.c: Likewise.
5357 * string/strxfrm.c: Likewise.
5358 * sysdeps/generic/_strerror.c: Likewise.
5359 * sysdeps/generic/memrchr.c: Likewise.
5360 * sysdeps/generic/strcasestr.c: Likewise.
5361 * sysdeps/generic/strstr.c: Likewise.
5363 * locale/weight.h (findidx): Add const to cast to avoid warning.
5365 * elf/loadfail.c: Little cosmetic changes to avoid warnings.
5366 * elf/loadtest.c: Likewise.
5367 * elf/multiload.c: Likewise.
5368 * elf/next.c: Likewise.
5369 * elf/nodelete.c: Likewise.
5370 * elf/noload.c: Likewise.
5371 * elf/order.c: Likewise.
5372 * elf/origtest.c: Likewise.
5373 * elf/preloadtest.c: Likewise.
5374 * elf/restest1.c: Likewise.
5376 * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
5377 parameter of asm must be in %ecx.
5379 * string/tester.c: Mark test functions as static to avoid warnings.
5381 * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
5382 preserve value over different gconv-modules files.
5384 2000-11-24 Ulrich Drepper <drepper@redhat.com>
5386 * locale/findlocale.c: Add casts to avoid warnings.
5387 * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
5388 * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
5390 * misc/tsearch.c (const_node): New type.
5391 (trecurse): Correct casts to avoid warnings.
5392 (__twalk): Likewise.
5393 * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
5396 * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
5398 * test-skeleton.c: Mark local functions as static to avoid warnings.
5400 2000-11-23 H.J. Lu <hjl@gnu.org>
5402 * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
5403 support the background job.
5406 2000-11-24 Ulrich Drepper <drepper@redhat.com>
5408 * iconv/gconv_conf.c (insert_module): Replace old entry if new one
5409 has same names but lower cost.
5411 2000-11-23 Jakub Jelinek <jakub@redhat.com>
5413 * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
5414 which never occur during bootstrap.
5415 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5417 2000-11-23 Andreas Jaeger <aj@suse.de>
5419 * nss/nss_files/files-hosts.c: Remove getipnodebyname.
5421 * nss/Versions: Remove _nss_files_getipnodebyname_r.
5423 * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
5425 2000-11-18 Martin Buchholz <martin@xemacs.org>
5427 * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
5430 2000-11-21 Alan Modra <alan@linuxcare.com.au>
5432 * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
5434 * csu/abi-note.S: Correct comment for operating system number.
5436 2000-11-22 Ulrich Drepper <drepper@redhat.com>
5438 * Versions.def: Add GLIBC_2.2.1 for glibc.
5440 2000-11-22 Andreas Schwab <schwab@suse.de>
5442 * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
5443 * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
5445 2000-11-22 Ulrich Drepper <drepper@redhat.com>
5447 * rt/aio_suspend.c (aio_suspend): Convert timeout value to
5448 absolute time for pthread_cond_timedwait call.
5449 Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
5451 * rt/Makefile (tests): Add tst-aio6.
5452 * rt/tst-aio6.c: New file.
5454 2000-11-23 Andreas Jaeger <aj@suse.de>
5456 * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
5458 2000-11-22 Andreas Jaeger <aj@suse.de>
5460 * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
5462 2000-11-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
5464 * sysdeps/s390/bits/string.h: Make strncat always add a \0.
5466 2000-11-21 Andreas Schwab <schwab@suse.de>
5468 * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
5469 * sysdeps/arm/setjmp.S: Likewise.
5470 * sysdeps/arm/fpu/setjmp.S: Likewise.
5471 * sysdeps/i386/setjmp.S: Likewise.
5472 * sysdeps/i386/elf/setjmp.S: Likewise.
5473 * sysdeps/s390/setjmp.S: Likewise.
5474 * sysdeps/s390/elf/setjmp.S: Likewise.
5475 * sysdeps/sh/sh3/setjmp.S: Likewise.
5476 * sysdeps/sh/sh4/setjmp.S: Likewise.
5477 * sysdeps/sparc/sparc32/setjmp.S: Likewise.
5478 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
5479 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
5480 * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
5482 2000-11-21 Andreas Jaeger <aj@suse.de>
5484 * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
5485 NORETURN, fix parameter list.
5487 * string/bug-strncat1.c (main): Fix typo.
5488 Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
5490 2000-11-20 Ulrich Drepper <drepper@redhat.com>
5492 * configure.in: Add --enable-all-warnings.
5493 * config.make.in (all-warnings): New variable.
5494 * Makeconfig (+gccwarn): Define with many more warnings if
5495 all-warnings is yes.
5497 2000-11-20 Jakub Jelinek <jakub@redhat.com>
5499 * iconvdata/bug-iconv2.c (main): Use %zd in format string.
5500 * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
5501 * malloc/tst-valloc.c (main): Cast valloc return value to long.
5502 * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
5503 * math/test-fpucw.c (main): Use %lx in format string, cast
5504 control words to long.
5505 * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
5506 * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
5507 large that it is unsigned warning.
5509 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
5510 it to long on sparc64.
5512 2000-11-20 Andreas Jaeger <aj@suse.de>
5514 * nscd/nscd.h (termination_handler): Add noreturn attribute.
5515 (receiv_print_stats): Likewise.
5517 * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
5519 2000-11-20 Ulrich Drepper <drepper@redhat.com>
5521 * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
5523 * csu/gmon-start.c: Always have prototype for __gmon_start.
5524 * csu/version.c: Add prototypes for __libc_print_version and
5526 * iconv/gconv.c: Include gconv_int.h and gconv.h.
5527 * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
5529 * iconv/gconv_builtin.h: Add ASCII module definitions.
5530 * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
5531 (add_module): Add cast to avoid warning. Rework construction of
5532 strings for new module.
5533 * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
5534 (derivation_compare): Likewise.
5535 * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
5536 (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
5537 * iconv/gconv_int.h (__gconv_path_elem): Remove const.
5538 (struct gconv_alias): Remove const from fromname and toname.
5539 * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
5541 (internal_ucs4_loop): Use correct const-ness.
5542 (ucs4_internal_loop): Likewise.
5543 (internal_ucs4le_loop): Likewise.
5544 (ucs4le_internal_loop_single): Likewise.
5545 * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
5546 to_idx, to_tbl, winbuf, winbufend const. Change casts in
5547 assignments appropriately.
5548 (struct known_trans): Remove const from fname.
5549 (trans_compare): Make s1 and s2 const.
5550 * iconv/loop.c (LOOPFC): Make outend parameter const. Add cast to
5552 * iconv/skeleton.c: Remove cast in calls of loop functions.
5553 * iconvdata/gconv-modules: Remove US-ASCII definitions.
5554 * iconvdata/iso646.c: Remove US_ASCII support.
5555 * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
5556 * include/unistd.h: Add __libc_check_standard_fds prototype.
5557 * string/bits/string2.h (__mempcpy_args): Add const to casts.
5558 * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
5560 * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
5561 * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
5562 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
5564 * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
5565 __libc_init_first and _dl_start.
5566 * intl/dcigettext.c (transcmp): Make s1 and s2 const.
5567 (DCIGETTEXT): Make domaindata variable const.
5568 * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
5571 2000-11-20 Hiroyuki Machida <machida@sm.sony.co.jp>
5573 * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
5575 * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
5576 time_t to 'long int' not, 'unsigned int'. Use 'long int' for
5579 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
5580 value defined in /usr/include/asm-mips/fcntl.h.
5582 2000-11-18 Ulrich Drepper <drepper@redhat.com>
5584 * stdio-common/Makefile (tests): Add test-vfprintf.
5585 (test-vfprintf-ENV): New variable.
5586 * stdio-common/test-vfprintf.c: New file.
5588 * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
5590 * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
5591 (tst-mbrtowc-ENV): New variable.
5592 (tst-wcrtomb-ENV): New variable.
5593 * wcsmbs/tst-mbrtowc.c: New file.
5594 * wcsmbs/tst-wcrtomb.c: New file.
5596 2000-11-16 Andreas Jaeger <aj@suse.de>
5598 * manual/install.texi (Tools for Compilation): Update
5599 documentation for GCC 2.95.2.
5601 2000-11-18 Ulrich Drepper <drepper@redhat.com>
5603 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
5604 if IPv4 and IPv6 requests timed out.
5606 2000-11-18 Akim Demaille <akim@epita.fr>
5608 * malloc/obstack.h: Formatting changes.
5609 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
5610 prevents type checking.
5611 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
5612 cast the value to (void *): assigning a `foo *' to a `void *'
5614 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
5616 2000-11-17 Ulrich Drepper <drepper@redhat.com>
5618 * scripts/config.guess: Update from upstream maintainer.
5619 * scripts/config.sub: Likewise.
5621 2000-11-16 Ulrich Drepper <drepper@redhat.com>
5623 * libio/freopen.c (freopen): Reset _mode after succesful reopening.
5624 * libio/freopen64.c (freopen64): Likewise.
5625 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
5627 * libio/Makefile: Add rules to build and run test-freopen.
5628 * libio/test-freopen.c: New file.
5629 * libio/test-freopen.sh: New file.
5631 2000-11-15 H.J. Lu <hjl@gnu.org>
5633 * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
5634 ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
5635 (DL_DT_FINI_ADDRESS): Likewise.
5637 * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
5638 return type to ElfW(Addr).
5639 (_dl_function_address): New prototype.
5640 (DL_FUNCTION_ADDRESS): Defined.
5641 (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
5642 (DL_DT_FINI_ADDRESS): Likewise.
5644 * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
5646 * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
5647 (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
5649 * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
5650 (_dl_function_address): This.
5652 * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
5653 function pointer for DT_FINI.
5654 * elf/dl-close.c (_dl_close): Likewise.
5656 * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
5657 function pointer for DT_INIT.
5659 2000-11-16 Jakub Jelinek <jakub@redhat.com>
5661 * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
5662 end of wexpbuf buffer.
5664 2000-11-16 Andreas Jaeger <aj@suse.de>
5666 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
5667 definition of F_GETLK, F_SETLK, F_SETLKW.
5669 2000-11-16 Andreas Jaeger <aj@suse.de>
5671 * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
5674 2000-11-15 Jakub Jelinek <jakub@redhat.com>
5676 * dlfcn/default.c (main): Add test for dladdr of main returning
5677 argv[0] in dli_fname field.
5679 2000-11-15 Jakub Jelinek <jakub@redhat.com>
5681 * Makeconfig (run-program-prefix): Move test-static test into the
5684 * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
5685 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
5686 schedule instructions.
5687 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
5688 schedule instructions, fix a bug in copying auxiliary data.
5690 2000-11-15 Ulrich Drepper <drepper@redhat.com>
5692 * manual/startup.texi (Program Arguments): Fix type of main's envp
5694 Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
5696 * iconvdata/gconv-modules: Add CP950 alias.
5698 2000-11-13 Jakub Jelinek <jakub@redhat.com>
5700 * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
5701 syscall-list.h goal.
5702 * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
5704 2000-11-15 Ulrich Drepper <drepper@redhat.com>
5706 * intl/Makefile: tst-gettext2.sh does not need a third parameter.
5708 * intl/tst-gettext2.sh: Copy locale data. Adjust LOCPATH. Verify
5711 * intl/tst-gettext2.c: Set C locale if setting other locale
5712 failed. Use gettext() not _().
5714 * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
5715 successfully loaded a new locale.
5717 2000-11-13 Andreas Jaeger <aj@suse.de>
5719 * configure.in: Require gcc 2.95 or newer.
5721 2000-11-15 Ulrich Drepper <drepper@redhat.com>
5723 * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
5724 Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
5726 2000-11-11 Jim Meyering <meyering@lucent.com>
5728 * string/strndup.c (strndup): Cast return value to `char *'.
5730 2000-11-15 Jim Meyering <meyering@ascend.com>
5732 * sysdeps/generic/memchr.c: Remove some useless parentheses.
5733 [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
5734 [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
5735 [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
5736 Also #undef __memchr.
5737 Use `weak_alias' only if it's defined.
5739 2000-11-10 H.J. Lu <hjl@gnu.org>
5741 * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
5743 2000-11-15 Andreas Jaeger <aj@suse.de>
5745 * elf/chroot_canon.c: Include <stdint.h>.
5747 * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
5748 (print_entry): Likewise.
5749 (add_to_cache): Likewise.
5751 * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
5753 * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
5754 (path_hwcap): Likewise.
5755 (search_dir): Likewise.
5757 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
5759 * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
5761 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
5762 (_dl_platform_string): New.
5763 (_DL_HWCAP_PLATFORM): New.
5764 (_dl_string_platform): New.
5765 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
5767 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
5768 (_dl_string_platform): New.
5769 (_DL_HWCAP_PLATFORM): New.
5770 (_dl_platform_string): New.
5772 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
5774 (_DL_HWCAP_COUNT): New.
5775 (_dl_string_platform): New.
5776 (_DL_HWCAP_PLATFORM): New.
5777 (_dl_platform_string): New.
5779 2000-11-14 Ulrich Drepper <drepper@redhat.com>
5781 * iconvdata/gconv-modules: Add CP936 as alias for GBK.
5783 2000-11-14 Andreas Jaeger <aj@suse.de>
5785 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
5787 2000-11-13 Roland McGrath <roland@frob.com>
5789 * hurd/get-host.c (_hurd_get_host_config): Fix last change.
5791 2000-11-13 Marcus Brinkmann <marcus@gnu.org>
5793 * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
5794 underrun and make sure the result is null terminated even if there
5795 is no trailing newline.
5797 2000-11-13 Jakub Jelinek <jakub@redhat.com>
5799 * sysdeps/alpha/fpu/libm-test-ulps: Update.
5801 2000-11-10 H.J. Lu <hjl@gnu.org>
5803 * sysdeps/ia64/fpu/libm-test-ulps: Updated.
5805 2000-11-10 Andreas Jaeger <aj@suse.de>
5807 * elf/ldconfig.c (create_links): Fix alloca calculation.
5808 Patch by Ben Collins <bcollins@debian.org>.
5810 2000-11-09 Ulrich Drepper <drepper@redhat.com>
5812 * inet/getnameinfo.c (getnameinfo): Use correct destination
5813 parameter for if_indextoname.
5814 Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
5816 2000-11-09 H.J. Lu <hjl@gnu.org>
5818 * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
5819 xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
5820 xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
5823 * time/Versions (GLIBC_2.1): Move getitimer to...
5824 * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
5826 2000-11-03 Bruno Haible <haible@clisp.cons.org>
5828 * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
5829 "make install", to work around a binary incompatibility between
5830 glibc 2.1 and glibc 2.2 gconv modules.
5832 2000-11-09 Ulrich Drepper <drepper@redhat.com>
5834 * intl/locale.alias: Add thai.
5835 Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
5837 2000-11-07 Akim Demaille <akim@epita.fr>
5839 * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
5840 argument `data' for consistency with the prototypes.
5842 (obstack_copy, obstack_copy0): Rename the second argument as
5843 `address' for consistency. Qualify it `const'.
5844 * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
5845 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
5846 `const' their input argument (`data' or `address').
5847 Adjust the corresponding macros to include `const' in casts.
5849 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
5851 * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
5854 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
5856 * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
5859 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
5861 * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
5862 ai_protocol by internal table if service was not given.
5864 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
5866 * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
5867 numerical port was specified with protocol without socktype.
5869 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
5871 * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
5873 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
5875 * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
5877 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
5879 * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
5880 sin6_scope_id field.
5882 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
5884 * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
5886 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
5888 * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
5890 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
5892 * inet/getnameinfo.c: Wake-up sin6_scope_id support in
5893 getnameinfo(): check for whether sin6_socpe_id exist was wrong.
5895 2000-11-09 Martin Schwidefsky <mschwide@nc.boeblingen.de.ibm.com>
5897 * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
5898 * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
5900 2000-11-09 H.J. Lu <hjl@gnu.org>
5902 * io/Versions (GLIBC_2.1.1): Remove lockf64.
5905 See ChangeLog.11 for earlier changes.