1 2001-04-02 Andreas Jaeger <aj@suse.de>
3 * sysdeps/i386/dl-machine.h (RTLD_START): Don't use multi-line
5 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
7 * sysdeps/ieee754/dbl-64/uroot.h: Add missing braces arount
9 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Likewise.
11 * elf/rtld.c (print_statistics)[!HP_TIMING_NONAVAIL]: Avoid
12 warning about unused variable.
14 * string/string.h (strndupa): Add cast for C++ conformance.
16 Fixes PR libc/2173, reported by tbrowder@home.com.
18 2001-03-30 Roland McGrath <roland@frob.com>
20 * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't append
21 options after $(build-module), which is no longer a single command.
22 (LDFLAGS-link-rpcuserlibs): New variable to hold those options.
23 (LDFLAGS-libmachuser-link.so, LDFLAGS-libhurduser-link.so): New
24 variables using it. Reported by Mark Kettenis <kettenis@gnu.org>.
26 2001-03-11 Roland McGrath <roland@frob.com>
28 * elf/rtld.c (dl_main): Add cast to quiet warning.
29 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
30 * iconv/gconv_conf.c (__gconv_get_path): Likewise.
31 (__gconv_read_conf): Likewise.
32 * iconv/gconv_db.c (gen_steps): Likewise.
33 (__gconv_find_transform): Likewise.
34 * locale/programs/charmap-dir.c (fopen_uncompressed): Likewise.
35 (fopen_uncompressed): Use const in second argument's type.
37 2001-03-11 Roland McGrath <roland@frob.com>
39 * sysdeps/mach/hurd/dl-sysdep.c (__writev): New function.
41 * mach/mach_error.h: Fix ancient #endif syntax.
42 * hurd/hurdmalloc.c: Likewise.
44 * sysdeps/generic/atomicity.h (exchange_and_add, atomic_add,
45 compare_and_swap): Add volatile qualifier to first arg, to bring
46 these prototypes in line with all the other implementations.
47 Add a #warning to remind the builder that these are not atomic.
49 2001-03-04 Roland McGrath <roland@frob.com>
51 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Use innermore first
52 member of TEMP_F so its type is _IO_FILE * as expected.
54 * hurd/fopenport.c (seekio): Conditionalize type of POS argument
55 on [USE_IN_LIBIO]. Check the value for overflow, since for libio
56 it might exceed off_t's range.
58 2001-02-25 Roland McGrath <roland@frob.com>
60 * sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): Use prototype.
61 * sysdeps/unix/bsd/getpt.c (__posix_openpt): Likewise.
63 * sysdeps/mach/hurd/i386/intr-msg.h (SYSCALL_EXAMINE): Make this a
64 macro instead of an inline function,
65 (MSG_EXAMINE): Likewise.
67 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): Remove extraneous ##.
69 * hurd/get-host.c: Include <string.h> for decls of built-ins.
70 * hurd/hurdchdir.c: Likewise.
71 * sysdeps/mach/hurd/i386/sigreturn.c: Likweise.
72 * sysdeps/mach/hurd/opendir.c: Likewise.
74 * mach/mach_init.c: Include <unistd.h> for _exit decl.
76 * mach/errsystems.awk: Give output file a trailing newline.
78 * mach/Machrules (MIG): Prepend CC='${CC}' to the mig command, so that
79 the script will use our compiler for the cpp stage.
81 With --enable-all-warnings we get a whole bunch of warnings,
82 and these are just a few fixes; there are more needed to silence it.
83 * mach/mach/mig_support.h (__mig_strncpy, mig_strncpy): Add extern
84 decls before extern inline defns to quiet gcc warning.
85 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp): Likewise.
86 * sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Likewise.
88 2001-03-31 Andreas Jaeger <aj@suse.de>
90 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWHDLC): Added.
91 (ARPHRD_HDLC): Define as alias for ARPHRD_CISCO.
93 Changes from Linux 2.4.3.
95 2001-03-30 Isamu Hasegawa <isamu@yamato.ibm.com>
97 * posix/regex.c: Avoid an access violation if malloc failes.
99 2001-03-30 Andreas Jaeger <aj@suse.de>
101 * sysdeps/alpha/ldiv.S (ldiv): Add alias for imaxdiv.
103 2001-03-29 Ulrich Drepper <drepper@redhat.com>
105 * posix/regex.c: Remove unnecessary ifs.
107 * math/bits/mathcalls.h: Remove infnan declaration.
109 2001-03-29 H.J. Lu <hjl@gnu.org>
111 * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF,
112 and LOW_HALF only if _LIBC is defined and _ISOMAC is not defined.
113 * stdlib/isomac.c (fmt): Define _LIBC and _ISOMAC.
115 2001-03-29 Isamu Hasegawa <isamu@yamato.ibm.com>
117 * posix/regex.c: Fix typo and add a sentinel.
119 2001-03-29 Ulrich Drepper <drepper@redhat.com>
121 * sysdeps/unix/sysv/linux/shm_open.c: Open new file always with
122 O_NOFOLLOW. Suggested by Christoph Roland.
124 2001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
126 * sysdeps/s390/bits/string.h: New unified 31/64 bit string.h.
127 * sysdeps/s390/s390-32/bits/string.h: Remove.
128 * sysdeps/s390/s390-64/bits/string.h: Remove.
129 * sysdeps/s390/s390-32/strcmp.S: New file.
130 * sysdeps/s390/s390-64/strcmp.S: New file.
132 2001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
134 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix typo.
135 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
137 2001-03-27 Ulrich Drepper <drepper@redhat.com>
139 * version.h (VERSION): Bump to 2.2.3.
141 * stdlib/isomac.c (fmt): Don't define _LIBC.
142 * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF, and
143 LOW_HALF only if _LIBC is defined.
145 * sysdeps/i386/fpu/libm-test-ulps: Slight adjustment of yn() error.
147 * posix/fnmatch_loop.c (FCT): Handle !() after * special like @()
149 * posix/tst-fnmatch.input: Add test cases for matching empty strings.
151 * sysdeps/ieee754/dbl-64/endian.h: Removed. Move definitions...
152 * include/endian.h: ...to here.
154 2001-03-27 kaz Kojima <kkojima@rr.iij4u.or.jp>
156 * sysdeps/sh/sys/ucontext.h (NFREG): Rename to NFPREG.
157 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NFREG): Likewise.
159 2001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
161 * sysdeps/unix/sysv/linux/s390/ldconfig.h: Fix typo.
163 2001-03-26 Ulrich Drepper <drepper@redhat.com>
165 * sysdeps/ia64/fpu/Dist: Add new files to distribute.
166 * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Likewise.
167 * sysdeps/unix/sysv/linux/ia64/Dist: Likewise.
169 * gmon/Makefile (headers): Add sys/profil.h.
171 2001-03-18 Andreas Jaeger <aj@suse.de>
173 * manual/install.texi (Tools for Compilation): Advise to use GCC
175 (Supported Configurations): Mention s390x.
177 2001-03-26 Ben Collins <bcollins@debian.org>
179 * sysdeps/unix/sysv/linux/mips/bits/mman.h: Add MAP_* and MADV_*
180 defines to match other architectures.
182 2001-03-26 Ulrich Drepper <drepper@redhat.com>
184 * libio/Makefile (tests): Add tst-ext.
185 * libio/tst-ext.c: New file.
187 * libio/iosetvbuf.c (_IO_setvbuf): Clear line buffer flag for _IONBF.
189 2001-03-25 Ulrich Drepper <drepper@redhat.com>
191 Add changes which were in this form in the original patch by
192 Eric Norum <eric.norum@usask.ca>.
193 * include/rpc/rpc.h: Remove svc_fdset, rpc_createerr, svc_pollfd, and
195 * sunrpc/rpc/rpc.h: Declare __rpc_thread_svc_fdset,
196 __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
197 __rpc_thread_svc_max_pollfd.
198 Define svc_fdset, get_rpc_createerr, svc_pollfd, and
200 * sunrpc/rpc_thread.c: Handle first thread special, it uses the
202 Define __rpc_thread_svc_fdset, __rpc_thread_createerr,
203 __rpc_thread_svc_pollfd, and __rpc_thread_svc_max_pollfd.
204 * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_svc_fdset,
205 __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
206 __rpc_thread_svc_max_pollfd.
207 * sunrpc/clnt_gen.c: Replace use of rpc_createerr by call to
209 * sunrpc/clnt_perr.c: Likewise.
210 * sunrpc/clnt_simp.c: Likewise.
211 * sunrpc/clnt_tcp.c: Likewise.
212 * sunrpc/clnt_udp.c: Likewise.
213 * sunrpc/clnt_unix.c: Likewise.
214 * sunrpc/pm_getport.c: Likewise.
216 * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): getgroups32
217 syscall checks for negative n so don't test here as well.
219 2001-03-23 Jes Sorensen <jes@linuxcare.com>
221 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Moved to ...
222 * sysdeps/ia64/sysdep.h: ...here.
224 * sysdeps/ia64/sysdep.h (LOCAL_ENTRY): Define.
225 * sysdeps/ia64/sysdep.h (LOCAL_LEAF): Define.
227 * sysdeps/ia64/_mcount.S (_mcount_ret_helper): Use LOCAL_LEAF() to
228 declare instead of LEAF(). Suggestion from David Mosberger.
230 2001-03-21 David Mosberger <davidm@hpl.hp.com>
232 * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Add unwind
234 (PSEUDO): Drop .psr and .lsb directives.
236 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Ditto. Add unwind
238 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Ditto.
240 * sysdeps/ia64/elf/start.S: Misc cleanup: remove .psr and .lsb
242 * sysdeps/unix/sysv/linux/ia64/brk.S: Ditto.
243 * sysdeps/unix/sysv/linux/ia64/__longjmp.S: Ditto.
244 * sysdeps/ia64/_mcount.S: Remove .psr and .lsb directives (no
245 longer needed). Add unwind directives.
247 * sysdeps/ia64/sysdep.h: Define ASM_UNW_PRLG_RP, ASM_UNW_PRLG_PFS,
248 ASM_UNW_PRLG_PSP, ASM_UNW_PRLG_PR, and ASM_UNW_PRLG_GRSAVE.
250 2001-03-21 Paul Eggert <eggert@twinsun.com>
252 * posix/regex.h (RE_INVALID_INTERVAL_ORD): New macro.
253 (RE_SYNTAX_POSIX_EGREP): Use it.
254 * posix/regex.c (regex_compile): Implement it.
256 2001-03-21 Paul Eggert <eggert@twinsun.com>
258 * posix/regex.c (GET_UNSIGNED_NUMBER): Check for overflow.
259 Rewrite to avoid duplicate code.
261 2001-03-21 H.J. Lu <hjl@gnu.org>
263 * elf/Makefile (tests): Don't depend on $(objpfx)tst-pathopt.out
265 ($(objpfx)tst-pathopt.out): Undo the last change.
267 2001-03-24 Mark Kettenis <kettenis@gnu.org>
269 * sysdeps/mach/hurd/i386/bits/sigcontext.h (sc_sp, sc_fp, sc_pc,
270 sc_ps): Define as aliases for sc_uesp, sc_ebl, sc_eip and sc_efl.
272 * sysdeps/mach/hurd/i386/init-first.c: Include <assert.h>.
274 (init) [SHARED]: Readjust _dl_argv if we switched to a new stack.
276 2001-03-22 Andreas Jaeger <aj@suse.de>
278 * iconvdata/Makefile (generated): Add iconv-test.xxx.
280 * posix/Makefile (generated): Add bug-regex2.mtrace and
283 2001-03-21 Ulrich Drepper <drepper@redhat.com>
285 * csu/version.c (__gnu_get_libc_release): Add prototype.
286 (__gnu_get_libc_version): Likewise.
287 * include/gnu/libc-version.h: Remove prototypes for not exported
290 2001-03-21 Jes Sorensen <jes@linuxcare.com>
292 * sysdeps/unix/sysv/linux/ia64/makecontext.c: Include libintl.h
293 for internationalized printfs to work.
295 2001-03-09 Bruno Haible <haible@clisp.cons.org>
297 * intl/dcigettext.c (transmem_block_t): Change to unsigned char, to
298 avoid compiler warning.
299 (_nl_find_msg): Add casts to avoid compiler warnings.
301 2001-03-21 Ulrich Drepper <drepper@redhat.com>
303 * gmon/Makefile (routines): Add sprofil.
304 (tests): Add tst-sprofil.
305 (noprof): Add sprofil.
306 * gmon/Versions [libc] (GLIBC_2.2.3): Add sprofil.
308 2001-03-20 David Mosberger <davidm@hpl.hp.com>
310 * sysdeps/generic/sprofil.c: New file.
311 * sysdeps/posix/sprofil.c: New file.
312 * gmon/tst-sprofil.c: New file.
313 * gmon/sys/profil.h: New file.
315 2001-03-20 Andreas Schwab <schwab@suse.de>
317 * include/unistd.h: Adjust prototype of __gethostname.
319 2001-03-20 Jakub Jelinek <jakub@redhat.com>
321 * sysdeps/sparc/stackinfo.h: New file.
323 2001-03-21 Andreas Jaeger <aj@suse.de>
325 * elf/global.c (main): Use proper prototype.
327 2001-03-20 Ulrich Drepper <drepper@redhat.com>
329 * sunrpc/Makefile (routines): Add rpc_thread.
330 (CPPFLAGS): Add -D_RPC_THREAD_SAFE.
331 * sunrpc/rpc_thread.c: New file.
332 * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_destroy.
333 * sunrpc/auth_none.c: Don't use global variables. Access state in
334 thread-local storage.
335 * sunrpc/clnt_perr.c: Likewise.
336 * sunrpc/clnt_raw.c: Likewise.
337 * sunrpc/clnt_simp.c: Likewise.
338 * sunrpc/key_call.c: Likewise.
339 * sunrpc/rpc_common.c: Likewise.
340 * sunrpc/svc.c: Likewise.
341 * sunrpc/svc_raw.c: Likewise.
342 * sunrpc/svc_simple.c: Likewise.
343 * sunrpc/svcauth_des.c: Likewise.
344 * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
345 _HURD_THREADVAR_RPC_VARS.
346 * sysdeps/generic/bits/libc-tsd.h: Mention _LIBC_TSD_KEY_RPC_VARS.
347 * include/rpc/rpc.h: Define data structures for internal thread-local
349 Based on patches by Eric Norum <eric.norum@usask.ca>.
351 * elf/dl-load.c: Various little optimizations.
353 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Return
354 LINUX_LINK_MAX only if the statfs function is not implemented for
357 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Return
358 LINUX_LINK_MAX only if the fstatfs function is not implemented for
361 2001-03-19 Ulrich Drepper <drepper@redhat.com>
363 * elf/dl-dst.h (DL_DST_COUNT): Add __builtin_expect.
365 * elf/dl-load.c (_dl_dst_count): Make DST recognition more robust.
366 (_dl_dst_substitute): Likewise.
368 2001-03-17 Bruno Haible <haible@clisp.cons.org>
370 * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC]: Use fstat, not fstat64.
372 2001-03-17 Bruno Haible <haible@clisp.cons.org>
374 * intl/gettextP.h (struct expression): Add operators lnot, less_than,
375 greater_than, less_or_equal, greater_or_equal. Replace args2/args3
376 union by a 'nargs' counter and an 'args[]' array.
377 * intl/plural.y: Don't include stdarg.h.
378 (new_exp): Take an array of arguments instead of varargs.
379 (new_exp_0, new_exp_1, new_exp_2, new_exp_3): New functions.
380 ('?' ':'): Make right-associative.
381 (EQUOP2): New token, replaces '=' and '!'.
383 (ADDOP2): New token, replaces '+' and '-'.
384 (MULOP2): New token, replaces '*', '/' and '%'.
386 (exp): Add rules for CMPOP2 and '!'. Don't call YYABORT.
387 (start): Call YYABORT here.
388 (FREE_EXPRESSION): Update.
389 (yylex): Don't skip "\\n". Recognize comparison and '!' operators.
390 Update for new token symbols.
391 * intl/loadmsgcat.c (plvar, plone, germanic_plural,
392 init_germanic_plural): Update.
393 * intl/dcigettext.c (_nl_find_msg): Optimize for space.
394 (plural_eval): Recognize comparison and '!' operators. Optimize for
397 2001-03-10 Bruno Haible <haible@clisp.cons.org>
399 * intl/loadmsgcat.c (_nl_load_domain): locale_charset() doesn't return
402 2001-01-05 Bruno Haible <haible@clisp.cons.org>
404 * intl/loadmsgcat.c: Include headers needed for alloca().
406 (_nl_load_domain): Add fallback code for platforms lacking alloca.
407 * intl/localealias.c: (ADD_BLOCK, FREE_BLOCK): Remove macros.
409 (read_alias_file): Simplify fallback code for platforms lacking
412 2001-01-07 Bruno Haible <haible@clisp.cons.org>
414 * intl/gettextP.h (__gettextdebug): Remove declaration.
415 (__gettext_free_exp, __gettextparse): Convert prototype to K&R C
417 (gettext_free_exp__, gettextparse__): New non-libc declarations.
418 * intl/plural.y [!_LIBC]: Define gettextparse__, gettext_free_exp__,
419 not __gettextparse, __gettext_free_exp.
420 * intl/loadmsgcat.c [!_LIBC]: Use gettextparse__, not __gettextparse.
422 2001-02-24 Bruno Haible <haible@clisp.cons.org>
424 * intl/dcigettext.c: Update comment about HAVE_LOCALE_NULL.
426 2001-01-05 Bruno Haible <haible@clisp.cons.org>
428 * intl/loadmsgcat.c (_nl_load_domain): Add fallback code for platforms
429 lacking strtoul, like SunOS4.
431 2001-01-05 Bruno Haible <haible@clisp.cons.org>
433 * intl/l10nflist.c (_nl_normalize_codeset): Use tolower, not _tolower.
435 2001-01-05 Bruno Haible <haible@clisp.cons.org>
437 * intl/bindtextdom.c (set_binding_values): Convert prototype to K&R C
439 * intl/dcigettext.c (transcmp): Convert to K&R C syntax.
440 * intl/explodename.c (_nl_find_language): Convert to K&R C syntax.
441 * intl/plural.y (__gettext_free_exp, yylex, yyerror): Convert to K&R C
444 2001-01-07 Bruno Haible <haible@clisp.cons.org>
446 * intl/gettextP.h (gettext__, dgettext__, dcgettext__, textdomain__,
447 bindtextdomain__, bind_textdomain_codeset__): New declarations, from
449 * intl/bindtextdom.c: Include libgnuintl.h instead of libgettext.h.
450 * intl/dcgettext.c: Likewise.
451 * intl/dcigettext.c: Likewise.
452 * intl/dcngettext.c: Likewise.
453 * intl/dngettext.c: Likewise.
454 * intl/finddomain.c: Likewise.
455 * intl/ngettext.c: Likewise.
456 * intl/textdomain.c: Likewise.
457 * intl/dgettext.c: Include libgnuintl.h instead of libgettext.h.
459 * intl/gettext.c: Likewise. Don't include locale.h.
461 2001-03-17 Bruno Haible <haible@clisp.cons.org>
463 * intl/gettextP.h (ZERO): New macro.
464 (struct binding): Always use ZERO.
465 * intl/bindtextdom.c (offsetof): Provide fallback for platforms that
466 lack it, like SunOS4.
467 (set_binding_values): Use offsetof, not sizeof.
468 * intl/dcigettext.c (offsetof): Provide fallback for platforms that
469 lack it, like SunOS4.
470 (ZERO): Remove macro.
471 (struct transmem_list): Use ZERO.
472 (DCIGETTEXT): Use offsetof, not sizeof.
474 2001-03-17 Bruno Haible <haible@clisp.cons.org>
476 * intl/gettextP.h: Include <stddef.h>. Include gettext.h, for
478 * intl/bindtextdom.c: Don't include gettext.h.
479 * intl/dcgettext.c: Likewise.
480 * intl/dcigettext.c: Likewise.
481 * intl/dcngettext.c: Likewise.
482 * intl/dngettext.c: Likewise.
483 * intl/finddomain.c: Likewise.
484 * intl/localealias.c: Likewise.
485 * intl/ngettext.c: Likewise.
486 * intl/plural.y: Likewise.
487 * intl/textdomain.c: Likewise.
489 2001-03-17 Bruno Haible <haible@clisp.cons.org>
491 * intl/gettext.h: Don't include <stdio.h>.
493 2001-03-17 Bruno Haible <haible@clisp.cons.org>
495 * intl/Makefile (CPPFLAGS): Set LOCALEDIR instead of GNULOCALEDIR.
496 * intl/dcigettext.c (_nl_default_dirname): Initialize with LOCALEDIR.
498 2001-03-19 Ulrich Drepper <drepper@redhat.com>
500 * sysdeps/unix/i386/i686/tempname.c: New file.
502 * sysdeps/posix/tempname.c (__gen_tempname): If RANDOM_BITS is
503 defined use this macro to get some bits of randomness instead of
504 the usual gettimeofday or time calls.
506 2001-03-16 Paul Eggert <eggert@twinsun.com>
508 * sysdeps/posix/tempname.c (uint64_t): Define to uintmax_t if
509 not defined, and if UINT64_MAX is not defined.
511 2001-03-19 Ulrich Drepper <drepper@redhat.com>
513 * elf/cache.c: Mark and have translated a few more messages.
515 2001-03-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
517 * elf/cache.c: Add case for FLAG_S390_LIB64.
518 * sysdeps/generic/ldconfig.h: Add define for FLAG_S390_LIB64.
519 * sysdeps/unix/sysv/linux/s390/ldconfig.h: New file.
520 * sysdeps/unix/sysv/linux/s390/readelflib.c: New file.
522 2001-03-19 Ulrich Drepper <drepper@redhat.com>
524 * string/Makefile (tests): Add tst-strxfrm.
525 * string/tst-strxfrm.c: New file. Based on a test case by Paul Eggert.
526 * string/Depend: New file.
528 2001-03-19 Paul Eggert <eggert@twinsun.com>
530 * string/strxfrm.c (strxfrm): strxfrm should return 0, not 1,
531 when given the empty string in nontrivial locales.
533 2001-03-17 H.J. Lu <hjl@gnu.org>
535 * manual/Makefile (install): Use $(INSTALL_DATA) instead of
538 2001-03-19 Andreas Schwab <schwab@suse.de>
540 * Makerules (build-shlib): Make sure exit codes get checked
543 2001-03-18 Ulrich Drepper <drepper@redhat.com>
545 * Makerules (build-shlib): Remove unnecessary slashes introduced in
548 * configure.in: Test for -Bgroup option of linker.
549 * config.make.in: Define have-Bgroup.
551 * conform/data/unistd.h-data: Require gethostname.
552 * posix/unistd.h: Make gethostname prototype available for
555 * crypt/Makefile: When generating DSO link with libc_nonshared.a.
556 * debug/Makefile: Likewise.
557 * dlfcn/Makefile: Likewise.
558 * hesiod/Makefile: Likewise.
559 * iconvdata/extra-module.mk: Likewise.
560 * locale/Makefile: Likewise.
561 * login/Makefile: Likewise.
562 * math/Makefile: Likewise.
563 * nis/Makefile: Likewise.
564 * nss/Makefile: Likewise.
565 * resolv/Makefile: Likewise.
566 * rt/Makefile: Likewise.
568 2001-03-17 Ulrich Drepper <drepper@redhat.com>
570 * inet/Makefile (tests): Remove left-over comment.
572 * posix/unistd.h (gethostname): Change type of second parameter
573 back to size_t as per upcoming XPG6.
574 * sysdeps/unix/sysv/aix/gethostname.c: Change type of second
575 parameter back to size_t as per upcoming XPG6.
576 * sysdeps/unix/sysv/sysv4/gethostname.c: Likewise.
577 * sysdeps/unix/sysv/gethostname.c: Likewise.
578 * sysdeps/mach/hurd/gethostname.c: Likewise.
579 * sysdeps/generic/gethostname.c: Likewise.
581 2001-03-16 Ulrich Drepper <drepper@redhat.com>
583 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
586 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext):
589 2001-02-06 Jakub Jelinek <jakub@redhat.com>
591 * elf/dl-load.c (_dl_map_object): Don't test l_opencount when
592 looking for name matches.
594 2001-02-26 Jakub Jelinek <jakub@redhat.com>
596 * sysdeps/generic/sigcontextinfo.h (CALL_SIGHANDLER): Define.
597 * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
598 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
599 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
600 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
601 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
602 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
603 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
604 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
605 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
606 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
607 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
609 2001-03-16 Ulrich Drepper <drepper@redhat.com>
611 * sysdeps/ieee754/ldbl-96/s_erfl.c: New file.
612 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
614 * sysdeps/i386/fpu/libm-test-ulps: Adjust for addition of erfl and
616 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
618 2001-03-16 David Mosberger <davidm@hpl.hp.com>
620 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
621 Drop hack that was needed for 2.1.1 kernel headers.
623 * sysdeps/unix/sysv/linux/ia64/ucontext_i.h: New file.
625 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Rewrite to make it
626 overlay with kernel's "struct sigcontext".
628 * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep_headers): Add
629 sys/rse.h for "misc" subdir.
630 (sysdep_routines): Add __start_context for "stdlib" subdir.
632 * sysdeps/unix/sysv/linux/ia64/sys/rse.h: New file (based on
633 kernel file of the same name).
635 * stdlib/Makefile (tests): Add tst-setcontext.
636 * stdlib/tst-setcontext.c: New file (based on a sample program by
639 * sysdeps/unix/sysv/linux/ia64/setcontext.S: New file.
640 * sysdeps/unix/sysv/linux/ia64/getcontext.S: New file.
641 * sysdeps/unix/sysv/linux/ia64/__start_context.S: New file.
642 * sysdeps/unix/sysv/linux/ia64/makecontext.c: New file.
643 * sysdeps/unix/sysv/linux/ia64/swapcontext.c: New file.
645 * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): Use extr.u
646 instead of shift & and.
648 2001-03-16 Martin Schwidefsky <schwidefsky@de.ibm.com>
650 * sysdeps/s390/s390-64/bits/huge_val.h: Move to...
651 * sysdeps/s390/bits/huge_val.h: ...here.
652 * sysdeps/s390/s390-32/bit/huge_val.h: Remove.
653 * sysdeps/s390/s390-64/ffs.c: Move to...
654 * sysdeps/s390/ffs.c: ...here.
655 * sysdeps/s390/s390-32/ffs.c: Remove.
657 2001-03-16 Jakub Jelinek <jakub@redhat.com>
659 * elf/ldconfig.c (search_dir): Remove bogus diagnostic, instead
660 update osversion from more recent library.
662 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
664 * sysdeps/unix/sysv/linux/s390/Dist: Move to...
665 * sysdeps/unix/sysv/linux/s390/s390-32/Dist: ...here.
666 * sysdeps/unix/sysv/linux/s390/Makefile: Move to...
667 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: ...here.
668 * sysdeps/unix/sysv/linux/s390/Versions: Move to...
669 * sysdeps/unix/sysv/linux/s390/s390-32/Versions: ...here.
670 * sysdeps/unix/sysv/linux/s390/alphasort64.c: Move to...
671 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: ...here.
672 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Move to...
673 * sysdeps/unix/sysv/linux/s390/s390-32/bits/fcntl.h: ...here.
674 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Move to...
675 * sysdeps/unix/sysv/linux/s390/s390-32/bits/mman.h: ...here.
676 * sysdeps/unix/sysv/linux/s390/bits/resource.h: Move to...
677 * sysdeps/unix/sysv/linux/s390/s390-32/bits/resource.h: ...here.
678 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Move to...
679 * sysdeps/unix/sysv/linux/s390/s390-32/bits/stat.h: ...here.
680 * sysdeps/unix/sysv/linux/s390/chown.c: Move to...
681 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: ...here.
682 * sysdeps/unix/sysv/linux/s390/clone.S: Move to...
683 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: ...here.
684 * sysdeps/unix/sysv/linux/s390/fchown.c: Move to...
685 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: ...here.
686 * sysdeps/unix/sysv/linux/s390/fcntl.c: Move to...
687 * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: ...here.
688 * sysdeps/unix/sysv/linux/s390/fxstat.c: Move to...
689 * sysdeps/unix/sysv/linux/s390/s390-32/fxstat.c: ...here.
690 * sysdeps/unix/sysv/linux/s390/getdents64.c: Move to...
691 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: ...here.
692 * sysdeps/unix/sysv/linux/s390/getegid.c: Move to...
693 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: ...here.
694 * sysdeps/unix/sysv/linux/s390/geteuid.c: Move to...
695 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: ...here.
696 * sysdeps/unix/sysv/linux/s390/getgid.c: Move to...
697 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: ...here.
698 * sysdeps/unix/sysv/linux/s390/getgroups.c: Move to...
699 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: ...here.
700 * sysdeps/unix/sysv/linux/s390/getresgid.c: Move to...
701 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: ...here.
702 * sysdeps/unix/sysv/linux/s390/getresuid.c: Move to...
703 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: ...here.
704 * sysdeps/unix/sysv/linux/s390/getrlimit.c: Move to...
705 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: ...here.
706 * sysdeps/unix/sysv/linux/s390/getrlimit64.c: Move to...
707 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: ...here.
708 * sysdeps/unix/sysv/linux/s390/getuid.c: Move to...
709 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: ...here.
710 * sysdeps/unix/sysv/linux/s390/lchown.c: Move to...
711 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: ...here.
712 * sysdeps/unix/sysv/linux/s390/lockf64.c: Move to...
713 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: ...here.
714 * sysdeps/unix/sysv/linux/s390/lxstat.c: Move to...
715 * sysdeps/unix/sysv/linux/s390/s390-32/lxstat.c: ...here.
716 * sysdeps/unix/sysv/linux/s390/mmap.S: Move to...
717 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: ...here.
718 * sysdeps/unix/sysv/linux/s390/mmap64.S: Move to...
719 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: ...here.
720 * sysdeps/unix/sysv/linux/s390/msgctl.c: Move to...
721 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: ...here.
722 * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: Move to...
723 * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: ...here.
724 * sysdeps/unix/sysv/linux/s390/readdir64.c: Move to...
725 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: ...here.
726 * sysdeps/unix/sysv/linux/s390/readdir64_r.c: Move to...
727 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: ...here.
728 * sysdeps/unix/sysv/linux/s390/register-dump.h: Move to...
729 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: ...here.
730 * sysdeps/unix/sysv/linux/s390/scandir64.c: Move to...
731 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: ...here.
732 * sysdeps/unix/sysv/linux/s390/semctl.c: Move to...
733 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: ...here.
734 * sysdeps/unix/sysv/linux/s390/setegid.c: Move to...
735 * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: ...here.
736 * sysdeps/unix/sysv/linux/s390/seteuid.c: Move to...
737 * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: ...here.
738 * sysdeps/unix/sysv/linux/s390/setfsgid.c: Move to...
739 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: ...here.
740 * sysdeps/unix/sysv/linux/s390/setfsuid.c: Move to...
741 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: ...here.
742 * sysdeps/unix/sysv/linux/s390/setgid.c: Move to...
743 * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: ...here.
744 * sysdeps/unix/sysv/linux/s390/setgroups.c: Move to...
745 * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: ...here.
746 * sysdeps/unix/sysv/linux/s390/setregid.c: Move to...
747 * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: ...here.
748 * sysdeps/unix/sysv/linux/s390/setresgid.c: Move to...
749 * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: ...here.
750 * sysdeps/unix/sysv/linux/s390/setresuid.c: Move to...
751 * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: ...here.
752 * sysdeps/unix/sysv/linux/s390/setreuid.c: Move to...
753 * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: ...here.
754 * sysdeps/unix/sysv/linux/s390/setrlimit.c: Move to...
755 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: ...here.
756 * sysdeps/unix/sysv/linux/s390/setuid.c: Move to...
757 * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: ...here.
758 * sysdeps/unix/sysv/linux/s390/shmctl.c: Move to...
759 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: ...here.
760 * sysdeps/unix/sysv/linux/s390/socket.S: Move to...
761 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: ...here.
762 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Move to...
763 * sysdeps/unix/sysv/linux/s390/s390-32/sys/procfs.h: ...here.
764 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Move to...
765 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: ...here.
766 * sysdeps/unix/sysv/linux/s390/syscall.S: Move to...
767 * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: ...here.
768 * sysdeps/unix/sysv/linux/s390/syscalls.list: Move to...
769 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: ...here.
770 * sysdeps/unix/sysv/linux/s390/sysdep.S: Move to...
771 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: ...here.
772 * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
773 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here.
774 * sysdeps/unix/sysv/linux/s390/versionsort64.c: Move to...
775 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: ...here.
776 * sysdeps/unix/sysv/linux/s390/xstat.c: Move to...
777 * sysdeps/unix/sysv/linux/s390/s390-32/xstat.c: ...here.
779 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
781 * sysdeps/unix/sysv/linux/s390/s390-64/Dist: New file.
782 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: New file.
783 * sysdeps/unix/sysv/linux/s390/s390-64/bits/elfclass.h: New file.
784 * sysdeps/unix/sysv/linux/s390/s390-64/bits/fcntl.h: New file.
785 * sysdeps/unix/sysv/linux/s390/s390-64/bits/ipc.h: New file.
786 * sysdeps/unix/sysv/linux/s390/s390-64/bits/mman.h: New file.
787 * sysdeps/unix/sysv/linux/s390/s390-64/bits/msq.h: New file.
788 * sysdeps/unix/sysv/linux/s390/s390-64/bits/resource.h: New file.
789 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sem.h: New file.
790 * sysdeps/unix/sysv/linux/s390/s390-64/bits/shm.h: New file.
791 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: New file.
792 * sysdeps/unix/sysv/linux/s390/s390-64/bits/siginfo.h: New file.
793 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigstack.h: New file.
794 * sysdeps/unix/sysv/linux/s390/s390-64/bits/stat.h: New file.
795 * sysdeps/unix/sysv/linux/s390/s390-64/bits/types.h: New file.
796 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: New file.
797 * sysdeps/unix/sysv/linux/s390/s390-64/fstatfs64.c: New file.
798 * sysdeps/unix/sysv/linux/s390/s390-64/ftruncate64.c: New file.
799 * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: New file.
800 * sysdeps/unix/sysv/linux/s390/s390-64/fxstat64.c: New file.
801 * sysdeps/unix/sysv/linux/s390/s390-64/getdents.c: New file.
802 * sysdeps/unix/sysv/linux/s390/s390-64/getdents64.c: New file.
803 * sysdeps/unix/sysv/linux/s390/s390-64/getrlimit64.c: New file.
804 * sysdeps/unix/sysv/linux/s390/s390-64/glob.c: New file.
805 * sysdeps/unix/sysv/linux/s390/s390-64/glob64.c: New file.
806 * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: New file.
807 * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: New file.
808 * sysdeps/unix/sysv/linux/s390/s390-64/lxstat64.c: New file.
809 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: New file.
810 * sysdeps/unix/sysv/linux/s390/s390-64/mmap64.c: New file.
811 * sysdeps/unix/sysv/linux/s390/s390-64/pread64.c: New file.
812 * sysdeps/unix/sysv/linux/s390/s390-64/pwrite64.c: New file.
813 * sysdeps/unix/sysv/linux/s390/s390-64/readdir.c: New file.
814 * sysdeps/unix/sysv/linux/s390/s390-64/readdir64.c: New file.
815 * sysdeps/unix/sysv/linux/s390/s390-64/readdir64_r.c: New file.
816 * sysdeps/unix/sysv/linux/s390/s390-64/readdir_r.c : New file.
817 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: New file.
818 * sysdeps/unix/sysv/linux/s390/s390-64/setrlimit64.c: New file.
819 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: New file.
820 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: New file.
821 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c: New file.
822 * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: New file.
823 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: New file.
824 * sysdeps/unix/sysv/linux/s390/s390-64/statfs64.c: New file.
825 * sysdeps/unix/sysv/linux/s390/s390-64/sys/procfs.h: New file.
826 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: New file.
827 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: New file.
828 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: New file.
829 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: New file.
830 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: New file.
831 * sysdeps/unix/sysv/linux/s390/s390-64/truncate64.c: New file.
832 * sysdeps/unix/sysv/linux/s390/s390-64/xstat.c: New file.
833 * sysdeps/unix/sysv/linux/s390/s390-64/xstat64.c: New file.
835 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
837 * sysdeps/s390/Dist: Move to...
838 * sysdeps/s390/390-32/Dist: ...here.
839 * sysdeps/s390/Implies: Move to...
840 * sysdeps/s390/s390-32/Implies: ...here.
841 * sysdeps/s390/Makefile: Move to...
842 * sysdeps/s390/s390-32/Makefile: ...here.
843 * sysdeps/s390/Versions: Move to...
844 * sysdeps/s390-32/s390/Versions: ...here.
845 * sysdeps/s390/add_n.S: Move to...
846 * sysdeps/s390/s390-32/add_n.S: ...here.
847 * sysdeps/s390/addmul_1.S: Move to...
848 * sysdeps/s390/s390-32/addmul_1.S: ...here.
849 * sysdeps/s390/atomicity.h: Move to...
850 * sysdeps/s390/s390-32/atomicity.h: ...here.
851 * sysdeps/s390/backtrace.c: Move to...
852 * sysdeps/s390/s390-32/backtrace.c: ...here.
853 * sysdeps/s390/bcopy.S: Move to...
854 * sysdeps/s390/s390-32/bcopy.S: ...here.
855 * sysdeps/s390/bits/byteswap.h: Move to...
856 * sysdeps/s390/s390-32/bits/byteswap.h: ...here.
857 * sysdeps/s390/bits/huge_val.h: Move to...
858 * sysdeps/s390/s390-32/bits/huge_val.h: ...here.
859 * sysdeps/s390/bsd-_setjmp.S: Move to...
860 * sysdeps/s390/s390-32/bsd-_setjmp.S: ...here.
861 * sysdeps/s390/bsd-setjmp.S: Move to...
862 * sysdeps/s390/s390-32/bsd-setjmp.S: ...here.
863 * sysdeps/s390/bzero.S: Move to...
864 * sysdeps/s390/s390-32/bzero.S: ...here.
865 * sysdeps/s390/elf/bsd-_setjmp.S: Move to...
866 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: ...here.
867 * sysdeps/s390/elf/bsd-setjmp.S: Move to...
868 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: ...here.
869 * sysdeps/s390/elf/start.S: Move to...
870 * sysdeps/s390/s390-32/elf/start.S: ...here.
871 * sysdeps/s390/ffs.c: Move to...
872 * sysdeps/s390/s390-32/ffs.c: ...here.
873 * sysdeps/s390/memchr.S: Move to...
874 * sysdeps/s390/s390-32/memchr.S: ...here.
875 * sysdeps/s390/memcpy.S: Move to...
876 * sysdeps/s390/s390-32/memcpy.S: ...here.
877 * sysdeps/s390/memset.S: Move to...
878 * sysdeps/s390/s390-32/memset.S: ...here.
879 * sysdeps/s390/mul_1.S: Move to...
880 * sysdeps/s390/s390-32/mul_1.S: ...here.
881 * sysdeps/s390/s390-mcount.S: Move to...
882 * sysdeps/s390/s390-32/s390-mcount.S: ...here.
883 * sysdeps/s390/strcpy.S: Move to...
884 * sysdeps/s390/s390-32/strcpy.S: ...here.
885 * sysdeps/s390/strncpy.S: Move to...
886 * sysdeps/s390/s390-32/strncpy.S: ...here.
887 * sysdeps/s390/sub_n.S: Move to...
888 * sysdeps/s390/s390-32/sub_n.S: ...here.
890 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
892 * sysdeps/s390/s390-64/Dist: New file.
893 * sysdeps/s390/s390-64/Implies: New file.
894 * sysdeps/s390/s390-64/Makefile: New file.
895 * sysdeps/s390/s390-64/__longjmp.c: New file.
896 * sysdeps/s390/s390-64/add_n.S: New file.
897 * sysdeps/s390/s390-64/atomicity.h: New file.
898 * sysdeps/s390/s390-64/backtrace.c: New file.
899 * sysdeps/s390/s390-64/bcopy.S: New file.
900 * sysdeps/s390/s390-64/bits/byteswap.h: New file.
901 * sysdeps/s390/s390-64/bits/huge_val.h: New file.
902 * sysdeps/s390/s390-64/bits/setjmp.h: New file.
903 * sysdeps/s390/s390-64/bits/string.h: New file.
904 * sysdeps/s390/s390-64/bsd-_setjmp.S: New file.
905 * sysdeps/s390/s390-64/bsd-setjmp.S: New file.
906 * sysdeps/s390/s390-64/bzero.S: New file.
907 * sysdeps/s390/s390-64/dl-machine.h: New file.
908 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: New file.
909 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: New file.
910 * sysdeps/s390/s390-64/elf/setjmp.S: New file.
911 * sysdeps/s390/s390-64/elf/start.S: New file.
912 * sysdeps/s390/s390-64/ffs.c: New file.
913 * sysdeps/s390/s390-64/initfini.c: New file.
914 * sysdeps/s390/s390-64/memchr.S: New file.
915 * sysdeps/s390/s390-64/memcpy.S: New file.
916 * sysdeps/s390/s390-64/memset.S: New file.
917 * sysdeps/s390/s390-64/s390x-mcount.S: New file.
918 * sysdeps/s390/s390-64/setjmp.S: New file.
919 * sysdeps/s390/s390-64/strcpy.S: New file.
920 * sysdeps/s390/s390-64/strncpy.S: New file.
921 * sysdeps/s390/s390-64/sub_n.S: New file.
922 * sysdeps/s390/s390-64/sysdep.h: New file.
924 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
926 * scripts/config.guess: Add support for Linux on 64 bit S/390.
927 * scripts/config.sub: Likewise.
929 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
931 * configure.in: Add support for 64 bit S/390.
933 * elf/elf.h: Add new relocations for 64 bit S/390.
935 * shlib-versions: Add rules for Linux on 64 bit S/390.
937 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
939 * sysdeps/s390/__longjmp.c: Move to...
940 * sysdeps/s390/s390-32/__longjmp.c: ...here. Add code
941 to load the floating point registers that should be saved
942 according to the ABI.
944 * sysdeps/s390/bits/setjmp.h: Move to...
945 * sysdeps/s390/s390-32/bits/setjmp.h: ...here. Avoid
946 the use of long long in the __jmp_buf type definition.
948 * sysdeps/s390/bits/string.h: Move to...
949 * sysdeps/s390/s390-32/bits/string.h: ...here. Add several missing
950 #ifndef _FORCE_INLINES.
952 * sysdeps/s390/dl-machine.h: Move to...
953 * sysdeps/s390/s390-32/dl-machine.h: ...here. Add a check for the
954 executables EI_CLASS in elf_machine_matches_host.
956 * sysdeps/s390/elf/setjmp.S: Move to...
957 * sysdeps/s390/s390-32/elf/setjmp.S: ...here. Replace
958 branches to globally defined symbol __sigsetjmp by branches to
959 a local label (this avoids the generation of a R_390_PC16DBL
960 relocation in -fpic code).
962 * sysdeps/s390/gmp-mparam.h: Use defines from <bits/wordsize.h> to
963 calculate BITS_PER_MP_LIMB, BYTES_PER_MP_LIMB and BITS_PER_LONGINT.
965 * sysdeps/s390/initfini.c: Move to...
966 * sysdeps/s390/s390-32/initfini.c: ...here. Replace ALIGN with
969 * sysdeps/s390/setjmp.S: Move to...
970 * sysdeps/s390/s390-32/setjmp.S: ...here. Add code to store the
971 floating point registers that should be saved according to the ABI.
973 * sysdeps/s390/sys/ucontext.h: Remove since it is unused.
975 * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
976 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here. Include
977 sysdeps/s390/s390-32/sysdep.h instead of sysdeps/s390/sysdep.h.
979 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
981 * configure.in: Change machine=s390 to machine=s390/s390-32.
983 * elf/elf.h: Correct comment for R_390_PLT16DBL.
985 2001-03-12 Jakub Jelinek <jakub@redhat.com>
987 * csu/Makefile (abi-tag.h): Define OS and version separately, allow
988 version to be overriden from config.h.
989 * csu/abi-note.S: Use OS and version separately, include config.h.
990 * elf/dl-load.c (_dl_osversion): New.
991 (_dl_map_object_from_fd): Kill some warnings.
992 (open_verify): Check .note.ABI-tag of the library if present.
993 * elf/Makefile (CPPFLAGS-dl-load.c): Add -I$(csu-objpfx).
994 * elf/cache.c (struct cache_entry): Add osversion.
995 (print_entry): Print osversion.
996 (print_cache): Pass osversion to it.
997 (compare): Sort according to osversion.
998 (save_cache): Set osversion.
999 (add_to_cache): Add osversion argument.
1000 * sysdeps/generic/ldconfig.h (add_to_cache, process_file,
1001 process_elf_file): Add osversion argument.
1002 * elf/readlib.c (process_file): Likewise.
1003 * sysdeps/generic/readelflib.c (process_elf_file): Likewise.
1004 * sysdeps/unix/sysv/linux/ia64/readelflib.c (process_elf_file,
1005 process_elf32_file, process_elf64_file): Likewise.
1006 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file,
1007 process_elf32_file, process_elf64_file): Likewise.
1008 * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file,
1009 process_elf32_file, process_elf64_file): Likewise.
1010 * elf/ldconfig.c (manual_link): Pass it.
1011 (search_dir): Issue diagnostic if two libs with the same soname in
1012 the same directory have different .note.ABI-tag. Record osversion in
1013 dlib_entry and use it from there.
1014 (struct lib_entry): Remove.
1015 (struct dlib_entry): Add osversion.
1016 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Check
1018 * sysdeps/generic/dl-cache.h (struct file_entry_new): Replace __unused
1019 field with osversion.
1020 * sysdeps/generic/ldsodefs.h (_dl_osversion): Declare.
1021 * sysdeps/unix/sysv/linux/init-first.c: Include ldsodefs.h.
1022 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Save kernel
1023 version in _dl_osversion.
1024 * sysdeps/unix/sysv/linux/configure.in: Define __ABI_TAG_VERSION.
1025 * Makerules (build-shlib-helper, build-module-helper): New.
1026 (build-shlib, build-module-helper): Make sure .note.ABI-tag comes
1028 * config.h.in (__ABI_TAG_VERSION): Add.
1029 * elf/dl-minimal.c (__strtoul_internal): Set endptr on return.
1030 * sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS):
1031 Handle LD_ASSUME_KERNEL.
1032 * sysdeps/unix/sysv/linux/dl-librecon.h: New.
1034 2001-03-15 Ulrich Drepper <drepper@redhat.com>
1036 * timezone/antarctica: Update from tzdata2001a.
1037 * timezone/asia: Likewise.
1038 * timezone/australasia: Likewise.
1039 * timezone/backward: Likewise.
1040 * timezone/etcetera: Likewise.
1041 * timezone/europe: Likewise.
1042 * timezone/leapseconds: Likewise.
1043 * timezone/northamerica: Likewise.
1044 * timezone/southamerica: Likewise.
1045 * timezone/systemv: Likewise.
1046 * timezone/yearistype: Likewise.
1047 * timezone/zone.tab: Likewise.
1048 * timezone/tzdump.c: Update from tzcode2001a.
1050 2001-03-15 H.J. Lu <hjl@gnu.org>
1052 * intl/Makefile: Fix a typo.
1054 2001-03-14 David Mosberger <davidm@hpl.hp.com>
1056 * gmon/gmon.c (write_call_graph): Avoid unaligned accesses when
1057 writing arc structures.
1059 2001-03-15 H.J. Lu <hjl@gnu.org>
1061 * elf/Makefile ($(objpfx)tst-pathopt.out): Protected against
1064 2001-03-13 Andreas Schwab <schwab@suse.de>
1066 * posix/PTESTS2C.sed: Replace literal CRs by `\r'.
1068 2001-03-15 Ulrich Drepper <drepper@redhat.com>
1070 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Fix test
1071 for control message fitting into message data.
1072 Patch by James Antill <james@and.org>.
1074 * posix/tst-fnmatch.input: Add test case for FNM_PERIOD handling with
1077 * posix/fnmatch_loop.c: Optimize handling of ?() and @().
1078 * posix/fnmatch.c: Define STRLEN and STRCAT appropriately.
1080 * posix/Versions [libc] (GLIBC_2.2.3): Add fnmatch.
1081 * posix/fnmatch.c: Define with new default version GLIBC_2.2.3 to
1082 avoid running binaries with libc versions without FNM_EXTMATCH support.
1084 * include/wchar.h: Add prototype for __wcscat.
1085 * wcsmbs/wcscat.c: Define __wcscat and make wcscat weak alias.
1087 * posix/fnmatch.h (FNM_EXTMATCH): Define.
1088 * posix/fnmatch.c (NO_LEADING_PERIOD): Define.
1089 (posixly_correct): Move global variable here.
1090 (INT, EXT, END): Name new functions defined in fnmatch_loop.c.
1091 (fnmatch): Pretty printing.
1092 * posix/fnmatch_loop.c: Add code to handle FNM_EXTMATCH.
1093 * posix/tst-fnmatch.c: Recognize EXTMATCH flag.
1094 * posix/tst-fnmatch.input: Add tests for extended matching.
1096 * posix/testfnm.c: Add test for patterns with multiple ** before /.
1097 * posix/fnmatch_loop.c: Fix problem with the test above.
1099 2001-03-14 Ulrich Drepper <drepper@redhat.com>
1101 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove
1104 * resolv/res_data.c (fp_nquery): Call __res_ninit not __res_init.
1106 2001-03-12 Andreas Jaeger <aj@suse.de>
1108 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
1109 Use EM_X86_64 instead of EM_X8664.
1111 2001-03-12 Ulrich Drepper <drepper@redhat.com>
1113 * sysdeps/ieee754/dbl-64/upow.h: Define nZERO and nINF.
1115 * sysdeps/ieee754/dbl-64/e_remainder.c: Fix handling of boundary
1118 * sysdeps/ieee754/dbl-64/e_pow.c: Fix handling of boundary
1121 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Handle Inf and NaN
1125 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Handle NaN
1127 (__ieee754_acos): Likewise.
1129 2001-03-12 Andreas Jaeger <aj@suse.de>
1131 * sysdeps/unix/sysv/linux/s390/sysdep.h (_LINUX_S390_SYSDEP_H):
1132 Fix typo. Patch by Martin Schwidefsky <schwidefsky@de.ibm.com>.
1134 * sysdeps/s390/bits/string.h: Protect __STRING_INLINE against
1137 2001-03-11 Roland McGrath <roland@frob.com>
1139 * sysdeps/mach/hurd/configure.in: Add a sanity check on $prefix.
1141 2001-03-11 Ulrich Drepper <drepper@redhat.com>
1143 * sysdeps/ieee754/dbl-64/endian.h: Define also one of BIG_ENDI and
1146 * sysdeps/ieee754/dbl-64/MathLib.h (Init_Lib): Use void as
1149 Last-bit accurate math library implementation by IBM Haifa.
1150 Contributed by Abraham Ziv <ziv@il.ibm.com>, Moshe Olshansky
1151 <olshansk@il.ibm.com>, Ealan Henis <ealan@il.ibm.com>, and
1152 Anna Reitman <reitman@il.ibm.com>.
1153 * math/Makefile (dbl-only-routines): New variable.
1154 (libm-routines): Add $(dbl-only-routines).
1155 * sysdeps/ieee754/dbl-64/e_acos.c: Empty, definition is in e_asin.c.
1156 * sysdeps/ieee754/dbl-64/e_asin.c: Replaced with accurate asin
1158 * sysdeps/ieee754/dbl-64/e_atan2.c: Replaced with accurate atan2
1160 * sysdeps/ieee754/dbl-64/e_exp.c: Replaced with accurate exp
1162 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't use __kernel_sin and
1164 * sysdeps/ieee754/dbl-64/e_log.c: Replaced with accurate log
1166 * sysdeps/ieee754/dbl-64/e_remainder.c: Replaced with accurate
1167 remainder implementation.
1168 * sysdeps/ieee754/dbl-64/e_pow.c: Replaced with accurate pow
1170 * sysdeps/ieee754/dbl-64/e_sqrt.c: Replaced with accurate sqrt
1172 * sysdeps/ieee754/dbl-64/k_cos.c: Empty, definition is in s_sin.c.
1173 * sysdeps/ieee754/dbl-64/k_sin.c: Empty, definition is in s_sin.c.
1174 * sysdeps/ieee754/dbl-64/s_atan.c: Replaced with accurate atan
1176 * sysdeps/ieee754/dbl-64/s_cos.c: Empty, definition is in s_sin.c.
1177 * sysdeps/ieee754/dbl-64/s_sin.c: Replaced with accurate sin/cos
1179 * sysdeps/ieee754/dbl-64/s_sincos.c: Rewritten to not use __kernel_sin
1181 * sysdeps/ieee754/dbl-64/s_tan.c: Replaced with accurate tan
1183 * sysdeps/ieee754/dbl-64/Dist: Add new non-code files.
1184 * sysdeps/ieee754/dbl-64/MathLib.h: New file.
1185 * sysdeps/ieee754/dbl-64/asincos.tbl: New file.
1186 * sysdeps/ieee754/dbl-64/atnat.h: New file.
1187 * sysdeps/ieee754/dbl-64/atnat2.h: New file.
1188 * sysdeps/ieee754/dbl-64/branred.c: New file.
1189 * sysdeps/ieee754/dbl-64/branred.h: New file.
1190 * sysdeps/ieee754/dbl-64/dla.h: New file.
1191 * sysdeps/ieee754/dbl-64/doasin.c: New file.
1192 * sysdeps/ieee754/dbl-64/doasin.h: New file.
1193 * sysdeps/ieee754/dbl-64/dosincos.c: New file.
1194 * sysdeps/ieee754/dbl-64/dosincos.h: New file.
1195 * sysdeps/ieee754/dbl-64/endian.h: New file.
1196 * sysdeps/ieee754/dbl-64/halfulp.c: New file.
1197 * sysdeps/ieee754/dbl-64/mpa.c: New file.
1198 * sysdeps/ieee754/dbl-64/mpa.h: New file.
1199 * sysdeps/ieee754/dbl-64/mpa2.h: New file.
1200 * sysdeps/ieee754/dbl-64/mpatan.c: New file.
1201 * sysdeps/ieee754/dbl-64/mpatan.h: New file.
1202 * sysdeps/ieee754/dbl-64/mpatan2.c: New file.
1203 * sysdeps/ieee754/dbl-64/mpexp.c: New file.
1204 * sysdeps/ieee754/dbl-64/mpexp.h: New file.
1205 * sysdeps/ieee754/dbl-64/mplog.c: New file.
1206 * sysdeps/ieee754/dbl-64/mplog.h: New file.
1207 * sysdeps/ieee754/dbl-64/mpsqrt.c: New file.
1208 * sysdeps/ieee754/dbl-64/mpsqrt.h: New file.
1209 * sysdeps/ieee754/dbl-64/mptan.c: New file.
1210 * sysdeps/ieee754/dbl-64/mydefs.h: New file.
1211 * sysdeps/ieee754/dbl-64/powtwo.tbl: New file.
1212 * sysdeps/ieee754/dbl-64/root.tbl: New file.
1213 * sysdeps/ieee754/dbl-64/sincos.tbl: New file.
1214 * sysdeps/ieee754/dbl-64/sincos32.c: New file.
1215 * sysdeps/ieee754/dbl-64/sincos32.h: New file.
1216 * sysdeps/ieee754/dbl-64/slowexp.c: New file.
1217 * sysdeps/ieee754/dbl-64/slowpow.c: New file.
1218 * sysdeps/ieee754/dbl-64/uasncs.h: New file.
1219 * sysdeps/ieee754/dbl-64/uatan.tbl: New file.
1220 * sysdeps/ieee754/dbl-64/uexp.h: New file.
1221 * sysdeps/ieee754/dbl-64/uexp.tbl: New file.
1222 * sysdeps/ieee754/dbl-64/ulog.h: New file.
1223 * sysdeps/ieee754/dbl-64/ulog.tbl: New file.
1224 * sysdeps/ieee754/dbl-64/upow.h: New file.
1225 * sysdeps/ieee754/dbl-64/upow.tbl: New file.
1226 * sysdeps/ieee754/dbl-64/urem.h: New file.
1227 * sysdeps/ieee754/dbl-64/uroot.h: New file.
1228 * sysdeps/ieee754/dbl-64/usncs.h: New file.
1229 * sysdeps/ieee754/dbl-64/utan.h: New file.
1230 * sysdeps/ieee754/dbl-64/utan.tbl: New file.
1231 * sysdeps/i386/fpu/branred.c: New file.
1232 * sysdeps/i386/fpu/doasin.c: New file.
1233 * sysdeps/i386/fpu/dosincos.c: New file.
1234 * sysdeps/i386/fpu/halfulp.c: New file.
1235 * sysdeps/i386/fpu/mpa.c: New file.
1236 * sysdeps/i386/fpu/mpatan.c: New file.
1237 * sysdeps/i386/fpu/mpatan2.c: New file.
1238 * sysdeps/i386/fpu/mpexp.c: New file.
1239 * sysdeps/i386/fpu/mplog.c: New file.
1240 * sysdeps/i386/fpu/mpsqrt.c: New file.
1241 * sysdeps/i386/fpu/mptan.c: New file.
1242 * sysdeps/i386/fpu/sincos32.c: New file.
1243 * sysdeps/i386/fpu/slowexp.c: New file.
1244 * sysdeps/i386/fpu/slowpow.c: New file.
1245 * sysdeps/ia64/fpu/branred.c: New file.
1246 * sysdeps/ia64/fpu/doasin.c: New file.
1247 * sysdeps/ia64/fpu/dosincos.c: New file.
1248 * sysdeps/ia64/fpu/halfulp.c: New file.
1249 * sysdeps/ia64/fpu/mpa.c: New file.
1250 * sysdeps/ia64/fpu/mpatan.c: New file.
1251 * sysdeps/ia64/fpu/mpatan2.c: New file.
1252 * sysdeps/ia64/fpu/mpexp.c: New file.
1253 * sysdeps/ia64/fpu/mplog.c: New file.
1254 * sysdeps/ia64/fpu/mpsqrt.c: New file.
1255 * sysdeps/ia64/fpu/mptan.c: New file.
1256 * sysdeps/ia64/fpu/sincos32.c: New file.
1257 * sysdeps/ia64/fpu/slowexp.c: New file.
1258 * sysdeps/ia64/fpu/slowpow.c: New file.
1259 * sysdeps/m68k/fpu/branred.c: New file.
1260 * sysdeps/m68k/fpu/doasin.c: New file.
1261 * sysdeps/m68k/fpu/dosincos.c: New file.
1262 * sysdeps/m68k/fpu/halfulp.c: New file.
1263 * sysdeps/m68k/fpu/mpa.c: New file.
1264 * sysdeps/m68k/fpu/mpatan.c: New file.
1265 * sysdeps/m68k/fpu/mpatan2.c: New file.
1266 * sysdeps/m68k/fpu/mpexp.c: New file.
1267 * sysdeps/m68k/fpu/mplog.c: New file.
1268 * sysdeps/m68k/fpu/mpsqrt.c: New file.
1269 * sysdeps/m68k/fpu/mptan.c: New file.
1270 * sysdeps/m68k/fpu/sincos32.c: New file.
1271 * sysdeps/m68k/fpu/slowexp.c: New file.
1272 * sysdeps/m68k/fpu/slowpow.c: New file.
1274 * iconvdata/gconv-modules: Add a number of alias, mostly for IBM
1277 2001-03-11 Andreas Jaeger <aj@suse.de>
1279 * elf/elf.h (EM_*): Synch with official list.
1281 2001-03-07 David Mosberger <davidm@hpl.hp.com>
1283 * sysdeps/ia64/bits/fenv.h (FE_NONIEEE_ENV): New macro.
1285 2001-03-07 Jes Sorensen <jes@linuxcare.com>
1287 * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Remove unused
1288 variables addr & len.
1290 2001-02-22 Jes Sorensen <jes@linuxcare.com>
1292 * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Remove
1293 punctuation in asm constraint.
1295 2001-03-07 Mark Kettenis <kettenis@gnu.org>
1297 * resolv/netdb.h [__USE_GNU]: Define __need_timespec and include
1298 <time.h> to get definition of `struct timespec'.
1300 2001-03-08 Jakub Jelinek <jakub@redhat.com>
1302 * elf/rtld.c (dl_main): If tracing, warn about undefined symbols if
1303 LD_WARN=1, not if LD_WARN is unset.
1305 2001-03-07 Andreas Schwab <schwab@suse.de>
1307 * elf/ldconfig.h: Moved to ...
1308 * sysdeps/generic/ldconfig.h: ... here.
1309 * sysdeps/unix/sysv/linux/i386/ldconfig.h: New file.
1310 * sysdeps/unix/sysv/linux/m68k/ldconfig.h: New file.
1311 * sysdeps/unix/sysv/linux/ia64/ldconfig.h: New file.
1312 * elf/readlib.c (interpreters, known_libs): Use
1313 SYSDEP_KNOWN_INTERPRETER_NAMES and SYSDEP_KNOWN_LIBRARY_NAMES
1314 instead of hard coding old names.
1316 2001-03-09 Ulrich Drepper <drepper@redhat.com>
1318 * catgets/Makefile (generated): Add test-gencat.h.
1319 (sample.SJIS.cat): Also generate header.
1320 * catgets/sample.SJIS: Add new set and message, both with symbolic
1322 * catgets/test-gencat.sh: Also compare generated header with what
1325 2001-03-07 Jakub Jelinek <jakub@redhat.com>
1327 * catgets/gencat.c (read_input_file): Preserve properly symbolic
1330 2001-03-06 Andreas Jaeger <aj@suse.de>
1332 * sysdeps/s390/dl-machine.h (elf_machine_relplt): Removed, it's not
1334 (elf_machine_pltrel_p): Likewise.
1335 * sysdeps/powerpc/dl-machine.h: Likewise.
1336 * sysdeps/generic/dl-machine.h (elf_machine_pltrel_p): Likewise.
1338 2001-03-09 Ulrich Drepper <drepper@redhat.com>
1340 * sysdeps/unix/sysv/linux/arm/Dist: Add dl-procinfo.c and
1343 2001-03-05 Philip Blundell <philb@gnu.org>
1345 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c: New file.
1346 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h: New file.
1347 * sysdeps/unix/sysv/linux/arm/Makefile [subdir=elf]
1348 (sysdep-dl-routines, sysdep_routines, sysdep-rtld-routines): Add
1351 2001-03-09 Ulrich Drepper <drepper@redhat.com>
1353 * dlfcn/tstatexit.c (main): Don't perform the test if __dso_handle
1355 * dlfcn/tstcxaatexit.c (main): Likewise.
1357 2001-03-10 Andreas Jaeger <aj@suse.de>
1359 * sysdeps/i386/fpu/libm-test-ulps: Revert last patch.
1361 2001-03-09 Andreas Jaeger <aj@suse.de>
1363 * sysdeps/s390/dl-machine.h (elf_machine_matches_host): Handle
1364 both new and old EM_S390 values.
1365 (EM_S390_OLD): New constant.
1367 * elf/elf.h (EM_S390): Use official value.
1369 2001-03-09 Ulrich Drepper <drepper@redhat.com>
1371 * conform/data/sys/socket.h-data: Allow SO* symbols.
1373 2001-03-07 Andreas Schwab <schwab@suse.de>
1375 * sysdeps/ia64/fpu/Makefile: Modify sysdep_routines instead of
1376 routines, and sysdep-CPPFLAGS instead of CPPFLAGS.
1378 2001-03-07 Andreas Jaeger <aj@suse.de>
1380 * resolv/Makefile (routines): Only build gai_sigqueue when threads
1383 2001-03-07 Jakub Jelinek <jakub@redhat.com>
1385 * elf/ldconfig.c (_dl_sysdep_message): Remove.
1386 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Include
1388 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
1390 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Use
1391 _dl_error_printf instead of _dl_sysdep_error.
1392 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
1393 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h (_dl_procinfo):
1394 Use _dl_printf instead of _dl_sysdep_message.
1395 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h (_dl_procinfo):
1398 2001-03-06 Ben Collins <bcollins@debian.org>
1400 * manual/arith.texi (Integers): Fix documentation of fast and
1401 least integer typedefs.
1403 2001-03-06 Jakub Jelinek <jakub@redhat.com>
1405 * resolv/Depend: New file.
1406 * resolv/Makefile (extra-libs, tests): Build libanl and ga_test only
1407 when libpthread is built.
1409 2001-03-06 Andreas Jaeger <aj@suse.de>
1411 * sysdeps/i386/fpu/libm-test-ulps: Add some deltas.
1413 * sysdeps/sh/dl-machine.h (elf_machine_rela): Add missing comma.
1414 Patch by kaz Kojima <kkojima@rr.iij4u.or.jp>.
1416 2001-03-05 Ulrich Drepper <drepper@redhat.com>
1418 * stdlib/Versions: Remove __new_exitfn again. Not needed.
1420 2001-03-05 Andreas Jaeger <aj@suse.de>
1422 * stdlib/msort.c (qsort): Don't use alloca in a function call.
1424 2001-03-05 Ulrich Drepper <drepper@redhat.com>
1426 * sysdeps/unix/sysv/linux/bits/stat.h (__S_TYPEISMQ, __S_TYPEISSEM,
1427 __S_TYPEISSHM): Rewrite to enforce correct use the macros. They still
1429 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
1430 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
1431 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
1432 * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Likewise.
1433 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
1434 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
1435 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
1437 2001-03-04 Andreas Jaeger <aj@suse.de>
1439 * stdlib/longlong.h: Don't use multi-line strings.
1440 * iconvdata/tst-loading.c: Likewise.
1442 * csu/Makefile ($(objpfx)version-info.h): Don't use multi-line
1445 2001-03-04 Ulrich Drepper <drepper@redhat.com>
1447 * sysdeps/ia64/fpu/libm-test-ulps: Adjust for addition of lgammal.
1449 * rt/lio_listio.c: Add a few asserts.
1451 * elf/global.c: New file.
1452 * elf/globalmod1.c: New file.
1453 * elf/Makefile: Add rules to build and run global.
1455 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Define SI_ASYNCNL.
1456 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
1457 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
1458 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1459 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
1461 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: New file.
1462 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
1464 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Fix handling of boundary cases.
1466 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Always initialize sign variable.
1467 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
1469 * sysdeps/i386/fpu/libm-test-ulps: Adjust after addition of lgammal.
1471 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Fix typo in last change.
1473 2001-03-04 Andreas Jaeger <aj@suse.de>
1475 * resolv/tst-aton.c: Add testcase for IP with four periods.
1477 * resolv/inet_addr.c: Don't recognize an IP with four periods.
1478 Patch by Andre' Breiler <A.Breiler@gmx.net>.
1480 2001-02-27 Philip Blundell <pb@futuretv.com>
1482 * elf/elf.h: Add new ARM definitions from latest (B-01)
1483 specification. Correct naming of EF_ARM_ALIGN8 et al.
1485 2001-03-04 Ulrich Drepper <drepper@redhat.com>
1487 * stdio-common/tst-printf.sh: Remove bashisms.
1488 Patch by Matthew Clarke <Matthew_Clarke@mindlink.bc.ca>.
1490 2001-03-03 Ulrich Drepper <drepper@redhat.com>
1492 * Versions.def: Add libanl definition.
1493 * shlib-versions: Add entry for libanl.
1494 * resolv/Makefile (distribute): Add gai_misc.h and ga_test.c.
1495 (routines): Add gai_sigqueue.
1496 (extra-libs): Add libanl.
1497 (libanl-routines): New variable.
1498 Add rules to build libanl and ga_test.
1499 * resolv/Versions [libc] (GLIBC_2.2.3): Add __gai_sigqueue.
1500 [libanl]: New library.
1501 * resolv/netdb.h: Add definitions for libanl.
1502 * resolv/getaddrinfo_a.c: New file.
1503 * resolv/gai_cancel.c: New file.
1504 * resolv/gai_error.c: New file.
1505 * resolv/gai_misc.c: New file.
1506 * resolv/gai_misc.h: New file.
1507 * resolv/gai_notify.c: New file.
1508 * resolv/gai_suspend.c: New file.
1509 * resolv/ga_test.c: New file.
1510 * sysdeps/generic/gai_sigqueue.c: New file.
1511 * sysdeps/unix/sysv/linux/gai_sigqueue.c: New file.
1512 * sysdeps/generic/bits/siginfo.h: Allow __need_sigevent_t being defined
1513 and provide only that definition.
1514 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
1515 * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
1516 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
1517 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
1518 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1519 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
1521 * rt/aio_misc.c: Fix typos in comments.
1522 * rt/lio_listio.c: Pretty printing. Little optimization in request
1525 * elf/rtld.c: Remove commented out code.
1527 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC):
1528 Update for real 2.4 kernels.
1530 2001-03-01 Ulrich Drepper <drepper@redhat.com>
1532 * elf/dl-load.c: Pretty printing.
1534 * elf/dl-object.c (_dl_new_object): Don't add the loader's scope
1537 2001-02-28 Ulrich Drepper <drepper@redhat.com>
1539 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle
1540 relocations which are not in ld.so if RTLD_BOOTSTRAP is defined.
1542 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
1544 * elf/dl-misc.c (_dl_debug_vdprintf): Fix typo visible on 64-bit
1547 * sysdeps/unix/sysv/linux/powerpc/sysdep.h (C_TEXT): Define.
1549 2001-02-27 Ulrich Drepper <drepper@redhat.com>
1551 * sysdeps/powerpc/elf/libc-start.c: Use new output functions and
1554 * elf/Versions [ld]: Don't export _dl_debug_message anymore. Export
1556 * elf/dl-misc.c: Remove definition of _dl_sysdep_output and
1557 _dl_debug_message. Define _dl_debug_vdprintf, _dl_debug_printf,
1558 _dl_debug_printf_c, and _dl_printf.
1559 * sysdeps/generic/ldsodefs.h: Don't declare _dl_sysdep_output,
1560 _dl_debug_message, _dl_sysdep_message, _dl_sysdep_error, and
1561 _dl_sysdep_fatal. Declare _dl_debug_printf, _dl_debug_printf_c,
1562 _dl_printf, _dl_error_printf, and _dl_fatal_printf.
1563 * elf/dl-close.c: Replace use of old output functions with the new
1565 * elf/dl-deps.c: Likewise.
1566 * elf/dl-error.c: Likewise.
1567 * elf/dl-fini.c: Likewise.
1568 * elf/dl-init.c: Likewise.
1569 * elf/dl-load.c: Likewise.
1570 * elf/dl-lookup.c: Likewise.
1571 * elf/dl-minimal.c: Likewise.
1572 * elf/dl-open.c: Likewise.
1573 * elf/dl-profile.c: Likewise.
1574 * elf/dl-reloc.c: Likewise.
1575 * elf/dl-version.c: Likewise.
1576 * elf/do-lookup.h: Likewise.
1577 * elf/rtld.c: Likewise.
1578 * sysdeps/generic/dl-cache.c: Likewise.
1579 * sysdeps/generic/dl-sysdep.c: Likewise.
1580 * sysdeps/generic/libc-start.c: Likewise.
1581 * sysdeps/i386/dl-machine.h: Likewise.
1582 * sysdeps/arm/dl-machine.h: Likewise.
1583 * sysdeps/hppa/dl-machine.h: Likewise.
1584 * sysdeps/m68k/dl-machine.h: Likewise.
1585 * sysdeps/powerpc/dl-machine.h: Likewise.
1586 * sysdeps/s390/dl-machine.h: Likewise.
1587 * sysdeps/sh/dl-machine.h: Likewise.
1588 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
1589 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
1590 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
1592 * sysdeps/generic/ldsodefs.h: Remove _dl_secure declaration.
1594 * dlfcn/Makefile: Don't run tstatexit test unless .hidden is
1595 supported by assembler.
1597 * sysdeps/generic/ldsodefs.h: Remove commented-out variable
1600 * elf/rtld.c: Little optimizations in handling _dl_lazy.
1602 * elf/cache.c (save_cache): Portability changes.
1603 * elf/dl-profile.c (_dl_start_profile): Likewise.
1605 * elf/sln.c: Cleanups. Remove arbitrary limits.
1607 * elf/dl-close.c: Replace _dl_debug_* variables with _dl_debug_mask.
1608 * elf/dl-deps.c: Likewise.
1609 * elf/dl-fini.c: Likewise.
1610 * elf/dl-init.c: Likewise.
1611 * elf/dl-load.c: Likewise.
1612 * elf/dl-lookup.c: Likewise.
1613 * elf/dl-open.c: Likewise.
1614 * elf/dl-reloc.c: Likewise.
1615 * elf/dl-support.c: Likewise.
1616 * elf/dl-version.c: Likewise.
1617 * elf/do-lookup.h: Likewise.
1618 * elf/rtld.c: Likewise.
1619 * sysdeps/generic/dl-cache.c: Likewise.
1620 * sysdeps/generic/ldsodefs.h: Likewise.
1621 * sysdeps/generic/libc-start.c: Likewise.
1622 * elf/Versions: Don't export _dl_debug_impcalls and _dl_debug_files.
1623 Export _dl_debug_mask.
1624 * Versions.def: Define GLIBC_2.2.3 for ld.
1626 2001-02-26 Greg McGary <greg@mcgary.org>
1628 * sysdeps/unix/make-syscalls.sh (ptr): Handle `V' keyletter.
1630 2001-02-26 Paul Eggert <eggert@twinsun.com>
1632 Modify mkstemp.c and tempname.c so that they can be used by
1633 GNU applications on non-glibc platforms.
1635 * misc/mkstemp.c (__GT_FILE): Define to zero if not defined.
1637 * sysdeps/posix/tempname.c: Include <config.h> if HAVE_CONFIG_H.
1638 Include <stddef.h>, <stdint.h>, <string.h> only if
1639 STDC_HEADERS || _LIBC.
1640 Include <fcntl.h> only if HAVE_FCNTL_H || _LIBC.
1641 Include <unistd.h> only if HAVE_UNISTD_H || _LIBC.
1642 Include <sys/time.h> only if HAVE_SYS_TIME_H || _LIBC.
1643 (__set_errno): Define this macro if <errno.h> doesn't.
1644 (P_tmpdir, TMP_MAX, __GT_FILE, __GT_BIGFILE, __GT_DIR, __GT_NOCREATE):
1645 Define these macros if <stdio.h> doesn't.
1646 (S_ISDIR, S_IRUSR, S_IWUSR, S_IXUSR):
1647 Define these macros if <sys/stat.h> doesn't.
1648 Ignore <sys/stat.h> S_ISDIR if STAT_MACROS_BROKEN.
1649 (stat64, __getpid, __gettimeofday, __mkdir, __open, __open64,
1650 lxstat64, __xstat64): Define if not _LIBC.
1651 (struct_stat64): New macro.
1652 (direxists, __gen_tempname): Use it, to avoid a
1653 portability problem with Solaris 8.
1654 (__secure_getenv): Define if ! (HAVE___SECURE_GETENV || _LIBC).
1655 (__gen_tempname): Invoke gettimeofday only if
1656 HAVE_GETTIMEOFDAY || _LIBC; otherwise, fall back on plain "time".
1657 Use portable macros like S_IRUSR | S_IWUSR rather than nonportable
1658 octal values like 0600.
1660 2001-02-26 Ulrich Drepper <drepper@redhat.com>
1662 * sysdeps/ieee754/ldbl-96/e_jnl.c: New file.
1663 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
1665 * sysdeps/i386/fpu/libm-test-ulps: Update for jnl and ynl introduction.
1666 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
1668 * posix/wordexp-test.c (testit): Remove warnings.
1670 * dlfcn/Makefile (distribute): Add modatexit.c and modcxaatexit.c.
1671 (tests): Add tstatexit and tstcxaatexit.
1672 (module-names): Add modatexit and modcxaatexit.
1673 Add rules to build and run tstatexit and tstcxaatexit.
1674 * dlfcn/modatexit.c: New file.
1675 * dlfcn/modcxaatexit.c: New file.
1676 * dlfcn/tstatexit.c: New file.
1677 * dlfcn/tstcxaatexit.c: New file.
1679 * io/Makefile: Pass -DHAVE_DOT_HIDDEN to stat and mknod functions if
1680 .hidden is available.
1681 * io/stat.c: If .hidden is available use it to avoid exporting
1683 * io/fstat.c: Likewise.
1684 * io/lstat.c: Likewise.
1685 * io/stat64.c: Likewise.
1686 * io/fstat64.c: Likewise.
1687 * io/lstat64.c: Likewise.
1688 * sysdeps/generic/mknod.c: Likewise.
1690 * malloc/mtrace.c: Use __cxa_atexit and not atexit.
1691 * sysdeps/generic/bb_init_func.c: Likewise.
1692 * sysdeps/generic/libc-start.c: Likewise.
1694 * stdlib/atexit.c (__new_exitfn): Move to cxa_atexit.c.
1695 (atexit): Implement using __cxa_atexit.
1696 Use .hidden if availble to avoid exporting atexit.
1697 * stdlib/cxa_atexit.c (__new_exitfn): Moved to here from atexit.c.
1698 * stdlib/Versions: Export __new_exitfn for GLIBC_2.2.3.
1699 * stdlib/Makefile (routines): Add old_atexit.
1700 (static-only-routines): Add atexit.
1701 Pass -DHAVE_DOT_HIDDEN for atexit.c if .hidden is available.
1702 * stdlib/old_atexit.c: New file.
1704 * intl/Makefile: Remove bogus endif.
1706 2001-02-26 Andreas Jaeger <aj@suse.de>
1708 * iconvdata/Makefile (tests): Fix typo in last patch.
1710 * intl/Makefile (tests): Run mtrace-tst-gettext only when perl is
1712 Reported by Achim Gottinger <achim@gentoo.org>.
1714 2001-02-25 Andreas Jaeger <aj@suse.de>
1716 * intl/Makefile (plural.c): Reorder rules so that they work if
1717 BISON doesn't exist.
1719 2001-02-25 Ulrich Drepper <drepper@redhat.com>
1721 * intl/locale.alias: Don't use nb_NO but define aliases for it.
1723 2001-02-23 Ulrich Drepper <drepper@redhat.com>
1725 * sysdeps/i386/strtok.S: Continue to return NULL after the first
1728 2001-02-23 Andreas Jaeger <aj@suse.de>
1730 * string/tester.c (test_strtok_r): Add testcase.
1731 (test_strtok_r): Always initialize cp for proper checking.
1733 * sysdeps/generic/strtok.c (strtok): Handle case of first strtok
1734 returning NULL correctly.
1735 Patch by Fumitoshi UKAI <ukai@debian.or.jp>.
1736 * sysdeps/generic/strtok_r.c (__strtok_r): Likewise.
1738 2001-02-23 Ulrich Drepper <drepper@redhat.com>
1740 * sysdeps/unix/sysv/aix/bits/types.h: Define __need_NULL before
1741 including <stddef.h>.
1742 * sysdeps/unix/sysv/aix/write.c: Define alias __libc_write.
1743 * include/libc-symbols.h (weak_alias): Don't use .weak if
1744 HAVE_ASM_GLOBAL_DOT_NAME is defined.
1745 Patches by Michael Keezer <mkeezer@redhat.com>.
1747 * sysdeps/generic/ftime.c: Don't include <sys/time.h> at all.
1748 Patch by Michael Keezer <mkeezer@redhat.com>.
1750 * sysdeps/unix/sysv/aix/Dist: Remove restf.S and savef.S.
1751 * sysdeps/unix/sysv/aix/Makefile [$(subdir) == misc]
1752 (sysdep_routines): Remove restf.S and savef.S.
1753 * sysdeps/unix/sysv/aix/restf.S. Removed.
1754 * sysdeps/unix/sysv/aix/savef.S. Removed.
1755 * sysdeps/powerpc/fprrest.S: Use C_TEXT to define label. Also define
1756 alternative names used on some platforms.
1757 * sysdeps/powerpc/fprsave.S: Likewise.
1758 * sysdeps/powerpc/gprrest0.S: Likewise.
1759 * sysdeps/powerpc/gprrest1.S: Likewise.
1760 * sysdeps/powerpc/gprsave0.S: Likewise.
1761 * sysdeps/powerpc/gprsave1.S: Likewise.
1762 Patch by Michael Keezer <mkeezer@redhat.com>.
1764 2001-02-22 Ulrich Drepper <drepper@redhat.com>
1766 * sysdeps/i386/elf/start.S (_fp_hw): Actually define label.
1768 2001-02-22 Andreas Jaeger <aj@suse.de>
1770 * string/tst-strtok.c (main): Fix error messages.
1772 2001-02-22 Andreas Jaeger <aj@suse.de>
1774 * math/Makefile: Remove omit-long-double-fcts.
1776 2001-02-18 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1778 * sysdeps/mips/bsd-_setjmp.S (_setjmp): Reorder instructions to
1779 avoid problems on MIPS I.
1780 * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
1782 * sysdeps/mips/dl-machine.h (RTLD_START): Remove duplicate ".set
1785 2001-02-21 Ulrich Drepper <drepper@redhat.com>
1787 * posix/fnmatch_loop.c: Handle ranges outside glibc correctly.
1789 * sysdeps/generic/ftime.c: Include <time.h>.
1791 * configure.in: Don't check for libgd if user passed --without-gd.
1792 Patch by Achim Gottinger <achim@gentoo.org>.
1794 * sysdeps/i386/i686/strtok.S: Continue to return NULL after the
1795 first time this happened.
1796 * string/Makefile (tests): Add tst-strtok.
1798 2001-02-21 Andreas Jaeger <aj@suse.de>
1800 * string/tst-strtok.c: New testcase, reported by
1801 Andrew Church <achurch@achurch.org>.
1803 2001-02-20 Ulrich Drepper <drepper@redhat.com>
1805 * libio/iofwide.c: Remove fwide alias.
1807 2001-02-20 Andreas Jaeger <aj@suse.de>
1809 * iconvdata/Makefile (tests): Only run mtrace-tst-loading if perl
1811 Reported by Achim Gottinger <achim@gentoo.org>.
1813 2001-02-19 Ulrich Drepper <drepper@redhat.com>
1815 * iconv/tst-iconv1.c (main): Remove debugging code.
1817 * sysdeps/ieee754/flt-32/e_powf.c: Handle x == +-1 correctly.
1818 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1820 * sysdeps/generic/e_scalb.c: Set invalid exception for invalid
1822 * sysdeps/generic/e_scalbf.c: Likewise.
1823 * sysdeps/generic/e_scalbl.c: Likewise.
1825 * sysdeps/ia64/fpu/Makefile (libm-sysdep-routines): Add libm_error,
1826 libm_frexp4, libm_frexp4f, libm_frexp4l, and all the functions also
1828 (routines): Replace libm_error with libc_libm_error.
1829 * sysdeps/ia64/fpu/Dist: Add libc_libm_error.c.
1830 * sysdeps/ia64/fpu/libc_libm_error.c: New file.
1832 2001-02-18 Mark Kettenis <kettenis@gnu.org>
1834 * malloc/mtrace.c [USE_IN_LIBIO]: Define fopen as _IO_fopen64.
1835 (mtrace): Revert 2001-02-13 patch: use fopen instead of fopen64.
1837 2001-02-17 H.J. Lu <hjl@gnu.org>
1839 * sysdeps/unix/sysv/linux/ia64/clone2.S: Use clone2 and don't use
1840 scratch registers across the system call.
1842 2001-02-19 Andreas Jaeger <aj@suse.de>
1844 * malloc/Makefile (tests): Run mtrace only when perl is available.
1845 Reported by Achim Gottinger <achim@gentoo.org>.
1847 2001-02-19 Ulrich Drepper <drepper@redhat.com>
1849 * sysdeps/ieee754/ldbl-96/e_j1l.c: New file.
1850 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
1852 * sysdeps/i386/fpu/libm-test-ulps: Adjust error values for j1 and y1.
1853 * sysdeps/ia64/fpu/libm-test-ulps: Adjust error values for y1.
1854 * math/libm-test.inc (j1_test): Mark constants as long double.
1855 (jn_test): Likewise.
1856 (y1_test): Likewise.
1857 (yn_test): Likewise.
1859 * libio/iogetline.c: Move return until after last statement.
1861 * localedata/show-ucs-data.c: Don't show < > for better readability.
1863 * sysdeps/ia64/fpu/Dist: New file.
1864 * sysdeps/ia64/fpu/Makefile: New file.
1865 * sysdeps/ia64/fpu/Versions: New file.
1866 * sysdeps/ia64/fpu/e_acos.S: New file.
1867 * sysdeps/ia64/fpu/e_acosf.S: New file.
1868 * sysdeps/ia64/fpu/e_acosl.S: New file.
1869 * sysdeps/ia64/fpu/e_asin.S: New file.
1870 * sysdeps/ia64/fpu/e_asinf.S: New file.
1871 * sysdeps/ia64/fpu/e_asinl.S: New file.
1872 * sysdeps/ia64/fpu/e_atan2.S: New file.
1873 * sysdeps/ia64/fpu/e_atan2f.S: New file.
1874 * sysdeps/ia64/fpu/e_atan2l.c: New file.
1875 * sysdeps/ia64/fpu/e_cosh.S: New file.
1876 * sysdeps/ia64/fpu/e_coshf.S: New file.
1877 * sysdeps/ia64/fpu/e_coshl.S: New file.
1878 * sysdeps/ia64/fpu/e_exp.S: New file.
1879 * sysdeps/ia64/fpu/e_expf.S: New file.
1880 * sysdeps/ia64/fpu/e_expl.c: New file.
1881 * sysdeps/ia64/fpu/e_fmod.S: New file.
1882 * sysdeps/ia64/fpu/e_fmodf.S: New file.
1883 * sysdeps/ia64/fpu/e_fmodl.S: New file.
1884 * sysdeps/ia64/fpu/e_hypot.S: New file.
1885 * sysdeps/ia64/fpu/e_hypotf.S: New file.
1886 * sysdeps/ia64/fpu/e_hypotl.S: New file.
1887 * sysdeps/ia64/fpu/e_log.S: New file.
1888 * sysdeps/ia64/fpu/e_log10.c: New file.
1889 * sysdeps/ia64/fpu/e_log10f.c: New file.
1890 * sysdeps/ia64/fpu/e_log10l.c: New file.
1891 * sysdeps/ia64/fpu/e_logf.S: New file.
1892 * sysdeps/ia64/fpu/e_logl.c: New file.
1893 * sysdeps/ia64/fpu/e_pow.S: New file.
1894 * sysdeps/ia64/fpu/e_powf.S: New file.
1895 * sysdeps/ia64/fpu/e_powl.S: New file.
1896 * sysdeps/ia64/fpu/e_rem_pio2.c: New file.
1897 * sysdeps/ia64/fpu/e_rem_pio2f.c: New file.
1898 * sysdeps/ia64/fpu/e_remainder.S: New file.
1899 * sysdeps/ia64/fpu/e_remainderf.S: New file.
1900 * sysdeps/ia64/fpu/e_remainderl.S: New file.
1901 * sysdeps/ia64/fpu/e_scalb.S: New file.
1902 * sysdeps/ia64/fpu/e_scalbf.S: New file.
1903 * sysdeps/ia64/fpu/e_scalbl.S: New file.
1904 * sysdeps/ia64/fpu/e_sinh.S: New file.
1905 * sysdeps/ia64/fpu/e_sinhf.S: New file.
1906 * sysdeps/ia64/fpu/e_sinhl.S: New file.
1907 * sysdeps/ia64/fpu/e_sqrt.S: New file.
1908 * sysdeps/ia64/fpu/e_sqrtf.S: New file.
1909 * sysdeps/ia64/fpu/e_sqrtl.S: New file.
1910 * sysdeps/ia64/fpu/k_rem_pio2.c: New file.
1911 * sysdeps/ia64/fpu/k_rem_pio2f.c: New file.
1912 * sysdeps/ia64/fpu/k_rem_pio2l.c: New file.
1913 * sysdeps/ia64/fpu/libm_atan2_reg.S: New file.
1914 * sysdeps/ia64/fpu/libm_error.c: New file.
1915 * sysdeps/ia64/fpu/libm_frexp4.S: New file.
1916 * sysdeps/ia64/fpu/libm_frexp4f.S: New file.
1917 * sysdeps/ia64/fpu/libm_frexp4l.S: New file.
1918 * sysdeps/ia64/fpu/libm_reduce.S: New file.
1919 * sysdeps/ia64/fpu/libm_support.h: New file.
1920 * sysdeps/ia64/fpu/libm_tan.S: New file.
1921 * sysdeps/ia64/fpu/s_atan.S: New file.
1922 * sysdeps/ia64/fpu/s_atanf.S: New file.
1923 * sysdeps/ia64/fpu/s_atanl.S: New file.
1924 * sysdeps/ia64/fpu/s_cbrt.S: New file.
1925 * sysdeps/ia64/fpu/s_cbrtf.S: New file.
1926 * sysdeps/ia64/fpu/s_cbrtl.S: New file.
1927 * sysdeps/ia64/fpu/s_ceil.S: New file.
1928 * sysdeps/ia64/fpu/s_ceilf.S: New file.
1929 * sysdeps/ia64/fpu/s_ceill.S: New file.
1930 * sysdeps/ia64/fpu/s_cos.S: New file.
1931 * sysdeps/ia64/fpu/s_cosf.S: New file.
1932 * sysdeps/ia64/fpu/s_cosl.S: New file.
1933 * sysdeps/ia64/fpu/s_expm1.S: New file.
1934 * sysdeps/ia64/fpu/s_expm1f.S: New file.
1935 * sysdeps/ia64/fpu/s_expm1l.S: New file.
1936 * sysdeps/ia64/fpu/s_floor.S: New file.
1937 * sysdeps/ia64/fpu/s_floorf.S: New file.
1938 * sysdeps/ia64/fpu/s_floorl.S: New file.
1939 * sysdeps/ia64/fpu/s_frexp.c: New file.
1940 * sysdeps/ia64/fpu/s_frexpf.c: New file.
1941 * sysdeps/ia64/fpu/s_frexpl.c: New file.
1942 * sysdeps/ia64/fpu/s_ilogb.S: New file.
1943 * sysdeps/ia64/fpu/s_ilogbf.S: New file.
1944 * sysdeps/ia64/fpu/s_ilogbl.S: New file.
1945 * sysdeps/ia64/fpu/s_ldexp.S: New file.
1946 * sysdeps/ia64/fpu/s_ldexpf.S: New file.
1947 * sysdeps/ia64/fpu/s_ldexpl.S: New file.
1948 * sysdeps/ia64/fpu/s_log1p.S: New file.
1949 * sysdeps/ia64/fpu/s_log1pf.S: New file.
1950 * sysdeps/ia64/fpu/s_log1pl.S: New file.
1951 * sysdeps/ia64/fpu/s_logb.S: New file.
1952 * sysdeps/ia64/fpu/s_logbf.S: New file.
1953 * sysdeps/ia64/fpu/s_logbl.S: New file.
1954 * sysdeps/ia64/fpu/s_matherrf.c: New file.
1955 * sysdeps/ia64/fpu/s_matherrl.c: New file.
1956 * sysdeps/ia64/fpu/s_modf.S: New file.
1957 * sysdeps/ia64/fpu/s_modff.S: New file.
1958 * sysdeps/ia64/fpu/s_modfl.S: New file.
1959 * sysdeps/ia64/fpu/s_nearbyint.S: New file.
1960 * sysdeps/ia64/fpu/s_nearbyintf.S: New file.
1961 * sysdeps/ia64/fpu/s_nearbyintl.S: New file.
1962 * sysdeps/ia64/fpu/s_rint.S: New file.
1963 * sysdeps/ia64/fpu/s_rintf.S: New file.
1964 * sysdeps/ia64/fpu/s_rintl.S: New file.
1965 * sysdeps/ia64/fpu/s_round.S: New file.
1966 * sysdeps/ia64/fpu/s_roundf.S: New file.
1967 * sysdeps/ia64/fpu/s_roundl.S: New file.
1968 * sysdeps/ia64/fpu/s_scalbn.S: New file.
1969 * sysdeps/ia64/fpu/s_scalbnf.S: New file.
1970 * sysdeps/ia64/fpu/s_scalbnl.S: New file.
1971 * sysdeps/ia64/fpu/s_significand.S: New file.
1972 * sysdeps/ia64/fpu/s_significandf.S: New file.
1973 * sysdeps/ia64/fpu/s_significandl.S: New file.
1974 * sysdeps/ia64/fpu/s_sin.c: New file.
1975 * sysdeps/ia64/fpu/s_sincos.c: New file.
1976 * sysdeps/ia64/fpu/s_sincosf.c: New file.
1977 * sysdeps/ia64/fpu/s_sincosl.c: New file.
1978 * sysdeps/ia64/fpu/s_sinf.c: New file.
1979 * sysdeps/ia64/fpu/s_sinl.c: New file.
1980 * sysdeps/ia64/fpu/s_tan.S: New file.
1981 * sysdeps/ia64/fpu/s_tanf.S: New file.
1982 * sysdeps/ia64/fpu/s_tanl.S: New file.
1983 * sysdeps/ia64/fpu/s_trunc.S: New file.
1984 * sysdeps/ia64/fpu/s_truncf.S: New file.
1985 * sysdeps/ia64/fpu/s_truncl.S: New file.
1986 * sysdeps/ia64/fpu/w_acos.c: New file.
1987 * sysdeps/ia64/fpu/w_acosf.c: New file.
1988 * sysdeps/ia64/fpu/w_acosl.c: New file.
1989 * sysdeps/ia64/fpu/w_asin.c: New file.
1990 * sysdeps/ia64/fpu/w_asinf.c: New file.
1991 * sysdeps/ia64/fpu/w_asinl.c: New file.
1992 * sysdeps/ia64/fpu/w_atan2.c: New file.
1993 * sysdeps/ia64/fpu/w_atan2f.c: New file.
1994 * sysdeps/ia64/fpu/w_atan2l.c: New file.
1995 * sysdeps/ia64/fpu/w_cosh.c: New file.
1996 * sysdeps/ia64/fpu/w_coshf.c: New file.
1997 * sysdeps/ia64/fpu/w_coshl.c: New file.
1998 * sysdeps/ia64/fpu/w_exp.c: New file.
1999 * sysdeps/ia64/fpu/w_expf.c: New file.
2000 * sysdeps/ia64/fpu/w_fmod.c: New file.
2001 * sysdeps/ia64/fpu/w_fmodf.c: New file.
2002 * sysdeps/ia64/fpu/w_fmodl.c: New file.
2003 * sysdeps/ia64/fpu/w_hypot.c: New file.
2004 * sysdeps/ia64/fpu/w_hypotf.c: New file.
2005 * sysdeps/ia64/fpu/w_hypotl.c: New file.
2006 * sysdeps/ia64/fpu/w_log.c: New file.
2007 * sysdeps/ia64/fpu/w_log10.c: New file.
2008 * sysdeps/ia64/fpu/w_log10f.c: New file.
2009 * sysdeps/ia64/fpu/w_log10l.c: New file.
2010 * sysdeps/ia64/fpu/w_logf.c: New file.
2011 * sysdeps/ia64/fpu/w_logl.c: New file.
2012 * sysdeps/ia64/fpu/w_pow.c: New file.
2013 * sysdeps/ia64/fpu/w_powf.c: New file.
2014 * sysdeps/ia64/fpu/w_powl.c: New file.
2015 * sysdeps/ia64/fpu/w_remainder.c: New file.
2016 * sysdeps/ia64/fpu/w_remainderf.c: New file.
2017 * sysdeps/ia64/fpu/w_remainderl.c: New file.
2018 * sysdeps/ia64/fpu/w_scalb.c: New file.
2019 * sysdeps/ia64/fpu/w_scalbf.c: New file.
2020 * sysdeps/ia64/fpu/w_scalbl.c: New file.
2021 * sysdeps/ia64/fpu/w_sqrt.c: New file.
2022 * sysdeps/ia64/fpu/w_sqrtf.c: New file.
2023 * sysdeps/ia64/fpu/w_sqrtl.c: New file.
2024 * sysdeps/ia64/fpu/libm-test-ulps: Adjust for long double
2026 * sysdeps/ia64/fpu/bits/mathdef.h: Correct float_t and double_t types.
2027 Change FP_ILOGBNAN for new implementation.
2028 * Verions.def: Add 2.2.3 versions.
2030 2001-02-18 Ulrich Drepper <drepper@redhat.com>
2032 * math/libm-test.inc (scalb_test): Require invalid exception being
2033 raised for invalid parameters.
2034 * sysdeps/i386/fpu/e_scalb.S: Raise invalid exception if necessary.
2035 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
2036 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
2038 2001-02-18 Mark Kettenis <kettenis@gnu.org>
2040 * sysdeps/mach/getsysstats.c (__get_phys_pages): Change return
2042 (__get_avphys_pages): Likewise.
2044 2001-02-18 Ulrich Drepper <drepper@redhat.com>
2046 * math/libm-test.inc (pow_test): Correct expected results for x == +-1.
2047 * sysdeps/i386/fpu/e_pow.S: Handle x == +-1 correctly.
2048 * sysdeps/i386/fpu/e_powf.S: Likewise.
2049 * sysdeps/i386/fpu/e_powl.S: Likewise.
2051 * sysdeps/i386/fpu/bits/mathinline.h: Remove pow inline code.
2053 2001-02-17 Ulrich Drepper <drepper@redhat.com>
2055 * math/Makefile (libm-calls): It's e_exp2 not s_exp2.
2057 * sysdeps/generic/s_exp2l.c: Renamed to...
2058 * sysdeps/generic/e_exp2l.c: ...this. New file.
2059 * sysdeps/i386/fpu/s_exp2.S: Renamed to...
2060 * sysdeps/i386/fpu/e_exp2.S: ...this. New file.
2061 * sysdeps/i386/fpu/s_exp2f.S: Renamed to...
2062 * sysdeps/i386/fpu/e_exp2f.S: ...this. New file.
2063 * sysdeps/i386/fpu/s_exp2l.S: Renamed to...
2064 * sysdeps/i386/fpu/e_exp2l.S: ...this. New file.
2065 * sysdeps/ieee754/flt-32/s_exp2f.c: Renamed to...
2066 * sysdeps/ieee754/flt-32/e_exp2f.c: ...this. New file.
2067 * sysdeps/ieee754/dbl-64/s_exp2.c: Renamed to...
2068 * sysdeps/ieee754/dbl-64/e_exp2.c: ...this. New file.
2069 * sysdeps/m68k/fpu/s_exp2.c: Renamed to...
2070 * sysdeps/m68k/fpu/e_exp2.c: ...this. New file.
2071 * sysdeps/m68k/fpu/s_exp2f.c: Renamed to...
2072 * sysdeps/m68k/fpu/e_exp2f.c: ...this. New file.
2073 * sysdeps/m68k/fpu/s_exp2l.c: Renamed to...
2074 * sysdeps/m68k/fpu/e_exp2l.c: ...this. New file.
2076 2001-02-17 Andreas Jaeger <aj@suse.de>
2078 * configure.in: Allow gcc 3.
2080 2001-02-16 Ulrich Drepper <drepper@redhat.com>
2082 * math/w_acos.c: Move to ...
2083 * sysdeps/generic/w_acos.c: ...here. New file.
2084 * math/w_acosf.c: Move to ...
2085 * sysdeps/generic/w_acosf.c: ...here. New file.
2086 * math/w_acosh.c: Move to ...
2087 * sysdeps/generic/w_acosh.c: ...here. New file.
2088 * math/w_acoshf.c: Move to ...
2089 * sysdeps/generic/w_acoshf.c: ...here. New file.
2090 * math/w_acoshl.c: Move to ...
2091 * sysdeps/generic/w_acoshl.c: ...here. New file.
2092 * math/w_acosl.c: Move to ...
2093 * sysdeps/generic/w_acosl.c: ...here. New file.
2094 * math/w_asin.c: Move to ...
2095 * sysdeps/generic/w_asin.c: ...here. New file.
2096 * math/w_asinf.c: Move to ...
2097 * sysdeps/generic/w_asinf.c: ...here. New file.
2098 * math/w_asinl.c: Move to ...
2099 * sysdeps/generic/w_asinl.c: ...here. New file.
2100 * math/w_atan2.c: Move to ...
2101 * sysdeps/generic/w_atan2.c: ...here. New file.
2102 * math/w_atan2f.c: Move to ...
2103 * sysdeps/generic/w_atan2f.c: ...here. New file.
2104 * math/w_atan2l.c: Move to ...
2105 * sysdeps/generic/w_atan2l.c: ...here. New file.
2106 * math/w_atanh.c: Move to ...
2107 * sysdeps/generic/w_atanh.c: ...here. New file.
2108 * math/w_atanhf.c: Move to ...
2109 * sysdeps/generic/w_atanhf.c: ...here. New file.
2110 * math/w_atanhl.c: Move to ...
2111 * sysdeps/generic/w_atanhl.c: ...here. New file.
2112 * math/w_cosh.c: Move to ...
2113 * sysdeps/generic/w_cosh.c: ...here. New file.
2114 * math/w_coshf.c: Move to ...
2115 * sysdeps/generic/w_coshf.c: ...here. New file.
2116 * math/w_coshl.c: Move to ...
2117 * sysdeps/generic/w_coshl.c: ...here. New file.
2118 * math/w_drem.c: Move to ...
2119 * sysdeps/generic/w_drem.c: ...here. New file.
2120 * math/w_dremf.c: Move to ...
2121 * sysdeps/generic/w_dremf.c: ...here. New file.
2122 * math/w_dreml.c: Move to ...
2123 * sysdeps/generic/w_dreml.c: ...here. New file.
2124 * math/w_exp10.c: Move to ...
2125 * sysdeps/generic/w_exp10.c: ...here. New file.
2126 * math/w_exp10f.c: Move to ...
2127 * sysdeps/generic/w_exp10f.c: ...here. New file.
2128 * math/w_exp10l.c: Move to ...
2129 * sysdeps/generic/w_exp10l.c: ...here. New file.
2130 * math/w_exp2.c: Move to ...
2131 * sysdeps/generic/w_exp2.c: ...here. New file.
2132 * math/w_exp2f.c: Move to ...
2133 * sysdeps/generic/w_exp2f.c: ...here. New file.
2134 * math/w_exp2l.c: Move to ...
2135 * sysdeps/generic/w_exp2l.c: ...here. New file.
2136 * math/w_fmod.c: Move to ...
2137 * sysdeps/generic/w_fmod.c: ...here. New file.
2138 * math/w_fmodf.c: Move to ...
2139 * sysdeps/generic/w_fmodf.c: ...here. New file.
2140 * math/w_fmodl.c: Move to ...
2141 * sysdeps/generic/w_fmodl.c: ...here. New file.
2142 * math/w_hypot.c: Move to ...
2143 * sysdeps/generic/w_hypot.c: ...here. New file.
2144 * math/w_hypotf.c: Move to ...
2145 * sysdeps/generic/w_hypotf.c: ...here. New file.
2146 * math/w_hypotl.c: Move to ...
2147 * sysdeps/generic/w_hypotl.c: ...here. New file.
2148 * math/w_j0.c: Move to ...
2149 * sysdeps/generic/w_j0.c: ...here. New file.
2150 * math/w_j0f.c: Move to ...
2151 * sysdeps/generic/w_j0f.c: ...here. New file.
2152 * math/w_j0l.c: Move to ...
2153 * sysdeps/generic/w_j0l.c: ...here. New file.
2154 * math/w_j1.c: Move to ...
2155 * sysdeps/generic/w_j1.c: ...here. New file.
2156 * math/w_j1f.c: Move to ...
2157 * sysdeps/generic/w_j1f.c: ...here. New file.
2158 * math/w_j1l.c: Move to ...
2159 * sysdeps/generic/w_j1l.c: ...here. New file.
2160 * math/w_jn.c: Move to ...
2161 * sysdeps/generic/w_jn.c: ...here. New file.
2162 * math/w_jnf.c: Move to ...
2163 * sysdeps/generic/w_jnf.c: ...here. New file.
2164 * math/w_jnl.c: Move to ...
2165 * sysdeps/generic/w_jnl.c: ...here. New file.
2166 * math/w_lgamma.c: Move to ...
2167 * sysdeps/generic/w_lgamma.c: ...here. New file.
2168 * math/w_lgammaf.c: Move to ...
2169 * sysdeps/generic/w_lgammaf.c: ...here. New file.
2170 * math/w_lgammaf_r.c: Move to ...
2171 * sysdeps/generic/w_lgammaf_r.c: ...here. New file.
2172 * math/w_lgammal.c: Move to ...
2173 * sysdeps/generic/w_lgammal.c: ...here. New file.
2174 * math/w_lgammal_r.c: Move to ...
2175 * sysdeps/generic/w_lgammal_r.c: ...here. New file.
2176 * math/w_lgamma_r.c: Move to ...
2177 * sysdeps/generic/w_lgamma_r.c: ...here. New file.
2178 * math/w_log10.c: Move to ...
2179 * sysdeps/generic/w_log10.c: ...here. New file.
2180 * math/w_log10f.c: Move to ...
2181 * sysdeps/generic/w_log10f.c: ...here. New file.
2182 * math/w_log10l.c: Move to ...
2183 * sysdeps/generic/w_log10l.c: ...here. New file.
2184 * math/w_log.c: Move to ...
2185 * sysdeps/generic/w_log.c: ...here. New file.
2186 * math/w_logf.c: Move to ...
2187 * sysdeps/generic/w_logf.c: ...here. New file.
2188 * math/w_logl.c: Move to ...
2189 * sysdeps/generic/w_logl.c: ...here. New file.
2190 * math/w_pow.c: Move to ...
2191 * sysdeps/generic/w_pow.c: ...here. New file.
2192 * math/w_powf.c: Move to ...
2193 * sysdeps/generic/w_powf.c: ...here. New file.
2194 * math/w_powl.c: Move to ...
2195 * sysdeps/generic/w_powl.c: ...here. New file.
2196 * math/w_remainder.c: Move to ...
2197 * sysdeps/generic/w_remainder.c: ...here. New file.
2198 * math/w_remainderf.c: Move to ...
2199 * sysdeps/generic/w_remainderf.c: ...here. New file.
2200 * math/w_remainderl.c: Move to ...
2201 * sysdeps/generic/w_remainderl.c: ...here. New file.
2202 * math/w_scalb.c: Move to ...
2203 * sysdeps/generic/w_scalb.c: ...here. New file.
2204 * math/w_scalbf.c: Move to ...
2205 * sysdeps/generic/w_scalbf.c: ...here. New file.
2206 * math/w_scalbl.c: Move to ...
2207 * sysdeps/generic/w_scalbl.c: ...here. New file.
2208 * math/w_sinh.c: Move to ...
2209 * sysdeps/generic/w_sinh.c: ...here. New file.
2210 * math/w_sinhf.c: Move to ...
2211 * sysdeps/generic/w_sinhf.c: ...here. New file.
2212 * math/w_sinhl.c: Move to ...
2213 * sysdeps/generic/w_sinhl.c: ...here. New file.
2214 * math/w_sqrtl.c: Move to ...
2215 * sysdeps/generic/w_sqrtl.c: ...here. New file.
2216 * math/w_tgamma.c: Move to ...
2217 * sysdeps/generic/w_tgamma.c: ...here. New file.
2218 * math/w_tgammaf.c: Move to ...
2219 * sysdeps/generic/w_tgammaf.c: ...here. New file.
2220 * math/w_tgammal.c: Move to ...
2221 * sysdeps/generic/w_tgammal.c: ...here. New file.
2223 * locale/programs/ld-address.c (address_finish): Add 'S' to allow
2224 formats for postal_fmt.
2226 2001-02-16 Jakub Jelinek <jakub@redhat.com>
2228 * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Add
2229 __ftruncate64 alias.
2230 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (ftruncate):
2233 2001-02-15 David Mosberger <davidm@hpl.hp.com>
2235 * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): No need to
2236 do "loadrs". Writing to bspstore already takes care of
2237 invalidating the "clean" partition.
2239 2001-02-16 Andreas Schwab <schwab@suse.de>
2241 * sysdeps/m68k/fpu/s_nextafterl.c: New file.
2242 * sysdeps/m68k/fpu/s_fpclassifyl.c: New file.
2244 2001-02-15 Jakub Jelinek <jakub@redhat.com>
2246 * posix/regex.c (init_syntax_once): Add prototype.
2247 (TRANSLATE): If MBS_SUPPORT, translate all characters up to '\xff'.
2248 (re_search_2): Avoid warning.
2249 (count_mbs_length): Add prototype.
2250 * posix/tst-regex3.c: New file.
2251 * posix/Makefile (tests): Add bug-regex3.
2253 2001-02-15 Ulrich Drepper <drepper@redhat.com>
2255 * stdio-common/Makefile (tests): Add tst-gets.
2256 * stdio-common/tst-gets.c: New file.
2257 * stdio-common/tst-gets.input: New file.
2259 * elf/elf.h (DT_CHECKSUM): Define.
2261 * sysdeps/generic/strtoll.c: Don't export __strto*_internal as
2263 * sysdeps/generic/strtoull.c: Likewise.
2265 2001-02-14 Wolfram Gloger <wg@malloc.de>
2267 * malloc/malloc.c (new_heap): When allocating large chunk aligned
2268 to HEAP_MAX_SIZE, prefer one with lower address, to avoid `holes'
2271 2001-02-14 Ulrich Drepper <drepper@redhat.com>
2273 * math/libm-test.inc (j0_test): Check whether sincos is available.
2274 (j1_test): Likewise.
2275 (jn_test): Likewise.
2276 (y0_test): Likewise.
2277 (y1_test): Likewise.
2278 (yn_test): Likewise.
2280 * posix/tst-gnuglob.c: Make a few entries DT_UNKNOWN and teach
2281 fake filesystem routines to handle this.
2283 * time/sys/time.h: Make settimeofday and adjtime available if
2286 * time/sys/time.h: Make timer* macros available for BSD.
2288 * iconvdata/gb18030.c: Update for Dec 2000 re-release of GB18030.
2289 Patch by Yong Li <rigel863@yahoo.com>.
2291 * sysdeps/generic/glob.c (CONVERT_DIRENT_DIRENT64): Fix copying of
2294 * posix/Makefile (tests): Add tst-gnuglob.
2295 * posix/tst-gnuglob.c: New file.
2297 2001-02-13 H.J. Lu <hjl@gnu.org>
2299 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __ftruncate64.
2301 2001-02-13 Ulrich Drepper <drepper@redhat.com>
2303 * locale/programs/ld-paper.c (paper_output): Pretty printing.
2305 * iconvdata/Makefile (modules): Add GBBIG5.
2306 (distribute): Add gbbig5.c.
2307 * iconvdata/gconv-modules: Add entries for GBBIG5 module.
2309 * iconvdata/gbbig5.c: New file.
2310 Contributed by Yong Li <rigel863@yahoo.com>.
2312 2001-02-13 Philip Blundell <pb@futuretv.com>
2314 * manual/crypt.texi: Remove outdated references to crypt add-on.
2316 * manual/creature.texi: Improve wording slightly.
2318 2001-02-13 Ulrich Drepper <drepper@redhat.com>
2320 * io/ftw.c: Always use readdir64.
2321 * io/ftw64.c: Likewise.
2322 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2323 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2324 * sysdeps/generic/glob.c: Likewise. Convert results of gl_readdir
2325 callback to dirent. Still allow compiling outside glibc.
2326 * sysdeps/gnu/glob64.c: Define COMPILE_GLOB64.
2327 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
2329 * malloc/mtrace.c: Use fopen64.
2330 * posix/spawni.c: Use __open64.
2331 * sysdeps/unix/opendir.c: Likewise.
2332 * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
2334 * sysdeps/generic/ftruncate64.c: Define __ftruncate64 and make old
2336 * sysdeps/unix/sysv/aix/ftruncate64.c: Likewise.
2337 * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise.
2338 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
2339 * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Likewise.
2341 * resolv/res_data.c: Add cast to avoid warning.
2343 * include/unistd.h: Declare __ftruncate64.
2345 * sysdeps/generic/utmp_file.c: Use LFS functions and types.
2347 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use __lseek64
2350 2001-02-13 Andreas Jaeger <aj@suse.de>
2352 * login/getutent_r.c: Include <stdlib.h> for NULL.
2353 * login/getutid_r.c: Likewise.
2355 2001-02-12 Ulrich Drepper <drepper@redhat.com>
2357 * sysdeps/dbl-64/e_j0.c: Little optimization, use sincos.
2358 * sysdeps/dbl-64/e_j1.c: Likewise.
2359 * sysdeps/dbl-64/e_jn.c: Likewise.
2360 * sysdeps/flt-32/e_j0f.c: Likewise.
2361 * sysdeps/flt-32/e_j1f.c: Likewise.
2362 * sysdeps/ldbl-96/e_j0l.c: Likewise.
2364 2000-12-02 H.J. Lu <hjl@gnu.org>
2366 * resolv/res_libc.c (res_init): Don't make it default.
2368 2001-02-12 Ulrich Drepper <drepper@redhat.com>
2370 * manual/debug.texi: Improved the wording.
2371 Patch by Philip Blundell <pb@futuretv.com>.
2373 2001-02-12 Andreas Jaeger <aj@suse.de>
2375 * posix/Makefile (tests): Don't run bug-regex2 when
2378 * libio/Makefile (tests): Don't run test-freopen when
2381 * manual/stdio.texi (Streams and I18N): Fix typos.
2383 2001-02-12 Ulrich Drepper <drepper@redhat.com>
2385 * sysdeps/i386/fpu/libm-test-ulps: Adjust for errors in y0l.
2387 * math/libm-test.inc (j0_test): Make expected results long double
2389 (y0_test): Likewise.
2391 * sysdeps/ieee754/ldbl-96/e_j0l.c: New file.
2392 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
2394 2001-02-11 Jakub Jelinek <jakub@redhat.com>
2396 * sysdeps/generic/strtoll.c (__strtoq_internal): Ressurect alias
2397 which was exported from libc.
2398 * sysdeps/generic/strtoull.c (__strtouq_internal): Likewise.
2400 2001-02-12 Andreas Jaeger <aj@suse.de>
2402 * manual/arith.texi (Parsing of Integers): Fix some wordings.
2404 2001-02-11 Ulrich Drepper <drepper@redhat.com>
2406 * sysdeps/generic/getsysstat.c: Change return value of get_phys_pages
2407 and get_avphys_page to long int.
2408 * sysdeps/unix/sysv/linux/getsysstat.c: Likewise.
2409 * include/sys/sysinfo.h: Likewise.
2410 * sysdeps/generic/sys/sysinfo.h: Likewise.
2411 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
2413 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Fail if we
2414 cannot return as many values as the user asked for.
2416 2001-02-11 Andreas Jaeger <aj@suse.de>
2418 * manual/resource.texi (Memory Resources): Fix typo.
2420 * libio/Makefile ($(objpfx)test-freopen.out): Pass
2423 * libio/test-freopen.sh: Use run_program_prefix.
2425 2001-02-10 Andreas Jaeger <aj@suse.de>
2427 * stdlib/Makefile (tests): Don't run tst-fmtmsg when
2429 ($(objpfx)tst-fmtmsg.out): Pass run-program-prefix.
2431 * stdlib/tst-fmtmsg.sh (test): Use run_program_prefix for static
2434 * elf/Makefile (tests): Only run tst-pathopt with shared libs.
2436 * posix/Makefile: Fix typo, it's build-static-nss.
2438 * iconv/Makefile (extra-objs): New.
2440 2001-02-10 Mark Kettenis <kettenis@gnu.org>
2442 * sysdeps/unix/stime.c: Include <time.h>.
2444 * sysdeps/mach/hurd/setitimer.c: Include <time.h>.
2446 2001-02-10 Andreas Jaeger <aj@suse.de>
2448 * manual/string.texi (Search Functions): Fix typo.
2450 2001-02-10 Mark Kettenis <kettenis@gnu.org>
2452 * sysdeps/unix/bsd/times.c: Reorder includes and add <time.h>.
2453 (timeval_to_clock_t): Add clk_tck argument and use that instead of
2455 (__times): Use __getclktck to get the number of clock ticks per
2456 second and use its return value instead of CLK_TCK.
2458 2001-02-10 Mark Kettenis <kettenis@gnu.org>
2460 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (_HAVE_SA_LEN): Define.
2462 2001-02-10 Mark Kettenis <kettenis@gnu.org>
2464 * sysdeps/mach/gettimeofday.c: Include <stddef.h>.
2466 2001-02-10 Andreas Jaeger <aj@suse.de>
2468 * wctype/wcfuncs.c (func): Add prototype declarations to avoid
2471 2001-02-09 Ulrich Drepper <drepper@redhat.com>
2473 * posix/Makefile: Add rules to build and run bug-regex2.
2474 * posix/bug-regex2.c: New file.
2476 2001-02-10 Jakub Jelinek <jakub@redhat.com>
2478 * posix/regex.c (convert_mbs_to_wcs): Change is_binary to char *.
2479 (regex_compile): Likewise.
2480 (FREE_VARIABLES): Don't free is_binary1 and is_binary2.
2481 (re_match_2_internal): Use just is_binary instead of two variables.
2482 Use REGEX_TALLOC to allocate it and FREE_VAR to free on failure.
2484 2001-02-09 Ulrich Drepper <drepper@redhat.com>
2486 * version.h (VERSION): Bump to 2.2.2.
2488 * iconv/Makefile (distribute): Add iconv_charmap.c and
2490 * elf/Makefile (distribute): Add firstobj.c.
2491 * Makefile (distribute): Add include/pthread.h.
2493 * configure.in: Require makeinfo version 4.
2495 * libio/tst_wscanf.c (main): Add cast to avoid warning.
2496 * libio/tst_swscanf.c (main): Likewise..
2498 2001-02-09 Jakub Jelinek <jakub@redhat.com>
2500 * sysdeps/generic/setenv.c (unsetenv): Remove const from len.
2501 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, fdim): Don't define if
2503 * sysdeps/i386/dl-machine.h (elf_machine_rel): Only declare refsym
2504 if not RTLD_BOOTSTRAP.
2505 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
2506 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
2508 2001-02-09 Ulrich Drepper <drepper@redhat.com>
2510 * locale/programs/linereader.c (get_ident): Stop loop if EOF. Use
2511 lr_ungetc to push back last read character.
2512 * locale/programs/linereader.h (lr_ungetc): Don't push back is
2514 (lr_ignore_rest): Don't warn about garbage if it is really the end
2517 * manual/Makefile: Use ifnottext and not ifinfo to protect Top node
2520 2001-02-08 Ulrich Drepper <drepper@redhat.com>
2522 * Makerules (build-shlib): Work around different order of
2523 processing of -B option in different gcc versions.
2525 * posix/regex.c: Fix alignment problem.
2526 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
2528 * sysdeps/alpha/strrchr.S: Little optimization.
2529 Patch by Richard Henderson <rth@redhat.com>.
2531 * sysdeps/alpha/alphaev67/strrchr.S: New file.
2532 Contributed by Rick Gorton <rick.gorton@alpha-processor.com>.
2534 2001-02-08 kaz Kojima <kkojima@rr.iij4u.or.jp>
2536 * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Correct function name
2537 in the assembler end directive.
2539 2001-02-08 Andreas Jaeger <aj@suse.de>
2541 * manual/stdio.texi (Closing Streams): Fix typos.
2543 2001-02-07 Ulrich Drepper <drepper@redhat.com>
2545 * sysdeps/alpha/alphaev67/strncat.S: Align last write address.
2546 Patch by Richard Henderson <rth@redhat.com>.
2547 Reported by Claus-Justus Heine <heine@instmath.rwth-aachen.de>.
2549 * stdlib/strfmon.c [USE_IN_LIBIO]: Define lock variable and store
2550 pointer in FILE structure before calling _IO_init.
2551 * stdlib/Makefile: Add -D_IO_MTSAFE_IO to CFLAGS for strfmon and
2552 strfmon_l if necessary.
2553 Reported by Jury Gerold <gjury@grips.com>.
2555 * sysdeps/gnu/netinet/tcp.h: Correct values of TCP_ macros.
2556 Patch by Pekka.Pietikainen@cern.ch.
2558 * posix/regex.c: Correct several problems with 64-bit architectures
2559 introduced in the MBS changes.
2560 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
2562 2001-02-07 Jakub Jelinek <jakub@redhat.com>
2564 * math/tgmath.h: Only add l suffixes if __NO_LONG_DOUBLE_MATH is
2566 * sysdeps/alpha/fpu/bits/mathinline.h: Honour __NO_MATH_INLINES.
2568 2001-02-07 Andreas Jaeger <aj@suse.de>
2570 * manual/install.texi (Tools for Compilation): Fix typo.
2571 Reported by Pavel Machek <pavel@bug.ucw.cz>.
2573 2001-02-07 Ulrich Drepper <drepper@redhat.com>
2575 * stdlib/strtod.c: Never stop prematurely reading digits before the
2576 decimal point is found. Compute exponent limit for negative exponents
2577 correctly. For numbers ending in all zeros eat the zeros even before
2578 the decimal point if the exponent is negative [PR libc/2072].
2579 * stdlib/Makefile (tests): Add bug-strtod.
2580 * stdlib/bug-strtod.c: New file.
2582 2001-02-07 Andreas Jaeger <aj@suse.de>
2584 * posix/bug-regex1.c: Include <wchar.h> for fwide.
2586 2001-02-06 Ulrich Drepper <drepper@redhat.com>
2588 * posix/regex.c (regex_compile): Don't store pointer in wchar_t array.
2590 (compile_range): Handle index being passed, not pointer.
2591 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
2593 * posix/regex.c: Fix a cast in the code for bracket handling which
2594 caused 8-bit uncleanliness.
2595 Patch by Michal Jaegermann <michal@ellpspace.math.ualberta.ca>.
2597 * posix/Makefile (tests): Add bug-regex1.
2598 * posix/bug-regex1.c: New file.
2599 Contributed by Jim Meyering <jim@meyering.net>.
2601 * posix/regex.c: Many cleanups for incorrect format strings.
2603 2001-02-06 Andreas Jaeger <aj@suse.de>
2605 * time/time.h (CLK_TCK): Check for !__STRICT_ANSI.
2607 2001-02-06 Ulrich Drepper <drepper@redhat.com>
2609 * locale/programs/locale.c (write_locales): Use scandir to read
2610 directory so that the entries are sorted.
2612 2001-02-06 Andreas Jaeger <aj@suse.de>
2614 * include/pthread.h: New file.
2616 * wctype/wctype.h: Move internal interfaces from here to...
2617 * include/wctype.h: ...here.
2619 * wcsmbs/wchar.h: Move __wcslen from here to...
2620 * include/wchar.h: ...here.
2622 * posix/sys/wait.h: Move __wait from here to...
2623 * include/sys/wait.h: ...here.
2625 * string/string.h: Move __ffs and __strerror_r from here to...
2626 * include/string.h: ...here.
2628 * stdlib/stdlib.h: Move __on_exit from here to...
2629 * include/stdlib.h: ...here.
2631 * libio/stdio.h: Move __vsnprintf from here to...
2632 * include/stdio.h: ...here.
2634 2001-02-06 Andreas Schwab <schwab@suse.de>
2636 * sysdeps/unix/sysv/linux/ia64/ioperm.c: Don't include kernel
2639 * timezone/Makefile: Don't assume that $(inst_zonedir) is a subdir
2642 2001-02-06 Ulrich Drepper <drepper@redhat.com>
2644 * iconvdata/Makefile: Add dependency for bug-iconv2.out.
2646 2001-02-06 Andreas Jaeger <aj@suse.de>
2648 * elf/firstobj.c: Add prototype.
2650 * posix/regex.c (convert_mbs_to_wcs): Make static, add prototype
2651 (truncate_wchar): Likewise.
2653 2001-02-06 Ulrich Drepper <drepper@redhat.com>
2655 * locale/programs/locale.c: Implement --verbose option for -a
2656 which prints detailed information about the locales.
2658 2001-02-05 Ulrich Drepper <drepper@redhat.com>
2660 * sunrpc/xdr_rec.c (set_input_fragment): Change type of header
2661 variable to uint32_t.
2662 Reported by Ulrich Weigand <weigand@immd1.informatik.uni-erlangen.de>.
2664 2001-02-04 Bruno Haible <haible@clisp.cons.org>
2666 * locale/C-translit.h.in: Add transliterations for CJK units of
2669 2001-02-05 Ulrich Drepper <drepper@redhat.com>
2671 * elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf
2672 string. Include <inttypes.h> instead of <stdint.h>.
2674 * localedata/Makefile (tests): Add bug-iconv-trans.
2675 Define bug-iconv-trans-ENV.
2676 * localedata/bug-iconv-trans.c: New file.
2678 2001-02-04 Bruno Haible <haible@clisp.cons.org>
2680 * iconv/gconv_trans.c (__gconv_transliterate): Use a temporary output
2681 pointer, to avoid accumulating output from incomplete (unsuccessful)
2682 transliteration attempts.
2684 2001-02-05 Ulrich Drepper <drepper@redhat.com>
2686 * elf/ldconfig.c (search_dir): Use PRIx64 instead of Lx in printf
2687 string. Include <inttypes.h> instead of <stdint.h>.
2689 * configure.in: Add check for bison.
2690 * config.make.in: Define BISON variable.
2691 * intl/Makefile: Use BISON instead of YACC when generating plural.c.
2692 Rename YFLAGS to BISONFLAGS.
2694 2001-02-05 Andreas Jaeger <aj@suse.de>
2696 * io/test-lfs.c (do_test): Test lseek64 return value, call
2698 (test_ftello): New function to test ftello64 and fseeko64.
2700 * signal/signal.h: Move __sigaction from here to...
2701 * include/signal.h: ...here.
2703 * io/fcntl.h: Move __fcntl and __open to...
2704 * include/fcntl.h: ...here.
2706 2001-02-04 Philip Blundell <philb@gnu.org>
2708 * configure.in: Distinguish ARM from Thumb.
2710 2001-02-04 Philip Blundell <philb@gnu.org>
2712 * sysdeps/arm/dl-machine.h (elf_machine_rel): Correct handling of
2713 PC24 relocs with negative value.
2715 2001-02-04 Ulrich Drepper <drepper@redhat.com>
2717 * iconv/Makefile (iconv_prog-modules): Define. Add vpath to find
2718 files in locale/programs. Add CFLAGS definition to allow compiling
2720 * iconv/dummy-repertoire.c: New file.
2721 * iconv/iconv_charmap.c: New file.
2722 * iconv/iconv_prog.h: New file.
2723 * iconv/iconv_prog.c: Make verbose and omit_invalid global.
2724 (main): If parameter for -f and -t contain slashes try first to resolve
2725 the strings as filenames of charmap files. Use them for conversion
2727 * iconvdata/run-iconv-test.sh: If charmaps exist also run tests with
2728 iconv getting charmap names as parameters.
2729 * locale/programs/linereader.c (lr_token): Take extra parameters
2730 verbose and pass it to get_string.
2731 (get_string): Take extra parameters verbose.
2732 * locale/programs/charmap.c (parse_charmap): Take extra parameters
2733 verbose and be_quiet. Change all callers of lr_token and
2735 * locale/programs/charmap.h: Likewise.
2736 * locale/programs/ld-address.c: Likewise.
2737 * locale/programs/ld-collate.c: Likewise.
2738 * locale/programs/ld-ctype.c: Likewise.
2739 * locale/programs/ld-identification.c: Likewise.
2740 * locale/programs/ld-measurement.c: Likewise.
2741 * locale/programs/ld-messages.c: Likewise.
2742 * locale/programs/ld-monetary.c: Likewise.
2743 * locale/programs/ld-name.c: Likewise.
2744 * locale/programs/ld-numeric.c: Likewise.
2745 * locale/programs/ld-paper.c: Likewise.
2746 * locale/programs/ld-telephone.c: Likewise.
2747 * locale/programs/ld-time.c: Likewise.
2748 * locale/programs/linereader.c: Likewise.
2749 * locale/programs/linereader.h: Likewise.
2750 * locale/programs/localedef.c: Likewise.
2751 * locale/programs/locfile.c: Likewise.
2752 * locale/programs/locfile.h: Likewise.
2753 * locale/programs/repertoire.c: Likewise.
2755 2001-02-03 Ulrich Drepper <drepper@redhat.com>
2757 * iconv/iconv_prog.c (main): If output file name is "-" write to
2759 (main): If -f or -t argument is missing use charset of the current
2762 2001-02-03 Andreas Jaeger <aj@suse.de>
2764 * sysdeps/i386/elf/start.S (_start): Align stack to 16-byte
2765 boundary for SSE/SSE-2 alignment.
2767 * posix/Makefile ($(objpfx)annexc.out): Also pass sysincludes to
2770 2001-02-03 Ulrich Drepper <drepper@redhat.com>
2772 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: File was using crlf.
2773 Remove comma at end of enum.
2775 * elf/dl-init.c: Add a few __builtin_expect.
2777 * hesiod/hesiod.c: Remove unnecessary code. Remove all uses of strcat.
2779 2001-02-02 Ulrich Drepper <drepper@redhat.com>
2781 * hesiod/hesiod.c (hesiod_resolve): Also search HS records if
2782 errno is ECONNREFUSED.
2784 * posix/Makefile: Define MBS_SUPPORT for regex.c.
2785 * posix/regex.c: Implement multibyte character handling.
2786 Patch by Isamu Hasegawa <isamu@yamato.ibm.co.jp>.
2788 * string/tst-svc.input: Add two more test cases.
2789 * string/tst-svc.expect: Modify to reflect new test cases.
2791 2001-02-01 Jakub Jelinek <jakub@redhat.com>
2793 * sysdeps/posix/getaddrinfo.c (gaih_local, gaih_inet): Replace all
2794 tp->name tests with tp->name[0] tests.
2796 2001-01-29 Ben Collins <bcollins@debian.org>
2798 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r):
2799 Fix check for name == NULL.
2801 2001-02-01 Ulrich Drepper <drepper@redhat.com>
2803 * elf/Makefile: Add rules to build and run initfirst test.
2804 * elf/initfirst.c: New file.
2805 * elf/firstobj.c: New file.
2807 * Makerules (build-shlib): Add $(extra-B-$(@F:lib%.so=%).so).
2808 * configure.in: Test for -z initfirst linker option.
2809 * config.make.in: Add have-z-initfirst.
2810 * elf/dl-init.c (_dl_init): Split out actual initialization code in
2811 new function call_init. If _dl_initfirst is non-NULL initialize first.
2812 * elf/dl-load.c (_dl_map_from_fd): If DF_1_INITFIRST flag is set
2813 remember object in _dl_initfirst.
2814 * elf/soinit.c: Remove special support for calling
2815 __pthread_initialize_minimal.
2817 * conform/conformtest.pl: Add missing $prepend in type test.
2819 2001-01-31 Ulrich Drepper <drepper@redhat.com>
2821 * elf/elf.h (SHT_CHECKSUM): New definition.
2823 * posix/fnmatch_loop.c: Remove incorrect reverse condition in
2824 [. .] matching. Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
2825 * posix/tst-fnmatch.input: Add tests for [. .] in locales.
2827 2001-01-31 Mark Kettenis <kettenis@gnu.org>
2829 * misc/sys/select.h: Include <bits/time.h> instead of <sys/time.h>
2830 to get definition of `struct timeval'.
2832 2001-01-31 Ulrich Drepper <drepper@redhat.com>
2834 * posix/tst-fnmatch.input: Add test cases for de_DE.UTF-8 locale.
2835 * posix/fnmatch_loop.c: Fix handling of [= =] for multibyte charsets.
2837 2001-01-30 Ulrich Drepper <drepper@redhat.com>
2839 * iconv/gconv_open.c (__gconv_open): Set conv_flags if IGNORE is
2842 * nis/nis_findserv.c: Include <time.h>.
2844 2001-01-30 Yong Li <yong.li@asu.edu>
2846 * iconv/iconv_prog.c (main): Correct error handling method name.
2848 2001-01-29 Ben Collins <bcollins@debian.org>
2850 * sysdeps/sparc/fpu/fraiseexcpt.c: Include <float.h>.
2851 * sysdeps/hppa/fpu/fraiseexcpt.c: Likewise.
2852 * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
2853 * sysdeps/s390/fpu/fraiseexcpt.c: Likewise.
2855 2001-01-30 Ulrich Drepper <drepper@redhat.com>
2857 * locale/programs/ld-measurement.c (measurement_finish): Fix a typo.
2858 Patch by Marko Myllynen <myllynen@lut.fi>.
2860 * string/bits/string2.h (__strpbrk_c2): Correct parameter types
2861 (int instead of char).
2862 (__strpbrk_c3): Likewise.
2863 Reported by GOTO Masanori <gotom@debian.or.jp>.
2865 * sysdeps/generic/bits/sockaddr.h: Remove SA_LEN macro.
2866 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Likewise.
2867 * include/sys/socket.h: Add SA_LEN here for internal use.
2868 Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
2870 2001-01-29 Ulrich Drepper <drepper@redhat.com>
2872 * malloc/Makefile: Don't build memusagestat if cross-compiling.
2874 * sysdeps/generic/dl-sysdep.c (set_seen): Fix typo.
2876 * math/libm-test.inc (rint_test): Add a few more tests for round
2879 2001-01-28 Ulrich Drepper <drepper@redhat.com>
2881 * conform/data/pthread.h-data: Correct return type of pthread_exit.
2883 * conform/conformtest.pl: Add -fno-builtin to CFLAGS.
2885 * conform/data/stdlib.h-data: Add _Exit.
2887 * inet/arpa/inet.h: Don't include <sys/types.h>. Define socklen_t
2888 if not already happened.
2889 * inet/netinet/in.h: Don't include <sys/types.h>, use <bits/types.h>.
2890 Don't include <limits.h> and <bits/sockaddr.h>.
2892 * conform/data/netinet/in.h-data: Allow all of <inttypes.h>.
2894 * conform/data/spawn.h-data: Allow all of <sched.h>.
2896 * sysdeps/ia64/fpu/fraiseexcpt.c: Include <float.h>. Removed
2899 * sunrpc/xdr_rec.c (xdrrec_getpos): Add cast to long to avoid warning.
2900 * sunrpc/xdr_sizeof.c (x_inline): Likewise.
2902 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include <float.h>.
2904 * conform/conformtest.pl: Define $mustprepend{"stdio.h"}.
2905 * libio/stdio.h: Define va_list correctly.
2907 * conform/data/pthread.h-data: Make priority protocol related
2908 functions optional. Fix typos.
2910 * posix/sched.h: Define sched_priority as __sched_priority.
2911 * sysdeps/generic/bits/sched.h (struct sched_param): Rename element
2912 to __sched_priority.
2913 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
2915 2001-01-27 Ulrich Drepper <drepper@redhat.com>
2917 * sysdeps/generic/clock_getcpuclockid.c: Include <time.h> instead
2920 * sysdeps/unix/stime.c: Include <stddef.h> for NULL.
2921 * sysdeps/unix/time.c: Likewise.
2923 * conform/data/time.h-data: CLK_TCK is not in XPG6. Fix tzname entry.
2924 * sysdeps/mach/hurd/bits/time.h: Don't define CLK_TCK for XPG6.
2925 * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
2926 * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
2927 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
2928 * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
2929 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
2930 * time/time.h: Likewise.
2932 * conform/conformtest.pl (@headers): Add complex.h and tgmath.h.
2933 * conform/data/complex.h-data: New file.
2934 * conform/data/tgmath.h-data: New file.
2936 * conform/data/wchar.h-data: Add missing functions.
2938 * sysdeps/gnu/bits/utmpx.h: Define RUN_LVL only if __USE_GNU.
2940 * conform/data/termios.h-data: Add missing const in tcsetattr()
2943 * posix/sys/wait.h: Include <signal.h> and <sys/resource.h>.
2944 Don't define pid_t here.
2946 * conform/data/sys/utsname.h-data: Don't provide fixed array sizes.
2948 * conform/data/sys/time.h-data: Allow sys/select.h.
2949 * conform/data/sys/un.h-data: Fix typo.
2950 * time/sys/time.h: Don't include all of <time.h>, just struct timeval.
2951 * sysdeps/posix/clock_getres.c: Include <time.h> instead of
2953 * sysdeps/unix/clock_nanosleep.c: Likewise.
2954 * sysdeps/unix/i386/clock_getcpuclockid.c: Likewise.
2955 * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
2956 * sysdeps/unix/clock_gettime.c: Also include <time.h>.
2957 * sysdeps/unix/clock_settime.c: Likewise.
2959 * sysdeps/generic/pselect.c: Include <stddef.h> for NULL.
2960 * login/getutent.c: Likewise.
2961 * login/getutid.c: Likewise.
2962 * login/getutline.c: Likewise.
2964 * socket/sys/un.h: Define SUN_LEN only if __USE_MISC.
2966 * sysdeps/unix/sysv/linux/bits/statvfs.h: Change type of f_fsid field
2967 to unsigned long. Add __f_unused. Define _STATVFSBUF_F_UNUSED.
2968 * sysdeps/unix/sysv/linux/internal_statvfs.c: Adjust initialization of
2969 f_fsid field after change in struct statvfs.
2970 * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: New file.
2971 * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: New file.
2972 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: New file.
2974 * conform/data/sys/stat.h-data: Remove isfdtype. Use
2977 * conform/data/sys/socket.h-data: Fix typos. Correct getsockopt,
2978 recvfrom, send, and socketpair prototypes. Add allow lines.
2979 * socket/sys/socket.h: Include <sys/uio.h>.
2980 Don't use fancy __SOCKADDR_ARG definition unless __USE_GNU.
2981 Fix type of second parameter of listen.
2982 Don't declare isfdtype unless __USE_MISC.
2983 * sysdeps/generic/listen.c: Fix type of second parameter of listen.
2984 * sysdeps/mach/hurd/listen.c: Likewise.
2985 * sysdeps/generic/bits/socket.h (struct sockaddr_storage): Define
2986 ss_family and __ss_family.
2987 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
2988 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
2989 (struct msghdr): Change type of msg_iovlen to int and type of
2990 msg_controllen to socklen_t.
2991 * sysdeps/unix/sysv/linux/alpha/bits/socket.h: New file.
2992 * sysdeps/unix/sysv/linux/ia64/bits/socket.h: New file.
2993 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: New file.
2994 * inet/rcmd.c (rcmd_af): __ss_family is now ss_family.
2995 (rresvport_af): Likewise.
2997 * conform/data/sys/shm.h-data: SHMLBA is not required to by a constant.
2998 * conform/conformtest.pl: Implement handling of symbol.
3000 * signal/signal.h: Fix handling of __need_* symbols.
3001 * misc/sys/select.c: Define fd_set here. Remove __fd_set. Define
3002 fd_mask only if __USE_MISC. Declare pselect for __USE_XOPEN2K.
3003 * include/sys/select.h: Use fd_set not __fd_set.
3004 * sysdeps/generic/bits/select.h: Likewise.
3005 * sysdeps/i386/bits/select.h: Likewise.
3006 * sysdeps/generic/bits/types.h: Don't define __fd_mask, __NFDBITS,
3007 __FDELT, __FDMASK, and __fd_set here.
3008 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
3009 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
3010 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
3011 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
3012 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
3013 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
3014 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
3015 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
3016 * time/sys/time.h: Define struct timeval before including <time.h>
3019 * conform/data/sys/time.h-data: fd_set is a typedef.
3020 * conform/data/sys/select.h-data: New file.
3021 * conform/data/sys/mman.h-data: Make typed mem stuff optional.
3022 * conform/conformtest.pl (@headers): Add sys/select.h.
3023 (type, optional-type): Unless testing a typedef instantiate object.
3024 Implement optional-function.
3026 * math/test-misc.c: Include <float.h>.
3028 2001-01-27 Andreas Jaeger <aj@suse.de>
3030 * misc/efgcvt_r.c: Include <float.h>.
3032 2001-01-26 Ulrich Drepper <drepper@redhat.com>
3034 * conform/data/stdlib.h-data: Account for XPG6 changes.
3035 * stdlib/stdlib.h (__random): Change return value type to long.
3036 (posix_memalign): Cleanup parameter names.
3037 (setenv, unsetenv): Make available for __USE_XOPEN2K.
3038 Change return type of unsetenv to int.
3039 (qecvt, qgcvt, qfcvt): Declare only if __USE_MISC.
3040 * include/stdlib.h: Change return type of unsetenv to int.
3041 Change return type of random to long int.
3042 * sysdeps/generic/setenv.c (unsetenv): Change return type to int.
3043 Return -1 and set errno if parameter is invalid.
3044 * stdlib/random.c (__random): Change return value type to long.
3046 * conform/data/stdio.h-data: Account for changes in XPG6.
3048 * conform/data/spawn.h-data: Correct posix_spawnattr_setflags
3051 * conform/conformtest.pl: Define $mustprepend{"signal.h"}.
3052 * conform/data/signal.h-data: Fix sigev_notify_function entry.
3053 Fix typo (SIGVALRM -> SIGVTALRM).
3054 * sysdeps/unix/sysv/linux/bits/siginfo.h: Define sigev_notify_attr
3056 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
3057 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
3058 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
3059 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3060 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
3062 * conform/conformtest.pl: Implement optional-element. Define
3063 $mustprepend{"sched.h"}.
3064 * conform/data/sched.h-data: Make sporadic scheduler definitions
3067 * pwd/pwd.h: Don't define getpwent_r for XPG.
3069 * io/sys/poll.h: Define nfds_t and use it in poll prototype.
3070 * sysdeps/generic/poll.c: Use nfds_t type in function definition.
3071 * sysdeps/mach/hurd/poll.c: Likewise.
3072 * sysdeps/unix/bsd/poll.c: Likewise.
3073 * sysdeps/unix/sysv/linux/poll.c: Likewise.
3074 * sysdeps/unix/sysv/aix/poll.c: Likewise.
3075 * sysdeps/generic/bits/poll.h: Define NPOLLFILE only if __USE_MISC.
3076 * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
3077 * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
3078 * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
3079 * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
3080 * conform/data/poll.h-data: Fix typo in poll prototype.
3082 * sysdeps/gnu/netinet/tcp.h: Define everything but TCP_ macros
3084 * conform/data/netinet/tcp.h-data: Reserved prefix TCP_.
3086 * sysdeps/gnu/net/if.h: Cleanup namespace. Define IF_NAMESIZE.
3088 * inet/netinet/in.h: Make IPPROTO_ constants also macros.
3090 * conform/conformtest.pl: Implement optional-type.
3092 * resolv/netdb.h: Include <netinet/in.h> not <sys/socket.h>. Include
3093 <rpc/netdb.h> only if __USE_MISC. Include <stdint.h> instead of
3094 defining uint32_t here. Define IPPORT_RESERVED.
3095 (struct hostent): Type of h_length element is int.
3096 (getnameinfo): Type of flags parameter is unsigned int.
3097 * inet/getnameinfo.c (getnameinfo): flags argument is unsigned.
3098 * conform/data/netdb.h-data: Add many missing definitions.
3100 * conform/conformtest.pl: Implement optional-macro.
3101 * conform/data/math.h-data: Update for XPG6.
3103 * math/math.h (HUGE): Define as FLT_MAX value but don't use
3104 FLT_MAX. Don't include <float.h>.
3105 (MAXFLOAT): Likewise.
3107 * math/math.h: Define MATH_ERRNO and MATH_ERREXCEPT.
3109 * include/bits/xopen_lim.h: Don't define FOPEN_MAX here.
3111 * conform/data/limits.h-data: Mark constants as optional wherever
3114 * posix/bits/posix2_lim.h: Set correct values for
3115 _POSIX2_COLL_WEIGHTS_MAX and _POSIX2_CHARCLASS_NAME_MAX. Remove
3118 * posix/bits/posix1_lim.h: Define _POSIX_TZNAME_MAX as 6.
3121 * intl/loadmsgcat.c: Include <locale.h.> for _LIBC.
3123 * conform/data/netinet/in.h-data: Add reserved prefixes.
3125 * conform/data/arpa/inet.h-data: Fix a few typos.
3127 2001-01-26 Andreas Jaeger <aj@suse.de>
3129 * sysdeps/generic/strtol.c: Include <locale.h>
3130 * stdlib/strtod.c: Likewise
3131 * stdlib/strfmon.c: Likewise.
3132 * string/strcoll.c: Likewise.
3133 * string/strxfrm.c: Likewise.
3134 * wctype/wcfuncs_l.c: Likewise.
3135 * wctype/wctype_l.c: Likewise.
3136 * wctype/wctrans_l.c: Likewise.
3138 * include/bits/locale.h: New file.
3140 2001-01-26 Ulrich Drepper <drepper@redhat.com>
3142 * locale/langinfo.h: Correct logic in #ifs when defining YESSTR
3145 * locale/Makefile (headers): Add bits/locale.h.
3146 * locale/langinfo.h: Don't include <locale.h>. Include <bits/locale.h>
3147 and use __LC_ constants instead of LC_.
3148 * locale/locale.h: Include <bits/locale.h> and define LC_ constants
3149 using __LC_ constants.
3150 * locale/bits/locale.h: New file.
3151 * locale/loadlocale.c: Include <locale.h>.
3152 * locale/nl_langinfo.h: Likewise.
3154 * posix/glob.h: Cleanup namespace for non-_GNU_SOURCE case.
3156 * io/sys/stat.h: Define S_IFSOCK for XPG6.
3158 * conform/data/fcntl.h-data: posix_madvise is not expected here.
3160 * conform/conformtest.pl: Fix handling of macro-str.
3162 * conform/data/inttypes.h-data: Add missing definition and all of
3165 * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Bump to 20.
3167 2001-01-25 Ulrich Drepper <drepper@redhat.com>
3169 * conform/conformtest.pl (@headers): Add stdint.h.
3170 * conform/data/stdint.h-data: New file.
3172 * conform/conformtest.pl: Recognize options --headers and
3173 --dialect. Add dialect-specific CFLAGS.
3175 * conform/conformtest.pl: Implement handling of recursive
3178 * conform/data/locale.h-data: Add new struct lconv members.
3180 * posix/wordexp.h: Correct definition of wordexp_t.
3181 * posix/wordexp.c: Moved to ...
3182 * sysdeps/generic/wordexp.c: ...here. New file.
3183 * sysdeps/unix/sysv/linux/alpha/wordexp.c: New file.
3184 * sysdeps/unix/sysv/linux/ia64/wordexp.c: New file.
3185 * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: New file.
3186 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.2.2): Add
3188 * sysdeps/unix/sysv/linux/ia64/Versions: Likewise.
3189 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
3191 * math/tgmath.h: Pretty printing.
3193 * math/Makefile (tests): Add test-tgmath.
3194 (CFLAGS-test-tgmath.c): New variable.
3195 * math/test-tgmath.c: New file. Contributed by Jakub Jelinek.
3197 * conform/conformtest.pl: Handle allow-header in secondary headers
3200 * conform/data/fcntl.h-data: Mark symbols introduced in XPG6 with
3203 * conform/data/netinet/in.h-data: Use correct comment character.
3204 * conform/data/sys/stat.h-data: Likewise.
3206 2001-01-25 Jakub Jelinek <jakub@redhat.com>
3208 * math/tgmath.h (__TGMATH_BINARY_FIRST_REAL_ONLY,
3209 __TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY,
3210 __TGMATH_TERNARY_REAL_ONLY): Use proper arguments to
3211 __builtin_classify_type, add ##f suffixes where appropriate.
3212 (__TGMATH_UNARY_REAL_IMAG): Remove extraneous left parenthesis.
3213 (__TGMATH_BINARY_REAL_IMAG): Likewise, use proper arguments to
3214 __builtin_classify_type.
3215 (fma): Fix spelling of first argument.
3217 2001-01-25 Ulrich Drepper <drepper@redhat.com>
3219 * conform/data/unistd.h-data: Mark functions removed in XPG6
3222 * posix/unistd.h: Don't make functions removed in XPG6 available if
3225 * conform/conformtest.pl: Implement optional-constant.
3226 * conform/data/unistd.h-data: Use optional-constant wherever
3229 * sysdeps/generic/bits/confname.h: Correct names of _SC_PBS
3230 constants and add _SC_STREAMS.
3231 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
3233 * sysdeps/unix/sysv/linux/statvfs64.c: Rename to __statvfs64 and
3234 make old name weak alias.
3235 * sysdeps/generic/statvfs64.c: Likewise.
3236 * sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and
3237 make old name weak alias.
3238 * sysdeps/generic/fstatvfs64.c: Likewise.
3239 * include/sys/statvfs.h: New file.
3241 * sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE,
3242 _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and
3244 * sysdeps/posix/pathconf.c (__pathconf): Implement handling of
3245 _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
3246 _PC_REC_MIN_XFER_SIZE, and _PC_REC_XFER_ALIGN.
3247 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
3249 * conform/conformtest.pl: Run Unix tests for XPG6.
3250 Implement handling of known namespace violations.
3251 Improve printing of results.
3253 * posix/unistd.h (usleep): Correct return type.
3254 * sysdeps/unix/sysv/linux/usleep.c: Correct return type.
3255 * sysdeps/unix/bsd/usleep.c: Correct return type.
3256 * sysdeps/mach/usleep.c: Correct return type.
3257 * sysdeps/generic/usleep.c: Correct return type.
3259 * posix/unistd.h (sync): Correct return type.
3260 * sysdeps/generic/sync.c: Likewise.
3261 * sysdeps/mach/hurd/sync.c: Likewise.
3263 * sysdeps/generic/bits/confname.h (_SC_IOV_MAX): New definition.
3265 * posix/unistd.h: Make seteuid and setegid available for XPG6.
3267 * wcsmbs/wchar.h: Get FILE definition for XPG5.
3269 * conform/data/ctype.h-data: Use correct comment form.
3270 * conform/data/errno.h-data: Likewise.
3271 * conform/data/math.h-data: Likewise.
3272 * conform/data/mqueue.h-data: Likewise.
3273 * conform/data/netdb.h-data: Likewise.
3274 * conform/data/pthread.h-data: Likewise.
3276 2001-01-24 Ulrich Drepper <drepper@redhat.com>
3278 * conform/data/wordexp.h-data: Fix typo.
3280 * conform/conformtest.pl: Handle allow-header correctly.
3282 * conform/data/time.h-data: Use correct comment form.
3284 * conform/conformtest.pl (checknamespace): Ignore #undef lines.
3286 * configure.in: Comment out binutils version test.
3288 * stdlib/strtod.c (str_to_mpn): Correct parsing of thousands
3290 Reported by Lagardere Jean-Francois <LAGARDEREJ@thmulti.com>.
3292 * stdlib/tst-strtod.c (locale_test): New function.
3293 (main): Call locale_test.
3294 * stdlib/Makefile (tst-strtod-ENV): New variable.
3296 2001-01-24 Mark Kettenis <kettenis@gnu.org>
3298 * hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost
3299 declaration of value such that we actually return the value of the
3300 environment variable.
3302 2001-01-24 Andreas Jaeger <aj@suse.de>
3304 * sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl
3306 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
3308 * include/sys/sysctl.h: New file.
3310 2001-01-23 Andreas Jaeger <aj@suse.de>
3312 * stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to
3315 * elf/dl-load.c (_dl_init_paths): Don't use strdupa in function
3316 arguments. Reported by Jiri Kubicek <kubicek@bitsmart.com>,
3317 closes PR libc/2039.
3319 * manual/install.texi (Tools for Compilation): Change required
3322 2001-01-22 Andreas Jaeger <aj@suse.de>
3324 * configure.in: Add test for new enough binutils version, move
3325 compiler/binutils test up.
3327 * Versions.def: Add version GLIBC_2.2.2.
3329 2001-01-21 Ulrich Drepper <drepper@redhat.com>
3331 * iconvdata/TESTS: UTF-8 test data for IBM932 and IBM943 are now
3333 * iconvdata/testdata/IBM932: New file.
3334 * iconvdata/testdata/IBM932..UTF8: New file.
3335 * iconvdata/testdata/IBM943: New file.
3336 * iconvdata/testdata/IBM943..UTF8: New file.
3337 Contributed by Masahide Washizawa <washi@jp.ibm.com>.
3339 2001-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3341 * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset.
3343 2001-01-21 Ulrich Drepper <drepper@redhat.com>
3345 * malloc/malloc.c: Remove a few unnecessary initializers of global
3348 2000-12-09 H.J. Lu <hjl@gnu.org>
3350 * nss/Makefile (routines): Add digits_dots.
3351 * nss/Versions (libc): Add __nss_hostname_digits_dots to GLIBC_2.2.2.
3352 * nss/digits_dots.c (__nss_hostname_digits_dots): Turn template
3354 * nss/nsswitch.h (__nss_hostname_digits_dots): New internal NSS
3356 * nss/getXXbyYY.c (H_ERRNO_VAR_P): New definition.
3357 (TYPE_VAR_P): Likewise.
3358 (FLAGS_VAR): Likewise.
3359 (AF_VAR_P): Likewise.
3360 (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
3361 instead of including digits_dots.c.
3362 * nss/getXXbyYY_r.c (H_ERRNO_VAR_P): New definition.
3363 (TYPE_VAR_P): Likewise.
3364 (FLAGS_VAR): Likewise.
3365 (AF_VAR_P): Likewise.
3366 (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
3367 instead of including digits_dots.c.
3369 2001-01-21 Ulrich Drepper <drepper@redhat.com>
3371 * sysdeps/posix/getaddrinfo.c: Reduce .data size.
3373 2001-01-21 Andreas Jaeger <aj@suse.de>
3375 * elf/constload2.c: Add prototype for init.
3377 2001-01-21 Ulrich Drepper <drepper@redhat.com>
3379 * stdlib/stdlib.h (drand48_data): Make available only for
3380 __USE_MISC. Rename elements to protect namespace. Change type
3381 and position of a and init element.
3382 * stdlib/drand48-iter.c: Don't handle unsigned short > 16 bit
3383 differently. Adjust for drand48_data change. Don't compute a here,
3384 it comes from drand48_data.
3385 * stdlib/lcong48_r.c: Don't handle unsigned short > 16 bit
3386 differently. Adjust for drand48_data change. Compute a here.
3387 * stdlib/srand48_r.c: Likewise.
3388 * stdlib/drand48.c: Adjust for drand48_data change.
3389 * stdlib/lrand48.c: Likewise.
3390 * stdlib/mrand48.c: Likewise.
3391 * stdlib/seek48.c: Likewise.
3392 * stdlib/drand48_r.c: Likewise.
3393 * stdlib/lrand48_r.c: Likewise.
3394 * stdlib/mrand48_r.c: Likewise.
3395 * stdlib/seed48_r.c: Likewise. Don't handle unsigned short > 16 bit
3397 * stdlib/erand48_r.c: Don't handle unsigned short > 16 bit differently.
3398 * stdlib/jrand48_r.c: Likewise.
3400 * po/sv.po: Update from translation team.
3402 2001-01-21 Andreas Jaeger <aj@suse.de>
3404 * stdio-common/vfprintf.c (vfprintf): Add casts.
3406 2001-01-20 Ulrich Drepper <drepper@redhat.com>
3408 * iconvdata/run-iconv-test.sh: Reorgnize a bit to allow running only
3410 * iconvdata/TESTS: Add entries for IBM932 and IBM943.
3412 * iconvdata/Makefile (modules): Add IBM932 and IBM943.
3413 * iconvdata/gconv-modules: Add entries for IBM932 and IBM943.
3414 * iconvdata/ibm932.c: New file.
3415 * iconvdata/ibm932.h: New file.
3416 * iconvdata/ibm943.c: New file.
3417 * iconvdata/ibm943.h: New file.
3418 Patches by Masahide Washizawa <washi@jp.ibm.com>.
3420 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo
3421 preventing optimization from being done. Set the correct type bit
3422 in seen. Don't define and use _dl_base_addr unless
3423 NEED_DL_BASE_ADDR is defined.
3425 * io/ftw.c (ftw_dir): Add slash after directory name if there
3426 wasn't any. Reported by loris <loris@iol.it>.
3427 * io/Makefile (tests): Add bug-ftw2.
3428 * io/bug-ftw2.c: New file.
3430 2001-01-19 Ulrich Drepper <drepper@redhat.com>
3432 * stdlib/jrand48_r.c (__jrand48_r): Correct constructing of
3433 results. Reported by Jeff Higham <jhigham@algorithmics.com>.
3434 * stdlib/tst-rand48.c: New file.
3435 * stdlib/Makefile (tests): Add tst-rand48.
3437 * locale/newlocale.c (__newlocale): Fix test for setting all
3440 2001-01-19 Mark Kettenis <kettenis@gnu.org>
3442 * sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes,
3443 but change looking up the initial directory port in a similar way
3444 as done by _hurd_change_directory_port_from_name.
3445 * hurd/fchroot.c (fchroot): Likewise.
3447 2001-01-18 Ulrich Drepper <drepper@redhat.com>
3449 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If HAVE_AUX_XID is
3450 defined don't look whether the AT_*ID values were set.
3451 If HAVE_AUX_PAGESIZE is defined don't look whether the pagesize is set.
3452 (_dl_show_auxv): Rewrite to avoid switch statement.
3453 * sysdeps/unix/sysv/linux/kernel-features.h: Define
3454 __ASSUME_AT_PAGESIZE for kernel >= 2.4.1.
3455 * sysdeps/unix/sysv/linux/ldsodefs.h: Define HAVE_AUX_XID.
3456 Define HAVE_AUX_PAGESIZE if __ASSUME_AT_PAGESIZE is defined.
3458 * sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect.
3459 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
3460 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
3462 * elf/rtld.c (process_envvars): Call __strtoul_internal instead of
3464 * elf/dl-minimal.c (strtol, __strtol_internal, strtoul): Removed.
3465 (__sigjmp_save): Set __mask_was_saved to zero since we don't save
3467 * dlfcn/eval.c (__strtol_internal): Define here.
3468 (eval): Use __strtol_internal instead of strtol.
3470 * elf/elf.h: Add a few more EF_MIPS_* constants.
3472 2001-01-17 Ulrich Drepper <drepper@redhat.com>
3474 * manual/Makefile (chapters): Add debug.
3475 * manual/debug.texi: New file.
3476 * manual/examples/execinfo.c: New file.
3477 Patch by suckfish@ihug.co.nz.
3479 2001-01-17 Andreas Schwab <schwab@suse.de>
3481 * sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid
3484 2001-01-17 Andreas Jaeger <aj@suse.de>
3486 * nscd/connections.c (nscd_run): Use proper format specifier.
3488 2001-01-16 Ulrich Drepper <drepper@redhat.com>
3490 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Move x86_cap_flags and
3491 x86_platforms data into new file after prepending _dl_. Change
3493 * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: New file.
3494 * sysdeps/unix/sysv/linux/i386/Dist: Add dl-procinfo.c.
3495 * sysdeps/unix/sysv/linux/i386/Makefile: Add rules to build
3498 * setjmp/setjmp.h: Cleanup definition of setjmp macro.
3500 * sysdeps/i386/elf/bsd-setjmp.S: Real implementation.
3501 * sysdeps/i386/elf/bsd-_setjmp.S: Removed.
3502 * sysdeps/i386/elf/setjmp.S (setjmp): Removed here.
3503 (_setjmp): Likewise.
3504 * sysdeps/i386/bsd-_setjmp.S: Real implementation.
3505 * sysdeps/i386/bsd-setjmp.S: Real implementation.
3506 * sysdeps/i386/bits/setjmp.h: Remove PUSH_SIGNAL_MASK definition.
3507 * sysdeps/i386/setjmp.S: Remove PIC support. This is the non-ELF
3510 2001-01-16 Andreas Jaeger <aj@suse.de>
3512 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix
3513 misapplied last patch.
3515 2001-01-15 Ulrich Drepper <drepper@redhat.com>
3517 * stdlib/random.c (__initstate): Clean up a cast.
3518 (__setstate): Likewise.
3520 * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove select
3521 syscall handling. The generic Linux version should work.
3523 2001-01-15 Andreas Jaeger <aj@suse.de>
3525 * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
3527 * stdio-common/tstscanf.c (main): Add two testcases for '*' modifier.
3529 2001-01-14 Jakub Jelinek <jakub@redhat.com>
3531 * nss/getent.c (print_aliases, aliases_keys, ethers_keys,
3532 netgroup_keys, print_rpc, rpc_keys, print_shadow, shadow_keys):
3534 (group_keys, hosts_keys, network_keys, passwd_keys, protocols_keys):
3535 If number is 0, list all.
3536 (services_keys): Likewise. Lookup aliases as well.
3537 (databases): New table.
3538 (build_doc): Prepare argp doc text with list of supported databases.
3539 (main): Change to table driven processing.
3541 2001-01-14 Thorsten Kukuk <kukuk@suse.de>
3543 * sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about these
3546 2001-01-03 Jakub Jelinek <jakub@redhat.com>
3548 * sunrpc/xdr.c (xdr_long, xdr_u_long): Return FALSE if trying to
3549 encode value which does not fit in the 32bit type.
3551 2001-01-15 Hiroyuki Machida <machida@sm.sony.co.jp>
3553 * sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
3554 Change type of CTX to (struct sigcontext *).
3555 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise.
3556 (GET_FRAME): Likewise.
3557 (GET_STACK): Likewise.
3558 (SIGCONTEXT): Likewise. Add 2nd arg _code.
3559 (SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.
3561 2001-01-13 Ulrich Drepper <drepper@redhat.com>
3563 * manual/texinfo.tex: Update from upstream version.
3565 2001-01-13 Jakub Jelinek <jakub@redhat.com>
3567 * inet/ether_ntoh.c (lookup_function): Change arguments to match
3568 _nss_*_getntohost_r prototype.
3569 (ether_ntohost): Pass errno pointer to NSS function.
3571 2001-01-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3573 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value.
3574 (MAP_LOCKED): New definition.
3575 (MAP_NORESERVE): New definition.
3577 2001-01-12 Ulrich Drepper <drepper@redhat.com>
3579 * assert/assert.h: Use static_cast instead of C-style cast for C++.
3580 Patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>.
3582 2001-01-12 Ben Collins <bcollins@debian.org>
3584 * sysdeps/generic/segfault.c (install_handler): Use access, not
3587 2001-01-12 Andreas Jaeger <aj@suse.de>
3589 * posix/fnmatch_loop.c (FCT): Remove signed warnings.
3590 * posix/wordexp.c (do_parse_glob): Likewise.
3591 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
3592 * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
3593 * elf/dl-open.c (_dl_open): Likewise.
3594 * elf/dl-close.c (_dl_close): Likewise.
3595 * elf/dl-load.c (_dl_map_object): Likewise.
3596 * iconv/iconv_prog.c (process_fd): Likewise.
3597 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
3599 * locale/localeinfo.h (struct locale_data): Use __flexarr instead
3600 of a zero-length array.
3602 2001-01-11 Jakub Jelinek <jakub@redhat.com>
3604 * stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func.
3605 * stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument.
3606 * stdlib/cxa_on_exit.c: Remove.
3607 * stdlib/Makefile: Revert last patch.
3608 * stdlib/Versions: Likewise.
3609 * include/stdlib.h: Likewise.
3610 * stdlib/exit.h: Revert last patch.
3611 (struct exit_function): Add second argument to cxa fn.
3612 * stdlib/exit.c: Revert last patch.
3613 (exit): Add hidden second argument.
3615 2001-01-11 H.J. Lu <hjl@gnu.org>
3617 * elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ...
3618 * elf/dl-open.c (_dl_open): Here.
3619 * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock):
3621 (_dl_static_init): Initialize the variables every time when possible.
3622 * sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT):
3625 2001-01-11 Ulrich Drepper <drepper@redhat.com>
3627 * stdlib/Makefile (routines): Add cxa_on_exit.
3628 * stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit.
3629 * stdlib/cxa_on_exit.c: New file.
3630 * include/stdlib.h: Add prototype for __cxa_on_exit.
3631 * stdlib/exit.c: Handle ef_cxa2.
3632 * stdlib/exit.h (enum): Add ef_cxa2.
3633 (struct exit_function): Add cxa2.
3635 * Versions.def [ld]: Add GLIBC_2.2.1.
3637 2001-01-10 H.J. Lu <hjl@gnu.org>
3639 * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries.
3640 * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add
3642 * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init.
3643 * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined.
3644 * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file.
3645 * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file.
3646 * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
3648 2001-01-11 Ulrich Drepper <drepper@redhat.com>
3650 * libio/stdio.h: Remove definition of off_t.
3652 2001-01-11 Andreas Jaeger <aj@suse.de>
3654 * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
3657 2001-01-10 Ulrich Drepper <drepper@redhat.com>
3659 * sunrpc/Makefile (distribute): Add errqueue.h.
3661 2001-01-10 H.J. Lu <hjl@gnu.org>
3663 * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve
3664 r9, r10 and r11 for language specific registers.
3666 2001-01-10 Jakub Jelinek <jakub@redhat.com>
3668 * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the
3670 (clntudp_call): Handle MSG_ERRQUEUE.
3671 * sysdeps/generic/errqueue.h: New file.
3672 * sysdeps/unix/sysv/linux/errqueue.h: New file.
3674 2001-01-10 H.J. Lu <hjl@gnu.org>
3676 * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
3678 2001-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
3680 * CONFORMANCE: Update.
3682 2001-01-09 Ulrich Drepper <drepper@redhat.com>
3684 * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
3685 Minimal cleanups. Add assert to ensure memory handling is correct.
3687 * manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value.
3688 Reported by Ben Collins <bcollins@debian.org>.
3690 * time/strftime.c (my_strftime): Mark previous GNU extensions
3691 which are now in C99 as such.
3693 2001-01-08 Ulrich Drepper <drepper@redhat.com>
3695 * elf/rtld.c (process_envvars): Place output files for profiling
3696 in SUID binaries in /var/profile.
3698 * elf/dl-load.c (_dl_map_object): Don't look in cache for
3699 preloading in SUID binaries.
3701 * elf/dl-profile.c (_dl_start_profile): Open the output file with
3702 O_NOFOLLOW if possible.
3704 * include/stdlib.h: Add __posix_openpt declaration.
3705 * stdlib/stdlib.h: Add posix_openpt declaration.
3706 * login/Versions: Add posix_openpt for GLIBC_2.2.1.
3707 * sysdeps/generic/getpt.c: Define posix_openpt.
3708 * sysdeps/unix/bsd/getpt.c: Likewise.
3709 * sysdeps/unix/sysv/linux/getpt.c: Likewise.
3711 * time/Makefile (tests): Add tst-mktime.
3712 * time/tst-mktime.c: New file.
3714 * posix/tst-dir.c (main): One more mkdir() test.
3716 * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
3717 Remove getpagesize syscall. We assume that the pagesize is always
3718 determined from the auxiliary vector.
3720 * intl/dcigettext.c: Fix a few warnings.
3721 Patch by Bruno Haible <haible@ilog.fr>.
3723 2001-01-08 Andreas Jaeger <aj@suse.de>
3725 * io/test-lfs.c (do_test): Check lseek64 return for EINVAL.
3726 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
3728 2001-01-08 Ulrich Drepper <drepper@redhat.com>
3730 * sysdeps/generic/segfault.c (install_handler): Check output file
3733 * resolv/res_query.c: Use simply getenv() for HOSTALIASES.
3734 * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
3736 * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
3738 * malloc/memusage.c (me): Use access() to determine whether we
3739 should write the output file or not.
3741 * libio/bits/stdio.h (printf): Define macro to map printf call to
3742 fprintf which gcc can optimize.
3743 * stdio-common/printf.c: Undefine printf.
3745 2001-01-07 Ulrich Drepper <drepper@redhat.com>
3747 * sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last
3748 patch. We must use unsigned int for l member of union.
3750 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call
3751 _dl_aux_init for shared libraries.
3753 * sysdeps/unix/sysv/linux/glob64.c: Moved to ...
3754 * sysdeps/gnu/glob64.c: ...here. New file.
3756 2001-01-07 Ben Collins <bcollins@debian.org>
3758 * manual/examples/longopt.c: Make the "struct option" a little
3759 more like it should be, adding usage of required_argument,
3760 noargument and such, and also setting the options string right.
3762 * manual/sysinfo.texi (Load Average): New section, documents
3765 2001-01-06 Ulrich Drepper <drepper@redhat.com>
3767 * version.h (VERSION): Bump to 2.2.1.
3769 * sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
3770 * sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S.
3771 * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S.
3772 * dlfcn/Makefile (distribute): Add errmsg1mod.c.
3773 * Makefile (distribute): Add include/libc-internal.h.
3774 * libio/Makefile (distribute): Avoid overwriting.
3776 * iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in
3777 buffer and table handling.
3779 2001-01-05 H.J. Lu <hjl@gnu.org>
3781 * elf/dl-support.c (non_dynamic_init): Move the auxiliary
3782 vector checking to ...
3783 (_dl_aux_init): Here. New function. Defined only if
3784 HAVE_AUX_VECTOR is defined.
3786 * sysdeps/generic/libc-start.c (__libc_start_main): Call
3787 _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined.
3789 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call
3792 * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed.
3793 (HAVE_AUX_VECTOR): Defined.
3794 (_dl_aux_init): Declared.
3796 2001-01-05 Ben Collins <bcollins@debian.org>
3798 * manual/string.texi (Finding Tokens in a String): Document XPG
3799 basename() and dirname(), as well as GNU basename().
3801 2001-01-05 Jakub Jelinek <jakub@redhat.com>
3803 * Makeconfig (preprocess-version): Replace -traditional with
3804 -x assembler-with-cpp.
3806 2001-01-05 Joseph S. Myers <jsm28@cam.ac.uk>
3808 * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj
3809 for GCC 2.97 or later.
3811 2001-01-05 Ben Collins <bcollins@debian.org>
3813 * manual/stdio.texi (getline): Clarify the return value in the
3814 case of EOF being reached before a newline.
3816 2001-01-04 Jakub Jelinek <jakub@redhat.com>
3818 * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful,
3820 (pmap_set, pmap_unset): Check __get_myaddress return value.
3822 2001-01-05 Mark Kettenis <kettenis@gnu.org>
3824 * sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>.
3825 (struct ether_addr): Declare ether_addr_octet member as
3826 `u_int8_t'. Add __attribute__ ((__packed__)).
3828 2001-01-06 Mark Kettenis <kettenis@gnu.org>
3830 * sysdeps/mach/hurd/readdir64.c: New file.
3831 * sysdeps/mach/hurd/readdir64_r.c: New file.
3833 2001-01-07 Mark Kettenis <kettenis@gnu.org>
3835 * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about
3836 `struct statfs' and `struct statvfs' being identical.
3837 * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
3839 2001-01-06 Mark Kettenis <kettenis@gnu.org>
3841 * sysdeps/mach/hurd/fstatfs64.c: New file.
3842 * sysdeps/mach/hurd/fstatvfs64.c: New file.
3843 * sysdeps/mach/hurd/statfs64.c: New file.
3844 * sysdeps/mach/hurd/statvfs64.c: New file.
3845 * sysdeps/mach/hurd/statfsconv.c: New file.
3846 * sysdeps/mach/hurd/Dist: Add statfsconv.c.
3848 2001-01-06 Ulrich Drepper <drepper@redhat.com>
3850 * iconv/skeleton.c: Reset outbuf for next round of the loop.
3851 Reported by Owen Taylor <otaylor@redhat.com>.
3852 * iconv/Makefile (tests): Add tst-iconv3.
3853 * iconv/tst-iconv3.c: New file.
3855 * iconvdata/ibm930.c: Fix handling of state. Optimize a bit.
3856 * iconvdata/ibm933.c: Likewise.
3857 * iconvdata/ibm935.c: Likewise.
3858 * iconvdata/ibm937.c: Likewise.
3859 * iconvdata/ibm939.c: Likewise.
3860 * iconvdata/ibm930.h: Adjust single byte table for optimization.
3861 * iconvdata/ibm933.h: Likewise.
3862 * iconvdata/ibm935.h: Likewise.
3863 * iconvdata/ibm939.h: Likewise.
3865 * iconvdata/testdata/IBM930: Add misssing SI.
3866 * iconvdata/testdata/IBM933: Likewise.
3867 * iconvdata/testdata/IBM935: Likewise.
3868 * iconvdata/testdata/IBM937: Likewise.
3869 * iconvdata/testdata/IBM939: Likewise.
3871 2001-01-06 Andreas Jaeger <aj@suse.de>
3873 * configure.in: Check for old add-ons that shouldn't be used with
3874 current glibc anymore.
3876 2001-01-06 Mark Kettenis <kettenis@gnu.org>
3878 * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number
3879 instead of -1 on failure. Don't forget to copy file name into
3880 *ENTRY if successful. Set *RESULT to NULL upon reaching the end
3883 2001-01-06 Mark Kettenis <kettenis@gnu.org>
3885 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
3886 copy st_atime member.
3888 2001-01-05 Ulrich Drepper <drepper@redhat.com>
3890 * io/ftw.c (ftw_dir): Don't add a second slash at the beginning
3891 for searches from the root directory.
3892 Reported by loris <loris@iol.it> [PR libc/1991].
3893 * io/Makefile (tests): Add bug-ftw1.
3894 * io/bug-ftw1.c: New file.
3896 * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
3897 if it is not available. Instead use it only if it is available.
3898 * sysdeps/unix/sysv/linux/ldsodefs.h: New file.
3900 * iconv/gconv_simple.c (internal_ics4_loop): Correct test for
3901 overflowing output buffer.
3902 (internal_ucs4_loop_unaligned): Likewise.
3903 (ucs4_internal_loop): Likewise.
3904 (ucs4_internal_loop_unaligned): Likewise.
3905 (internal_ucs4le_loop): Likewise.
3906 (internal_ucs4le_loop_unaligned): Likewise.
3907 (ucs4le_internal_loop): Likewise.
3908 (ucs4le_internal_loop_unaligned): Likewise.
3909 Reported by Owen Taylor <otaylor@redhat.com>.
3910 * iconv/Makefile (tests): Add tst-iconv2.
3911 * iconv/tst-iconv2.c: New file.
3913 2001-01-04 H.J. Lu <hjl@gnu.org>
3915 * elf/dl-support.c (DL_FIND_AUXV): New. Defined if not defined.
3916 (_dl_clktck): Declared.
3917 (non_dynamic_init): Take 3 arguments.
3918 Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.
3920 2001-01-01 Bruno Haible <haible@clisp.cons.org>
3922 Finish implementation of plural form handling.
3923 * intl/dcigettext.c (known_translation_t): Rename 'domain' field to
3924 'domainname'. Remove 'plindex' field. Add 'domain' and
3925 'translation_length' fields.
3926 (transcmp): Don't compare 'plindex' fields.
3927 (plural_lookup): New function.
3928 (DCIGETTEXT): Change cache handing in the plural case. Don't call
3929 plural_eval before the translation and its catalog file have been
3930 found. Remove plindex from cache key. Add 'translation_length' and
3931 'domain' to cache result.
3932 (_nl_find_msg): Remove index argument, return length of translation
3933 to the caller instead. Weaken comparison of string lengths, to account
3934 for plural entries. Call iconv() on the entire result string, not
3935 only on the portion needed so far.
3936 * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
3938 * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
3940 2001-01-04 Ulrich Drepper <drepper@redhat.com>
3942 * intl/plural.y (yylex): Minimal improvement in number scanner.
3944 2000-07-31 Bruno Haible <haible@clisp.cons.org>
3946 * intl/plural.y: Include config.h. Needed to define 'inline' away for
3947 C compilers that don't support it.
3948 (yylex): Don't use gcc specific case range syntax.
3949 * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
3952 2000-10-12 Bruno Haible <haible@clisp.cons.org>
3954 * intl/finddomain.c: Remove unneeded includes.
3956 2000-10-12 Bruno Haible <haible@clisp.cons.org>
3958 * intl/localealias.c (memcpy): Return first argument, just like the
3959 real memcpy function does.
3960 * intl/bindtextdom.c (memcpy): Likewise.
3961 * intl/finddomain.c (memcpy): Likewise.
3962 * intl/l10nflist.c (memcpy): Likewise.
3963 * intl/textdomain.c (memcpy): Likewise.
3964 From Paul Eggert <eggert@twinsun.com>.
3966 2001-01-03 Jakub Jelinek <jakub@redhat.com>
3968 * resolv/resolv.h (struct __res_state): Add nsinit field.
3969 * resolv/res_send.c (res_nsend): Use it instead of nscount.
3970 * resolv/res_init.c (__res_vinit): Initialize it.
3971 (res_nclose): Clear it instead of nscount.
3973 2001-01-04 Ulrich Drepper <drepper@redhat.com>
3975 * malloc/mtrace.pl: Fix matching of addresses.
3976 Patch by Aharon Robbins <arnold@skeeve.com>.
3978 * Versions.def (ld): Add GLIBC_2.2.
3980 * catgets/gencat.c: Copyright 2001.
3981 * csu/version.c: Likewise.
3982 * debug/catchsegv.sh: Likewise.
3983 * debug/xtrace.sh: Likewise.
3984 * elf/ldconfig.c: Likewise.
3985 * elf/sprof.c: Likewise.
3986 * iconv/iconv_prog.c: Likewise.
3987 * locale/locale.c: Likewise.
3988 * locale/localedef.c: Likewise.
3989 * malloc/memusage.sh: Likewise.
3990 * malloc/mtrace.pl: Likewise.
3991 * nscd/nscd.c: Likewise.
3992 * posix/getconf.c: Likewise.
3994 2001-01-04 Mark Kettenis <kettenis@gnu.org>
3996 * include/stdio.h: Only provide __getwc_unlocked prototype if
3997 USE_IN_LIBIO is defined.
3999 2001-01-04 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4001 * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code
4004 2001-01-03 Andreas Schwab <schwab@suse.de>
4006 * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias.
4007 * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias.
4009 * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias.
4010 * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix
4012 * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias.
4013 * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix
4016 * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this
4018 * sysdeps/generic/strtol_l.c: Likewise.
4019 * sysdeps/generic/strtoul_l.c: Likewise.
4020 * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c.
4022 * sysdeps/wordsize-64/strtol_l.c: Fix alias.
4023 * sysdeps/wordsize-64/strtoul_l.c: Likewise.
4024 * sysdeps/wordsize-64/wcstol_l.c: Fix alias.
4025 * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
4027 2001-01-04 Andreas Jaeger <aj@suse.de>
4029 * nss/nsswitch.c: Include files for missing prototypes, remove
4030 buggy declaration of prototypes.
4032 2001-01-03 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4034 * resolv/Versions: Fix bracing.
4035 * sysdeps/powerpc/soft-fp/Versions: Likewise.
4036 * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
4038 2001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4040 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
4042 2001-01-02 Ulrich Drepper <drepper@redhat.com>
4044 * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
4045 Suggested by Minko Markov <mmarkov@home.com>.
4047 2001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4049 * sysdeps/powerpc/elf/start.S (__data_start): Make it global.
4050 * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
4052 (__process_machine_rela): Pass symbol to dl_reloc_overflow().
4054 2001-01-02 Ben Collins <bcollins@debian.org>
4056 * time/tzset.c (tzset_internal): Make sure we fall back to UTC
4057 if TZ is not set and TZDEFAULT is not present.
4059 2001-01-01 Ben Collins <bcollins@debian.org>
4061 * string/strings.h: Make sure we declare our functions even if
4062 string.h is already included, based on whether or not __USE_BSD is
4065 2001-01-02 Ulrich Drepper <drepper@redhat.com>
4067 * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
4068 other dlopen() and dlsym().
4069 Based on a patch by Ben Collins <bcollins@debian.org>.
4071 2001-01-02 Andreas Jaeger <aj@suse.de>
4073 * dlfcn/errmsg1.c (main): Call dlerror initially.
4074 Reported by Ben Collins <bcollins@debian.org>.
4076 2001-01-02 Ulrich Drepper <drepper@redhat.com>
4078 * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
4079 value is ignored if the selected locale is the C locale.
4080 * intl/tst-gettext.c: Set locale for above change.
4081 * intl/tst-translit.c: Likewise.
4083 2001-01-02 Andreas Jaeger <aj@suse.de>
4085 * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
4086 (_IO_switch_to_wget_mode): Likewise.
4087 (_IO_sputbackwc): Likewise.
4088 (_IO_sungetwc): Use wint_t for result.
4090 * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done.
4092 * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct
4095 * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked
4096 to (int) to avoid warnings.
4097 * stdio-common/printf_fp.c (putc): Likewise.
4098 * stdio-common/printf_size.c (putc): Likewise.
4100 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make
4103 2001-01-01 Andreas Jaeger <aj@suse.de>
4105 * inet/rcmd.c (rcmd_af): Use socklen_t for len.
4107 2000-12-31 Andreas Jaeger <aj@suse.de>
4109 * include/libc-internal.h: Add prototype for __libc_freeres.
4111 * sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
4112 for prototypes, remove redundant prototypes.
4113 * gmon/gmon.c: Likewise.
4114 * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
4115 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
4116 * malloc/mtrace.c: Likewise.
4118 * sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
4120 * elf/soinit.c: Likewise.
4121 * sysdeps/generic/prof-freq.c: Likewise.
4122 * sysdeps/mach/hurd/profil.c: Likewise.
4123 * debug/noophooks.c: Likewise.
4124 * debug/pcprofile.c: Likewise.
4125 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
4126 * sysdeps/generic/get_clockfreq.c: Likewise.
4127 * malloc/set-freeres.c: Likewise.
4129 * locale/localeinfo.h: Add internal prototypes.
4131 * elf/rtld.c (dl_main): Fix prototype.
4133 * iconvdata/tst-table-to.c (main): Use return instead of exit to
4136 * nis/rpcsvc/yp_prot.h: Remove __P.
4137 * nis/rpcsvc/ypupd.h: Likewise.
4138 * nis/rpcsvc/yp.h: Likewise.
4140 * sunrpc/rpc_main.c: Add noreturn attributes.
4141 * sunrpc/rpc_scan.h: Likewise.
4143 * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.
4145 * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.
4147 * sunrpc/proto.h: Add noreturn attributes to error and crash.
4149 * posix/bsd-getpgrp.c: Add prototype to avoid warning.
4151 * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.
4153 * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.
4155 * include/rpc/rpc_msg.h: Add prototypes for some functions.
4156 * include/rpc/auth.h: Likewise.
4157 * include/rpc/auth_des.h: Likewise.
4158 * include/rpc/clnt.h: Likewise.
4159 * include/rpc/rpc.h: Likewise.
4160 * include/rpc/svc.h: Likewise.
4161 * include/rpc/svc_auth.h: Likewise.
4163 * include/rpc/des_crypt.h: New file.
4165 * malloc/memusagestat.c (main): Use return instead of exit to
4167 * io/pwd.c (main): Likewise.
4168 * iconvdata/tst-table-from.c (main): Likewise.
4169 * ctype/test_ctype.c (main): Likewise.
4170 * setjmp/tst-setjmp.c (main): Likewise.
4171 * signal/tst-signal.c (main): Likewise.
4172 * stdlib/tst-strtol.c (main): Likewise.
4173 * stdlib/tst-strtod.c (main): Likewise.
4174 * stdlib/tst-strtoll.c (main): Likewise.
4175 * stdlib/tst-xpg-basename.c (main): Likewise.
4176 * dirent/tst-seekdir.c (main): Likewise.
4177 * grp/testgrp.c (main): Likewise.
4178 * inet/test_ifindex.c (main): Likewise.
4179 * io/test-utime.c (main): Likewise.
4180 * posix/test-vfork.c (main): Likewise.
4181 * posix/testfnm.c (main): Likewise.
4182 * stdio-common/temptest.c (main): Likewise.
4183 * stdio-common/test_rdwr.c (main): Likewise.
4184 * stdio-common/tst-fileno.c (main): Likewise.
4185 * stdio-common/tst-sscanf.c (main): Likewise.
4186 * stdio-common/tstscanf.c (main): Likewise.
4187 * string/bug-strncat1.c (main): Likewise.
4188 * string/bug-strpbrk1.c (main): Likewise.
4189 * string/bug-strspn1.c (main): Likewise.
4190 * string/test-ffs.c (main): Likewise.
4191 * string/tst-inlcall.c (main): Likewise.
4192 * string/tst-svc.c (main): Likewise.
4193 * timezone/test-tz.c (main): Likewise.
4194 * wctype/test_wcfuncs.c (main): Likewise.
4195 * wctype/test_wctype.c (main): Likewise.
4197 * stdlib/tst-random.c: Add attribute noreturn to fail.
4199 2000-12-28 Wolfram Gloger <wg@malloc.de>
4201 * malloc/malloc.c (MALLOC_COPY): Handle case if source and
4202 destination overlap. Assume dest is always below source if
4205 2000-12-30 Ulrich Drepper <drepper@redhat.com>
4207 * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
4208 object was not yet initialized.
4210 2000-12-28 H.J. Lu <hjl@gnu.org>
4212 * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
4213 is always consistent even if its dependency is failed.
4215 * elf/dl-open.c (_dl_open): Increment the open count before
4216 calling _dl_close () in case of failure.
4218 * elf/neededtest4.c: New file.
4219 * elf/neededobj5.c: New file.
4220 * elf/neededobj6.c: New file.
4222 * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
4223 (tests): Add neededtest4.
4224 (modules-names): Add neededobj5 and neededobj6.
4225 ($(objpfx)neededobj6.so): New target.
4226 ($(objpfx)neededtest4): New target.
4227 ($(objpfx)neededtest4.out): New target.
4229 2000-12-28 Joseph S. Myers <jsm28@cam.ac.uk>
4231 * misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
4232 * stdlib/monetary.h: Add strfmon format attributes.
4234 2000-12-28 Roland McGrath <roland@frob.com>
4236 * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
4237 __mempcpy does it for us.
4239 2000-12-28 Andreas Jaeger <aj@suse.de>
4241 * sysdeps/generic/dl-environ.c: Add prototype for unsetenv.
4243 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
4246 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
4249 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
4252 * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
4253 __chown_is_lchown and __real_chown.
4255 * sysdeps/generic/ldsodefs.h: Add noreturn attribute to
4258 * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
4259 up GCC's warning about "deprecated use of label at end of compound
4261 * sunrpc/rpc_cout.c (emit_inline): Likewise.
4263 * gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
4265 Remove struct bb and __bb_head since those are declared by
4268 2000-12-22 Ben Collins <bcollins@debian.org>
4270 * manual/charset.texi: Fix typo in description of WCHAR_MAX.
4272 * manual/argp.texi: Document argp_domain as part of struct argp.
4274 2000-12-28 Andreas Jaeger <aj@suse.de>
4276 * catgets/Makefile (generated): Add sample.SJIS.cat.
4278 * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
4280 * elf/dl-minimal.c: Add prototypes.
4282 * include/locale.h: Add internal prototypes.
4283 * include/sys/gmon.h: Likewise.
4285 * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
4287 2000-12-27 Ben Collins <bcollins@debian.org>
4289 * elf/dl-open.c (_dl_open): Correctly set the new objname pointer
4290 when reallocating the error strings.
4291 Reported by Kalle Olavi Niemitalo <kon@iki.fi>
4293 2000-12-27 Ulrich Drepper <drepper@redhat.com>
4295 * dlfcn/Makefile (tests): Add errmsg1.
4296 (modules-names): Add errmsg1mod.
4297 Add rules to run errmsg1.
4298 * dlfcn/errmsg1.c: New file.
4299 * dlfcn/errmsg1mod.c: New file.
4301 * dlfcn/dlerror.c (dlerror): Always create output string which
4302 includes object file name.
4304 * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
4305 if we would go through it only once.
4306 Patch by Rick Gorton <rick.gorton@api-networks.com>.
4308 * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
4309 Patch by Richard Henderson <rth@redhat.com>.
4311 2000-12-27 Jakub Jelinek <jakub@redhat.com>
4313 * malloc/malloc.c (memmove): Add prototypes.
4314 (MALLOC_MEMMOVE): Define.
4315 (chunk_realloc): Use it instead of MALLOC_COPY if source and
4316 destination might overlap.
4318 2000-12-27 Andreas Jaeger <aj@suse.de>
4320 * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
4322 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
4323 * locale/programs/locale.c (show_locale_vars): Likewise.
4324 (show_info): Likewise.
4325 * locale/programs/ld-collate.c (collate_output): Likewise.
4326 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
4327 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
4328 * stdlib/rpmatch.c (rpmatch): Likewise.
4330 * setjmp/tst-setjmp.c: Make local functions static.
4331 * setjmp/jmpbug.c: Likewise.
4332 * signal/tst-signal.c: Likewise.
4333 * stdio-common/tfformat.c: Likewise.
4334 * string/tst-svc.c: Likewise.
4335 * time/clocktest.c: Likewise.
4336 * time/tst-getdate.c: Likewise.
4337 * dirent/list.c: Likewise.
4338 * dirent/opendir-tst1.c: Likewise.
4339 * posix/runtests.c: Likewise.
4340 * posix/tst-getaddrinfo.c: Likewise.
4341 * posix/tst-chmod.c: Likewise.
4342 * posix/wordexp-test.c: Likewise.
4343 * misc/tst-efgcvt.c: Likewise.
4344 * timezone/tst-timezone.c: Likewise.
4345 * rt/tst-clock.c: Likewise.
4346 * rt/tst-shm.c: Likewise.
4347 * rt/tst-aio2.c: Likewise.
4348 * rt/tst-aio3.c: Likewise.
4349 * rt/tst-aio4.c: Likewise.
4350 * rt/tst-aio5.c: Likewise.
4352 * dlfcn/failtest.c: Add prototype for foo.
4354 * dlfcn/glrefmain.c: Add prototype for do_test.
4356 * dlfcn/tst-dladdr.c: Add prototype for do_test.
4358 * string/test-ffs.c (main): Add prototype for nested function.
4360 * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
4362 * nss/XXX-lookup.c: Add prototype to shut up GCC.
4364 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
4365 setetherent prototype.
4366 Add internal interfaces.
4368 * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
4369 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
4371 * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
4373 * nis/nis_intern.h: Add prototype for __pmap_getnisport.
4375 * nss/nss_files/files-ethers.c: Include netinet/ether.h to get
4376 prototypes, remove struct etherent since it's declared in ether.h.
4377 Fix ntohost declaration.
4379 * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
4381 * include/getopt.h: Add internal interfaces.
4382 * include/termios.h: Likewise.
4383 * include/resolv.h: Likewise.
4384 * include/netdb.h: Likewise.
4385 * include/grp.h: Likewise.
4386 * include/pwd.h: Likewise.
4387 * include/shadow.h: Likewise.
4388 * include/rpc/netdb.h: Likewise.
4389 * include/setjmp.h: Likewise.
4391 * include/stdio.h: Add prototypes for compatibility functions.
4392 * include/grp.h: Likewise.
4393 * include/pwd.h: Likewise.
4394 * include/shadow.h: Likewise.
4396 * include/fenv.h: Define internal interfaces.
4398 2000-12-27 Ulrich Drepper <drepper@redhat.com>
4400 * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
4401 argument case separately.
4402 * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
4404 2000-12-27 Andreas Jaeger <aj@suse.de>
4406 * include/sys/wait.h: Add some prototypes.
4407 * Rules (dummy.c): Create also prototype to shut up GCC.
4409 2000-12-27 Andreas Jaeger <aj@suse.de>
4411 * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
4412 it's not needed at the moment.
4413 * sysdeps/generic/if_index.c (__protocol_available): Likewise.
4414 * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
4416 2000-12-26 Andreas Jaeger <aj@suse.de>
4418 * libio/getc_u.c: Include stdio.h via system path to get internal
4420 * libio/getwc_u.c: Likewise.
4422 * stdlib/strfmon.c: Fix prototype of __printf_fp.
4424 * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
4425 __printf_fp prototypes to ...
4426 * include/printf.h: ...here.
4428 * include/stdio.h: Add some internal prototypes to shut up GCC.
4429 * include/stdlib.h: Likewise.
4431 * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
4434 * include/signal.h: Add prototypes for internal sigpause
4437 2000-12-26 Ulrich Drepper <drepper@redhat.com>
4439 * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
4440 64bit platforms. Reported by Dave Gilbert <gilbertd@treblig.org>.
4442 * string/Makefile (tests): Add tst-bswap.
4443 * string/tst-bswap.c: New file.
4445 2000-12-11 Bruno Haible <haible@clisp.cons.org>
4447 * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
4449 2000-12-26 Ulrich Drepper <drepper@redhat.com>
4451 * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
4452 Patch by Ed Connell <Ed.Connell@sas.com>.
4454 2000-12-24 Ulrich Drepper <drepper@redhat.com>
4456 * locale/iso-639.def: Correct one entry. Add two missing entries.
4458 * locale/iso-4217.def: Change entry for Eritrea.
4459 Reported by Daniel Yacob <yacob@geez.org>.
4461 2000-12-23 Ben Collins <bcollins@debian.org>
4463 * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
4466 * manual/stdio.texi (Dynamic Output): Document the return value of
4467 asprintf. Also make the asprintf/snprintf examples a little
4468 better (check for some error returns).
4470 2000-12-22 Andreas Jaeger <aj@suse.de>
4472 * include/stdio.h: Add __ftrylockfile prototype.
4474 2000-12-21 H.J. Lu <hjl@gnu.org>
4476 * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
4477 Make sign_exponent element signed.
4479 * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
4482 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
4484 2000-12-21 Andreas Jaeger <aj@suse.de>
4486 * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
4487 * inet/ether_hton.c: Likewise
4488 * inet/ether_ntoh.c: Likewise.
4490 * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
4491 declaration to match prototype.
4493 * include/netinet/ether.h (struct etherent): Declare here so that
4494 all implementations use the same struct.
4496 * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
4498 (struct ether): Removed.
4499 Use struct etherent instead of ether everywhere.
4501 * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
4503 * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
4505 * sunrpc/publickey.c: Include auth_des.h for prototypes.
4507 2000-12-20 Ulrich Drepper <drepper@redhat.com>
4509 * math/test-misc.c: Add more tests for nextafter functions.
4511 * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
4512 normal correctly. Correct test for sign.
4513 Based on a patch by HJ Lu.
4515 2000-12-19 Ulrich Drepper <drepper@redhat.com>
4517 * Makeconfig (preprocess-version): Add -traditional to gcc call.
4520 2000-12-19 Andreas Jaeger <aj@suse.de>
4522 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
4524 * nis/nis_intern.h: Add prototype for __do_niscall3.
4526 * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
4529 * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
4531 * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
4533 * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
4535 2000-12-18 Ulrich Drepper <drepper@redhat.com>
4537 * math/test-misc.c: Add more tests for nextafter.
4538 * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
4539 * sysdeps/ieee754/ldbl-96/math_ldbl.h
4540 (ieee_long_double_shape_type): Make sign_exponent element signed.
4542 * manual/message.texi: Add Estonian to plural overview list.
4543 Correct rule for Slavic languages.
4544 Patch by Stanislav Brabec <utx@penguin.cz>.
4546 * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
4548 2000-12-18 Andreas Jaeger <aj@suse.de>
4550 * test-skeleton.c: Use temp_name_list instead of name_list to
4551 avoid collision with name_list from inet/netgroup.h.
4553 * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
4555 * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
4556 * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
4557 * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
4558 * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
4560 * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
4561 declaration to match prototype.
4562 * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
4563 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
4564 * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
4566 * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
4567 * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
4568 * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
4569 * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
4570 (_nss_nis_getservbyport_r): Likewise.
4571 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
4572 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
4573 * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
4574 (_nss_nis_setnetent): Likewise
4575 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
4576 (_nss_nis_endnetgrent): Likewise.
4577 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
4579 (_nss_nisplus_setnetgrent): Likewise.
4580 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
4581 * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
4582 * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
4583 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
4585 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
4587 * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
4589 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
4591 * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
4592 * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
4593 * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
4594 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
4595 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
4596 (_nss_dns_getnetbyaddr_r): Likewise.
4598 2000-12-17 Andreas Jaeger <aj@suse.de>
4600 * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
4603 * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
4604 unused attribute to shut up gcc warnings.
4606 * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
4607 * sysdeps/generic/k_tanl.c: Likewise.
4608 * sysdeps/generic/k_cosl.c: Likewise.
4609 * sysdeps/generic/e_j0l.c: Likewise.
4610 * sysdeps/generic/e_j1l.c: Likewise.
4611 * sysdeps/generic/e_jnl.c: Likewise.
4612 * sysdeps/generic/e_lgammal_r.c: Likewise.
4614 * elf/vismain.c: Move prototypes for functions in vismod*.c to
4616 * elf/vismod.h: New file.
4617 * elf/Makefile (distribute): Add vismod.h.
4618 * elf/vismod1.c: Include vismod.h.
4619 * elf/vismod2.c: Likewise.
4620 * elf/vismod3.c: Likewise.
4622 * elf/constload3.c: Add prototype declarations to shut up gcc.
4623 * elf/failobj.c: Likewise.
4624 * elf/nodelmod3.c: Likewise.
4625 * elf/filtmod1.c: Likewise.
4626 * elf/filtmod2.c: Likewise.
4627 * elf/reldepmod1.c: Likewise.
4628 * elf/reldepmod2.c: Likewise.
4629 * elf/reldepmod3.c: Likewise.
4630 * elf/reldepmod4.c: Likewise.
4631 * elf/unload2dep.c: Likewise.
4632 * elf/unload2mod.c: Likewise.
4633 * elf/ltglobmod1.c: Likewise.
4634 * elf/pathoptobj.c: Likewise.
4635 * elf/neededobj1.c: Likewise.
4636 * elf/neededobj2.c: Likewise.
4637 * elf/neededobj3.c: Likewise.
4638 * elf/neededobj4.c: Likewise.
4639 * elf/nextmod1.c: Likewise.
4640 * elf/nextmod2.c: Likewise.
4642 * locale/programs/ld-collate.c (collate_finish): Don't use labels
4643 at end of compound statement.
4644 * locale/programs/locale.c (show_info): Likewise.
4645 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
4647 2000-12-16 Jakub Jelinek <jakub@redhat.com>
4649 * catgets/gencat.c (read_input_file): Avoid calling obstack_free
4650 with a pointer not returned by obstack_ functions.
4652 2000-12-16 Ulrich Drepper <drepper@redhat.com>
4654 * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
4656 (struct stat64): Likewise.
4657 Reported by Michael Keezer <mkeezer@redhat.com>.
4659 * timezone/asia: Update from tzdata2000h.
4660 * timezone/australasia: Likewise.
4661 * timezone/backward: Likewise.
4662 * timezone/europe: Likewise.
4663 * timezone/northamerica: Likewise.
4664 * timezone/southamerica: Likewise.
4665 * timezone/zone.tab: Likewise.
4667 2000-12-14 Jakub Jelinek <jakub@redhat.com>
4669 * io/ftw.c (ftw_dir): If process_entry returned non-zero result
4670 and dir.stream is NULL, only free dir.content.
4671 * io/ftwtest.c (cb, main): Add --early-exit option to test it.
4672 * io/ftwtest-sh: Test with --early-exit.
4674 2000-12-13 Jakub Jelinek <jakub@redhat.com>
4676 * misc/efgcvt.c (FCVT_MAXDIG): Define.
4677 (FCVT_BUFPTR): New variable.
4678 (fcvt): If fcvt_r returns -1 on the static short buffer,
4679 try to malloc a sufficiently large one and retry.
4680 (free_mem): New function.
4681 * misc/qefgcvt.c (FCVT_MAXDIG): Define.
4682 * misc/tst-efgcvt.c (fcvt_tests): Add new test.
4684 2000-12-15 Ulrich Drepper <drepper@redhat.com>
4686 * misc/dirname.c (dirname): Fix search for second to last slash.
4688 2000-12-13 Andreas Jaeger <aj@suse.de>
4690 * misc/tst-dirname.c (main): Fix typo in test to really use
4691 the examples from Unix98.
4692 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
4694 2000-12-09 H.J. Lu <hjl@gnu.org>
4696 * sysdeps/ia64/fpu/s_fabs.S: New file.
4697 * sysdeps/ia64/fpu/s_fabsf.S: New file.
4698 * sysdeps/ia64/fpu/s_fabsl.S: New file.
4700 2000-12-15 Andreas Jaeger <aj@suse.de>
4702 * stdio-common/scanf9.c (main): Reformat and change to avoid
4705 * stdio-common/tstdiomisc.c: Make local functions static.
4706 * stdio-common/tst-printf.c: Likewise.
4708 * elf/constload2.c: Add prototype declarations to shut up gcc.
4709 * elf/dep1.c: Likewise.
4710 * elf/dep2.c: Likewise.
4711 * elf/dep3.c: Likewise.
4712 * elf/dep4.c: Likewise.
4713 * elf/ltglobmod2.c: Likewise.
4715 * libio/fmemopen.c: Make local functions static.
4717 * elf/Makefile (distribute): Added testobj.h.
4719 * elf/testobj.h: New file.
4721 * elf/testobj1.c: Include testobj.h and move prototype
4722 declarations to testobj.h.
4723 * elf/testobj2.c: Likewise.
4724 * elf/testobj3.c: Likewise.
4725 * elf/testobj4.c: Likewise.
4726 * elf/testobj5.c: Likewise.
4727 * elf/testobj6.c: Likewise.
4728 * elf/testobj1_1.c: Likewise.
4729 * elf/preloadtest.c: Likewise.
4731 2000-12-15 Ben Collins <bcollins@debian.org>
4733 * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
4734 Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
4736 2000-12-14 H.J. Lu <hjl@gnu.org>
4738 * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
4739 field in a float is 8 bits, not 11 bits.
4741 2000-12-13 Jakub Jelinek <jakub@redhat.com>
4743 * math/test-misc.c (main): Adjust m for IEEE quad long double.
4745 2000-12-13 Andreas Jaeger <aj@suse.de>
4747 * manual/message.texi (Using gettextized software): Fix typo.
4749 * manual/charset.texi (Converting a Character): Fix mbstouwcs
4751 Patch by Martin Buchholz <martin@xemacs.org>.
4753 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
4754 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
4756 2000-12-11 Andreas Jaeger <aj@suse.de>
4758 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
4759 kernel_sigset_t and use it.
4760 Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
4762 2000-12-10 Richard Henderson <rth@redhat.com>
4764 * sysdeps/alpha/alphaev67/fpu/Implies: New file.
4765 * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
4766 * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
4768 2000-12-10 Jakub Jelinek <jakub@redhat.com>
4770 * sysdeps/alpha/htonl.S: Fix a typo.
4772 2000-12-10 Jakub Jelinek <jakub@redhat.com>
4774 * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
4776 2000-12-10 Andreas Jaeger <aj@suse.de>
4778 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
4779 cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
4780 Drepper <drepper@redhat.com>.
4782 2000-12-09 Andreas Jaeger <aj@suse.de>
4784 * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
4786 * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
4788 Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
4790 * locale/programs/ld-collate.c (handle_ellipsis): Fix format
4793 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
4796 * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
4797 * nscd/connections.c (handle_request): Likewise.
4798 * nscd/pwdcache.c (addpwbyname): Likewise.
4799 * nscd/grpcache.c (addgrbyname): Likewise.
4801 * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
4803 2000-12-09 Ulrich Drepper <drepper@redhat.com>
4805 * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
4807 * Makeconfig (default_cflags): Make -O2 the default for stable
4810 2000-12-08 H.J. Lu <hjl@gnu.org>
4812 * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
4813 * sysdeps/ia64/fpu/s_isinf.S: This.
4814 Add a .pred.rel.mutex note to avoid false report.
4816 * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
4817 * sysdeps/ia64/fpu/s_isnan.S: This.
4819 * sysdeps/ia64/fpu/s_fpclassify.S: New file.
4820 * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
4821 * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
4822 * sysdeps/ia64/fpu/s_isinff.S: New file.
4823 * sysdeps/ia64/fpu/s_isinfl.S: New file.
4824 * sysdeps/ia64/fpu/s_isnanf.S: New file.
4825 * sysdeps/ia64/fpu/s_isnanl.S: New file.
4826 * sysdeps/ia64/fpu/s_finite.S: New file.
4827 * sysdeps/ia64/fpu/s_finitef.S: New file.
4828 * sysdeps/ia64/fpu/s_finitel.S: New file.
4829 * sysdeps/ia64/fpu/s_signbit.S: New file.
4830 * sysdeps/ia64/fpu/s_signbitf.S: New file.
4831 * sysdeps/ia64/fpu/s_signbitl.S: New file.
4832 * sysdeps/ia64/fpu/s_copysign.S: New file.
4833 * sysdeps/ia64/fpu/s_copysignf.S: New file.
4834 * sysdeps/ia64/fpu/s_copysignl.S: New file.
4836 2000-12-08 Ulrich Drepper <drepper@redhat.com>
4838 * math/libm-test.inc (main): Fix typos in messages.
4840 * string/stratcliff.c: Add test for rawmemchr.
4842 2000-12-08 Jakub Jelinek <jakub@redhat.com>
4844 * elf/dl-open.c (_dl_open): If objname points right after errstring,
4845 allocate it together with errstring using alloca.
4846 * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
4847 to "", because it might point to local stack.
4849 2000-12-05 H.J. Lu <hjl@gnu.org>
4851 * nss/Makefile (routines): Add getnssent and getnssent_r.
4852 * nss/nsswitch.h (__nss_setent): New internal NSS function.
4853 (__nss_endent): Likewise.
4854 (__nss_getent_r): Likewise.
4855 (__nss_getent): Likewise.
4856 * nss/getnssent_r.c: New file.
4857 * nss/getnssent.c: New file.
4858 * nss/getXXent.c (H_ERRNO_VAR): Updated.
4859 (GETFUNC_NAME): Updated to call __nss_getent ().
4860 * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
4861 (STAYOPEN_TMPVAR): Updated.
4862 (STAYOPEN_VAR): Updated.
4863 (SETFUNC_NAME): Updated to call __nss_setent ().
4864 (ENDFUNC_NAME): Updated to call __nss_endent ().
4865 (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
4867 2000-12-08 Andreas Jaeger <aj@suse.de>
4869 * nscd/dbg_log.h (dbg_log): Correct attribute.
4871 2000-12-08 Jakub Jelinek <jakub@redhat.com>
4873 * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
4874 cp + len. Compute where from dirname.
4875 Reported by <jreiser@BitWagon.com>.
4877 2000-12-08 Richard Henderson <rth@twiddle.net>
4879 * sysdeps/alpha/_mcount.S: Fix typo.
4880 * sysdeps/alpha/strncpy.S: Likewise.
4882 * sysdeps/alpha/alphaev6/Implies: New file.
4883 * sysdeps/alpha/alphaev67/Implies: New file.
4884 * sysdeps/alpha/alphaev67/ffs.S: New file.
4885 * sysdeps/alpha/alphaev67/ffsll.S: New file.
4886 * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
4887 * sysdeps/alpha/alphaev67/stpcpy.S: New file.
4888 * sysdeps/alpha/alphaev67/stpncpy.S: New file.
4889 * sysdeps/alpha/rawmemchr.S: New file.
4890 * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
4891 * sysdeps/alpha/strcpy.S: Likewise.
4894 * sysdeps/alpha/alphaev6/addmul_1.s: New file.
4896 From rick.gorton@alpha-processor.com:
4897 * sysdeps/alpha/alphaev6/memchr.S: New file.
4898 * sysdeps/alpha/alphaev6/memcpy.S: New file.
4899 * sysdeps/alpha/alphaev6/memset.S: New file.
4900 * sysdeps/alpha/alphaev6/stxcpy.S: New file.
4901 * sysdeps/alpha/alphaev6/stxncpy.S: New file.
4902 * sysdeps/alpha/alphaev67/strcat.S: New file.
4903 * sysdeps/alpha/alphaev67/strchr.S: New file.
4904 * sysdeps/alpha/alphaev67/strlen.S: New file.
4905 * sysdeps/alpha/alphaev67/strncat.S: New file.
4906 * sysdeps/alpha/htonl.S: Use a shorter sequence.
4908 2000-12-08 Jakub Jelinek <jakub@redhat.com>
4910 * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
4911 Reported by <pspencer@fields.utoronto.ca>.
4913 2000-12-07 Jes Sorensen <jes@linuxcare.com>
4915 * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
4916 Pointed out by Hans Boehm.
4918 2000-12-07 H.J. Lu <hjl@gnu.org>
4920 * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
4922 2000-12-07 Andreas Jaeger <aj@suse.de>
4924 * misc/error.c: Add format attributes for __error and __error_at_line.
4926 * nscd/dbg_log.h: Add format attribute.
4928 2000-12-08 Ulrich Drepper <drepper@redhat.com>
4930 * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
4931 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
4933 2000-12-07 Dan Pop <Dan.Pop@cern.ch>
4935 * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
4937 2000-12-06 Ulrich Drepper <drepper@redhat.com>
4939 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
4940 (sysdep_routines): Add uitrunc.
4941 * sysdeps/unix/sysv/aix/uitrunc.c: New file.
4942 Patches by Michael Keezer <mkeezer@redhat.com>.
4944 2000-12-06 Roland McGrath <roland@frob.com>
4946 * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
4947 argument data, since it will be used to copy out too (for INOUT).
4948 Reported by Marcus Brinkmann <marcus@gnu.org>.
4950 * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
4951 (__ioctl): Use uintptr_t instead of unsigned long int.
4953 2000-12-06 Jim Wilson <wilson@redhat.com>
4955 * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
4957 2000-12-06 Ulrich Drepper <drepper@redhat.com>
4959 * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
4960 x.5 rounding correctly.
4962 2000-12-06 Mark Kettenis <kettenis@gnu.org>
4964 * stdio-common/perror.c (perror): Conditionalize code dealing with
4965 wide-oriented streams on USE_IN_LIBIO.
4967 2000-12-06 Mark Kettenis <kettenis@gnu.org>
4969 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
4970 as internal_function.
4972 2000-12-05 Ulrich Drepper <drepper@redhat.com>
4974 * sysdeps/alpha/elf/start.S (__data_start): Define.
4976 2000-12-05 H.J. Lu <hjl@gnu.org>
4978 * nss/getXXent_r.c (setup): Change the return type to int.
4980 2000-12-05 Ulrich Drepper <drepper@redhat.com>
4982 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
4983 (sysdep_routines): Add restf and savef.
4984 * sysdeps/unix/sysv/aix/restf.c: New file.
4985 * sysdeps/unix/sysv/aix/savef.c: New file.
4986 Patches by Michael Keezer <mkeezer@redhat.com>.
4988 * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
4989 if O_DIRECTORY is not defined.
4990 Patch by Michael Keezer <mkeezer@redhat.com>.
4992 * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
4993 Patch by Michael Keezer <mkeezer@redhat.com>.
4995 * locale/programs/linereader.c (get_toplvl_escape): Recognize more
4996 than 4 bytes in escape sequence.
4997 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
4999 2000-12-05 Andreas Jaeger <aj@suse.de>
5001 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
5004 * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
5006 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
5008 * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
5009 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
5011 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
5013 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
5014 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
5016 * sysdeps/generic/dl-cache.c: Remove declaration of
5017 _dl_sysdep_read_whole_file.
5019 * elf/dl-load.c (_dl_map_object): Remove declaration of
5020 _dl_load_cache_lookup.
5022 * sysdeps/generic/ldsodefs.h: Add declarations of
5023 _dl_load_cache_lookup, _dl_unload_cache,
5024 _dl_sysdep_read_whole_file, _dl_sysdep_start and
5025 _dl_sysdep_start_cleanup.
5027 * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
5030 * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
5031 * sysdeps/generic/dl-environ.c: Likewise.
5033 * stdio-common/printf_fp.c: Include <gmp.h> instead of
5035 * math/atest-exp.c: Likewise.
5036 * math/atest-exp2.c: Likewise.
5037 * math/atest-sincos.c: Likewise.
5038 * stdio-common/_itoa.c: Likewise.
5039 * stdio-common/_itowa.c: Likewise.
5041 * include/gmp.h: New file with internal prototypes.
5043 * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
5045 * include/setjmp.h: ...here.
5047 * locale/Makefile (routines): Remove codeset_name since it's not
5050 * locale/codeset_name.c: Removed.
5052 2000-12-05 Ulrich Drepper <drepper@redhat.com>
5054 * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
5056 2000-12-05 Andreas Jaeger <aj@suse.de>
5058 * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
5060 2000-12-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
5062 * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
5065 2000-12-05 Andreas Jaeger <aj@suse.de>
5067 * nss/test-netdb.c: Mark local functions as static to avoid
5069 (main): Use return to silence warning.
5071 * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
5073 * stdio-common/test-popen.c: Mark local functions as static to
5075 (main): Use return to silence warning.
5077 * stdlib/testsort.c (compare): Mark as static to avoid warning.
5079 * assert/test-assert.c: Mark local functions as static to avoid
5081 * assert/test-assert-perr.c: Likewise.
5083 * math/libm-test.inc (main): Use return to silence warnings.
5085 2000-12-04 Ulrich Drepper <drepper@redhat.com>
5087 * math/fenv.h: Fix typo in comment.
5089 * math/test-misc.c (main): Add a few more over and underflow tests
5092 * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
5093 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5094 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5095 * math/w_scalb.c: Don't use matherr except in SVID mode.
5096 * math/w_scalbf.c: Likewise.
5097 * math/w_scalbl.c: Likewise.
5098 * math/test-misc.c: Add test for NaN and scalbl.
5099 Reported by Fred J. Tydeman <tydeman@tybor.com>.
5101 2000-12-04 Ulrich Drepper <drepper@redhat.com>
5103 * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
5104 * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
5105 * include/libc-symbols.h (strong_alias): Define special version
5106 for HAVE_ASM_GLOBAL_DOT_NAME.
5107 (weak_alias): Likewise.
5108 * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
5109 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
5110 (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
5111 getutxline, pututxline, and utmpxname.
5112 * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
5113 * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
5114 * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
5115 * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
5116 * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
5117 * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
5118 * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
5119 * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup. Add comments.
5120 * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
5121 Patches by Michael Keezer <mkeezer@redhat.com>.
5123 2000-12-04 H.J. Lu <hjl@gnu.org>
5125 * configure.in: Change --with-oldest-abi=ABI to
5126 --enable-oldest-abi=ABI.
5128 2000-12-02 Bruno Haible <haible@clisp.cons.org>
5130 * stdio-common/perror.c (perror): If stderr is wide-oriented, use
5131 fwprintf instead of fprintf.
5133 2000-12-04 Ulrich Drepper <drepper@redhat.com>
5135 * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
5136 DECIMAL_DIG definitions.
5137 * sysdeps/arm/fpu/bits/mathdef.h: Likewise
5138 * sysdeps/generic/bits/mathdef.h: Likewise
5139 * sysdeps/i386/fpu/bits/mathdef.h: Likewise
5140 * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
5141 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
5142 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
5143 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
5144 * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
5146 2000-12-03 Ulrich Drepper <drepper@redhat.com>
5148 * math/test-fenv.c (main): Use return instead of exit to avoid warning.
5150 * math/atest-exp.c: Mark local functions as static to avoid warnings.
5151 * math/atest-exp2.c: Likewise.
5152 * math/atest-sincos.c: Likewise.
5154 * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
5155 Reported by Fred J. Tydeman <tydeman@tybor.com>.
5157 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
5158 the handling of denormalized numbers.
5160 * math/test-misc.c (main): Test for fpclassify and pseudo denormal
5162 * sysdeps/i386/fpu/fpclassifyl.c: New file.
5164 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
5165 pseudo denormal representation of LDBL_MIN.
5167 * iconvdata/SJIS.irreversible: Remove unnecessary entries.
5168 * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
5170 * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
5171 * iconvdata/jis0208.c: Likewise.
5172 * iconvdata/jis0212.c: Likewise.
5173 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
5175 * math/test-misc.c (main): More tests for frexp and some for
5176 fpclassify and isnormal.
5178 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
5180 Reported by Fred J. Tydeman <tydeman@tybor.com>.
5182 * math/test-misc.c (main): Add tests for frexp.
5183 Reported by Fred J. Tydeman <tydeman@tybor.com>.
5184 * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
5186 2000-12-02 H.J. Lu <hjl@gnu.org>
5188 * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
5191 2000-12-02 Ulrich Drepper <drepper@redhat.com>
5193 * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
5194 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5195 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5197 * sysdeps/generic/glob.c: Adjust types of several variables to
5200 2000-12-01 Ulrich Drepper <drepper@redhat.com>
5202 * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
5204 2000-11-30 Roland McGrath <roland@frob.com>
5206 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
5207 (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
5208 allow multiple instances using the same function name in one file.
5210 2000-12-01 Ulrich Drepper <drepper@redhat.com>
5212 * configure.in: Correct test for pserver CVS access.
5214 2000-11-28 H.J. Lu <hjl@gnu.org>
5216 * libio/libio.h: Remove extra "#if ... #endif".
5218 2000-11-29 H.J. Lu <hjl@gnu.org>
5220 * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
5222 2000-12-01 H.J. Lu <hjl@gnu.org>
5224 * nss/getXXbyYY_r.c: Fix verioned symbol handling.
5225 * nss/getXXent_r.c: Likewise.
5226 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5228 2000-11-30 H.J. Lu <hjl@gnu.org>
5230 * scripts/abi-versions.awk (oldest_abi): New variable.
5231 Handle the oldest ABI supported.
5233 * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
5234 for scripts/abi-versions.awk.
5236 * configure.in: Add --with-oldest-abi=ABI.
5237 * configure: Rebuild.
5239 * config.make.in (oldest-abi): New.
5241 * config.h.in (GLIBC_OLDEST_ABI): New.
5243 * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
5245 2000-11-30 Jakub Jelinek <jakub@redhat.com>
5247 * locale/setlocale.c (setname): Free for all categories, not just
5249 (setlocale): Store a copy of string passed by user, not the string
5252 2000-11-30 Roland McGrath <roland@frob.com>
5254 * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
5255 rather than _hurd_fd_subinit, so it happens after it's safe to use
5256 libc facilities like malloc.
5258 2000-11-28 Andreas Jaeger <aj@suse.de>
5260 * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
5261 declaration, adjust declaration of __syscall_getdents to match
5264 2000-11-29 H.J. Lu <hjl@gnu.org>
5266 * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
5268 2000-11-29 Andreas Jaeger <aj@suse.de>
5270 * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
5272 2000-11-28 Ulrich Drepper <drepper@redhat.com>
5274 * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
5275 * dlfcn/defaultmod2.c: Likewise.
5276 * dlfcn/dlopen.c: Likewise.
5277 * dlfcn/dlopenold.c: Likewise.
5278 * dlfcn/failtestmod.c: Likewise.
5279 * dlfcn/glreflib1.c: Likewise.
5280 * dlfcn/glreflib2.c: Likewise.
5281 * dlfcn/eval.c: Likewise. Add attributes.
5283 * ctype/ctype-extn.c: Define isblank and not __isblank.
5285 * time/strftime.c: Add const where necessary to avoid warnings.
5286 * time/strptime.c (strptime_internal): Add casts to avoid warnings.
5288 2000-11-22 Paul Eggert <eggert@twinsun.com>
5290 * time/strftime.c (my_strftime): Do not invoke mbrlen with a
5291 size of (size_t) -1; it's not portable.
5293 2000-11-28 Ulrich Drepper <drepper@redhat.com>
5295 * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
5297 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
5299 2000-11-14 Jes Sorensen <jes@linuxcare.com>
5301 * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
5303 * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
5304 _mcount is required by profiled binaries.
5306 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
5307 * sysdeps/ia64/machine-gmon.h: ...here.
5309 2000-11-28 Masahide Washizawa <washi@jp.ibm.com>
5311 * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
5312 (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
5314 * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
5316 * iconvdata/ibm922.c: New file.
5317 * iconvdata/ibm922.h: New file.
5318 * iconvdata/ibm1124.c: New file.
5319 * iconvdata/ibm1124.h: New file.
5320 * iconvdata/ibm1129.c: New file.
5321 * iconvdata/ibm1129.h: New file.
5322 * iconvdata/testdata/IBM922: New file.
5323 * iconvdata/testdata/IBM922..UTF8: New file.
5324 * iconvdata/testdata/IBM1124: New file.
5325 * iconvdata/testdata/IBM1124..UTF8: New file.
5326 * iconvdata/testdata/IBM1129: New file.
5327 * iconvdata/testdata/IBM1129..UTF8: New file.
5329 2000-11-28 Ulrich Drepper <drepper@redhat.com>
5331 * catgets/gencat.c (normalize_line): Take extra parameter with escape
5332 character. Change callers.
5333 (open_conversion): Determine mapping of 0x5c as wchar_t value.
5334 * catgets/Makefile: Add rules to build and run test-gencat.
5335 * catgets/sample.SJIS: New file.
5336 * catgets/test-gencat.c: New file.
5337 * catgets/test-gencat.sh: New file.
5338 Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
5340 2000-11-28 Andreas Jaeger <aj@suse.de>
5342 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
5345 2000-11-28 Ulrich Drepper <drepper@redhat.com>
5347 * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
5349 2000-11-28 Andreas Jaeger <aj@suse.de>
5351 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
5353 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
5356 2000-11-27 Ulrich Drepper <drepper@redhat.com>
5358 * misc/getusershell.c: Make strings in okshells array const.
5359 * misc/regexp.c: Add const to cast to avoid warnings.
5360 * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
5361 * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
5363 * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
5365 * misc/error.c: Add prototypes for __error and __error_at_line.
5366 * misc/mntent_r.c (__getmntent_r): Add break at end of switch
5367 statement to avoid warning.
5368 * test-skeleton.c: Mark timeout_handler with noreturn.
5369 * iconv/skeleton.c (get16u): Add const to cast.
5371 * iconvdata/gb18030.c: Likewise.
5372 * iconvdata/iso-2022-cn-ext.c: Likewise.
5373 * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
5374 * iconvdata/big5.c: Likewise.
5375 * iconvdata/big5hkscs.c: Likewise.
5376 * iconvdata/iso_6937.c: Likewise.
5377 * iconvdata/iso_6937-2.c: Likewise.
5378 * iconvdata/t.61.c: Likewise.
5379 * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
5380 * iconvdata/unicode.c: Likewise.
5381 * iconvdata/utf-16.c: Likewise.
5382 * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
5383 * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
5384 with little code shuffling.
5386 * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
5387 the problems introduced when the user selects -O3.
5389 * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
5390 * misc/sys/cdefs.h: Define __flexarr.
5391 Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
5393 * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
5394 * iconv/skeleton.c: Likewise.
5395 * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
5396 * iconv/loop.c (get16): Add const to cast.
5399 2000-11-27 Andreas Jaeger <aj@suse.de>
5401 * login/programs/pt_chown.c (do_pt_chown): Mark function as static
5403 * login/programs/utmpdump.c (print_entry): Likewise.
5405 2000-11-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
5407 * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
5408 in a single asm as they may be used to access other stored
5410 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
5412 2000-11-27 Andreas Jaeger <aj@suse.de>
5414 * rt/tst-aio.c: Mark test functions as static to avoid warnings.
5415 * rt/tst-aio64.c: Likewise.
5417 2000-11-27 Ulrich Drepper <drepper@redhat.com>
5419 * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
5421 (libc.cat): Likewise.
5422 * catgets/gencat.c: Implement handling of message catalogs encoded
5423 with stateful character sets.
5424 Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
5426 2000-11-26 Ulrich Drepper <drepper@redhat.com>
5428 * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
5430 * inet/getnameinfo.c: Adjust casts to avoid warnings.
5431 * inet/rcmd.c: Likewise.
5432 * inet/ruserpass.c: Likewise.
5433 * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
5434 IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
5435 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
5436 IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
5437 IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
5438 IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
5439 * include/aliases.h: Add prototypes for internal __getalias* functions.
5440 * include/netdb.h: Add prototypes for __old_gethostent_r,
5441 __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
5442 __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
5443 __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
5444 __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
5445 * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
5446 __old_getrpcbynumber_r, __old_getrpcent_r.
5448 * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
5449 __getrpcent_r prototypes.
5451 2000-11-25 Ulrich Drepper <drepper@redhat.com>
5453 * string/strcoll.c: Add casts to avoid warnings.
5454 * string/strnlen.c: Likewise.
5455 * string/strxfrm.c: Likewise.
5456 * sysdeps/generic/_strerror.c: Likewise.
5457 * sysdeps/generic/memrchr.c: Likewise.
5458 * sysdeps/generic/strcasestr.c: Likewise.
5459 * sysdeps/generic/strstr.c: Likewise.
5461 * locale/weight.h (findidx): Add const to cast to avoid warning.
5463 * elf/loadfail.c: Little cosmetic changes to avoid warnings.
5464 * elf/loadtest.c: Likewise.
5465 * elf/multiload.c: Likewise.
5466 * elf/next.c: Likewise.
5467 * elf/nodelete.c: Likewise.
5468 * elf/noload.c: Likewise.
5469 * elf/order.c: Likewise.
5470 * elf/origtest.c: Likewise.
5471 * elf/preloadtest.c: Likewise.
5472 * elf/restest1.c: Likewise.
5474 * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
5475 parameter of asm must be in %ecx.
5477 * string/tester.c: Mark test functions as static to avoid warnings.
5479 * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
5480 preserve value over different gconv-modules files.
5482 2000-11-24 Ulrich Drepper <drepper@redhat.com>
5484 * locale/findlocale.c: Add casts to avoid warnings.
5485 * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
5486 * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
5488 * misc/tsearch.c (const_node): New type.
5489 (trecurse): Correct casts to avoid warnings.
5490 (__twalk): Likewise.
5491 * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
5494 * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
5496 * test-skeleton.c: Mark local functions as static to avoid warnings.
5498 2000-11-23 H.J. Lu <hjl@gnu.org>
5500 * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
5501 support the background job.
5504 2000-11-24 Ulrich Drepper <drepper@redhat.com>
5506 * iconv/gconv_conf.c (insert_module): Replace old entry if new one
5507 has same names but lower cost.
5509 2000-11-23 Jakub Jelinek <jakub@redhat.com>
5511 * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
5512 which never occur during bootstrap.
5513 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5515 2000-11-23 Andreas Jaeger <aj@suse.de>
5517 * nss/nss_files/files-hosts.c: Remove getipnodebyname.
5519 * nss/Versions: Remove _nss_files_getipnodebyname_r.
5521 * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
5523 2000-11-18 Martin Buchholz <martin@xemacs.org>
5525 * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
5528 2000-11-21 Alan Modra <alan@linuxcare.com.au>
5530 * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
5532 * csu/abi-note.S: Correct comment for operating system number.
5534 2000-11-22 Ulrich Drepper <drepper@redhat.com>
5536 * Versions.def: Add GLIBC_2.2.1 for glibc.
5538 2000-11-22 Andreas Schwab <schwab@suse.de>
5540 * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
5541 * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
5543 2000-11-22 Ulrich Drepper <drepper@redhat.com>
5545 * rt/aio_suspend.c (aio_suspend): Convert timeout value to
5546 absolute time for pthread_cond_timedwait call.
5547 Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
5549 * rt/Makefile (tests): Add tst-aio6.
5550 * rt/tst-aio6.c: New file.
5552 2000-11-23 Andreas Jaeger <aj@suse.de>
5554 * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
5556 2000-11-22 Andreas Jaeger <aj@suse.de>
5558 * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
5560 2000-11-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
5562 * sysdeps/s390/bits/string.h: Make strncat always add a \0.
5564 2000-11-21 Andreas Schwab <schwab@suse.de>
5566 * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
5567 * sysdeps/arm/setjmp.S: Likewise.
5568 * sysdeps/arm/fpu/setjmp.S: Likewise.
5569 * sysdeps/i386/setjmp.S: Likewise.
5570 * sysdeps/i386/elf/setjmp.S: Likewise.
5571 * sysdeps/s390/setjmp.S: Likewise.
5572 * sysdeps/s390/elf/setjmp.S: Likewise.
5573 * sysdeps/sh/sh3/setjmp.S: Likewise.
5574 * sysdeps/sh/sh4/setjmp.S: Likewise.
5575 * sysdeps/sparc/sparc32/setjmp.S: Likewise.
5576 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
5577 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
5578 * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
5580 2000-11-21 Andreas Jaeger <aj@suse.de>
5582 * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
5583 NORETURN, fix parameter list.
5585 * string/bug-strncat1.c (main): Fix typo.
5586 Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
5588 2000-11-20 Ulrich Drepper <drepper@redhat.com>
5590 * configure.in: Add --enable-all-warnings.
5591 * config.make.in (all-warnings): New variable.
5592 * Makeconfig (+gccwarn): Define with many more warnings if
5593 all-warnings is yes.
5595 2000-11-20 Jakub Jelinek <jakub@redhat.com>
5597 * iconvdata/bug-iconv2.c (main): Use %zd in format string.
5598 * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
5599 * malloc/tst-valloc.c (main): Cast valloc return value to long.
5600 * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
5601 * math/test-fpucw.c (main): Use %lx in format string, cast
5602 control words to long.
5603 * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
5604 * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
5605 large that it is unsigned warning.
5607 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
5608 it to long on sparc64.
5610 2000-11-20 Andreas Jaeger <aj@suse.de>
5612 * nscd/nscd.h (termination_handler): Add noreturn attribute.
5613 (receiv_print_stats): Likewise.
5615 * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
5617 2000-11-20 Ulrich Drepper <drepper@redhat.com>
5619 * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
5621 * csu/gmon-start.c: Always have prototype for __gmon_start.
5622 * csu/version.c: Add prototypes for __libc_print_version and
5624 * iconv/gconv.c: Include gconv_int.h and gconv.h.
5625 * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
5627 * iconv/gconv_builtin.h: Add ASCII module definitions.
5628 * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
5629 (add_module): Add cast to avoid warning. Rework construction of
5630 strings for new module.
5631 * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
5632 (derivation_compare): Likewise.
5633 * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
5634 (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
5635 * iconv/gconv_int.h (__gconv_path_elem): Remove const.
5636 (struct gconv_alias): Remove const from fromname and toname.
5637 * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
5639 (internal_ucs4_loop): Use correct const-ness.
5640 (ucs4_internal_loop): Likewise.
5641 (internal_ucs4le_loop): Likewise.
5642 (ucs4le_internal_loop_single): Likewise.
5643 * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
5644 to_idx, to_tbl, winbuf, winbufend const. Change casts in
5645 assignments appropriately.
5646 (struct known_trans): Remove const from fname.
5647 (trans_compare): Make s1 and s2 const.
5648 * iconv/loop.c (LOOPFC): Make outend parameter const. Add cast to
5650 * iconv/skeleton.c: Remove cast in calls of loop functions.
5651 * iconvdata/gconv-modules: Remove US-ASCII definitions.
5652 * iconvdata/iso646.c: Remove US_ASCII support.
5653 * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
5654 * include/unistd.h: Add __libc_check_standard_fds prototype.
5655 * string/bits/string2.h (__mempcpy_args): Add const to casts.
5656 * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
5658 * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
5659 * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
5660 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
5662 * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
5663 __libc_init_first and _dl_start.
5664 * intl/dcigettext.c (transcmp): Make s1 and s2 const.
5665 (DCIGETTEXT): Make domaindata variable const.
5666 * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
5669 2000-11-20 Hiroyuki Machida <machida@sm.sony.co.jp>
5671 * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
5673 * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
5674 time_t to 'long int' not, 'unsigned int'. Use 'long int' for
5677 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
5678 value defined in /usr/include/asm-mips/fcntl.h.
5680 2000-11-18 Ulrich Drepper <drepper@redhat.com>
5682 * stdio-common/Makefile (tests): Add test-vfprintf.
5683 (test-vfprintf-ENV): New variable.
5684 * stdio-common/test-vfprintf.c: New file.
5686 * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
5688 * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
5689 (tst-mbrtowc-ENV): New variable.
5690 (tst-wcrtomb-ENV): New variable.
5691 * wcsmbs/tst-mbrtowc.c: New file.
5692 * wcsmbs/tst-wcrtomb.c: New file.
5694 2000-11-16 Andreas Jaeger <aj@suse.de>
5696 * manual/install.texi (Tools for Compilation): Update
5697 documentation for GCC 2.95.2.
5699 2000-11-18 Ulrich Drepper <drepper@redhat.com>
5701 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
5702 if IPv4 and IPv6 requests timed out.
5704 2000-11-18 Akim Demaille <akim@epita.fr>
5706 * malloc/obstack.h: Formatting changes.
5707 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
5708 prevents type checking.
5709 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
5710 cast the value to (void *): assigning a `foo *' to a `void *'
5712 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
5714 2000-11-17 Ulrich Drepper <drepper@redhat.com>
5716 * scripts/config.guess: Update from upstream maintainer.
5717 * scripts/config.sub: Likewise.
5719 2000-11-16 Ulrich Drepper <drepper@redhat.com>
5721 * libio/freopen.c (freopen): Reset _mode after succesful reopening.
5722 * libio/freopen64.c (freopen64): Likewise.
5723 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
5725 * libio/Makefile: Add rules to build and run test-freopen.
5726 * libio/test-freopen.c: New file.
5727 * libio/test-freopen.sh: New file.
5729 2000-11-15 H.J. Lu <hjl@gnu.org>
5731 * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
5732 ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
5733 (DL_DT_FINI_ADDRESS): Likewise.
5735 * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
5736 return type to ElfW(Addr).
5737 (_dl_function_address): New prototype.
5738 (DL_FUNCTION_ADDRESS): Defined.
5739 (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
5740 (DL_DT_FINI_ADDRESS): Likewise.
5742 * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
5744 * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
5745 (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
5747 * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
5748 (_dl_function_address): This.
5750 * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
5751 function pointer for DT_FINI.
5752 * elf/dl-close.c (_dl_close): Likewise.
5754 * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
5755 function pointer for DT_INIT.
5757 2000-11-16 Jakub Jelinek <jakub@redhat.com>
5759 * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
5760 end of wexpbuf buffer.
5762 2000-11-16 Andreas Jaeger <aj@suse.de>
5764 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
5765 definition of F_GETLK, F_SETLK, F_SETLKW.
5767 2000-11-16 Andreas Jaeger <aj@suse.de>
5769 * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
5772 2000-11-15 Jakub Jelinek <jakub@redhat.com>
5774 * dlfcn/default.c (main): Add test for dladdr of main returning
5775 argv[0] in dli_fname field.
5777 2000-11-15 Jakub Jelinek <jakub@redhat.com>
5779 * Makeconfig (run-program-prefix): Move test-static test into the
5782 * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
5783 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
5784 schedule instructions.
5785 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
5786 schedule instructions, fix a bug in copying auxiliary data.
5788 2000-11-15 Ulrich Drepper <drepper@redhat.com>
5790 * manual/startup.texi (Program Arguments): Fix type of main's envp
5792 Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
5794 * iconvdata/gconv-modules: Add CP950 alias.
5796 2000-11-13 Jakub Jelinek <jakub@redhat.com>
5798 * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
5799 syscall-list.h goal.
5800 * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
5802 2000-11-15 Ulrich Drepper <drepper@redhat.com>
5804 * intl/Makefile: tst-gettext2.sh does not need a third parameter.
5806 * intl/tst-gettext2.sh: Copy locale data. Adjust LOCPATH. Verify
5809 * intl/tst-gettext2.c: Set C locale if setting other locale
5810 failed. Use gettext() not _().
5812 * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
5813 successfully loaded a new locale.
5815 2000-11-13 Andreas Jaeger <aj@suse.de>
5817 * configure.in: Require gcc 2.95 or newer.
5819 2000-11-15 Ulrich Drepper <drepper@redhat.com>
5821 * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
5822 Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
5824 2000-11-11 Jim Meyering <meyering@lucent.com>
5826 * string/strndup.c (strndup): Cast return value to `char *'.
5828 2000-11-15 Jim Meyering <meyering@ascend.com>
5830 * sysdeps/generic/memchr.c: Remove some useless parentheses.
5831 [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
5832 [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
5833 [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
5834 Also #undef __memchr.
5835 Use `weak_alias' only if it's defined.
5837 2000-11-10 H.J. Lu <hjl@gnu.org>
5839 * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
5841 2000-11-15 Andreas Jaeger <aj@suse.de>
5843 * elf/chroot_canon.c: Include <stdint.h>.
5845 * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
5846 (print_entry): Likewise.
5847 (add_to_cache): Likewise.
5849 * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
5851 * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
5852 (path_hwcap): Likewise.
5853 (search_dir): Likewise.
5855 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
5857 * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
5859 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
5860 (_dl_platform_string): New.
5861 (_DL_HWCAP_PLATFORM): New.
5862 (_dl_string_platform): New.
5863 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
5865 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
5866 (_dl_string_platform): New.
5867 (_DL_HWCAP_PLATFORM): New.
5868 (_dl_platform_string): New.
5870 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
5872 (_DL_HWCAP_COUNT): New.
5873 (_dl_string_platform): New.
5874 (_DL_HWCAP_PLATFORM): New.
5875 (_dl_platform_string): New.
5877 2000-11-14 Ulrich Drepper <drepper@redhat.com>
5879 * iconvdata/gconv-modules: Add CP936 as alias for GBK.
5881 2000-11-14 Andreas Jaeger <aj@suse.de>
5883 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
5885 2000-11-13 Roland McGrath <roland@frob.com>
5887 * hurd/get-host.c (_hurd_get_host_config): Fix last change.
5889 2000-11-13 Marcus Brinkmann <marcus@gnu.org>
5891 * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
5892 underrun and make sure the result is null terminated even if there
5893 is no trailing newline.
5895 2000-11-13 Jakub Jelinek <jakub@redhat.com>
5897 * sysdeps/alpha/fpu/libm-test-ulps: Update.
5899 2000-11-10 H.J. Lu <hjl@gnu.org>
5901 * sysdeps/ia64/fpu/libm-test-ulps: Updated.
5903 2000-11-10 Andreas Jaeger <aj@suse.de>
5905 * elf/ldconfig.c (create_links): Fix alloca calculation.
5906 Patch by Ben Collins <bcollins@debian.org>.
5908 2000-11-09 Ulrich Drepper <drepper@redhat.com>
5910 * inet/getnameinfo.c (getnameinfo): Use correct destination
5911 parameter for if_indextoname.
5912 Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
5914 2000-11-09 H.J. Lu <hjl@gnu.org>
5916 * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
5917 xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
5918 xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
5921 * time/Versions (GLIBC_2.1): Move getitimer to...
5922 * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
5924 2000-11-03 Bruno Haible <haible@clisp.cons.org>
5926 * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
5927 "make install", to work around a binary incompatibility between
5928 glibc 2.1 and glibc 2.2 gconv modules.
5930 2000-11-09 Ulrich Drepper <drepper@redhat.com>
5932 * intl/locale.alias: Add thai.
5933 Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
5935 2000-11-07 Akim Demaille <akim@epita.fr>
5937 * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
5938 argument `data' for consistency with the prototypes.
5940 (obstack_copy, obstack_copy0): Rename the second argument as
5941 `address' for consistency. Qualify it `const'.
5942 * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
5943 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
5944 `const' their input argument (`data' or `address').
5945 Adjust the corresponding macros to include `const' in casts.
5947 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
5949 * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
5952 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
5954 * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
5957 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
5959 * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
5960 ai_protocol by internal table if service was not given.
5962 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
5964 * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
5965 numerical port was specified with protocol without socktype.
5967 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
5969 * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
5971 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
5973 * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
5975 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
5977 * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
5978 sin6_scope_id field.
5980 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
5982 * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
5984 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
5986 * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
5988 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
5990 * inet/getnameinfo.c: Wake-up sin6_scope_id support in
5991 getnameinfo(): check for whether sin6_socpe_id exist was wrong.
5993 2000-11-09 Martin Schwidefsky <mschwide@nc.boeblingen.de.ibm.com>
5995 * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
5996 * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
5998 2000-11-09 H.J. Lu <hjl@gnu.org>
6000 * io/Versions (GLIBC_2.1.1): Remove lockf64.
6003 See ChangeLog.11 for earlier changes.