1 2001-07-12 H.J. Lu <hjl@gnu.org>
3 * sysdeps/generic/segfault.c: Include <errno.h>.
5 2001-07-01 Andreas Jaeger <aj@suse.de>
7 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk): Remove duplicate
8 sbrk. Closes PR libc/2312.
10 2001-07-01 Andreas Jaeger <aj@suse.de>
12 * sysdeps/generic/segfault.c (install_handler): Handle case that
13 the output file does not exists. Closes PR libc/2345.
15 2001-07-11 Ulrich Drepper <drepper@redhat.com>
17 * intl/locale.alias: Use he language code for hebrew, not il
20 2001-07-11 Jakub Jelinek <jakub@redhat.com>
22 * iconv/gconv_int.h: Fix comment typo.
24 2001-07-11 Igor Khavkine <i_khavki@alcor.concordia.ca>
26 * hurd/hurdsig.c (_hurdsig_init): Remove a useless line of code.
28 2001-07-07 Roland McGrath <roland@frob.com>
30 * hurd/hurdsig.c (_hurd_thread_sigstate): Use MACH_PORT_NULL, not 0.
32 2001-07-10 Stephen L Moshier <moshier@mediaone.net>
34 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Fix
35 backwards conditional in test for x == 1.0.
37 2001-07-10 Andreas Jaeger <aj@suse.de>
39 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Add ulps for tanh
42 2001-07-09 Andreas Jaeger <aj@suse.de>
44 * sysdeps/unix/sysv/linux/configure.in: Revert patch from
45 2001-07-05 for sysconfdir handling.
46 * config.make.in (sysconfdir): Likewise.
47 * configure.in: Likewise.
49 * configure.in: Always assign libc_cv_sysconfdir.
51 2001-07-08 Ulrich Drepper <drepper@redhat.com>
53 * Makerules [AIX] (build-shlib-helper): Precede linker options
56 * Makeconfig (config-LDFLAGS): Add ld.so only for ELF.
58 * sysdeps/unix/make_errlist.c: Adjust sys_errlist declaration to
59 what we define in <stdio.h>.
61 * iconv/iconv_prog.c (main): Don't unconditionally define
62 variables only use if _POSIX_MAPPED_FILES is defined.
64 * sysdeps/unix/sysv/aix/sendmsg.c (sendmsg): Fix return type.
65 * sysdeps/unix/sysv/aix/recvmsg.c (recvmsg): Likewise.
67 * sysdeps/unix/sysv/aix/recv.c: New file.
69 * sysdeps/unix/sysv/aix/recvfrom.c: Fix various types.
71 2001-07-07 Ulrich Drepper <drepper@redhat.com>
73 * sysdeps/generic/recv.c: Fix return type.
75 * sysdeps/unix/sysv/aix/dl-libc.c (__libc_dlclose): Fix typo.
77 * sysdeps/unix/sysv/aix/gettimeofday.c (__gettimeofday): Add
78 declarations for asm functions.
80 * include/libc-symbols.h: Provide more dummy definitions for the
81 case if GNU ld isn't used.
83 * libio/freopen.c: Include <stdlib.h> for free declaration.
84 * libio/freopen64.c: Likewise.
86 * sysdeps/alpha/fpu/libm-test-ulps: Add deltas for tanh(-0.7).
88 2001-07-06 Jakub Jelinek <jakub@redhat.com>
90 * sysdeps/unix/sysv/linux/i386/sigaction.c (RESTORE2): Put asm
91 explicitly into .text section.
93 2001-04-16 Jes Sorensen <jes@linuxcare.com>
95 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
96 Add 16 longwords reserved for future use to match changes in the
99 2001-07-03 Jes Sorensen <jes@trained-monkey.org>
101 * sysdeps/ia64/strncpy.S: Call strnlen() when determining the
102 string length rather than strlen(). Solves the performance problem
103 of doing strlen on a 5MB string when strncpy was called with a
104 length argument of 5 bytes.
106 2001-07-02 Jakub Jelinek <jakub@redhat.com>
108 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
109 R_SPARC_UA16 and R_SPARC_UA32.
110 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
112 2001-07-01 Stephen L Moshier <moshier@mediaone.net>
114 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl):
115 acosh(x) = ln(2x) if x > 2^30.
116 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
117 acosh(x) = ln(2x) if x > 2^54.
119 2001-07-07 Mark Kettenis <kettenis@gnu.org>
121 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal):
122 Generate SIGSEGV instead of SIGBUS for KERN_INVALID_ADDRESS and
123 KERN_WRITE_PROTECTION_FAILURE.
125 2001-07-07 Ulrich Drepper <drepper@redhat.com>
127 * posix/regex.c: Limit string length printed in debug messages to
130 * configure.in: Don't warn about versioning if not on ELF system.
132 2001-07-07 Andreas Jaeger <aj@suse.de>
134 * sysdeps/*: Put files from GNU MP Library under LGPL v2.1.
136 2001-07-06 Ulrich Drepper <drepper@redhat.com>
138 * po/gl.po: Update from translation team.
140 2001-07-06 Andreas Jaeger <aj@suse.de>
142 * sysdeps/unix/sysv/linux/configure.in: Fix handling of
145 * manual/libc-texinfo.sh: Add note for the FDL.
147 * manual/argp.texi (Argp Example 4): Fix texinfo warning.
149 * manual/libc.texinfo: Regenerated.
151 * manual/fdl.texi: Fix node.
153 * config.make.in (sysconfdir): Replace correctly.
154 Closes PR libc/2369, reported by Peter Simons <simons@cryp.to>.
156 * sysdeps/unix/sysv/linux/alpha/configure.in: Removed, it's no
159 * sysdeps/unix/sysv/linux/configure.in (libc_cv_linuxVER): Add
161 Rework handling of missing linuxthreads add-on.
163 * configure.in: Remove unused sysconfdir substitution.
165 * manual/Makefile (texis): Add fdl.texi.
166 * manual/fdl.texi: New.
167 * manual/socket.texi (Host Names): Improve grammar, fix overflow hbox.
168 * manual/libc.texinfo: Add fdl, update titlepage.
169 Patches by Brian Youmans <3diff@gnu.org>.
171 * sysdeps/unix/make_errlist.c (main): Print LGPL v2.1 for
174 2001-07-06 Paul Eggert <eggert@twinsun.com>
176 * manual/argp.texi: Remove ignored LGPL copyright notice; it's
177 not appropriate for documentation anyway.
178 * manual/libc-texinfo.sh: "Library General Public License" ->
179 "Lesser General Public License".
180 * COPYING: Fix Y2k bug in sample copyright notices.
181 * manual/lesser.texi: Renamed from manual/lgpl.texinfo,
182 as fsf.org uses the name "lesser.texi".
183 * manual/Makefile (texis): Follow rename.
185 2001-07-06 Andreas Jaeger <aj@suse.de>
187 * All files under GPL/LGPL version 2: Place under LGPL version
190 2001-07-05 Andreas Jaeger <aj@suse.de>
192 Synch with Linux 2.4.6:
193 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_BLUETOOTH):
197 * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h
201 * sysdeps/unix/sysv/linux/mips/bits/socket.h (AF_BLUETOOTH): New.
204 * sysdeps/unix/sysv/linux/ia64/bits/socket.h (AF_BLUETOOTH): New.
207 * sysdeps/unix/sysv/linux/alpha/bits/socket.h (PF_BLUETOOTH): New.
210 * sysdeps/unix/sysv/linux/bits/socket.h (PF_BLUETOOTH): New.
213 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_IEEE80211): New.
215 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (N_HCI): New.
217 * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h (N_HCI): New.
219 * sysdeps/unix/sysv/linux/bits/ioctl-types.h (N_HCI): New.
221 2001-07-04 Roland McGrath <roland@frob.com>
223 * hurd/hurdsig.c (_hurd_internal_post_signal): For SS->suspended
224 wakeup message, use MACH_MSG_TYPE_MAKE_SEND for the receiver port
225 rather than doing a mach_port_insert_right call first.
227 2001-06-26 Roland McGrath <roland@frob.com>
229 * hurd/hurdioctl.c: Include <string.h> for memcpy decl.
231 2001-07-03 Andreas Jaeger <aj@suse.de>
233 * sysdeps/unix/sysv/sysv4/solaris2/configure.in: Remove check for
236 2001-07-01 Mark Kettenis <kettenis@gnu.org>
238 * sysdeps/mach/hurd/if_index.c: Redone to use new interfaces in
239 the Hurd pfinet server, using equivalent code from the Linux
240 version in sysdeps/unix/sysv/linux/if_index.c. In detail:
241 Include <unistd.h>, <error.h>, <sys/ioctl.h>, <hurd/ioctl.h> and
242 <hurd/pfinet.h>. Don't include <sys/mman.h> and <hurd/fsys.h>
244 (if_nametoindex): New implementation using SIOCGIFINDEX.
245 (if_freenameindex): Straight copy of the Linux version.
246 (if_nameindex): New implementation based on pfinet_siocgifconf and
248 (if_indextoname): New implementation using SIOCGIFNAME.
249 (map_interfaces): Function removed.
250 From Marcus Brinkmann <marcus@gnu.org>.
252 2001-06-30 Jakub Jelinek <jakub@redhat.com>
254 * sysdeps/powerpc/dl-machine.c (__elf_preferred_address): Prefer
255 gaps below main executable.
257 2001-06-19 Andreas Jaeger <aj@suse.de>
259 * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
262 2001-06-29 Andreas Jaeger <aj@suse.de>
264 * sysdeps/ieee754/ldbl-128/s_asinhl.c: New file.
265 Patch by Stephen L Moshier <moshier@mediaone.net>.
267 2001-06-28 Ulrich Drepper <drepper@redhat.com>
269 * manual/argp.texi: Tons of cleanups.
270 Patch by Clifford U. Smith <cuel@swbell.net>.
272 2001-06-28 Mark Kettenis <kettenis@gnu.org>
274 * manual/users.texi (Setting Groups): Correct initgroups
275 documentation. Add documentation for getgrouplist.
277 2001-06-28 H.J. Lu <hjl@gnu.org>
279 * locale/findlocale.c (locale_file_list): Renamed to ...
280 (_nl_locale_file_list): This. Make it extern.
281 (free_mem): Move to ...
282 * locale/setlocale.c (free_mem): Here.
284 2001-06-28 Mark Kettenis <kettenis@gnu.org>
286 * sysdeps/mach/hurd/read.c: Include <hurd/fd.h>.
287 (__libc_read): Don't call __pread. Use _hurd_fd_read directly
289 * sysdeps/mach/hurd/write.c: Include <hurd/fd.h>.
290 (__libc_write): Don't call __pwrite. Use _hurd_fd_write directly
293 * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Add back
294 -Wl,-soname option lost in 2001-06-16 change.
296 2001-06-27 Ulrich Drepper <drepper@redhat.com>
298 * posix/tst-regex.c: Pass REG_NEWLINE to regcomp. Add extra tests.
299 Restrict printing of string in debug mode to 100 characters to make
300 the output useful for long input texts.
302 * posix/Makefile: Add rules to build and run tst-regex.
304 2001-06-20 Isamu Hasegawa <isamu@yamato.ibm.com>
306 * posix/regex.c (FREE_WCS_BUFFERS): New macro to free buffers.
307 (re_search_2): Invoke convert_mbs_to_wcs and FREE_WCS_BUFFERS.
308 (wcs_re_match_2_internal): Check whether the wcs buffers need
309 seting up or not, and skip seting up routin if not needed.
311 2001-06-26 Isamu Hasegawa <isamu@yamato.ibm.com>
313 * posix/regex.c (count_mbs_length): Use binary search for optimization.
315 2001-06-27 Ulrich Drepper <drepper@redhat.com>
317 * posix/tst-regex.c: Fix several bugs. Add more tests.
319 2001-06-26 Mark Kettenis <kettenis@gnu.org>
321 * hurd/Makefile (user-interfaces): Add pfinet.
322 * hurd/hurdioctl.c: Include <hurd/pfinet.h>, <net/if.h> and
324 (siocgifconf): New function. Register it with HURD_HANDLE_IOCTL
325 as the handler for SIOCGIFCONF.
326 * sysdeps/mach/hurd/bits/ioctls.h: Modify SIOCSIFFLAGS and
327 SIOCGIFFLAGS to be of IOC type ifreq_short. Modify SIOCSIFMETRIC
328 and SIOCGIFMETRIC to be of IOC type ifreq_int. Add new macro
329 definitions for SIOCGIFMTU, SIOCSIFMTU, SIOCGIFINDEX and
331 From Marcus Brunkmann <marcus@gnu.org>.
333 2001-06-25 Ulrich Drepper <drepper@redhat.com>
335 * sysdeps/gnu/net/if.h: Correct _IOT_ifreq and add _IOT_ifreq_short
336 and _IOT_ifreq_int. Patch by Mark Kettenis <kettenis@wins.uva.nl>.
338 * elf/dl-deps.c (_dl_map_object_deps): Fix handling of failing
339 _dl_catch_error calls.
341 2001-06-22 Jakub Jelinek <jakub@redhat.com>
343 * posix/regex.c (regex_compile, re_match_2_internal): Fix comment
346 2001-06-01 Wolfram Gloger <wg@malloc.de>
348 * malloc/malloc.c (malloc_atfork, free_atfork): Use a unique value
349 ATFORK_ARENA_PTR, not 0, for the thread-specific arena pointer
350 when malloc_atfork is in use.
352 2001-06-22 Andreas Jaeger <aj@suse.de>
354 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Add parenthese
357 * sysdeps/i386/fpu/e_expl.c (__ieee754_expl): Remove unused
359 Add unused attributes to avoid warnings.
361 * elf/reldep4mod4.c: Add prototype to avoid warning.
362 * elf/reldep4mod2.c: Likewise.
364 * sysdeps/i386/fpu/e_expl.c: Include <math_private.h> for
367 2001-06-18 Roland McGrath <roland@frob.com>
369 * hurd/hurd/fd.h (_hurd_fd_error_signal): Change return type to int.
371 2001-06-20 Alexandre Oliva <aoliva@redhat.com>
373 * sysdeps/unix/sysv/settimeofday.c: Include time.h.
375 2001-06-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
377 * sysdeps/unix/sysv/linux/s390/s390-64/dl-cache.h: New file.
379 2001-05-09 Michael Keezer <mkeezer@redhat.com>
381 * Makeconfig: Added AIX-ld support for DSO.
382 * Makerules: Likewise.
383 * dlfcn/Makefile (defaultmod1.so): Added libc_nonshared.
384 (defaultmod2.so): Likewise.
385 * debug/Makefile: Conditionalize use of elf/ld.so.
386 * iconvdata/Makefile: Moved LDFLAG rpath/soname info into Makeconfig.
388 * sysdeps/unix/sysv/aix/Makefile: Added dl-support.c and dl-error.c.
389 * sysdeps/unix/sysv/aix/Makefile: Made (f/g)rsave(0/1) &
390 (f/g)prrest(0/1) static only.
391 * sysdeps/unix/sysv/aix/gettimeofday.c: Removed #if 0.
392 * sysdeps/unix/sysv/aix/start.c: Define __dso_handle if not ELF but
394 * sysdeps/unix/sysv/aix/setitimer.c: New file.
395 * sysdeps/unix/sysv/aix/sleep.c: New file.
396 * sysdeps/unix/sysv/aix/usleep.c: New file.
397 * sysdeps/unix/sysv/aix/dl-addr.c: New file.
398 * sysdeps/unix/sysv/aix/dl-error.c: New file.
399 * sysdeps/unix/sysv/aix/dl-support.c: New file.
400 * sysdeps/unix/sysv/aix/powerpc/register-dump.h: New file.
402 2001-06-19 Ulrich Drepper <drepper@redhat.com>
404 * po/es.po: Update from translation team.
406 2001-06-19 Andreas Jaeger <aj@suse.de>
408 * sysdeps/ieee754/ldbl-128/s_tanhl.c: New file.
410 * math/libm-test.inc (tanh_test): Test for 2^-56.
412 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Make sure result
413 equals argument when x < 2^-55.
414 Patches by Stephen L. Moshier <moshier@na-net.ornl.gov>.
416 2001-06-17 Alan Modra <amodra@bigpond.net.au>
418 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Handle relocs
419 at unaligned address.
421 2001-06-18 Ulrich Drepper <drepper@redhat.com>
423 * posix/regex.c: Reorganize code to build code twice, once for single
424 byte, once for multi-byte charsets. Choose function set adequate for
426 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
428 * po/nl.po: Update from translation team.
430 2001-06-09 Bruno Haible <haible@clisp.cons.org>
432 * iconvdata/gconv-modules (BIG5HKSCS): New alias BIG5-HKSCS.
433 (ISO-8859-14): New aliases ISO_8859-14 and ISO-CELTIC.
434 * iconvdata/tst-tables.sh: For BIG5HKSCS, use BIG5-HKSCS charmap.
436 2001-05-26 Bruno Haible <haible@clisp.cons.org>
438 * iconvdata/tst-tables.sh: For SJIS module, use SHIFT_JIS charmap.
439 * manual/charset.texi: Write Shift_JIS, not Shift-JIS.
441 2001-06-17 Roland McGrath <roland@frob.com>
443 * sysdeps/pthread/aio_misc.h (LIO_DSYNC): Define to LIO_NOP + 1,
444 not LIO_READ + 1 (which is the value of LIO_WRITE!).
446 * Makerules (build-module-helper-objlist): New variable,
447 broken out of build-module. Insert --whole-archive/--no-whole-archive
448 immediately each *_pic.a file in the link object list.
449 (whole-archive): New variable, used by that.
450 (build-module-objlist): New variable using build-module-helper-objlist.
451 (build-module, build-module-helper): Use it.
452 (build-shlib-objlist): New variable using build-module-helper-objlist.
453 (build-shlib): Use that.
454 * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Likewise.
456 * posix/spawni.c: Moved to ...
457 * sysdeps/posix/spawni.c: ... here.
458 * sysdeps/generic/spawni.c: New file.
460 2001-06-16 Roland McGrath <roland@frob.com>
462 * hurd/Makefile (routines): Add lookup-retry.
463 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Broken out ...
464 * hurd/lookup-retry.c: ... into here, new file.
465 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Call that instead
466 using of duplicate code here.
468 * hurd/hurdexec.c (_hurd_exec): Be robust for DTABLESIZE==0.
470 2001-06-17 Ulrich Drepper <drepper@redhat.com>
472 * po/ja.po: Update from translation team.
474 2001-06-04 Bruno Haible <haible@clisp.cons.org>
476 * locale/programs/locfile.c (siblings_uncached, siblings, full_read,
477 compare_files): New functions.
478 (write_locale_data): Use xmalloc. Compare the file with the locale
479 data files for the same category in other locales, and reuse it if
482 2001-06-07 Mark Kettenis <kettenis@gnu.org>
484 * grp/initgroups.c (initgroups): Factor out re-usable code into...
485 (internal_getgrouplist): ... new function.
486 (getgrouplist): New function.
487 * grp/grp.h (getgrouplist): New prototype.
488 * grp/Versions [2.2.4]: Add getgrouplist.
490 2001-06-16 Ulrich Drepper <drepper@redhat.com>
492 * inet/netinet/ip6.h: Fix comments in ip6_hdr.
493 Patch by Pekka Savola <pekkas@netcore.fi>.
495 2001-06-15 Roland McGrath <roland@frob.com>
497 * rt/Makefile (aio-routines, clock-routines, timer-routines): New
498 variables, broken out of librt-routines.
499 (librt-routines): Set using those.
500 (extra-libs, extra-libc-others, tests): Set these unconditionally.
501 (distribute): No need for $(librt-map) or $(librt-routines:=.c) here.
502 * sysdeps/generic/aio_fsync.c: New file.
503 * sysdeps/generic/aio_misc.c: New file.
504 * sysdeps/generic/aio_write.c: New file.
505 * sysdeps/generic/aio_write64.c: New file.
506 * sysdeps/generic/aio_read64.c: New file.
507 * sysdeps/generic/aio_read.c: New file.
508 * sysdeps/generic/aio_notify.c: New file.
509 * sysdeps/generic/lio_listio64.c: New file.
510 * sysdeps/generic/lio_listio.c: New file.
511 * sysdeps/generic/aio_cancel.c: New file.
512 * sysdeps/generic/aio_misc.h: New file.
513 * sysdeps/generic/aio_suspend.c: New file.
514 * rt/aio_cancel.c: Moved to ...
515 * sysdeps/pthread/aio_cancel.c: ... here.
516 * rt/aio_fsync.c: Moved to ...
517 * sysdeps/pthread/aio_fsync.c: ... here.
518 * rt/aio_misc.c: Moved to ...
519 * sysdeps/pthread/aio_misc.c: ... here.
520 * rt/aio_misc.h: Moved to ...
521 * sysdeps/pthread/aio_misc.h: ... here.
522 * rt/aio_notify.c: Moved to ...
523 * sysdeps/pthread/aio_notify.c: ... here.
524 * rt/aio_read.c: Moved to ...
525 * sysdeps/pthread/aio_read.c: ... here.
526 * rt/aio_read64.c: Moved to ...
527 * sysdeps/pthread/aio_read64.c: ... here.
528 * rt/aio_suspend.c: Moved to ...
529 * sysdeps/pthread/aio_suspend.c: ... here.
530 * rt/aio_write.c: Moved to ...
531 * sysdeps/pthread/aio_write.c: ... here.
532 * rt/aio_write64.c: Moved to ...
533 * sysdeps/pthread/aio_write64.c: ... here.
534 * rt/lio_listio.c: Moved to ...
535 * sysdeps/pthread/lio_listio.c: ... here.
536 * rt/lio_listio64.c: Moved to ...
537 * sysdeps/pthread/lio_listio64.c: ... here.
539 2001-06-14 Roland McGrath <roland@frob.com>
541 * configure.in: Let sysdeps Implies files in add-ons bring in
542 sysdeps directories from the main source and other add-ons too.
544 2001-06-15 Jakub Jelinek <jakub@redhat.com>
546 * math/test-misc.c (main): Add tests for nextafter and nexttoward
547 with +-Inf as second argument.
549 * sysdeps/generic/s_nexttowardf.c (__nexttowardf): Only check for
551 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Fix check for NaN.
552 * sysdeps/i386/fpu/s_nexttoward.c: New.
553 * sysdeps/i386/fpu/s_nexttowardf.c: New.
554 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Simplify
555 check for NaN, optimize x==+-0 handling.
556 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf): Likewise.
557 * sysdeps/ieee754/ldbl-96/s_nextafterl.c (__nextafterl): Simplify
558 check for NaN, fix sign in x==+-0 case.
559 * sysdeps/ia64/fpu/s_nexttoward.c: New.
560 * sysdeps/ia64/fpu/s_nexttowardf.c: New.
562 2001-06-15 H.J. Lu <hjl@gnu.org>
564 * rt/tst-aio2.c (do_test): Initialize cb.aio_offset to 0.
565 * rt/tst-aio3.c (do_test): Likewise.
566 * rt/tst-aio4.c (do_test): Likewise.
567 * rt/tst-aio5.c (do_test): Likewise.
568 * rt/tst-aio6.c (do_test): Likewise.
570 2001-06-15 Andreas Schwab <schwab@suse.de>
572 * sysdeps/m68k/fpu/bits/mathinline.h: Don't define log2 as inline.
573 * sysdeps/m68k/fpu/mathimpl.h: Define __ieee754_log2 as inline.
575 2001-06-15 Andreas Jaeger <aj@suse.de>
577 * gmon/tst-sprofil.c (fac): Make static to avoid compiler warning.
579 2001-06-14 Andreas Schwab <schwab@suse.de>
581 * elf/ldconfig.c (search_dir): Fix check for regular file.
583 * sysdeps/m68k/fpu/e_log2f.c: Fix typo.
584 * sysdeps/m68k/fpu/e_log2l.c: Fix typo.
586 2001-06-14 Roland McGrath <roland@frob.com>
588 * sysdeps/mach/hurd/bits/fcntl.h [ __USE_POSIX199309 || __USE_UNIX98]:
589 (O_DSYNC, O_RSYNC): New macros, both defined to O_SYNC as Linux does.
591 2001-06-13 Roland McGrath <roland@frob.com>
593 * rt/aio_notify.c: Include <unistd.h> for _POSIX_REALTIME_SIGNALS.
595 * sysdeps/mach/hurd/fork.c (LOSE): Put `goto lose' in dead code
596 so the label is not considered unused.
598 * sysdeps/mach/hurd/pwrite64.c: New file.
599 * sysdeps/mach/hurd/pread64.c: New file.
601 * sysdeps/mach/hurd/pread.c
602 (__libc_pread): Define this name, with __pread as an alias.
603 * sysdeps/mach/hurd/pwrite.c
604 (__libc_pwrite): Define this name, with __pwrite as an alias.
606 Implement POSIX "shared memory objects" as regular
607 files residing in the /var/run/shm/ directory.
608 This works on any system that supports _POSIX_MAPPED_FILES,
609 to make it also support _POSIX_SHARED_MEMORY_OBJECTS.
610 * sysdeps/posix/shm_open.c: New file.
611 * sysdeps/posix/shm_unlink.c: New file.
612 * sysdeps/mach/hurd/bits/posix_opt.h
613 (_POSIX_SHARED_MEMORY_OBJECTS): Define it.
615 * rt/aio_notify.c (__aio_notify_only) [! _POSIX_REALTIME_SIGNALS]:
616 Use raise instead of __aio_sigqueue.
618 * sysdeps/mach/hurd/pread.c: Fail with EINVAL if OFFSET is negative.
619 * sysdeps/mach/hurd/pwrite.c: Likewise.
621 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu.*): libc=0.3
622 [USE_IN_LIBIO && !GLIBC_OLDEST_ABI] (.*-.*-gnu-gnu.*): Use GLIBC_2.2.4
623 as default version set.
625 2001-06-13 Ulrich Drepper <drepper@redhat.com>
627 * libio/iolibio.h (_IO_freopen): Correct last parameter to
629 (_IO_freopen64): Likewise.
630 Reported by simanek@quantum.karlov.mff.cuni.cz [PR libc/2326].
632 * elf/elf.h: Add a few more EM_* constants.
634 2001-06-12 Bruno Haible <haible@clisp.cons.org>
636 * intl/dcigettext.c (DCIGETTEXT): Release the lock before returning.
638 2001-06-09 Ben Collins <bcollins@debian.org>
640 * sysdeps/unix/sysv/linux/bits/termios.h: Define __MAX_BAUD.
641 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
642 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
643 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
644 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
645 * sysdeps/unix/sysv/linux/speed.c: Use __MAX_BAUD instead of
648 2001-06-13 Ulrich Drepper <drepper@redhat.com>
650 * time/sys/time.h: Don't use enum __itimer_which ever for
651 __itimer_which_t for C++.
652 Reported by Martin Buchholz <martin@xemacs.org>.
654 * po/fr.po: Update from translation team.
656 2001-06-12 H.J. Lu <hjl@gnu.org>
658 * configure.in: Fix typos in missing program names.
659 * configure: Regenerated.
661 2001-06-12 Andreas Jaeger <aj@suse.de>
663 * iconvdata/tst-table-to.c: Include string.h for strcmp prototype.
665 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Add ULPs for tanh (-0.7).
667 2001-06-11 Andreas Jaeger <aj@suse.de>
669 * sysdeps/ieee754/ldbl-128/e_coshl.c: New file. Contributed by
670 Stephen L Moshier <moshier@mediaone.net>.
672 * aclocal.m4: Quote AC_FD_MSG and AC_FD_CC.
674 * sysdeps/powerpc/fpu/libm-test-ulps: Add ULPs for tanh (-0.7).
675 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
677 2001-06-11 Michael Deutschmann <michael@talamasca.ocis.net>
679 * rt/tst-aio4.c (do_test): Test whether rt signals are supported.
680 Use my_signo instead of MY_SIGNO and initialize it so that the
681 used signal is always available.
683 2001-06-11 Andreas Jaeger <aj@suse.de>,
684 Michael Deutschmann <michael@talamasca.ocis.net>
686 * io/test-lfs.c (do_prepare): Clean up error messages.
687 (test_ftello): Check for EFBIG and ENOSPC, clean up error messages.
690 2001-06-11 Andreas Jaeger <aj@suse.de>
692 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (IXANY, IUCLC,
693 IMAXBEL): Make always visible since they're needed by POSIX.
694 Closes PR libc/2320, reported by Chris Yeoh <cyeoh@samba.org>.
696 2001-06-10 Ben Collins <bcollins@debian.org>
698 * sysdeps/arm/elf/start.S: Use #function, not @function, for
701 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Include limits.h to get
704 2001-06-07 H.J. Lu <hjl@gnu.org>
706 * sunrpc/rpc/rpc.h: Add __BEGIN_DECLS/__END_DECLS.
708 2001-06-10 Roland McGrath <roland@frob.com>
710 * elf/reldep4mod2.c: Use fully typed decls to avoid warnings.
711 * elf/reldep4mod4.c: Likewise.
713 2001-06-10 Mark Kettenis <kettenis@gnu.org>
715 * hurd/hurd/threadvar.h: Add prototype for __hurd_errno_location.
717 2001-06-08 Andreas Schwab <schwab@suse.de>
719 * posix/regex.c (re_match_2_internal) [case wordbeg, wordend]:
720 Don't dereference at end of string.
722 2001-06-06 Roland McGrath <roland@frob.com>
724 * sysdeps/mach/hurd/getsockopt.c: Fix handling of returned buffer size.
725 From Robert Bihlmeyer <robbe@orcus.priv.at>.
727 2001-06-06 Ulrich Drepper <drepper@redhat.com>
729 * po/ko.po: Update from translation team.
731 2001-06-06 Andreas Jaeger <aj@suse.de>
733 * manual/llio.texi (Memory-mapped I/O): Clarify that mapping is to
735 Reported by Robert Bernecky <bernecky@acm.org>.
737 2001-06-06 Jakub Jelinek <jakub@redhat.com>
739 * sysdeps/cris/elf/start.S: Fix a typo introduced by last patch.
740 * sysdeps/ia64/elf/start.S: Likewise.
741 * sysdeps/sh/elf/start.S: Likewise.
742 * sysdeps/s390/s390-32/elf/start.S: Likewise.
743 * sysdeps/s390/s390-64/elf/start.S: Likewise.
745 2001-06-05 Matthew Wilcox <willy@ldl.fc.hp.com>
747 * sysdeps/hppa/bsd-_setjmp.S: New.
748 * sysdeps/hppa/bsd-setjmp.S: New.
750 * sysdeps/hppa/dl-machine.h: Reformat asm statements to remove new
751 gcc warnings about multi-line strings.
753 * sysdeps/unix/sysv/linux/hppa/getrlimit.c: Remove.
754 * sysdeps/unix/sysv/linux/hppa/setrlimit.c: Remove.
756 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Call getrlimit,
757 setrlimit directly instead of using wrappers.
759 2001-05-01 Richard Hirst <rhirst@linuxcare.com>
761 * sysdeps/unix/sysv/linux/hppa/syscall.S: remove dummy syscall.
762 * sysdeps/unix/sysv/linux/hppa/sysdep.c: implement syscall.
764 2001-06-05 Philipp Thomas <pthomas@suse.de>
766 * nis/nis_call.c (__nisbind_connect): Don't mark for translation
767 what can't be translated.
769 2001-06-06 Ulrich Drepper <drepper@redhat.com>
771 * timezone/zic.c: Update from tzcode2001c.
772 * timezone/private.h: Likewise.
773 * timezone/africa: Update from tzdata2001c.
774 * timezone/asia: Likewise.
775 * timezone/europe: Likewise.
776 * timezone/northamerica: Likewise.
777 * timezone/southamerica: Likewise.
778 * timezone/zone.tab: Likewise.
780 2001-06-04 Bruno Haible <haible@clisp.cons.org>
782 * iconv/loop.c (UNICODE_TAG_HANDLER): New macro.
783 * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Invoke
785 (__gconv_transform_internal_ucs2): Likewise.
786 (__gconv_transform_internal_ucs2reverse): Likewise.
787 * iconvdata/8bit-gap.c (BODY for TO_LOOP): Invoke UNICODE_TAG_HANDLER.
788 * iconvdata/8bit-generic.c (BODY for TO_LOOP): Likewise.
789 * iconvdata/ansi_x3.110.c (BODY for TO_LOOP): Likewise.
790 * iconvdata/big5.c (BODY for TO_LOOP): Likewise.
791 * iconvdata/big5hkscs.c (BODY for TO_LOOP): Likewise.
792 * iconvdata/cp1255.c (BODY for TO_LOOP): Likewise.
793 * iconvdata/cp1258.c (BODY for TO_LOOP): Likewise.
794 * iconvdata/euc-cn.c (BODY for TO_LOOP): Likewise.
795 * iconvdata/euc-jp.c (BODY for TO_LOOP): Likewise.
796 * iconvdata/euc-kr.c (BODY for TO_LOOP): Likewise.
797 * iconvdata/euc-tw.c (BODY for TO_LOOP): Likewise.
798 * iconvdata/gbk.c (BODY for TO_LOOP): Likewise.
799 * iconvdata/ibm930.c (BODY for TO_LOOP): Likewise.
800 * iconvdata/ibm932.c (BODY for TO_LOOP): Likewise.
801 * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
802 * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
803 * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
804 * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
805 * iconvdata/ibm943.c (BODY for TO_LOOP): Likewise.
806 * iconvdata/iso646.c (BODY for TO_LOOP): Likewise.
807 * iconvdata/iso8859-1.c (BODY for TO_LOOP): Likewise.
808 * iconvdata/iso_6937.c (BODY for TO_LOOP): Likewise.
809 * iconvdata/iso_6937-2.c (BODY for TO_LOOP): Likewise.
810 * iconvdata/iso-2022-cn.c (BODY for TO_LOOP): Likewise.
811 * iconvdata/iso-2022-cn-ext.c (BODY for TO_LOOP): Likewise.
812 * iconvdata/iso-2022-kr.c (BODY for TO_LOOP): Likewise.
813 * iconvdata/johab.c (BODY for TO_LOOP): Likewise.
814 * iconvdata/sjis.c (BODY for TO_LOOP): Likewise.
815 * iconvdata/t.61.c (BODY for TO_LOOP): Likewise.
816 * iconvdata/uhc.c (BODY for TO_LOOP): Likewise.
817 * iconvdata/unicode.c (BODY for TO_LOOP): Likewise.
818 * iconvdata/iso-2022-jp.c (TAG_none, TAG_language, TAG_language_j,
819 TAG_language_ja, TAG_language_k, TAG_language_ko, TAG_language_z,
820 TAG_language_zh, CURRENT_TAG_MASK): New enum values.
821 (EMIT_SHIFT_TO_INIT): Don't emit an escape sequence if ASCII_set
822 is already selected but set2 or tag are set.
823 (conversion): New enum type.
824 (cvlist_t): New type.
825 (CVLIST, CVLIST_FIRST, CVLIST_REST): New macros.
826 (conversion_lists): New array.
827 (BODY for TO_LOOP): Keep track of Unicode 3.1 language tag. If "ja",
828 prefer conversion to Japanese character sets. If "zh", prefer
829 conversion to GB2312. If "ko", prefer conversion to KSC5601. Small
831 (INIT_PARAMS): Add tag.
832 (UPDATE_PARAMS): Add tag.
834 2001-06-04 Bruno Haible <haible@clisp.cons.org>
836 * locale/programs/locfile.c (write_locale_data): Before creat(),
837 unlink the file, to avoid crashing the processes that mmap it. Change
838 a double slash to a single slash. Free fname in case of error return.
840 2001-06-02 Jakub Jelinek <jakub@redhat.com>
842 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Mostly revert 2000-12-03
843 changes, do the special handling for denormal numbers, not for
844 normalized numbers (patch by <trevin@xmission.com>).
846 * math/test-misc.c (main): Test frexpl with denormal arguments.
848 2001-06-04 Jakub Jelinek <jakub@redhat.com>
850 * math/libm-test.inc (llround_test): Add two new llround tests.
851 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Don't allow
852 overflow when rounding away from zero.
854 2001-06-04 Jakub Jelinek <jakub@redhat.com>
856 * math/Makefile (libm-calls): Add e_log2, w_log2, remove s_log2.
857 * math/math_private.h (__ieee754_log2, __ieee754_log2f,
858 __ieee754_log2l): New prototypes.
859 * sysdeps/generic/w_log2.c: New file.
860 * sysdeps/generic/w_log2f.c: New file.
861 * sysdeps/generic/w_log2l.c: New file.
862 * sysdeps/generic/s_log2l.c: Move...
863 * sysdeps/generic/e_log2l.c: ...to here. Rename to __ieee754_log2l.
864 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle log2(0)
866 * sysdeps/i386/fpu/s_log2.S: Move...
867 * sysdeps/i386/fpu/e_log2.S: ...to here. Rename to __ieee754_log2.
868 * sysdeps/i386/fpu/s_log2f.S: Move...
869 * sysdeps/i386/fpu/e_log2f.S: ...to here. Rename to __ieee754_log2f.
870 * sysdeps/i386/fpu/s_log2l.S: Move...
871 * sysdeps/i386/fpu/e_log2l.S: ...to here. Rename to __ieee754_log2l.
872 * sysdeps/m68k/fpu/s_log2.c: Move...
873 * sysdeps/m68k/fpu/e_log2.c: ...to here. Rename to __ieee754_log2.
874 * sysdeps/m68k/fpu/s_log2f.c: Move...
875 * sysdeps/m68k/fpu/e_log2f.c: ...to here. Rename to __ieee754_log2f.
876 * sysdeps/m68k/fpu/s_log2l.c: Move...
877 * sysdeps/m68k/fpu/e_log2l.c: ...to here. Rename to __ieee754_log2l.
878 * sysdeps/ieee754/dbl-64/s_log2.c: Move...
879 * sysdeps/ieee754/dbl-64/e_log2.c: ...to here. Rename to
881 * sysdeps/ieee754/flt-32/s_log2f.c: Move...
882 * sysdeps/ieee754/flt-32/e_log2f.c: ...to here. Rename to
885 2001-06-04 Jakub Jelinek <jakub@redhat.com>
887 * sysdeps/generic/w_exp2.c (u_threshold): Lower threshold so that
888 even arguments which result in denormalized exp2 are accepted.
889 (__exp2): Arguments equal to u_threshold already result into
891 * sysdeps/generic/w_exp2f.c (u_threshold, __exp2f): Likewise.
892 * sysdeps/generic/w_exp2l.c (u_threshold, __exp2l): Likewise.
893 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Lomark was too
894 low, with corrected lowmark use greaterequal, not greater.
895 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
897 2001-06-04 Jakub Jelinek <jakub@redhat.com>
899 * math/libm-test.inc (ilogb_test): Test that ilogb(+-Inf) == INT_MAX.
900 * sysdeps/i386/fpu/s_ilogb.S (__ilogb): Return INT_MAX for +-Inf.
901 * sysdeps/i386/fpu/s_ilogbf.S (__ilogbf): Likewise.
902 * sysdeps/i386/fpu/s_ilogbl.S (__ilogbl): Likewise.
903 * sysdeps/ieee754/dbl-64/s_ilogb.c (__ilogb): Likewise.
904 * sysdeps/ieee754/flt-32/s_ilogbf.c (__ilogbf): Likewise.
905 * sysdeps/ieee754/ldbl-128/s_ilogbl.c (__ilogbl): Likewise.
906 * sysdeps/ieee754/ldbl-96/s_ilogbl.c (__ilogbl): Likewise.
908 2001-06-04 Jakub Jelinek <jakub@redhat.com>
910 * sysdeps/generic/w_coshl.c (__coshl): Test if finite argument
911 gave non-finite result instead of using constant in generic
913 * sysdeps/generic/w_coshf.c (__coshf): Likewise.
914 * sysdeps/generic/w_cosh.c (__cosh): Likewise.
915 * sysdeps/generic/w_exp10.c (o_threshold, u_threshold): Remove.
916 (__exp10): Test if finite argument gave non-finite result.
917 * sysdeps/generic/w_exp10f.c (o_threshold, u_threshold, __exp10f):
919 * sysdeps/generic/w_exp10l.c (o_threshold, u_threshold, __exp10l):
922 2001-06-04 Jakub Jelinek <jakub@redhat.com>
924 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Fix
925 overflow threshold constant (log(LDBL_MAX)+M_LN2l).
927 2001-05-29 Bruno Haible <haible@clisp.cons.org>
929 * locale/programs/ld-ctype.c (idx_table): New struct type.
930 (idx_table_init, idx_table_get, idx_table_add): New functions.
931 (MAX_CHARNAMES_IDX): Remove macro.
932 (locale_ctype_t): Change type of charnames_idx field.
933 (ctype_startup): Change initialization of charnames_idx field.
934 (find_idx): Use idx_table_get and idx_table_add for speed.
936 * locale/programs/charmap.c (charmap_new_char): Fix ucs4 value
937 computation of characters in a range.
939 2001-05-29 Bruno Haible <haible@clisp.cons.org>
941 * iconvdata/gb18030.c (__fourbyte_to_ucs1): Add mappings for <U03F4>,
943 (__ucs_to_gb18030_tab1): Likewise.
944 (BODY for FROM_LOOP): Add mapping for <U00010000>..<U0010FFFF>.
945 (BODY for TO_LOOP): Likewise.
946 * iconvdata/tst-table-charmap.sh: Update for charmaps containing
948 * iconvdata/tst-table-from.c (bmp_only): New variable.
949 (utf8_decode): If bmp_only, don't return characters outside Unicode
951 (main): When testing UTF-8 or GB18030, set bmp_only to 1. Don't print
952 a conversion line if utf8_decode returns NULL.
953 * iconvdata/tst-table-to.c (main): When testing encodings other than
954 UTF-8 and GB18030, loop upto U+30000 instead of U+10000. Use UTF-8
955 instead of UCS-2 as input.
956 * iconvdata/tst-table.sh: For GB18030, use only the part < 0x10000
959 2001-05-29 Bruno Haible <haible@clisp.cons.org>
961 * iconvdata/cns11643l1.c: Update to Unicode 3.1.
962 (__cns11643l1_to_ucs4_tab): Regenerated.
963 (__cns11643l1_from_ucs4_tab12): Regenerated.
964 * iconvdata/cns11643.c: Update to Unicode 3.1.
965 (__cns11643l14_to_ucs4_tab): Remove array.
966 (__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab,
967 __cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab,
968 __cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New arrays.
969 (__cns11643_from_ucs4p0_tab): Renamed from __cns11643_from_ucs4_tab.
970 (__cns11643_from_ucs4p2_tab): New array.
971 * iconvdata/cns11643.h (__cns11643l14_to_ucs4_tab): Remove declaration.
972 (__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab,
973 __cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab,
974 __cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New declarations.
975 (cns11643_to_ucs4): Treat planes 3, 4, 5, 6, 7, 15 instead of 14.
976 (__cns11643_from_ucs4_tab): Remove declaration.
977 (__cns11643_from_ucs4p0_tab, __cns11643_from_ucs4p2_tab): New
979 (ucs4_to_cns11643): Update for new arrays. Treat U+3400..U+4DFF and
981 * iconvdata/cns11643l2.h (__cns11643_from_ucs4_tab): Remove
983 (__cns11643_from_ucs4p0_tab): New declaration.
984 (ucs4_to_cns11643l2): Update for new arrays.
985 * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): Handle planes
987 (BODY for TO_LOOP): Handle planes 3 to 7, instead of plane 14.
988 * iconvdata/EUC-TW.irreversible: New file.
989 * iconvdata/tst-table.sh: Use it.
990 * iconvdata/Makefile (distribute): Add CP1255.irreversible,
991 CP1258.irreversible, EUC-TW.irreversible.
993 2001-05-29 Bruno Haible <haible@clisp.cons.org>
995 * locale/C-translit.h.in: Add transliterations for new Unicode 3.1
996 mathematical symbols.
998 2001-06-05 Andreas Jaeger <aj@suse.de>
1000 * manual/stdio.texi (Portable Positioning): Fix description of
1001 fpos_t and fpos64_t.
1003 2001-06-06 Ulrich Drepper <drepper@redhat.com>
1005 * sysdeps/generic/wordexp.c: Undo last patch. Use strndupa instead.
1007 * po/sk.po: Update from translation team.
1009 2001-06-05 Andreas Jaeger <aj@suse.de>
1011 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Recognize
1012 tmpfs, patch by Stanislav Brabec <utx@penguin.cz>.
1013 Closes PR libc/2315.
1015 2001-06-05 Ulrich Drepper <drepper@redhat.com>
1017 * sysdeps/generic/wordexp.c: Add missing free.
1018 Patch by yeti@physics.muni.cz.
1020 2001-06-02 Tom Browder <tbrowder@home.com>
1022 * misc/tst-tsearch.c (mangle_tree): Ensure array indices are
1023 within bounds when lag > 0.
1025 2001-06-05 Ulrich Drepper <drepper@redhat.com>
1027 * po/tr.po: New file.
1029 2001-06-05 Andreas Jaeger <aj@suse.de>
1031 * manual/libm-err-tab.pl (parse_ulps): Fix typo.
1033 2001-06-04 H.J. Lu <hjl@gnu.org>
1035 * sysdeps/alpha/elf/start.S: Add .type for the entry point.
1036 * sysdeps/arm/elf/start.S: Likewise.
1037 * sysdeps/hppa/elf/start.S: Likewise.
1038 * sysdeps/i386/elf/start.S: Likewise.
1039 * sysdeps/m68k/elf/start.S: Likewise.
1040 * sysdeps/mips/elf/start.S: Likewise.
1041 * sysdeps/ia64/elf/start.S: Likewise.
1042 * sysdeps/sh/elf/start.S: Likewise.
1043 * sysdeps/s390/s390-32/elf/start.S: Likewise.
1044 * sysdeps/s390/s390-64/elf/start.S: Likewise.
1045 * sysdeps/cris/elf/start.S: Likewise.
1047 2001-06-04 Bruce Mitchener <bruce@cubik.org>
1049 * manual/resource.texi: Correct setpriority/nice documentation.
1051 * sysdeps/unix/nice.c: Correct nice() implementation.
1053 2001-06-04 Andreas Jaeger <aj@suse.de>
1055 * sysdeps/ieee754/ldbl-128/e_sinhl.c: New file, contributed by
1056 Stephen L Moshier <moshier@mediaone.net>.
1058 2001-06-03 Roland McGrath <roland@frob.com>
1060 * Makefile (postclean): Remove obsolete sysd-Makefile.
1062 2001-06-01 Roland McGrath <roland@frob.com>
1064 * sysdeps/alpha/fpu/fclrexcpt.c: #include <shlib-compat.h>
1065 and use compat_symbol/versioned_symbol instead of plain
1066 symbol_version/default_symbol_version.
1067 * sysdeps/alpha/fpu/fegetenv.c: Likewise.
1068 * sysdeps/alpha/fpu/fesetenv.c: Likewise.
1069 * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
1070 * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
1071 * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
1072 * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
1073 * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
1074 * sysdeps/arm/fpu/fegetenv.c: Likewise.
1075 * sysdeps/arm/fpu/fesetenv.c: Likewise.
1076 * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
1077 * sysdeps/arm/fpu/fsetexcptflg.c: Likewise.
1078 * sysdeps/i386/fpu/fclrexcpt.c: Likewise.
1079 * sysdeps/i386/fpu/fegetenv.c: Likewise.
1080 * sysdeps/i386/fpu/fesetenv.c: Likewise.
1081 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
1082 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
1083 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
1084 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
1085 * sysdeps/m68k/fpu/fclrexcpt.c: Likewise.
1086 * sysdeps/m68k/fpu/fegetenv.c: Likewise.
1087 * sysdeps/m68k/fpu/fesetenv.c: Likewise.
1088 * sysdeps/m68k/fpu/feupdateenv.c: Likewise.
1089 * sysdeps/m68k/fpu/fgetexcptflg.c: Likewise.
1090 * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
1091 * sysdeps/m68k/fpu/fsetexcptflg.c: Likewise.
1092 * sysdeps/powerpc/fclrexcpt.c: Likewise.
1093 * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
1094 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
1095 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1096 * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
1097 * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
1098 * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
1100 * iconvdata/cp1258.c: Include <stdlib.h> for abort decl.
1101 * iconvdata/iso-2022-cn-ext.c: Likewise.
1103 2001-06-01 Andreas Jaeger <aj@suse.de>
1105 * Versions.def: Add version 2.2.4.
1107 2001-06-01 Ulrich Drepper <drepper@redhat.com>
1109 * socket/Makefile (routines): Add sockatmark.
1110 * socket/Versions [GLIBC_2.2.4]: Add sockatmark.
1111 * socket/sys/socket.h: Add prototype for sockatmark.
1112 * sysdeps/generic/sockatmark.c: New file.
1113 * sysdeps/unix/sockatmark.c: New file.
1115 2001-06-01 Andreas Jaeger <aj@suse.de>
1117 * sysdeps/unix/sysv/linux/speed.c (cfsetispeed): Max speed is
1119 (cfsetospeed): Likewise.
1120 Reported by Lukasz Trabinski <lukasz@lt.wsisiz.edu.pl>.
1122 2001-05-31 Joseph S. Myers <jsm28@cam.ac.uk>
1124 * misc/sys/cdefs.h (__restrict_arr): Define to empty for C++.
1126 2001-05-30 Martin Schwidefsky <schwidefsky@de.ibm.com>
1128 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: greg_t
1129 needs to have the same aligment as the kernel structure.
1131 2001-05-29 Jakub Jelinek <jakub@redhat.com>
1133 * sunrpc/rpc/types.h (u_char, u_short, u_int, u_long, quad_t,
1134 u_quad_t, fsid_t, daddr_t, caddr_t): Make sure the types are defined.
1135 * posix/sys/types.h (u_char, u_short, u_int, u_long, quad_t,
1136 u_quad_t, fsid_t, daddr_t, caddr_t): Protect the __USE_BSD typedefs
1137 against multiple definition.
1139 2001-05-30 Ulrich Drepper <drepper@redhat.com>
1141 * po/da.po: Update from translation team.
1143 2001-05-29 Andreas Jaeger <aj@suse.de>
1145 * sysdeps/ieee754/ldbl-128/e_acosl.c: New file, contributed by
1146 Stephen L Moshier <moshier@mediaone.net>.
1148 * math/libm-test.inc (sinh_test): Add new test case.
1150 * sysdeps/ieee754/ldbl_96/e_sinhl.c (__ieee754_sinhl): sinhl(x) =
1152 Patch by Stephen L Moshier <moshier@mediaone.net>.
1154 2001-05-23 Andreas Jaeger <aj@suse.de>
1156 * iconvdata/testdata/WINDOWS-1255..UTF-8: Renamed to...
1157 * iconvdata/testdata/WINDOWS-1255..UTF8: this.
1159 2001-05-27 Andreas Jaeger <aj@suse.de>
1161 * manual/stdio.texi (String Streams): Fix fmemopen description.
1162 Reported by Michal Kochanowicz <michal@michal.waw.pl>.
1164 2001-05-26 H.J. Lu <hjl@gnu.org>
1166 * sysdeps/unix/sysv/linux/mips/syscalls.list: Change sigsuspend
1167 to s_sigsuspend. Add s_mmap2.
1169 * sysdeps/mips/atomicity.h: New file.
1171 * sysdeps/unix/sysv/linux/mips/getsysstats.c: New file.
1173 * sysdeps/unix/sysv/linux/mips/bits/ipc.h (ipc_perm): Put
1176 2001-05-25 Bruce Mitchener <bruce@cubik.org>
1178 * manual/ctype.texi: Minor fix.
1179 * manual/install.texi: Likewise.
1180 * manual/startup.texi: Likewise.
1181 * manual/examples/dir.c: Use perror() rather than puts().
1183 2001-05-25 David Mosberger <davidm@hpl.hp.com>
1185 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Put stuff following
1186 #endif directive inside a comment to avoid compiler warnings.
1188 2001-05-25 Philipp Thomas <pthomas@suse.de>
1190 * nis/nis_print.c (nis_nstype2str): Don't mark names of
1191 naming services for translation, only UNKNOWN needs it.
1192 Add comment to prevent it for the future.
1194 2001-05-25 Joseph S. Myers <jsm28@cam.ac.uk>
1196 * misc/sys/cdefs.h (__restrict_arr): Define appropriately for GCC
1197 3.1 and non-GCC C99 compilers.
1199 2001-05-22 David Mosberger <davidm@hpl.hp.com>
1201 * sysdeps/ia64/memmove.S: Increase MEMLAT from 6 to 21 for better
1203 * sysdeps/ia64/memcpy.S: Likewise.
1205 * sysdeps/ia64/bcopy.S: New file.
1207 * sysdeps/ia64/bzero.S: New file (derived from memset.S).
1209 2001-05-26 Ulrich Drepper <drepper@redhat.com>
1211 * sysdeps/ia64/fpu/libm-test-ulps: Add deltas for tanh(-0.7).
1213 2001-05-24 Ulrich Drepper <drepper@redhat.com>
1215 * iconvdata/Makefile: Add rules for CP10007.
1216 * iconvdata/gconv-modules: Add entries for CP10007 ad MacCyrillic.
1217 * iconvdata/cp10007.c: New file.
1218 * iconvdata/tst-tables.sh: Add CP10007.
1220 2001-05-23 kaz Kojima <kkojima@rr.iij4u.or.jp>
1222 * sysdeps/sh/dl-machine.h (_dl_runtime_resolve): Handle newer PLT.
1223 (_dl_runtime_profile): Likewise..
1225 2001-05-23 Thorsten Kukuk <kukuk@suse.de>
1227 * sysdeps/posix/getaddrinfo.c: Support for AF_UNIX commented out.
1228 * posix/tst-getaddrinfo.c: Remove AF_UNIX test.
1230 2001-05-19 H.J. Lu <hjl@gnu.org>
1232 * elf/dl-deps.c (_dl_map_object_deps): Pass objname and
1233 errstring of the failed DSO to _dl_signal_error ().
1235 2001-05-23 Ulrich Drepper <drepper@redhat.com>
1237 * iconvdata/gconv-modules: Add more aliases to enable use in
1240 2001-05-23 Andreas Jaeger <aj@suse.de>
1242 * sysdeps/unix/sysv/linux/ia64/Makefile (CFLAGS-initfini.s):
1243 Remove, it's not used anywhere anymore.
1244 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile
1245 (CFLAGS-initfini.s): Likewise.
1246 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
1247 (CFLAGS-initfini.s): Likewise.
1248 * sysdeps/unix/sysv/linux/powerpc/Makefile (CFLAGS-initfini.s):
1250 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-initfini.s):
1253 2001-05-21 Bruno Haible <haible@clisp.cons.org>
1255 * wcsmbs/mbrtowc.c (mbrtowc): Remove local variable 'flush', always
1256 use 0 instead, and rely on the converter to do the flush.
1257 * wcsmbs/tst-mbrtowc.c (utf8_test_1): New function, taken from
1259 (utf8_test_2, utf8_test_3): New function.
1260 (utf8_test): Call utf8_test_1, utf8_test_2, utf8_test_3.
1262 2001-05-22 Jakub Jelinek <jakub@redhat.com>
1264 * elf/dl-close.c (_dl_close): Save imap->l_reldeps, not map->l_reldeps.
1266 * elf/Makefile (distribute): Add reldep4mod[1234].c.
1267 (tests): Add reldep4.
1268 (modules-names): Add reldep4mod[1234].
1269 (reldep4mod1.so, reldep4mod2.so, reldep4, reldep4.out): New rules.
1270 * elf/reldep4.c: New file.
1271 * elf/reldep4mod1.c: Likewise.
1272 * elf/reldep4mod2.c: Likewise.
1273 * elf/reldep4mod3.c: Likewise.
1274 * elf/reldep4mod4.c: Likewise.
1276 2001-05-18 Jakub Jelinek <jakub@redhat.com>
1278 * elf/dl-lookup.c (PROTECTED): Remove defines.
1279 (add_dependency): Mark it with internal_function.
1280 (_dl_do_lookup, _dl_do_lookup_versioned): New functions.
1281 (_dl_lookup_symbol, _dl_lookup_symbol_skip,
1282 _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip): Use
1283 it if we don't want do_lookup* inlined.
1285 2001-05-18 Jakub Jelinek <jakub@redhat.com>
1287 * include/link.h (struct r_scope_elem): Remove r_duplist and
1289 * elf/dl-load.c (_dl_map_object_from_fd): Don't initialize them.
1290 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Look in r_list, not
1292 (_dl_lookup_versioned_symbol_skip): Likewise.
1293 * elf/dl-deps.c (struct list): Remove dup field, rename unique to next.
1294 (_dl_map_object_deps): Don't compute duplicate list.
1296 * elf/dl-symbol.c: Removed.
1297 * elf/Makefile (routines): Remove dl-symbol.
1299 2001-05-22 Ulrich Drepper <drepper@redhat.com>
1301 * po/el.po: Update from translation team.
1302 * po/sv.po: Likewise.
1304 2001-05-20 Bruno Haible <haible@clisp.cons.org>
1306 * iconvdata/cp1255.c: Completely rewritten.
1307 * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1255.
1308 * iconvdata/testdata/WINDOWS-1255: New file.
1309 * iconvdata/testdata/WINDOWS-1255..UTF8: New file.
1310 * iconvdata/TESTS: Add WINDOWS-1255 test.
1311 * iconvdata/CP1255.irreversible: New file.
1313 2001-05-20 Bruno Haible <haible@clisp.cons.org>
1315 * iconvdata/cp1258.c: Completely rewritten.
1316 * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1258.
1317 * iconvdata/testdata/WINDOWS-1258: New file.
1318 * iconvdata/testdata/WINDOWS-1258..UTF8: New file.
1319 * iconvdata/TESTS: Add WINDOWS-1258 test.
1320 * iconvdata/tst-table-from.c (try): Reset the iconv descriptor before
1321 the main call, and flush it afterwards.
1322 (utf8_decode): Return a string, possibly containing several Unicode
1324 (main): Update all utf8_decode calls.
1325 * iconvdata/CP1258.irreversible: New file.
1327 2001-05-20 Bruno Haible <haible@clisp.cons.org>
1329 * iconv/gconv.c (__gconv): For flush without output, pass do_flush = 2.
1330 * iconv/skeleton.c: Distinguish do_flush = 1 and do_flush = 2. In the
1331 first case, set outbuf, outstart, outend, and call PREPARE_LOOP before
1332 EMIT_SHIFT_TO_INIT; then pass the output produced by this step down to
1333 the next step. In the second case, clear the state without calling
1335 * iconvdata/ibm930.c (EMIT_SHIFT_TO_INIT): Use outbuf instead of
1336 data->__outbuf, and outend instead of data->__outbufend.
1337 * iconvdata/ibm933.c (EMIT_SHIFT_TO_INIT): Likewise.
1338 * iconvdata/ibm935.c (EMIT_SHIFT_TO_INIT): Likewise.
1339 * iconvdata/ibm937.c (EMIT_SHIFT_TO_INIT): Likewise.
1340 * iconvdata/ibm939.c (EMIT_SHIFT_TO_INIT): Likewise.
1341 * iconvdata/iso-2022-cn.c (EMIT_SHIFT_TO_INIT): Likewise.
1342 * iconvdata/iso-2022-cn-ext.c (EMIT_SHIFT_TO_INIT): Likewise.
1343 * iconvdata/iso-2022-jp.c (EMIT_SHIFT_TO_INIT): Likewise.
1344 * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Likewise.
1345 * iconvdata/utf-7.c (EMIT_SHIFT_TO_INIT): Likewise.
1347 2001-05-21 Jakub Jelinek <jakub@redhat.com>
1349 * elf/rtld.c (dl_main): Compute l_map_end for the main program.
1350 * elf/dl-sym.c (_dl_sym): Don't check for l_addr == 0.
1351 If match == _dl_loaded, caller can still come from the main program.
1352 (_dl_vsym): Likewise.
1353 * elf/dl-open.c (dl_open_worker): Don't check for l_addr == 0.
1354 * elf/dl-error.c (_dl_signal_error): Change NULL objname into "".
1355 * elf/restest2.c: New test.
1356 * elf/Makefile (tests): Add restest2.
1357 (restest2, LDFLAGS-restest2): Add rules.
1359 2001-05-22 Ulrich Drepper <drepper@redhat.com>
1361 * intl/Makefile: Add a few more dependencies to avoid races in the
1364 2001-05-22 Andreas Jaeger <aj@suse.de>
1366 * sysdeps/ieee754/ldbl-128/s_log1pl.c: New file, contributed by
1367 Stephen L Moshier <moshier@mediaone.net>.
1369 2001-05-22 Martin Schwidefsky <schwidefsky@de.ibm.com>
1371 * sysdeps/s390/s390-32/backtrace.c: Make backtrace return the
1372 return addresses instead of the stack pointers.
1373 * sysdeps/s390/s390-64/backtrace.c: Likewise.
1375 2001-05-21 Jakub Jelinek <jakub@redhat.com>
1377 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Include
1378 bits/sigcontext.h instead of bits/sigstack.h.
1379 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Add
1380 multiple-inclusion guards.
1382 2001-05-21 Andreas Jaeger <aj@suse.de>
1384 * locale/programs/ld-collate.c (handle_ellipsis): Fix message.
1385 Patch by Philipp Thomas <pthomas@suse.de>.
1387 2001-05-17 Bruce Mitchener <bruce@cubik.org>
1389 * manual/arpg.texi: Spelling, misc fixes.
1390 * manual/arith.texi: Likewise.
1391 * manual/crypt.texi: Likewise.
1392 * manual/debug.texi: Likewise.
1393 * manual/getopt.texi: Likewise.
1394 * manual/intro.texi: Likewise.
1395 * manual/memory.texi: Likewise.
1396 * manual/nss.texi: Likewise.
1397 * manual/pattern.texi: Likewise.
1398 * manual/process.texi: Likewise.
1399 * manual/resource.texi: Likewise.
1400 * manual/search.texi: Likewise.
1401 * manual/setjmp.texi: Likewise.
1402 * manual/signal.texi: Likewise.
1403 * manual/socket.texi: Likewise.
1404 * manual/stdio.texi: Likewise.
1405 * manual/string.texi: Likewise.
1406 * manual/sysinfo.texi: Likewise.
1407 * manual/terminal.texi: Likewise.
1408 * manual/llio.texi: Document madvise().
1410 2001-05-20 Roland McGrath <roland@frob.com>
1412 * Makeconfig (sysdep-makeconfigs): Include any Makeconfig files
1413 found within $(add-ons) directories too.
1414 [linuxthreads add-on]: Move variable settings for linuxthreads
1415 to new file linuxthreads/Makeconfig.
1417 2001-05-20 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1419 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
1420 Define for linux >= 2.4.5 on powerpc.
1421 (__ASSUME_MMAP2_SYSCALL): Likewise.
1423 2001-05-19 Roland McGrath <roland@frob.com>
1425 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Don't leak the
1426 result port when failing with ELOOP. Do the ELOOP check when
1427 following an absolute symlink target as well as relative.
1428 Remove #ifdef SYMLOOP_MAX conditional--it should always be defined.
1430 2001-05-18 Andreas Jaeger <aj@suse.de>
1432 * po/fr.po: Free software is "logiciel libre".
1433 Patch by Martin Michlmayr <tbm@cyrius.com>.
1435 * sysdeps/powerpc/elf/libc-start.c: Use __cxa_atexit.
1436 Patch by ekato@ees.hokudai.ac.jp, closes PR libc/2271.
1438 2001-05-17 David Mosberger <davidm@hpl.hp.com>
1440 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: New file.
1442 2001-05-17 Ulrich Drepper <drepper@redhat.com>
1444 * elf/dl-profile.c (_dl_mcount): Check whether state is
1445 GMON_PROF_ON before doing anything.
1447 2001-05-17 H.J. Lu <hjl@gnu.org>
1449 * elf/sprof.c (read_symbols): Move "++symtab" into the while loop.
1451 2001-05-17 Ulrich Drepper <drepper@redhat.com>
1453 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Use
1454 CHECK_SIGSET_NULL_OK and not CHECK_SIGSET for all parameters.
1455 Reported by Mark Burton <markb@ordern.com>.
1457 2001-05-17 Jakub Jelinek <jakub@redhat.com>
1459 * elf/ldconfig.c (add_dir): Only warn about stat failure if
1461 (search_dir): Likewise.
1463 2001-05-17 Ulrich Drepper <drepper@redhat.com>
1465 * sysdeps/i386/i486/atomicity.h (exchange_and_add): Correct second
1466 parameter of xaddl. Patch by H . J . Lu <hjl@lucon.org>.
1468 2001-05-14 Bruno Haible <haible@clisp.cons.org>
1470 * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): If SO is seen
1471 without previous announcement, reject it regularly, don't abort.
1473 2001-05-16 Ulrich Drepper <drepper@redhat.com>
1475 * math/tgmath.h: Fix handling of int parameters to binary and
1476 ternary functions. Reported by mitr@volny.cz.
1478 * math/test-tgmath.c: Add tests for calls with integer parameters.
1480 2001-05-15 Jakub Jelinek <jakub@redhat.com>
1482 * sunrpc/rpc_thread.c (rpc_default): Remove.
1483 (__rpc_thread_destroy): Use __libc_tsd_RPC_VARS_mem instead of
1485 (rpc_thread_multi, __rpc_thread_svc_fdset, __rpc_thread_createerr,
1486 __rpc_thread_svc_pollfd, __rpc_thread_svc_max_pollfd): Likewise.
1487 * sunrpc/auth_none.c (authnone_private): Fix a typo.
1489 2001-05-16 Martin Schwidefsky <schwidefsky@de.ibm.com>
1491 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Fix stack allocation.
1493 2001-05-16 Bruce Mitchener <bruce@cubik.org>
1495 * manual/llio.texi: Many grammar and typo fixes to the section on AIO.
1497 2001-05-15 Andreas Jaeger <aj@suse.de>
1499 * sysdeps/ieee754/ldbl-128/s_expm1l.c: New file, contributed by
1500 Stephen L Moshier <moshier@mediaone.net>.
1502 * sysdeps/i386/fpu/libm-test-ulps: Adjust for change.
1504 * math/libm-test.inc: Add comment with ToDo.
1506 * sysdeps/i386/fpu/e_expl.c: Rewritten to C and using a more
1507 accurate algorithm. Patch by Stephen L Moshier <moshier@mediaone.net>.
1509 * sysdeps/i386/fpu/e_expl.S: Removed.
1511 2001-05-14 Roland McGrath <roland@frob.com>
1513 * csu/Makefile ($(objpfx)g$(start-installed-name)): Turn this into a
1514 static pattern rule also that also covers
1515 $(objpx)g$(static-start-installed-name).
1516 [$(start-installed-name) != $(static-start-installed-name)]
1517 (extra-objs, omit-deps, install-lib): Add
1518 $(static-start-installed-name) and g$(static-start-installed-name).
1519 * sysdeps/mach/hurd/i386/Makefile: Don't add crt0.o to those here;
1520 just setting static-start-installed-name is now sufficient.
1521 (extra-objs): Add static-start.o here.
1522 (CFLAGS-initfini.s): Remove obsolete variable.
1523 * sysdeps/mach/hurd/i386/Makeconfig: New file.
1524 Define static-start-installed-name here.
1526 * Makeconfig: Include existing $(full_config_sysdirs:=/Makeconfig).
1527 * Make-dist (+sysdep-tsrcs): Look for Makeconfig files.
1529 * Makerules ($(+sysdir_pfx)sysd-Makefile): Remove this target and
1530 associated hair. Instead, just use $(wildcard ...) in the include.
1532 * configure.in (critic_missing, aux_missing): Collect in these vars
1533 the names of the missing programs, and include them in the error msgs.
1534 * configure: Regenerated.
1536 2001-05-14 Andreas Jaeger <aj@suse.de>
1538 * sysdeps/i386/fpu/libm-test-ulps: Adjust for new tests.
1540 * math/libm-test.inc (tanh_test): Add testcases for last tanh bug.
1542 2001-05-14 Stephen L Moshier <moshier@mediaone.net>
1544 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Fix sign test.
1546 2001-05-11 Jakub Jelinek <jakub@redhat.com>
1548 * posix/regex.c (re_match_2_internal): Swap mbs_offset and csize
1549 as well if swapping strings.
1550 Make sure stop is not past end of second string.
1551 * posix/bug-regex4.c: New test.
1552 * posix/Makefile (tests): Add bug-regex4.
1554 2001-05-10 Andreas Jaeger <aj@suse.de>
1556 * manual/install.texi (Linux): Clarify that Linux 2.2 is minimal
1559 2001-05-12 Andreas Jaeger <aj@suse.de>
1561 * sysdeps/ieee754/dbl-64/s_sin.c: Include "math_private.h" for
1562 internal prototypes.
1563 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1564 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1565 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1566 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1567 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1568 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1569 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
1571 * math/math_private.h: Add prototypes for internal functions of
1572 the IBM Accurate Mathematical Library.
1574 * sysdeps/ieee754/dbl-64/s_atan.c: Include "math.h" for
1576 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1578 * sysdeps/ieee754/dbl-64/e_asin.c: Include "math_private.h" for
1579 internal prototypes.
1580 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1581 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1582 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1583 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1584 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1585 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1586 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1587 * sysdeps/generic/e_rem_pio2l.c: Likewise.
1588 (__ieee754_rem_pio2l): Fix prototype.
1590 * math/math_private.h (__copysign): Add internal prototype.
1592 2001-05-11 Andreas Jaeger <aj@suse.de>
1594 * sysdeps/unix/sysv/linux/configure.in: Move binutils check to...
1595 * sysdeps/unix/sysv/linux/mips/configure.in: ...here. New file.
1597 2001-05-11 Andreas Jaeger <aj@suse.de>
1599 * sysdeps/unix/sysv/linux/configure.in: Check binutils version on
1602 * sysdeps/mips/rtld-ldscript.in: Removed unneeded binary output
1603 format directive. Patch by Steven J. Hill <sjhill@cotw.com>.
1605 2001-05-11 Roland McGrath <roland@frob.com>
1607 * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't use
1608 $(build-module) here, since we don't need the full magilla.
1609 Just use $(build-module-helper) and append our special options.
1611 2001-05-09 Andreas Schwab <schwab@suse.de>
1613 * sysdeps/unix/readdir.c: Make sure we don't modify errno when we
1616 2001-05-07 H.J. Lu <hjl@gnu.org>
1618 * elf/ldconfig.c (dir_entry): Add ino and dev.
1619 (add_single_dir): Compare ino and dev to check if 2 directory
1620 paths are the same or not. Free entry->path for duplicates.
1621 (add_dir): Initialize ino and dev for entry.
1622 (search_dir): Handle symlink to directory.
1624 2001-05-07 Andreas Jaeger <aj@suse.de>
1626 * sysdeps/i386/fpu/libm-test-ulps: Add ulps for new exp tests.
1628 * math/libm-test.inc (exp_test): Add some more tests.
1629 (pow_test): Run double only test also for long double.
1631 * math/test-ldouble.c (TEST_LDOUBLE): Define.
1632 * math/test-ildoubl.c (TEST_LDOUBLE): Likewise.
1634 * sysdeps/generic/bits/confname.h: Remove extra comma at end of
1636 Closes PR libc/2240.
1638 * scripts/config.guess: Imported from gnu.org.
1639 * scripts/config.sub: Likewise.
1641 2001-05-05 Jakub Jelinek <jakub@redhat.com>
1643 * include/features.h (__USE_EXTERN_INLINES): Don't define if
1644 __NO_INLINE__ is defined.
1645 * ctype/ctype.h (tolower, toupper): Change the guard condition to
1646 __USE_EXTERN_INLINES check only.
1647 * stdlib/stdlib.h (strtod, ...): Likewise.
1648 * wcsmbs/wchar.h (mbrlen): Likewise.
1649 * string/string.h: Only include bits/string.h and bits/string2.h
1650 if __NO_INLINE__ is not defined.
1652 2001-05-07 Andreas Jaeger <aj@suse.de>
1654 * debug/Makefile ($(objpfx)xtrace): Substitute @SLIBDIR@ instead
1657 2001-05-04 H.J. Lu <hjl@gnu.org>
1659 * malloc/Makefile ($(objpfx)memusage): Substitute @SLIBDIR@
1662 2001-05-06 Andreas Jaeger <aj@suse.de>
1664 * sysdeps/i386/fpu/e_fmodl.c: New, rewrite of e_fmodl.S.
1665 * sysdeps/i386/fpu/e_fmodl.S: Removed.
1666 * sysdeps/i386/fpu/e_atan2l.c: New, rewrite of e_atan2l.S.
1667 * sysdeps/i386/fpu/e_atan2l.S: Removed.
1668 * sysdeps/i386/fpu/e_acosl.c: New, rewrite of e_acos.S.
1669 * sysdeps/i386/fpu/s_atanl.c: New, rewrite of e_atanl.S.
1670 * sysdeps/i386/fpu/e_sqrtl.c: New, rewrite of e_sqrt.S.
1671 * sysdeps/i386/fpu/e_acosl.S: Removed.
1672 * sysdeps/i386/fpu/s_atanl.S: Removed.
1673 * sysdeps/i386/fpu/e_sqrtl.S: Removed.
1675 2001-05-05 Mark Kettenis <kettenis@gnu.org>
1677 * sysdeps/mach/hurd/bits/environments.h: Add comment from
1678 sysdeps/generic/bits/environments.h. Define _POSIX_V6_* values.
1680 2001-04-30 Jakub Jelinek <jakub@redhat.com>
1682 * posix/confstr.c (confstr) [_CS_V6_WIDTH_RESTRICTED_ENVS]: Move so
1683 that _CS_LFS_CFLAGS can fall through to the empty returned string
1684 case. Add FALLTHROUGH comment.
1686 2001-04-29 Ralf Baechle <ralf@gnu.org>
1688 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Make structure
1689 definitions match the kernel definitions.
1690 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
1691 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
1693 2001-04-29 Ben Collins <bcollins@debian.org>
1695 * sysdeps/sparc/sparc64/dl-machine.h: Fix multiline strings
1697 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Likewise.
1698 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
1699 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
1700 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Likewise.
1701 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Likewise.
1702 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
1703 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
1704 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
1705 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
1706 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
1707 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
1708 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
1709 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Likewise.
1710 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
1711 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Likewise.
1712 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
1713 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
1714 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1715 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1716 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Likewise.
1717 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Likewise.
1718 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Likewise.
1719 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
1721 2001-04-29 Andreas Schwab <schwab@suse.de>
1723 * sysdeps/unix/sysv/linux/kernel-features.h: Fix missing backslash
1726 2001-04-29 Andreas Jaeger <aj@suse.de>
1728 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
1729 Define for Arm, PowerPC and SH if kernel is 2.4.4 or newer.
1731 * sysdeps/unix/sysv/linux/bits/socket.h (PF_WANPIPE): New, from
1733 (AF_WANPIPE): Likewise.
1736 * sysdeps/unix/sysv/linux/alpha/bits/socket.h: Add same changes as
1737 for Linux generic version.
1738 * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Likewise.
1739 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
1740 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
1741 * sysdeps/unix/sysv/linux/ia64/bits/socket.h: Likewise.
1743 * sysdeps/gnu/netinet/tcp.h (TCP_QUICKACK): New.
1745 2001-04-27 Ulrich Drepper <drepper@redhat.com>
1747 * nis/nss-nis.h: Correct test for invalid error number.
1748 * nis/nss-nisplus.h: Likewise.
1750 * nis/Makefile (libnss_compat-rountines): Add nss-nisplus.
1752 2001-04-26 Ulrich Drepper <drepper@redhat.com>
1754 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getunwind.
1756 * string/strcoll.c: Fix two memory allocation problems.
1757 * string/Makefile (tests): Add bug-strcoll1.
1758 * string/bug-strcoll1.c: New file.
1760 * malloc/mcheck.c (mcheck): Call malloc once before setting the
1761 hooks to allow the internal check hooks to be set up if necessary.
1763 * nis/nss-nis.h: Move yperr2nss_tab definition into separate file
1764 and rename to __yperr2nss_tab. Change YPERR_COUNT into variable
1766 * nis/nss-nis.c: New file.
1767 * nis/nss-nisplus.h: Move niserr2nss_tab definition into separate file
1768 and rename to __niserr2nss_tab. Change NISERR_COUNT into variable
1770 * nis/nss-nisplus.c: New file.
1771 * nis/Makefile (libnss_compat-routines): Add nss-nis.
1772 (libnss_nis-routines): Likewise.
1773 (libnss_nisplus-routines): Add nss-nisplus.
1775 * nis/nss_nisplus/nisplus-alias.c: Remove unnecessary initializations.
1776 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
1777 * nis/nss_nisplus/nisplus-grp.c: Likewise.
1778 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
1779 * nis/nss_nisplus/nisplus-network.c: Likewise.
1780 * nis/nss_nisplus/nisplus-proto.c: Likewise.
1781 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
1782 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
1783 * nis/nss_nisplus/nisplus-service.c: Likewise.
1784 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
1785 * nis/nss_nis/nis-alias.c: Likewise.
1786 * nis/nss_nis/nis-ethers.c: Likewise.
1787 * nis/nss_nis/nis-grp.c: Likewise.
1788 * nis/nss_nis/nis-network.c: Likewise.
1789 * nis/nss_nis/nis-proto.c: Likewise.
1790 * nis/nss_nis/nis-pwd.c: Likewise.
1791 * nis/nss_nis/nis-spwd.c: Likewise.
1792 * nis/nss_compat/compat-grp.c: Likewise.
1793 * nis/nss_compat/compat-initgroups.c: Likewise.
1794 * nis/nss_compat/compat-pwd.c: Likewise.
1795 * nis/nss_compat/compat-spwd.c: Likewise.
1797 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Some more
1798 optimizations. Patch by Jakub Jelinek <jakub@redhat.com>.
1800 2001-04-26 Andreas Jaeger <aj@suse.de>
1802 * po/zh_TW.po: Update.
1803 Patch by Tung-Han Hsieh <thhsieh@tlug.sinica.edu.tw>.
1805 2001-04-25 Ulrich Drepper <drepper@redhat.com>
1807 * malloc/malloc.c: Allow MALLOC_ALIGNMENT to be defined on the
1808 compiler command line.
1809 * sysdeps/hppa/Makefile: Add -DMALLOC_ALIGNMENT=16 to compiler
1810 command line for malloc.c.
1812 2001-04-25 Jakub Jelinek <jakub@redhat.com>
1814 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: Move to...
1815 * sysdeps/unix/sysv/linux/sparc/bits/time.h: ...here.
1816 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: Remove.
1817 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: Move to...
1818 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: ...here. Adjust
1819 struct msghdr for __WORDSIZE == 32.
1820 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: Move to...
1821 * sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: ...here. Adjust
1822 for __WORDSIZE == 32.
1823 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Remove.
1824 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c: New
1826 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_siglongjmp):
1827 Rename from longjmp, make longjmp weak alias to it.
1829 2001-04-24 David S. Miller <davem@redhat.com>
1831 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: New file.
1833 2001-04-25 Matthew Wilcox <willy@ldl.fc.hp.com>
1835 * sysdeps/hppa/stackinfo.h: New file.
1836 * sysdeps/unix/sysv/linux/hppa/getdents64.c: New file.
1837 * sysdeps/unix/sysv/linux/hppa/mmap64.c: New file.
1838 * sysdeps/unix/sysv/linux/hppa/bits/resource.h: New file.
1839 * sysdeps/unix/sysv/linux/kernel-features.h: Add descriptions
1840 of PA kernel features.
1842 2001-04-25 Ulrich Drepper <drepper@redhat.com>
1844 * locale/programs/localedef.c (main): Always set a file name for
1846 * locale/programs/locfile.c (locfile_read): filename is allowed to
1849 2001-04-12 Paul Bame <paul_bame@hp.com>
1851 * sysdeps/hppa/fpu/fclrexcpt.c: Clear the exception flags, not the
1854 2001-04-24 Ulrich Drepper <drepper@redhat.com>
1856 * sysdeps/generic/bits/environments.h (_POSIX_V6_LPBIG_OFFBIG,
1857 _XBS5_LPBIG_OFFBIG): Define to -1.
1860 * sysdeps/generic/bits/confname.h: Add _CS_V6_WIDTH_RESTRICTED_ENVS.
1861 * posix/confstr.c: Handle _CS_V6_WIDTH_RESTRICTED_ENVS.
1862 * posix/getconf.c: Handle _POSIX_V6_WIDTH_RESTRICTED_ENVS.
1863 * posix/tst-getconf.sh: Add _POSIX_V6_WIDTH_RESTRICTED_ENVS.
1865 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/Implies: New file.
1866 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: Removed.
1868 2001-03-21 Alan Modra <alan@one.net.au>
1870 * sysdeps/hppa/dl-machine.h (RTLD_START): Set up dp with DT_PLTGOT
1871 value from application so that constructors in non-PIC libs work.
1873 2000-12-13 Jes Sorensen <jes@linuxcare.com>
1875 * sysdeps/hppa/dl-machine.h (RTLD_START): _dl_init now returns a
1876 function pointer, hence load the jump address and gp from the
1877 function pointer before jumping.
1879 2001-04-24 Andreas Jaeger <aj@suse.de>
1881 * sysdeps/generic/send.c (__send): Return ssize_t.
1882 * sysdeps/mach/hurd/send.c (__send): Likewise.
1883 * sysdeps/mach/hurd/recv.c (recv): Likewise.
1884 * sysdeps/mach/hurd/sendto.c (sendto): Likewise.
1885 * sysdeps/generic/sendto.c (sendto): Likewise.
1886 * sysdeps/generic/recvmsg.c (recvmsg): Likewise.
1887 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
1888 * sysdeps/generic/recvfrom.c (recvfrom): Likewise.
1889 * sysdeps/generic/sendmsg.c (sendmsg): Likewise.
1891 * socket/sys/socket.h: send* and recv* return ssize_t.
1893 * include/sys/socket.h: send returns ssize_t.
1895 * sysdeps/i386/fpu_control.h: Fix comments.
1897 2001-04-24 Ulrich Drepper <drepper@redhat.com>
1899 * sysdeps/ia64/Dist: Add hp-timing.c.
1900 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add ucontext_i.h.
1901 * posix/Makefile (distribute): Add tst-getconf.sh.
1902 * po/Makefile (distribute): Add $(BROKEN_LINGUAS:=.po).
1904 2001-04-23 Ulrich Drepper <drepper@redhat.com>
1906 * sysdeps/ia64/Makefile [subdir=csu] (sysdep_routines): Add hp-timing.
1907 * sysdeps/ia64/Versions: Add _dl_cpuclock_offset for ld in 2.2.3.
1908 * sysdeps/ia64/hp-timing.c: New file.
1909 * sysdeps/ia64/hp-timing.h: New file.
1910 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Add definitions for
1911 CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
1913 * sysdeps/generic/clock_getcpuclockid.c: Make function generic, test
1914 using #ifdef whether the clock is available.
1915 * sysdeps/unix/i386/clock_getcpuclockid.c: Not needed anymore.
1917 * sysdeps/generic/dl-sysdep.c: Initialize _dl_cpuclock_offset to move
1918 it into data section.
1920 * sysdeps/unix/i386/i586/clock_getres.c: Removed.
1921 * sysdeps/unix/i386/i586/clock_gettime.c: Removed.
1922 * sysdeps/unix/i386/i586/clock_nanosleep.c: Removed.
1923 * sysdeps/unix/i386/i586/clock_settime.c: Removed.
1924 * sysdeps/unix/i386/i586/cpuclock-init.h: Removed.
1925 * sysdeps/generic/cpuclock-init.h: Removed.
1926 * sysdeps/unix/i386/i686/Implies: Removed.
1927 * sysdeps/unix/i386/i686/tempname.c: Removed.
1928 * sysdeps/i386/i686/Versions: New file.
1929 * sysdeps/unix/i386/i586/Versions: Removed.
1931 * sysdeps/posix/clock_getres.c: If HP_TIMING_AVAIL is nonzero handle
1932 CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
1933 * sysdeps/unix/clock_gettime.c: Likewise.
1934 * sysdeps/unix/clock_nanosleep.c: Likewise.
1935 * sysdeps/unix/clock_settime.c: Likewise.
1936 * sysdeps/posix/tempname.c: Is HP_TIMING_AVAIL is nonzero define
1937 RANDOM_BITS use CPU clock.
1939 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: New file.
1940 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: New file.
1941 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: New file.
1942 * sysdeps/sparc/Versions: New file.
1944 * elf/dl-support.c: Don't use cpuclock-init.h definitions, use
1945 hp-timing.h definitions.
1946 * sysdeps/generic/dl-sysdep.c: Likewise.
1948 * include/libc-internal.h: Include hp-timing.h. Use hp_timing_t in
1949 __get_clockfreq prototype.
1951 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1952 Use hp_timing_t type.
1953 * sysdeps/generic/get_clockfreq.c (__get_clockfreq): Likewise.
1955 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: New file.
1957 * sysdeps/posix/pathconf.c (__pathconf): For _PC_ASYNC_IO test
1958 whether named file is a regular file or a block device.
1959 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
1961 2001-04-23 Andreas Jaeger <aj@suse.de>
1963 * nscd/nscd.h: Add noreturn attribute for start_threads.
1965 2001-04-22 Ulrich Drepper <drepper@redhat.com>
1967 * posix/getconf.c: Fix names of XBS5 LFS test variables.
1968 Add missing configuration variables from XPG6.
1969 * posix/tst-getconf.c: New file.
1970 * posix/Makefile (generated): Add tst-getconf.out.
1971 (tests): Add ($objpfx)tst-getconf.out.
1972 Add rule to run tst-getconf.sh.
1973 * sysdeps/generic/bits/confname.h: Add missing _PC_ and _SC_ values
1975 * sysdeps/posix/fpathconf.c: Add handling of _PC_ALLOC_SIZE_MIN and
1977 * sysdeps/posix/pathconf.c: Likewise.
1978 * sysdeps/posix/sysconf.c: Correct spelling of _SC_MULTI_PROCESS
1979 and _SC_SYMLOOP_MAX.
1981 2001-04-22 Philip Blundell <philb@gnu.org>
1983 * sysdeps/arm/fpu/feenablxcpt.c: New file.
1984 * sysdeps/arm/fpu/fedisablxcpt.c: New file.
1985 * sysdeps/arm/fpu/fegetexcpt.c: New file.
1987 2001-04-22 Philip Blundell <philb@gnu.org>
1989 * sysdeps/unix/sysv/linux/arm/sys/user.h (struct user_fpregs):
1990 Renamed from struct user_fp.
1991 (struct user_regs): New.
1992 (struct user): Use struct user_regs rather than struct pt_regs to
1993 avoid dependency on asm/ptrace.h. Use struct user_fpregs in place
1994 of struct user_fp and struct user_fp_struct.
1995 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Include sys/procfs.h
1998 2001-04-22 Philip Blundell <philb@gnu.org>
2000 * sysdeps/unix/sysv/linux/arm/sys/elf.h: Move contents to
2001 sys/procfs.h, and tell the user to include that file instead.
2002 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove old cruft
2003 surrounded with #if 0.
2004 (elf_greg_t, ELF_NGREG, elf_gregset_t, elf_fpregset_t): Moved here
2006 (prgregset_t, prfpregset_t): Define in terms of elf_gregset_t and
2007 elf_fpregset_t respectively.
2009 2001-04-22 Philip Blundell <philb@gnu.org>
2011 * sysdeps/unix/sysv/linux/arm/register-dump.h: Also print the
2012 address that faulted.
2014 2001-04-21 Ulrich Drepper <drepper@redhat.com>
2016 * sysdeps/generic/bits/confname.h: Add _SC_V6_* and _CS_POSIX_V6_*
2018 * sysdeps/generic/bits/environments.h: Define _POSIX_V6_* values.
2019 * posix/confstr.c: Handle _CS_POSIX_V6_* values.
2020 * posix/getconf.c: Handle _CS_POSIX_V6_* and _SC_V6_* values.
2021 * sysdeps/posix/sysconf.c: Handle _SC_V6_* values.
2023 * sysdeps/powerpc/fpu/libm-test-ulps: Add deltas for atan2f.
2024 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2025 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2026 * sysdeps/mips/fpu/libm-test-ulps: Likewise.
2028 2001-04-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2030 * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correct check for invalid
2033 2001-04-21 Ulrich Drepper <drepper@redhat.com>
2035 * posix/getopt.h: Treat __cplusplus like __STDC__.
2037 2001-04-20 John S. Marvin <jsm@fc.hp.com>
2039 * sysdeps/unix/sysv/linux/hppa/clone.S: Fix clone system call
2042 2001-04-20 Richard Hirst <rhirst@linuxcare.com>
2044 * elf/elf.h: Corrected R_PARISC_DIR14R (should be 6, not 5),
2045 and added R_PARISC_DPREL21L and R_PARISC_DPREL14R for modutils.
2047 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Removed ptrace
2048 entry so the ptrace.c wrapper is used.
2050 2001-04-20 Alan Modra <amodra@one.net.au>
2052 * sysdeps/hppa/dl-lookupcfg.h (_dl_function_address): Prototype.
2053 (DL_FUNCTION_ADDRESS): Define.
2054 (DL_DT_INIT_ADDRESS): Define.
2055 (DL_DT_FINI_ADDRESS): Define.
2056 * sysdeps/hppa/Versions: Add _dl_function_address.
2057 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_START_ADDRESS): Define.
2058 * sysdeps/hppa/dl-symaddr.c (_dl_start_address): Rename to
2059 _dl_function_address.
2061 2001-04-21 Andreas Jaeger <aj@suse.de>
2063 * rt/aio_misc.c (handle_fildes_io): Add noreturn attribute.
2064 * resolv/gai_misc.c (handle_requests): Likewise.
2065 * malloc/obstack.c (print_and_abort): Likewise.
2066 * malloc/mcheck.c (mabort): Likewise.
2068 * sysdeps/unix/i386/i586/clock_settime.c: Include
2069 "libc-internal.h" for __get_clockfreq declaration.
2071 2001-04-21 Ulrich Drepper <drepper@redhat.com>
2073 * elf/dl-support.c: Include cpuclock-init.h. Use CPUCLOCK_VARDEF and
2074 CPUCLOCK_INIT if defined.
2075 * sysdeps/generic/dl-sysdep.c: Likewise.
2076 * sysdeps/generic/cpuclock-init.h: New file.
2077 * sysdeps/unix/i386/i586/cpuclock-init.h: New file.
2078 * sysdeps/unix/i386/i586/Versions: New file.
2079 * sysdeps/unix/i386/i586/clock_settime.c: New file.
2080 * sysdeps/unix/i386/i586/clock_gettime.c: Handle thread CPU clock
2081 separately by calling __pthread_clock_gettime if this function is
2082 available. Subtract offset from tsc value before computing time value.
2084 2001-04-20 Ulrich Drepper <drepper@redhat.com>
2086 * iconv/iconv_prog.c (print_known_names): If printing goes not to
2087 a tty print in a more machine-friendly way.
2089 * sysdeps/ieee754/ldbl-128/e_asinl.c: New file.
2090 Contributed by Stephen L Moshier <moshier@mediaone.net>.
2092 2001-04-20 Andreas Jaeger <aj@suse.de>
2094 * intl/Makefile (tests): Reorder conditions, tst-gettext needs msgfmt.
2096 2001-04-20 Andreas Schwab <schwab@suse.de>
2098 * sysdeps/m68k/fpu/libm-test-ulps: Update.
2100 2001-04-19 Alan Modra <amodra@one.net.au>
2102 * Makerules (libc_pic.os): Add $(LDFLAGS-c_pic.os).
2103 * sysdeps/hppa/Makefile (LDFLAGS-c_pic.os): Define.
2104 (CFLAGS-.os): Remove.
2106 * sysdeps/unix/sysv/linux/hppa/sysdep.h (CALL_MCOUNT): Update comment.
2108 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG, NFPREG,
2109 gregset): Correct for new kernel definitions.
2111 2001-04-19 Alan Modra <alan@linuxcare.com.au>
2113 * sysdeps/hppa/elf/initfini.c: Change dlt reg save to r3 and
2114 generate unwind info by hand.
2116 2001-04-19 Ulrich Drepper <drepper@redhat.com>
2118 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Optimize a bit.
2120 * configure.in: Correct regular expression for msgfmt.
2121 Patch by Bruno Haible <haible@ilog.fr>.
2123 2001-04-19 Andreas Jaeger <aj@suse.de>
2125 * po/el.po: Add comment explaining what's broken.
2127 * po/Makefile (BROKEN_LINGUAS): New.
2128 (ALL_LINGUAS): Don't add broken languages.
2130 2001-04-19 Roland McGrath <roland@frob.com>
2132 * sysdeps/mach/hurd/mlock.c: New file.
2133 * sysdeps/mach/hurd/munlock.c: New file.
2134 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK_RANGE): Define it.
2136 * misc/Makefile (routines): Add mlock munlock mlockall munlockall.
2137 * sysdeps/generic/mlock.c: New file.
2138 * sysdeps/generic/munlock.c: New file.
2139 * sysdeps/generic/mlockall.c: New file.
2140 * sysdeps/generic/munlockall.c: New file.
2141 * sysdeps/generic/bits/mman.h (MCL_CURRENT, MCL_FUTURE): New macros.
2142 * sysdeps/unix/sysv/linux/syscalls.list (mlock, munlock,
2143 mlockall, munlockall): Change caller field to - from EXTRA.
2144 Don't use __ names; not used (and not declared in include/sys/mman.h).
2146 * hurd/privports.c (__get_privileged_ports): Renamed with __.
2147 Use __ names for calls we make.
2148 (get_privileged_ports): Add alias.
2149 * hurd/hurd.h: Declare it with the __ name.
2150 * sysdeps/mach/hurd/reboot.c (reboot): Use __get_privileged_ports.
2151 * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
2152 * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
2154 * hurd/hurdsig.c (write_corefile): Check RLIMIT_CORE limit and do
2155 nothing if it's zero.
2157 2001-04-19 Matthew Wilcox <willy@ldl.fc.hp.com>
2159 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL):
2160 Change to return a signed result for compatibility with other
2161 architectures, and correctness.
2163 2001-04-19 Ulrich Drepper <drepper@redhat.com>
2165 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_32BITUIDS):
2166 HPPA always had them. Patch by Matthew Wilcox <matthew@wil.cx>.
2168 2001-04-19 Andreas Jaeger <aj@suse.de>
2170 * configure.in: Require gettext 0.10.36 or newer.
2172 * manual/install.texi (Tools for Compilation): Mention gettext 0.10.36.
2174 * po/zh_TW.po: Remove extraneous backslashes.
2176 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove unused
2179 2001-04-18 Jakub Jelinek <jakub@redhat.com>
2181 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
2182 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c: New file.
2183 * sysdeps/unix/sysv/linux/sparc/sparc64/swapcontext.c: New file.
2184 * sysdeps/unix/sysv/linux/sparc/sparc64/setcontext.S (__setcontext):
2185 Copy first word of uc_sigmask into __uc_sigmask.
2186 * sysdeps/unix/sysv/linux/sparc/sparc64/getcontext.S (__getcontext):
2187 Save uc_link around trap. Copy __uc_sigmask into first word of
2188 uc_sigmask, clear the rest. Make sure setcontext to the created
2189 context doesn't do this though.
2190 * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext_i.h: New file.
2191 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Add
2192 uc_stack and uc_sigmask, rename old uc_sigmask to __uc_sigmask in the
2193 64bit version, make uc_sigmask __sigset_t in the 32bit version.
2195 2001-04-19 Andreas Jaeger <aj@suse.de>
2197 * sysdeps/unix/sysv/linux/hppa/umount.c: Fix typos in last patch.
2199 * rt/Makefile (otherlibs): Added for static NSS.
2201 * glibcbug.in (BUGGLIBC): Send to new alias.
2203 2001-04-02 Andreas Schwab <schwab@suse.de>
2205 * Makerules (build-module): Make sure exit codes get checked
2206 properly and remove unnecessary slashes.
2208 2001-04-17 Ulrich Drepper <drepper@redhat.com>
2210 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2211 Handle kernels which report only three digits after the decimal point.
2212 Reported by Van Okamura <van.okamura@oracle.com>.
2214 * sysdeps/alpha/fpu/libm-test-ulps: Adjust error values for atan2f.
2216 2001-04-17 David S. Miller <davem@redhat.com>
2218 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update for new atan2 tests.
2219 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2221 2001-04-17 Jakub Jelinek <jakub@redhat.com>
2223 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Make sure
2224 desired exceptions are raised for exceptional values.
2225 * math/libm-test.inc (acosh_test, atan_test, atan2_test, cacos_test,
2226 cacosh_test, casin_test, casinh_test, catan_test, catanh_test,
2227 clog_test, log_test, log1p_test, tan_test): Increase precision of
2228 expected values to satisfy ldbl-128.
2229 * sysdeps/alpha/fpu/libm-test-ulps: Adjust accordingly.
2230 * sysdeps/arm/libm-test-ulps: Likewise.
2231 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2232 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2233 * sysdeps/m68k/fpu/libm-test-ulps: Likewise.
2234 * sysdeps/mips/fpu/libm-test-ulps: Likewise.
2235 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2236 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2237 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2238 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
2239 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2241 2001-04-17 Andreas Jaeger <aj@suse.de>
2243 * configure.in: Move test for critical programs up.
2245 2001-04-16 Stephen L Moshier <moshier@mediaone.net>
2247 * sysdeps/ieee754/flt-32/e_asinf.c (pio2_hi, pio2_lo, pio4_hi):
2249 (pSx, qSx): Replace by shorter approximation.
2250 Use f suffix on float constants.
2252 2001-04-16 Ulrich Drepper <drepper@redhat.com>
2254 * sysdeps/ieee754/ldbl-128/k_tanl.c: New file.
2255 Contributed by Stephen L Moshier <moshier@mediaone.net>.
2257 * string/string.h: Replace const in attribute list with __const__.
2259 2001-04-16 Roland McGrath <roland@frob.com>
2261 * grp/initgroups.c (initgroups) [NGROUPS_MAX != 0]: Always use sysconf
2262 instead of the constant NGROUPS_MAX. That way, the limit can be
2263 raised in the kernel configuration without having to recompile libc.
2265 * sysdeps/posix/euidaccess.c: Don't #include <limits.h> or try to
2266 define NGROUPS_MAX; we don't use it here.
2268 2001-04-16 Andreas Jaeger <aj@suse.de>
2270 * math/libm-test.inc (atan2_test): Add more testcases.
2272 * iconv/gconv_db.c: Include gconv_charset.h for
2273 __gconv_lookup_alias prototype.
2275 2001-04-13 Ulrich Drepper <drepper@redhat.com>
2277 * sysdeps/ieee754/ldbl-128/s_atanl.c: New file.
2278 Contributed by Stephen L Moshier <moshier@mediaone.net>.
2280 2001-04-13 Jes Sorensen <jes@linuxcare.com>
2282 * intl/tst-codeset.c: Include string.h to get prototype for strcmp().
2284 2001-04-13 Jes Sorensen <jes@linuxcare.com>
2286 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add __pad0 to
2287 explicitly pad struct siginfo instead of relying on compiler padding.
2289 2001-04-12 Ulrich Drepper <drepper@redhat.com>
2291 * sysdeps/ia64/Dist: Add elf/entry.h.
2293 * iconvdata/Makefile (distribute): Add TESTS2.
2295 2001-04-13 Jakub Jelinek <jakub@redhat.com>
2297 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_load_address):
2298 Calculate load address differently.
2300 2001-04-12 Bruno Haible <haible@clisp.cons.org>
2302 * iconvdata/TESTS2: New file.
2303 * iconvdata/run-iconv-test.sh: Also run tests from TESTS2.
2304 * iconvdata/testdata/alfabeta..UTF-8: New file.
2305 * iconvdata/testdata/alfabeta..UTF-16.BE: New file.
2306 * iconvdata/testdata/alfabeta..UTF-16.LE: New file.
2307 * iconvdata/testdata/alfabeta..UTF-32.BE: New file.
2308 * iconvdata/testdata/alfabeta..UTF-32.LE: New file.
2310 2001-04-11 Bruno Haible <haible@clisp.cons.org>
2312 * iconvdata/utf-32.c: New file.
2313 * iconvdata/gconv-modules: Add entries for UTF-32, UTF-32LE, UTF-32BE.
2314 * iconvdata/Makefile (modules): Add UTF-32.
2315 (distribute): Add utf-32.c.
2317 2001-04-11 Bruno Haible <haible@clisp.cons.org>
2319 * iconvdata/utf-16.c (PREPARE_LOOP): Initialize 'swap' after possibly
2320 changing it in the state. After incrementing 'inptr', store it back.
2321 * iconvdata/unicode.c (PREPARE_LOOP): After incrementing 'inptr',
2324 2001-04-11 Bruno Haible <haible@clisp.cons.org>
2326 * iconvdata/utf-16.c (gconv_init): Use MAX_NEEDED_FROM, not
2329 2001-04-11 David Mosberger <davidm@hpl.hp.com>
2331 * sysdeps/ia64/htonl.S: Drop superfluous "alloc".
2332 * sysdeps/ia64/htons.S: Likewise.
2334 * sysdeps/ia64/memset.S: Add unwind directives.
2335 * sysdeps/ia64/strncpy.S: Likewise.
2336 * sysdeps/ia64/strcat.S: Likewise.
2338 * sysdeps/ia64/memccpy.S: Add unwind directives. Drop superfluous
2340 * sysdeps/ia64/strchr.S: Likewise.
2341 * sysdeps/ia64/memmove.S: Likewise.
2342 * sysdeps/ia64/memcpy.S: Likewise.
2343 * sysdeps/ia64/memcmp.S: Likewise.
2344 * sysdeps/ia64/memchr.S: Likewise.
2345 * sysdeps/ia64/strcmp.S: Likewise.
2346 * sysdeps/ia64/strlen.S: Likewise.
2347 * sysdeps/ia64/strcpy.S: Likewise.
2348 * sysdeps/ia64/strncmp.S: Likewise.
2350 2001-04-11 Jakub Jelinek <jakub@redhat.com>
2352 * wcsmbs/wchar.h (fgetwc, getwc, getwchar, fputwc, putwc, putwchar,
2353 fgetws, fputws, ungetwc, getwc_unlocked, getwchar_unlocked,
2354 fgetwc_unlocked, fputwc_unlocked, putwc_unlocked, putwchar_unlocked,
2355 fgetws_unlocked, fputws_unlocked, wcsftime): Add __THROW.
2357 2001-04-11 Andreas Jaeger <aj@suse.de>
2359 * sysdeps/mips/elf/start.S [__ASSEMBLY__]: Define it.
2361 2001-04-11 Andreas Schwab <schwab@suse.de>
2363 * sysdeps/m68k/fpu/libm-test-ulps: Adjusted.
2365 2001-04-11 Ulrich Drepper <drepper@redhat.com>
2367 * sysdeps/arm/stackinfo.h: New file.
2369 2001-04-08 Thorsten Kukuk <kukuk@suse.de>
2371 * sunrpc/rpc_main.c: If we compile RPC thread safe, allow
2372 rpcgen to generate thread safe code.
2374 2001-04-10 Andreas Jaeger <aj@suse.de>
2376 * math/test-fenv.c (initial_tests): Protect FE_TONEAREST declaration.
2378 2001-04-10 Ulrich Drepper <drepper@redhat.com>
2380 * elf/dl-minimal.c (__assert_fail): Change error string. It's
2381 most of the time no bug in ld.so.
2382 (__assert_perror_fail): Likewise.
2384 2001-04-11 Hans-Peter Nilsson <hp@axis.com>
2386 * sysdeps/generic/bits/fenv.h (fexcept_t): Change default type
2387 from struct to unsigned int.
2389 2001-04-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2391 * elf/elf.h (AT_DCACHEBSIZE, AT_ICACHEBSIZE, AT_UCACHEBSIZE,
2392 AT_IGNOREPPC): New defines.
2393 * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Print them.
2394 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
2395 Define for newer powerpc kernels.
2396 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Use the standard
2397 DL_FIND_ARG_COMPONENTS if __ASSUME_STD_AUXV is defined.
2399 2000-4-10 kaz Kojima <kkojima@rr.iij4u.or.jp>
2401 * sysdeps/sh/stackinfo.h: New file.
2403 2001-04-10 Ulrich Drepper <drepper@redhat.com>
2405 * locale/tst-C-locale.c (run_test): Add tests for locale objects.
2406 * locale/newlocale.c (__newlocale): Correct setting __ctype_b,
2407 __ctype_tolower, and __ctype_toupper elements.
2409 * ctype/ctype_l.c: Fix definitions of __tolower_l and __toupper_l.
2410 Reported by Konstantin Osipov <rabid@spylog.ru>.
2412 * sysdeps/i386/fpu/libm-test-ulps: Add deltas for tgamma to help
2415 2001-04-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2417 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: New file.
2418 * sysdeps/unix/sysv/linux/powerpc/Dist: Add sys/ptrace.h.
2419 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Delete wrong stuff.
2420 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Correct typedefs.
2422 2001-04-10 Ulrich Drepper <drepper@redhat.com>
2424 * elf/dl-deps.c (_dl_map_object_deps): Provide complete error
2425 message. Based on a patch by HJ Lu.
2427 2001-04-10 Andreas Schwab <schwab@suse.de>
2429 * math/libm-test.inc (csinh_test): Don't require the invalid
2430 exception for csinh (x + iNaN), but make it optional.
2432 2001-04-09 David Mosberger <davidm@hpl.hp.com>
2434 * sysdeps/ia64/elf/start.S (_start): Add unwind directives.
2436 * sysdeps/generic/entry.h [!__ASSEMBLY__]: Declare _start.
2437 * sysdeps/ia64/elf/entry.h: New file.
2438 * sysdeps/unix/sysv/linux/mips/entry.h [!__ASSEMBLY__]: Declare
2440 * elf/rtld.c: Don't declare ENTRY_POINT. Use ENTRY_POINT instead
2442 * sysdeps/generic/dl-sysdep.c: Likewise.
2443 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
2444 * sysdeps/ia64/elf/start.S: Save base address of register backing
2445 store in __libc_ia64_register_backing_store_base.
2447 2001-04-10 Martin Schwidefsky <schwidefsky@de.ibm.com>
2449 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Fix return
2450 value of getcontext.
2451 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
2452 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Fix return
2453 value of setcontext.
2454 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2455 * sysdeps/unix/sysv/linux/s390/swapcontext.c: Skip setcontext
2456 call by changing the saved context.
2458 2001-04-10 Ulrich Drepper <drepper@redhat.com>
2460 * sysdeps/alpha/stackinfo.h: New file.
2461 * sysdeps/ia64/stackinfo.h: New file.
2463 2001-04-10 Andreas Schwab <schwab@suse.de>
2465 * sysdeps/m68k/fpu/e_pow.c: Correct handling of some exceptional
2467 * sysdeps/m68k/fpu/e_scalb.c: Likewise.
2469 2001-04-09 Ulrich Drepper <drepper@redhat.com>
2471 * sysdeps/sparc/sparc32/sparcv9/Dist: Add hp-timing.c.
2472 * sysdeps/sparc/sparc64/Dist: Add hp-timing.c.
2474 * libio/Makefile (distribute): Add fd_to_filename.h.
2476 2001-04-05 David S. Miller <davem@redhat.com>
2478 Add hp-timing support for sparcv9/sparc64 targets.
2479 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: New file
2480 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: New file
2481 * sysdeps/sparc/sparc64/hp-timing.c: New file
2482 * sysdeps/sparc/sparc64/hp-timing.h: New file
2483 * sysdeps/sparc/sparc32/sparcv9/Makefile: Build hp-timing.
2484 * sysdeps/sparc/sparc64/Makefile: Likewise.
2486 2001-04-09 Jakub Jelinek <jakub@redhat.com>
2488 * sysdeps/generic/fd_to_filename.h: New file.
2489 * sysdeps/unix/sysv/linux/fd_to_filename.h: New file.
2490 * libio/freopen.c (freopen): If FILENAME is NULL, try to get
2491 filename from the open file descriptor.
2492 * libio/freopen64.c (freopen64): Likewise.
2494 2001-04-09 Bruno Haible <haible@clisp.cons.org>
2496 * misc/error.c (error): fflush stdout also if
2497 error_print_progname != NULL.
2498 (error_at_line): Likewise.
2500 2001-04-07 Bruno Haible <haible@clisp.cons.org>
2502 * intl/gettextP.h (struct loaded_domain): Add codeset_cntr field.
2503 (struct binding): Add codeset_cntr field.
2504 (_nl_load_domain): Add domainbinding argument.
2505 (_nl_init_domain_conv, _nl_free_domain_conv): New declarations.
2506 (_nl_find_msg): New declaration, moved here from loadinfo.h.
2507 * intl/loadinfo.h (struct loaded_l10nfile): Remove domainbinding field.
2508 (_nl_make_l10nflist): Remove domainbinding argument.
2509 (_nl_find_msg): Move declaration to gettextP.h.
2510 * intl/bindtextdom.c (set_binding_values): Initialize ->codeset_cntr
2511 to 0. Increment it when ->codeset is changed.
2512 * intl/dcigettext.c (DCIGETTEXT): Pass binding to _nl_find_msg.
2513 (_nl_find_msg): Add domainbinding argument. Reinitialize the converter
2514 if domainbinding->codeset_cntr has been incremented.
2515 * intl/finddomain.c (_nl_find_domain): Don't pass domainbinding to
2516 _nl_make_l10nflist(). Pass it to _nl_load_domain() instead.
2517 * intl/l10nflist.c (_nl_make_l10nflist): Remove domainbinding argument.
2518 * intl/loadmsgcat.c (_nl_init_domain_conv): New function, extracted
2519 from _nl_load_domain. Append //TRANSLIT also when using libiconv.
2520 (_nl_free_domain_conv): New function, extracted from _nl_unload_domain.
2521 (_nl_load_domain): Add domainbinding argument. Call
2522 _nl_init_domain_conv.
2523 (_nl_unload_domain): Call _nl_free_domain_conv.
2524 * intl/Makefile (distribute): Add tst-codeset.sh, tstcodeset.po.
2525 (test-srcs): Add tst-codeset.
2526 (tests): Depend on tst-codeset.out.
2527 (tst-codeset.out): New rule.
2528 (CFLAGS-tst-codeset.c): New variable.
2529 * intl/tst-codeset.sh: New file.
2530 * intl/tstcodeset.po: New file.
2531 * intl/tst-codeset.c: New file.
2532 * locale/findlocale.c (_nl_find_locale): Update _nl_make_l10nflist
2535 2001-04-07 Roland McGrath <roland@frob.com>
2537 * mach/msgserver.c (__mach_msg_server_timeout): Add an assert.
2539 2001-03-31 Roland McGrath <roland@frob.com>
2541 * sysdeps/mach/hurd/fork.c: Skip NEWPROC just like NEWTASK when
2542 copying send rights into child. When we hit our name for our proc
2543 port, just copy NEWPROC directly instead of repeating proc_task2proc
2544 to install the child's port.
2546 2001-04-08 Roland McGrath <roland@frob.com>
2548 * Makeconfig ($(common-objpfx)soversions.i): Grok entries with DEFAULT
2549 in second column, to provide default values for third column.
2550 * shlib-versions: Add comments about using DEFAULT in second column.
2551 (s390x-.*-linux.*): Replace individual entries with a DEFAULT entry.
2552 (cris-.*-linux.*): Likewise.
2554 2001-04-09 Ulrich Drepper <drepper@redhat.com>
2556 * Makefile (distribute): Add scripts/documented.sh.
2557 * scripts/documented.sh: New file.
2559 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
2561 * sysdeps/unix/sysv/linux/cris/Dist: New file.
2562 * sysdeps/unix/sysv/linux/cris/Makefile: New file.
2563 * sysdeps/unix/sysv/linux/cris/_G_config.h: New file.
2564 * sysdeps/unix/sysv/linux/cris/bits/fcntl.h: New file.
2565 * sysdeps/unix/sysv/linux/cris/bits/mman.h: New file.
2566 * sysdeps/unix/sysv/linux/cris/bits/resource.h: New file.
2567 * sysdeps/unix/sysv/linux/cris/brk.c: New file.
2568 * sysdeps/unix/sysv/linux/cris/chown.c: New file.
2569 * sysdeps/unix/sysv/linux/cris/clone.S: New file.
2570 * sysdeps/unix/sysv/linux/cris/fchown.c: New file.
2571 * sysdeps/unix/sysv/linux/cris/fcntl.c: New file.
2572 * sysdeps/unix/sysv/linux/cris/fxstat.c: New file.
2573 * sysdeps/unix/sysv/linux/cris/getegid.c: New file.
2574 * sysdeps/unix/sysv/linux/cris/geteuid.c: New file.
2575 * sysdeps/unix/sysv/linux/cris/getgid.c: New file.
2576 * sysdeps/unix/sysv/linux/cris/getgroups.c: New file.
2577 * sysdeps/unix/sysv/linux/cris/getresgid.c: New file.
2578 * sysdeps/unix/sysv/linux/cris/getresuid.c: New file.
2579 * sysdeps/unix/sysv/linux/cris/getrlimit.c: New file.
2580 * sysdeps/unix/sysv/linux/cris/getrlimit64.c: New file.
2581 * sysdeps/unix/sysv/linux/cris/getuid.c: New file.
2582 * sysdeps/unix/sysv/linux/cris/lchown.c: New file.
2583 * sysdeps/unix/sysv/linux/cris/lockf64.c: New file.
2584 * sysdeps/unix/sysv/linux/cris/lxstat.c: New file.
2585 * sysdeps/unix/sysv/linux/cris/mmap.S: New file.
2586 * sysdeps/unix/sysv/linux/cris/mmap64.S: New file.
2587 * sysdeps/unix/sysv/linux/cris/msgctl.c: New file.
2588 * sysdeps/unix/sysv/linux/cris/profil-counter.h: New file.
2589 * sysdeps/unix/sysv/linux/cris/register-dump.h: New file.
2590 * sysdeps/unix/sysv/linux/cris/semctl.c: New file.
2591 * sysdeps/unix/sysv/linux/cris/setegid.c: New file.
2592 * sysdeps/unix/sysv/linux/cris/seteuid.c: New file.
2593 * sysdeps/unix/sysv/linux/cris/setfsgid.c: New file.
2594 * sysdeps/unix/sysv/linux/cris/setfsuid.c: New file.
2595 * sysdeps/unix/sysv/linux/cris/setgid.c: New file.
2596 * sysdeps/unix/sysv/linux/cris/setgroups.c: New file.
2597 * sysdeps/unix/sysv/linux/cris/setregid.c: New file.
2598 * sysdeps/unix/sysv/linux/cris/setresgid.c: New file.
2599 * sysdeps/unix/sysv/linux/cris/setresuid.c: New file.
2600 * sysdeps/unix/sysv/linux/cris/setreuid.c: New file.
2601 * sysdeps/unix/sysv/linux/cris/setrlimit.c: New file.
2602 * sysdeps/unix/sysv/linux/cris/setuid.c: New file.
2603 * sysdeps/unix/sysv/linux/cris/shmctl.c: New file.
2604 * sysdeps/unix/sysv/linux/cris/socket.S: New file.
2605 * sysdeps/unix/sysv/linux/cris/sys/ucontext.h: New file.
2606 * sysdeps/unix/sysv/linux/cris/syscall.S: New file.
2607 * sysdeps/unix/sysv/linux/cris/sysdep.S: New file.
2608 * sysdeps/unix/sysv/linux/cris/sysdep.h: New file.
2609 * sysdeps/unix/sysv/linux/cris/vfork.S: New file.
2610 * sysdeps/unix/sysv/linux/cris/xstat.c: New file.
2612 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
2614 * sysdeps/cris/Dist: New file.
2615 * sysdeps/cris/Implies: New file.
2616 * sysdeps/cris/Makefile: New file.
2617 * sysdeps/cris/__longjmp.S: New file.
2618 * sysdeps/cris/_mcount.S: New file.
2619 * sysdeps/cris/bits/endian.h: New file.
2620 * sysdeps/cris/bits/setjmp.h: New file.
2621 * sysdeps/cris/bits/string.h: New file.
2622 * sysdeps/cris/dl-machine.h: New file.
2623 * sysdeps/cris/elf/start.S: New file.
2624 * sysdeps/cris/machine-gmon.h: New file.
2625 * sysdeps/cris/memcopy.h: New file.
2626 * sysdeps/cris/memusage.h: New file.
2627 * sysdeps/cris/setjmp.S: New file.
2628 * sysdeps/cris/sysdep.h: New file.
2629 * sysdeps/cris/wordcopy.c: New file.
2631 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
2633 * elf/elf.h: Add new relocations for CRIS.
2635 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
2637 * shlib-versions: Add cases for Linux on CRIS.
2639 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
2641 * configure.in (ASM_LINE_SEP tests): Handle CRIS assembly, with
2642 ';' for comments and '@' for line separator.
2644 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
2646 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Fix
2647 typo; s/==/=/ for assignment.
2649 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
2651 * malloc/Makefile: Correct comment; mtrace is Perl, not AWK.
2653 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
2655 * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): Check for
2656 empty input before checking full output.
2658 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
2660 * iconv/gconv.c (__gconv): Don't derefer parameter cd before
2663 2001-04-08 Ulrich Drepper <drepper@redhat.com>
2665 * inet/rexec.c (rexec_af): Avoid calling perror with errno being set.
2667 2001-04-07 Stephen L Moshier <moshier@mediaone.net>
2669 * sysdeps/ieee754/ldbl-128/e_logl.c: Correct infinity and NaN
2672 2001-04-07 Ulrich Drepper <drepper@redhat.com>
2674 * stdlib/tst-setcontext.c (main): Add a test for setcontext.
2676 * sysdeps/unix/sysv/linux/i386/getcontext.S: New file.
2677 * sysdeps/unix/sysv/linux/i386/setcontext.S: New file.
2678 * sysdeps/unix/sysv/linux/i386/makecontext.S: New file.
2679 * sysdeps/unix/sysv/linux/i386/swapcontext.S: New file.
2680 * sysdeps/unix/sysv/linux/i386/ucontext_i.h: New file.
2681 * sysdeps/unix/sysv/linux/i386/Dist: Add ucontext_i.h.
2683 2001-04-07 Andreas Jaeger <aj@suse.de>
2685 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Use sincos
2686 instead of separate sin and cos.
2687 (__ieee754_j1l): Likewise.
2689 2001-04-06 Ulrich Drepper <drepper@redhat.com>
2691 * sysdeps/ia64/abort-instr.h: New file. Code by David Mosberger.
2693 * sysdeps/ia64/atomicity.h: New file. Copied from libstdc++.
2695 * sysdeps/i386/i486/atomicity.h: Clean up the asms.
2697 * sysdeps/generic/e_scalb.c: Don't use FE_INVALID unless it's
2699 * sysdeps/generic/e_scalbf.c: Likewise.
2700 * sysdeps/generic/e_scalbl.c: Likewise.
2701 Patch by Mark Hatle <fray@mvista.com>.
2703 2001-04-05 David S. Miller <davem@redhat.com>
2705 * sysdeps/sparc/abort-instr.h: New file.
2707 2001-04-05 Matt Wilson <msw@redhat.com>
2709 * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
2710 added code to parse new 2.4 format.
2711 (GET_NPROCS_CONF_PARSER): Likewise.
2713 2001-04-05 David S. Miller <davem@redhat.com>
2715 * scripts/config.sub: Recognize sparcv9b like sparcv9.
2716 * configure.in: Add sparcv9b.
2717 * sysdeps/sparc/sparc32/sparcv9b/Implies: New file
2718 * sysdeps/sparc/sparc32/sparcv9b/memcpy.S: New file
2719 * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: New file
2721 2001-04-06 David Mosberger <davidm@hpl.hp.com>
2723 * stdlib/tst-setcontext.c: Move st2[] to global scope.
2724 (f2): Verify that stack pointer is inside st2[].
2726 * sysdeps/unix/sysv/linux/ia64/getcontext.S: It helps to save r12.
2727 * sysdeps/unix/sysv/linux/ia64/setcontext.S: It helps to restore r12.
2729 2001-04-06 Ulrich Drepper <drepper@redhat.com>
2731 * timezone/antarctica: Update from tzdata2001b.
2732 * timezone/asia: Likewise.
2733 * timezone/australasia: Likewise.
2734 * timezone/europe: Likewise.
2735 * timezone/northamerica: Likewise.
2737 * iconv/iconv_open.c: Move strip and upstr definitions...
2738 * iconv/gconv_charset.h: ...here. New file.
2739 * iconv/gconv_db.c (once): Move to file level.
2740 (do_lookup_alias): Split out from __gconv_find_transform.
2741 (__gconv_find_transform): Call do_lookup_alias.
2742 (__gconv_loopup_alias): New function.
2743 * locale/langinfo.h: Define _NL_*_CODESET values for all categories
2745 * locale/categories.def: Add entries for new _NL_*_CODESET values.
2746 * locale/C-ctype.c: Use _nl_C_codeset to initialize CODESET entry.
2747 * locale/C-address.c: Initialize _NL_*_CODESET element.
2748 * locale/C-collate.c: Likewise.
2749 * locale/C-identification.c: Likewise.
2750 * locale/C-measurement.c: Likewise.
2751 * locale/C-messages.c: Likewise.
2752 * locale/C-monetary.c: Likewise.
2753 * locale/C-name.c: Likewise.
2754 * locale/C-numeric.c: Likewise.
2755 * locale/C-paper.c: Likewise.
2756 * locale/C-telephone.c: Likewise.
2757 * locale/C-time.c: Likewise.
2758 * locale/localeinfo.h: Declare _nl_C_codeset.
2759 * locale/C_name.c: Define _nl_C_codeset.
2760 * locale/findlocale.c: Before accepting locale check that the used
2761 charset does not conflict with what the locale name said.
2762 * locale/programs/ld-address.c: Emit codeset information.
2763 * locale/programs/ld-collate.c: Likewise.
2764 * locale/programs/ld-identification.c: Likewise.
2765 * locale/programs/ld-measurement.c: Likewise.
2766 * locale/programs/ld-messages.c: Likewise.
2767 * locale/programs/ld-monetary.c: Likewise.
2768 * locale/programs/ld-name.c: Likewise.
2769 * locale/programs/ld-numeric.c: Likewise.
2770 * locale/programs/ld-paper.c: Likewise.
2771 * locale/programs/ld-telephone.c: Likewise.
2772 * locale/programs/ld-time.c: Likewise.
2774 * localedata/tests-mbwc/tst_funcs.h (TST_HEAD_LOCALE): It is an error
2775 if the locale data couldn't be found.
2777 * string/Makefile: Define tst-strxfrm-ENV.
2779 * ysdeps/unix/sysv/linux/ia64/getcontext.S: Fix comment.
2781 2001-04-06 Andreas Jaeger <aj@suse.de>
2783 * include/sys/profil.h: New file.
2785 * dlfcn/modatexit.c: Add prototypes to silence GCC.
2786 * dlfcn/modcxaatexit.c: Likewise.
2787 * elf/globalmod1.c: Likewise.
2789 2001-04-05 David S. Miller <davem@redhat.com>
2791 * elf/elf.h (HWCAP_SPARC_ULTRA3): Define it.
2792 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Add it to
2793 capability flags table and HWCAP_IMPORTANT, increase
2794 _DL_HWCAP_COUNT to 6.
2795 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
2797 2001-04-04 David Mosberger <davidm@hpl.hp.com>
2799 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Fix
2800 initialization of stack_end (bug reported by Zheng Gengbin
2801 <gzheng@students.uiuc.edu>).
2803 2001-04-05 Ulrich Drepper <drepper@redhat.com>
2805 * sysdeps/i386/fpu/libm-test-ulps: Relax errors for asinl.
2807 2001-04-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
2809 * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: New file.
2811 2001-04-05 Ulrich Drepper <drepper@redhat.com>
2813 * sysdeps/ieee754/ldbl-96/e_asinl.c: Correct handling of +-Inf.
2814 * sysdeps/i386/fpu/e_asinl.S: Removed. Too inaccurate.
2816 * login/tst-utmp.c: Make file usable again in tst-utmpx.c.
2818 2001-04-04 Ulrich Drepper <drepper@redhat.com>
2820 * sysdeps/unix/sysv/aix/dl-libc.c: Don't use the ELF version,
2821 define simple replacements here. Patch by Michael Keezer.
2823 * sysdeps/ieee754/ldbl-128/e_logl.c: New file.
2824 * sysdeps/ieee754/ldbl-96/e_asinl.c: New file.
2825 Contributed by Stephen L Moshier <moshier@mediaone.net>.
2827 * posix/fnmatch_loop.c: Undefine NEW_PATTERN when it is not used
2830 2001-04-01 Andreas Jaeger <aj@suse.de>
2832 * sysdeps/generic/s_nextafter.c (NO_LONG_DOUBLE): Add nexttowardl
2835 * sysdeps/generic/s_fma.c (NO_LONG_DOUBLE): Add fmal alias.
2837 2001-04-04 Ulrich Drepper <drepper@redhat.com>
2839 * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Add ucontext_i.h.
2840 * sysdeps/unix/sysv/linux/s390/s390-32/Dist: Likewise.
2842 2001-04-04 Martin Schwidefsky <schwidefsky@de.ibm.com>
2844 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: New file.
2845 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: New file.
2846 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: New file.
2847 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: New file.
2848 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: New file.
2849 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: New file.
2850 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: New file.
2851 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: New file.
2852 * sysdeps/unix/sysv/linux/s390/swapcontext.c: New file.
2854 2001-04-04 Andreas Jaeger <aj@suse.de>
2856 * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_NO_REL): Move to right
2859 2001-04-04 Ulrich Drepper <drepper@redhat.com>
2861 * sunrpc/rpc_scan.c (symbols): Add entry for HYPER.
2862 * sunrpc/rpc_scan.h (enum tok_kind): Add TOK_HYPER.
2863 * sunrpc/rpc_parse.c (get_type): Handle TOK_HYPER.
2864 (unsigned_dec): Likewise.
2865 Patch by atai@jezebel.dreamhost.com.
2867 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Pass
2868 pointer to int as last parameter of yp_match.
2869 Patch by kanazawa@flab.fujitsu.co.jp.
2871 2001-04-03 Ulrich Drepper <drepper@redhat.com>
2873 * resolv/netdb.h (gai_strerror): Make return value const.
2874 * sysdeps/generic/gai_strerror.c (gai_strerror): Likewise.
2875 * sysdeps/posix/gai_strerror.c (gai_strerror): Likewise.
2876 Add strings for new error values.
2878 2001-03-29 Michael Keezer <mkeezer@redhat.com>
2880 * posix/tst-gnuglob.c: Added ifdef _DIRENT_HAVE_D_TYPE.
2881 * login/tst-utmp.c: Handle case where ut_tv is not available but
2883 * sysdeps/unix/sysv/aix/utmpx.h: New file.
2884 * sysdeps/unix/sysv/aix/bits/utmpx.h: Added
2885 _HAVE_UT_TYPE/PID/ID/TV/HOST defines.
2886 * sysdeps/unix/sysv/aix/libc-start.c: Removed temp code and made stub.
2887 * sysdeps/unix/sysv/aix/gettimeofday.c: New file added routines
2888 to access RTCU timer reg.
2889 * sysdeps/unix/sysv/aix/Makefile: Remove /usr/lib/crt0.o
2890 added dl-libc, dl-open,dl-sym, dl-close to misc.
2891 * sysdeps/unix/sysv/aix/start.c: New file. Start code.
2892 * sysdeps/unix/sysv/aix/dlldr.h: New file. AIX __loadx defines.
2893 * sysdeps/unix/sysv/aix/dl-close.c: New file. AIX dl-close.
2894 * sysdeps/unix/sysv/aix/dl-open.c: New file. AIX dl-open.
2895 * sysdeps/unix/sysv/aix/dl-sym.c: New file. AIX dl-sym.
2896 * sysdeps/unix/sysv/aix/dl-libc.c: New file. libc_dl-xxx support.
2897 * sysdeps/generic/strtoll.c: Added SHLIB_COMPAT(libc,GLIBC_2_0,
2899 * sysdeps/generic/strtoull.c: Likewise.
2900 * sysdeps/powerpc/ppc-mcount.S: Added nop after bl instruction.
2901 * sysdeps/unix/sysv/aix/powerpc/memset.c: New file to include
2902 sysdeps/generic/memset.c.
2903 * sysdeps/unix/sysv/aix/getpeername.c: Define __getpeername.
2905 2001-04-03 Ulrich Drepper <drepper@redhat.com>
2907 * iconv/Makefile (CFLAGS-charmap.c): Add -DNEED_NULL_POINTER.
2908 * locale/programs/charmap.c: Define null_pointer if
2909 NEED_NULL_POINTER is defined.
2911 * misc/dirname.c (dirname): Handle multiple slashes correctly.
2913 2001-04-03 Martin Schwidefsky <schwidefsky@de.ibm.com>
2915 * sysdeps/s390/s390-64/initfini.c: Fix __gmon_start__ GOT access.
2917 2001-04-03 Martin Schwidefsky <schwidefsky@de.ibm.com>
2919 * sysdeps/s390/s390-32/bcopy.S: Optimize for speed.
2920 * sysdeps/s390/s390-64/bcopy.S: Likewise.
2921 * sysdeps/s390/s390-32/mempcy.S: Likewise.
2922 * sysdeps/s390/s390-64/memcpy.S: Likewise.
2924 2001-04-02 Bruno Haible <haible@clisp.cons.org>
2926 * manual/message.texi (Advanced gettext functions): More specific
2927 syntax in the plural formula examples.
2929 2001-04-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2931 * sysdeps/powerpc/atomicity.h: Silence warnings.
2932 * sysdeps/powerpc/dl-machine.h: Likewise.
2933 * sysdeps/powerpc/register-dump.h: Likewise.
2934 * sysdeps/powerpc/fpu/s_lrint.c: Likewise.
2936 2001-04-02 Andreas Jaeger <aj@suse.de>
2938 * misc/tst-dirname.c (main): Add more tests, derived from a bug
2939 report by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
2941 2001-04-01 Andreas Jaeger <aj@suse.de>
2943 * debug/xtrace.sh (pcprofileso): Use SLIBDIR since libpcprofile.so
2945 * malloc/memusage.sh (memusageso): Likewise for libmemusage.so.
2947 2001-04-01 H.J. Lu <hjl@gnu.org>
2949 * posix/annexc.c (macrofile): Renamed from TMPFILE and set to
2951 * stdlib/isomac.c (macrofile): Likewise.
2953 2001-03-30 Thorsten Kukuk <kukuk@suse.de>
2955 * inet/rcmd.c: Allow AF_UNSPEC as parameter.
2956 * nis/ypclnt.c (yp_all): Print error message only at last try,
2957 check for protocoll error only if we don't have a network error.
2959 2001-04-02 Andreas Schwab <schwab@suse.de>
2961 * resolv/res_data.c (res_isourserver): Fix cast.
2963 2001-04-02 Andreas Jaeger <aj@suse.de>
2965 * sysdeps/unix/sysv/linux/hppa/umount.c: Add prototype for
2968 * sysdeps/i386/dl-machine.h (RTLD_START): Don't use multi-line
2970 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
2972 * sysdeps/ieee754/dbl-64/uroot.h: Add missing braces arount
2974 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Likewise.
2976 * elf/rtld.c (print_statistics)[!HP_TIMING_NONAVAIL]: Avoid
2977 warning about unused variable.
2979 * string/string.h (strndupa): Add cast for C++ conformance.
2980 (strdupa): Likewise.
2981 Fixes PR libc/2173, reported by tbrowder@home.com.
2983 2001-03-30 Roland McGrath <roland@frob.com>
2985 * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't append
2986 options after $(build-module), which is no longer a single command.
2987 (LDFLAGS-link-rpcuserlibs): New variable to hold those options.
2988 (LDFLAGS-libmachuser-link.so, LDFLAGS-libhurduser-link.so): New
2989 variables using it. Reported by Mark Kettenis <kettenis@gnu.org>.
2991 2001-03-11 Roland McGrath <roland@frob.com>
2993 * elf/rtld.c (dl_main): Add cast to quiet warning.
2994 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2995 * iconv/gconv_conf.c (__gconv_get_path): Likewise.
2996 (__gconv_read_conf): Likewise.
2997 * iconv/gconv_db.c (gen_steps): Likewise.
2998 (__gconv_find_transform): Likewise.
2999 * locale/programs/charmap-dir.c (fopen_uncompressed): Likewise.
3000 (fopen_uncompressed): Use const in second argument's type.
3002 2001-03-11 Roland McGrath <roland@frob.com>
3004 * sysdeps/mach/hurd/dl-sysdep.c (__writev): New function.
3006 * mach/mach_error.h: Fix ancient #endif syntax.
3007 * hurd/hurdmalloc.c: Likewise.
3009 * sysdeps/generic/atomicity.h (exchange_and_add, atomic_add,
3010 compare_and_swap): Add volatile qualifier to first arg, to bring
3011 these prototypes in line with all the other implementations.
3012 Add a #warning to remind the builder that these are not atomic.
3014 2001-03-04 Roland McGrath <roland@frob.com>
3016 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Use innermore first
3017 member of TEMP_F so its type is _IO_FILE * as expected.
3019 * hurd/fopenport.c (seekio): Conditionalize type of POS argument
3020 on [USE_IN_LIBIO]. Check the value for overflow, since for libio
3021 it might exceed off_t's range.
3023 2001-02-25 Roland McGrath <roland@frob.com>
3025 * sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): Use prototype.
3026 * sysdeps/unix/bsd/getpt.c (__posix_openpt): Likewise.
3028 * sysdeps/mach/hurd/i386/intr-msg.h (SYSCALL_EXAMINE): Make this a
3029 macro instead of an inline function,
3030 (MSG_EXAMINE): Likewise.
3032 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): Remove extraneous ##.
3034 * hurd/get-host.c: Include <string.h> for decls of built-ins.
3035 * hurd/hurdchdir.c: Likewise.
3036 * sysdeps/mach/hurd/i386/sigreturn.c: Likweise.
3037 * sysdeps/mach/hurd/opendir.c: Likewise.
3039 * mach/mach_init.c: Include <unistd.h> for _exit decl.
3041 * mach/errsystems.awk: Give output file a trailing newline.
3043 * mach/Machrules (MIG): Prepend CC='${CC}' to the mig command, so that
3044 the script will use our compiler for the cpp stage.
3046 With --enable-all-warnings we get a whole bunch of warnings,
3047 and these are just a few fixes; there are more needed to silence it.
3048 * mach/mach/mig_support.h (__mig_strncpy, mig_strncpy): Add extern
3049 decls before extern inline defns to quiet gcc warning.
3050 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp): Likewise.
3051 * sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Likewise.
3053 2001-03-31 Andreas Jaeger <aj@suse.de>
3055 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWHDLC): Added.
3056 (ARPHRD_HDLC): Define as alias for ARPHRD_CISCO.
3057 (ARPHRD_CISCO): New.
3058 Changes from Linux 2.4.3.
3060 2001-03-30 Isamu Hasegawa <isamu@yamato.ibm.com>
3062 * posix/regex.c: Avoid an access violation if malloc fails.
3064 2001-03-30 Andreas Jaeger <aj@suse.de>
3066 * sysdeps/alpha/ldiv.S (ldiv): Add alias for imaxdiv.
3068 2001-03-29 Ulrich Drepper <drepper@redhat.com>
3070 * posix/regex.c: Remove unnecessary ifs.
3072 * math/bits/mathcalls.h: Remove infnan declaration.
3074 2001-03-29 H.J. Lu <hjl@gnu.org>
3076 * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF,
3077 and LOW_HALF only if _LIBC is defined and _ISOMAC is not defined.
3078 * stdlib/isomac.c (fmt): Define _LIBC and _ISOMAC.
3080 2001-03-29 Isamu Hasegawa <isamu@yamato.ibm.com>
3082 * posix/regex.c: Fix typo and add a sentinel.
3084 2001-03-29 Ulrich Drepper <drepper@redhat.com>
3086 * sysdeps/unix/sysv/linux/shm_open.c: Open new file always with
3087 O_NOFOLLOW. Suggested by Christoph Roland.
3089 2001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
3091 * sysdeps/s390/bits/string.h: New unified 31/64 bit string.h.
3092 * sysdeps/s390/s390-32/bits/string.h: Remove.
3093 * sysdeps/s390/s390-64/bits/string.h: Remove.
3094 * sysdeps/s390/s390-32/strcmp.S: New file.
3095 * sysdeps/s390/s390-64/strcmp.S: New file.
3097 2001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
3099 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix typo.
3100 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
3102 2001-03-27 Ulrich Drepper <drepper@redhat.com>
3104 * version.h (VERSION): Bump to 2.2.3.
3106 * stdlib/isomac.c (fmt): Don't define _LIBC.
3107 * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF, and
3108 LOW_HALF only if _LIBC is defined.
3110 * sysdeps/i386/fpu/libm-test-ulps: Slight adjustment of yn() error.
3112 * posix/fnmatch_loop.c (FCT): Handle !() after * special like @()
3114 * posix/tst-fnmatch.input: Add test cases for matching empty strings.
3116 * sysdeps/ieee754/dbl-64/endian.h: Removed. Move definitions...
3117 * include/endian.h: ...to here.
3119 2001-03-27 kaz Kojima <kkojima@rr.iij4u.or.jp>
3121 * sysdeps/sh/sys/ucontext.h (NFREG): Rename to NFPREG.
3122 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NFREG): Likewise.
3124 2001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
3126 * sysdeps/unix/sysv/linux/s390/ldconfig.h: Fix typo.
3128 2001-03-26 Ulrich Drepper <drepper@redhat.com>
3130 * sysdeps/ia64/fpu/Dist: Add new files to distribute.
3131 * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Likewise.
3132 * sysdeps/unix/sysv/linux/ia64/Dist: Likewise.
3134 * gmon/Makefile (headers): Add sys/profil.h.
3136 2001-03-18 Andreas Jaeger <aj@suse.de>
3138 * manual/install.texi (Tools for Compilation): Advise to use GCC
3140 (Supported Configurations): Mention s390x.
3142 2001-03-26 Ben Collins <bcollins@debian.org>
3144 * sysdeps/unix/sysv/linux/mips/bits/mman.h: Add MAP_* and MADV_*
3145 defines to match other architectures.
3147 2001-03-26 Ulrich Drepper <drepper@redhat.com>
3149 * libio/Makefile (tests): Add tst-ext.
3150 * libio/tst-ext.c: New file.
3152 * libio/iosetvbuf.c (_IO_setvbuf): Clear line buffer flag for _IONBF.
3154 2001-03-25 Ulrich Drepper <drepper@redhat.com>
3156 Add changes which were in this form in the original patch by
3157 Eric Norum <eric.norum@usask.ca>.
3158 * include/rpc/rpc.h: Remove svc_fdset, rpc_createerr, svc_pollfd, and
3160 * sunrpc/rpc/rpc.h: Declare __rpc_thread_svc_fdset,
3161 __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
3162 __rpc_thread_svc_max_pollfd.
3163 Define svc_fdset, get_rpc_createerr, svc_pollfd, and
3165 * sunrpc/rpc_thread.c: Handle first thread special, it uses the
3167 Define __rpc_thread_svc_fdset, __rpc_thread_createerr,
3168 __rpc_thread_svc_pollfd, and __rpc_thread_svc_max_pollfd.
3169 * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_svc_fdset,
3170 __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
3171 __rpc_thread_svc_max_pollfd.
3172 * sunrpc/clnt_gen.c: Replace use of rpc_createerr by call to
3174 * sunrpc/clnt_perr.c: Likewise.
3175 * sunrpc/clnt_simp.c: Likewise.
3176 * sunrpc/clnt_tcp.c: Likewise.
3177 * sunrpc/clnt_udp.c: Likewise.
3178 * sunrpc/clnt_unix.c: Likewise.
3179 * sunrpc/pm_getport.c: Likewise.
3181 * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): getgroups32
3182 syscall checks for negative n so don't test here as well.
3184 2001-03-23 Jes Sorensen <jes@linuxcare.com>
3186 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Moved to ...
3187 * sysdeps/ia64/sysdep.h: ...here.
3189 * sysdeps/ia64/sysdep.h (LOCAL_ENTRY): Define.
3190 * sysdeps/ia64/sysdep.h (LOCAL_LEAF): Define.
3192 * sysdeps/ia64/_mcount.S (_mcount_ret_helper): Use LOCAL_LEAF() to
3193 declare instead of LEAF(). Suggestion from David Mosberger.
3195 2001-03-21 David Mosberger <davidm@hpl.hp.com>
3197 * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Add unwind
3199 (PSEUDO): Drop .psr and .lsb directives.
3201 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Ditto. Add unwind
3203 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Ditto.
3205 * sysdeps/ia64/elf/start.S: Misc cleanup: remove .psr and .lsb
3207 * sysdeps/unix/sysv/linux/ia64/brk.S: Ditto.
3208 * sysdeps/unix/sysv/linux/ia64/__longjmp.S: Ditto.
3209 * sysdeps/ia64/_mcount.S: Remove .psr and .lsb directives (no
3210 longer needed). Add unwind directives.
3212 * sysdeps/ia64/sysdep.h: Define ASM_UNW_PRLG_RP, ASM_UNW_PRLG_PFS,
3213 ASM_UNW_PRLG_PSP, ASM_UNW_PRLG_PR, and ASM_UNW_PRLG_GRSAVE.
3215 2001-03-21 Paul Eggert <eggert@twinsun.com>
3217 * posix/regex.h (RE_INVALID_INTERVAL_ORD): New macro.
3218 (RE_SYNTAX_POSIX_EGREP): Use it.
3219 * posix/regex.c (regex_compile): Implement it.
3221 2001-03-21 Paul Eggert <eggert@twinsun.com>
3223 * posix/regex.c (GET_UNSIGNED_NUMBER): Check for overflow.
3224 Rewrite to avoid duplicate code.
3226 2001-03-21 H.J. Lu <hjl@gnu.org>
3228 * elf/Makefile (tests): Don't depend on $(objpfx)tst-pathopt.out
3229 for cross-compiling.
3230 ($(objpfx)tst-pathopt.out): Undo the last change.
3232 2001-03-24 Mark Kettenis <kettenis@gnu.org>
3234 * sysdeps/mach/hurd/i386/bits/sigcontext.h (sc_sp, sc_fp, sc_pc,
3235 sc_ps): Define as aliases for sc_uesp, sc_ebl, sc_eip and sc_efl.
3237 * sysdeps/mach/hurd/i386/init-first.c: Include <assert.h>.
3238 (_dl_argv): Declare.
3239 (init) [SHARED]: Readjust _dl_argv if we switched to a new stack.
3241 2001-03-22 Andreas Jaeger <aj@suse.de>
3243 * iconvdata/Makefile (generated): Add iconv-test.xxx.
3245 * posix/Makefile (generated): Add bug-regex2.mtrace and
3248 2001-03-21 Ulrich Drepper <drepper@redhat.com>
3250 * csu/version.c (__gnu_get_libc_release): Add prototype.
3251 (__gnu_get_libc_version): Likewise.
3252 * include/gnu/libc-version.h: Remove prototypes for not exported
3255 2001-03-21 Jes Sorensen <jes@linuxcare.com>
3257 * sysdeps/unix/sysv/linux/ia64/makecontext.c: Include libintl.h
3258 for internationalized printfs to work.
3260 2001-03-09 Bruno Haible <haible@clisp.cons.org>
3262 * intl/dcigettext.c (transmem_block_t): Change to unsigned char, to
3263 avoid compiler warning.
3264 (_nl_find_msg): Add casts to avoid compiler warnings.
3266 2001-03-21 Ulrich Drepper <drepper@redhat.com>
3268 * gmon/Makefile (routines): Add sprofil.
3269 (tests): Add tst-sprofil.
3270 (noprof): Add sprofil.
3271 * gmon/Versions [libc] (GLIBC_2.2.3): Add sprofil.
3273 2001-03-20 David Mosberger <davidm@hpl.hp.com>
3275 * sysdeps/generic/sprofil.c: New file.
3276 * sysdeps/posix/sprofil.c: New file.
3277 * gmon/tst-sprofil.c: New file.
3278 * gmon/sys/profil.h: New file.
3280 2001-03-20 Andreas Schwab <schwab@suse.de>
3282 * include/unistd.h: Adjust prototype of __gethostname.
3284 2001-03-20 Jakub Jelinek <jakub@redhat.com>
3286 * sysdeps/sparc/stackinfo.h: New file.
3288 2001-03-21 Andreas Jaeger <aj@suse.de>
3290 * elf/global.c (main): Use proper prototype.
3292 2001-03-20 Ulrich Drepper <drepper@redhat.com>
3294 * sunrpc/Makefile (routines): Add rpc_thread.
3295 (CPPFLAGS): Add -D_RPC_THREAD_SAFE.
3296 * sunrpc/rpc_thread.c: New file.
3297 * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_destroy.
3298 * sunrpc/auth_none.c: Don't use global variables. Access state in
3299 thread-local storage.
3300 * sunrpc/clnt_perr.c: Likewise.
3301 * sunrpc/clnt_raw.c: Likewise.
3302 * sunrpc/clnt_simp.c: Likewise.
3303 * sunrpc/key_call.c: Likewise.
3304 * sunrpc/rpc_common.c: Likewise.
3305 * sunrpc/svc.c: Likewise.
3306 * sunrpc/svc_raw.c: Likewise.
3307 * sunrpc/svc_simple.c: Likewise.
3308 * sunrpc/svcauth_des.c: Likewise.
3309 * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
3310 _HURD_THREADVAR_RPC_VARS.
3311 * sysdeps/generic/bits/libc-tsd.h: Mention _LIBC_TSD_KEY_RPC_VARS.
3312 * include/rpc/rpc.h: Define data structures for internal thread-local
3314 Based on patches by Eric Norum <eric.norum@usask.ca>.
3316 * elf/dl-load.c: Various little optimizations.
3318 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Return
3319 LINUX_LINK_MAX only if the statfs function is not implemented for
3322 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Return
3323 LINUX_LINK_MAX only if the fstatfs function is not implemented for
3326 2001-03-19 Ulrich Drepper <drepper@redhat.com>
3328 * elf/dl-dst.h (DL_DST_COUNT): Add __builtin_expect.
3330 * elf/dl-load.c (_dl_dst_count): Make DST recognition more robust.
3331 (_dl_dst_substitute): Likewise.
3333 2001-03-17 Bruno Haible <haible@clisp.cons.org>
3335 * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC]: Use fstat, not fstat64.
3337 2001-03-17 Bruno Haible <haible@clisp.cons.org>
3339 * intl/gettextP.h (struct expression): Add operators lnot, less_than,
3340 greater_than, less_or_equal, greater_or_equal. Replace args2/args3
3341 union by a 'nargs' counter and an 'args[]' array.
3342 * intl/plural.y: Don't include stdarg.h.
3343 (new_exp): Take an array of arguments instead of varargs.
3344 (new_exp_0, new_exp_1, new_exp_2, new_exp_3): New functions.
3345 ('?' ':'): Make right-associative.
3346 (EQUOP2): New token, replaces '=' and '!'.
3347 (CMPOP2): New token.
3348 (ADDOP2): New token, replaces '+' and '-'.
3349 (MULOP2): New token, replaces '*', '/' and '%'.
3351 (exp): Add rules for CMPOP2 and '!'. Don't call YYABORT.
3352 (start): Call YYABORT here.
3353 (FREE_EXPRESSION): Update.
3354 (yylex): Don't skip "\\n". Recognize comparison and '!' operators.
3355 Update for new token symbols.
3356 * intl/loadmsgcat.c (plvar, plone, germanic_plural,
3357 init_germanic_plural): Update.
3358 * intl/dcigettext.c (_nl_find_msg): Optimize for space.
3359 (plural_eval): Recognize comparison and '!' operators. Optimize for
3362 2001-03-10 Bruno Haible <haible@clisp.cons.org>
3364 * intl/loadmsgcat.c (_nl_load_domain): locale_charset() doesn't return
3367 2001-01-05 Bruno Haible <haible@clisp.cons.org>
3369 * intl/loadmsgcat.c: Include headers needed for alloca().
3371 (_nl_load_domain): Add fallback code for platforms lacking alloca.
3372 * intl/localealias.c: (ADD_BLOCK, FREE_BLOCK): Remove macros.
3374 (read_alias_file): Simplify fallback code for platforms lacking
3377 2001-01-07 Bruno Haible <haible@clisp.cons.org>
3379 * intl/gettextP.h (__gettextdebug): Remove declaration.
3380 (__gettext_free_exp, __gettextparse): Convert prototype to K&R C
3382 (gettext_free_exp__, gettextparse__): New non-libc declarations.
3383 * intl/plural.y [!_LIBC]: Define gettextparse__, gettext_free_exp__,
3384 not __gettextparse, __gettext_free_exp.
3385 * intl/loadmsgcat.c [!_LIBC]: Use gettextparse__, not __gettextparse.
3387 2001-02-24 Bruno Haible <haible@clisp.cons.org>
3389 * intl/dcigettext.c: Update comment about HAVE_LOCALE_NULL.
3391 2001-01-05 Bruno Haible <haible@clisp.cons.org>
3393 * intl/loadmsgcat.c (_nl_load_domain): Add fallback code for platforms
3394 lacking strtoul, like SunOS4.
3396 2001-01-05 Bruno Haible <haible@clisp.cons.org>
3398 * intl/l10nflist.c (_nl_normalize_codeset): Use tolower, not _tolower.
3400 2001-01-05 Bruno Haible <haible@clisp.cons.org>
3402 * intl/bindtextdom.c (set_binding_values): Convert prototype to K&R C
3404 * intl/dcigettext.c (transcmp): Convert to K&R C syntax.
3405 * intl/explodename.c (_nl_find_language): Convert to K&R C syntax.
3406 * intl/plural.y (__gettext_free_exp, yylex, yyerror): Convert to K&R C
3409 2001-01-07 Bruno Haible <haible@clisp.cons.org>
3411 * intl/gettextP.h (gettext__, dgettext__, dcgettext__, textdomain__,
3412 bindtextdomain__, bind_textdomain_codeset__): New declarations, from
3414 * intl/bindtextdom.c: Include libgnuintl.h instead of libgettext.h.
3415 * intl/dcgettext.c: Likewise.
3416 * intl/dcigettext.c: Likewise.
3417 * intl/dcngettext.c: Likewise.
3418 * intl/dngettext.c: Likewise.
3419 * intl/finddomain.c: Likewise.
3420 * intl/ngettext.c: Likewise.
3421 * intl/textdomain.c: Likewise.
3422 * intl/dgettext.c: Include libgnuintl.h instead of libgettext.h.
3424 * intl/gettext.c: Likewise. Don't include locale.h.
3426 2001-03-17 Bruno Haible <haible@clisp.cons.org>
3428 * intl/gettextP.h (ZERO): New macro.
3429 (struct binding): Always use ZERO.
3430 * intl/bindtextdom.c (offsetof): Provide fallback for platforms that
3431 lack it, like SunOS4.
3432 (set_binding_values): Use offsetof, not sizeof.
3433 * intl/dcigettext.c (offsetof): Provide fallback for platforms that
3434 lack it, like SunOS4.
3435 (ZERO): Remove macro.
3436 (struct transmem_list): Use ZERO.
3437 (DCIGETTEXT): Use offsetof, not sizeof.
3439 2001-03-17 Bruno Haible <haible@clisp.cons.org>
3441 * intl/gettextP.h: Include <stddef.h>. Include gettext.h, for
3443 * intl/bindtextdom.c: Don't include gettext.h.
3444 * intl/dcgettext.c: Likewise.
3445 * intl/dcigettext.c: Likewise.
3446 * intl/dcngettext.c: Likewise.
3447 * intl/dngettext.c: Likewise.
3448 * intl/finddomain.c: Likewise.
3449 * intl/localealias.c: Likewise.
3450 * intl/ngettext.c: Likewise.
3451 * intl/plural.y: Likewise.
3452 * intl/textdomain.c: Likewise.
3454 2001-03-17 Bruno Haible <haible@clisp.cons.org>
3456 * intl/gettext.h: Don't include <stdio.h>.
3458 2001-03-17 Bruno Haible <haible@clisp.cons.org>
3460 * intl/Makefile (CPPFLAGS): Set LOCALEDIR instead of GNULOCALEDIR.
3461 * intl/dcigettext.c (_nl_default_dirname): Initialize with LOCALEDIR.
3463 2001-03-19 Ulrich Drepper <drepper@redhat.com>
3465 * sysdeps/unix/i386/i686/tempname.c: New file.
3467 * sysdeps/posix/tempname.c (__gen_tempname): If RANDOM_BITS is
3468 defined use this macro to get some bits of randomness instead of
3469 the usual gettimeofday or time calls.
3471 2001-03-16 Paul Eggert <eggert@twinsun.com>
3473 * sysdeps/posix/tempname.c (uint64_t): Define to uintmax_t if
3474 not defined, and if UINT64_MAX is not defined.
3476 2001-03-19 Ulrich Drepper <drepper@redhat.com>
3478 * elf/cache.c: Mark and have translated a few more messages.
3480 2001-03-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
3482 * elf/cache.c: Add case for FLAG_S390_LIB64.
3483 * sysdeps/generic/ldconfig.h: Add define for FLAG_S390_LIB64.
3484 * sysdeps/unix/sysv/linux/s390/ldconfig.h: New file.
3485 * sysdeps/unix/sysv/linux/s390/readelflib.c: New file.
3487 2001-03-19 Ulrich Drepper <drepper@redhat.com>
3489 * string/Makefile (tests): Add tst-strxfrm.
3490 * string/tst-strxfrm.c: New file. Based on a test case by Paul Eggert.
3491 * string/Depend: New file.
3493 2001-03-19 Paul Eggert <eggert@twinsun.com>
3495 * string/strxfrm.c (strxfrm): strxfrm should return 0, not 1,
3496 when given the empty string in nontrivial locales.
3498 2001-03-17 H.J. Lu <hjl@gnu.org>
3500 * manual/Makefile (install): Use $(INSTALL_DATA) instead of
3501 cp to install `dir'.
3503 2001-03-19 Andreas Schwab <schwab@suse.de>
3505 * Makerules (build-shlib): Make sure exit codes get checked
3508 2001-03-18 Ulrich Drepper <drepper@redhat.com>
3510 * Makerules (build-shlib): Remove unnecessary slashes introduced in
3513 * configure.in: Test for -Bgroup option of linker.
3514 * config.make.in: Define have-Bgroup.
3516 * conform/data/unistd.h-data: Require gethostname.
3517 * posix/unistd.h: Make gethostname prototype available for
3520 * crypt/Makefile: When generating DSO link with libc_nonshared.a.
3521 * debug/Makefile: Likewise.
3522 * dlfcn/Makefile: Likewise.
3523 * hesiod/Makefile: Likewise.
3524 * iconvdata/extra-module.mk: Likewise.
3525 * locale/Makefile: Likewise.
3526 * login/Makefile: Likewise.
3527 * math/Makefile: Likewise.
3528 * nis/Makefile: Likewise.
3529 * nss/Makefile: Likewise.
3530 * resolv/Makefile: Likewise.
3531 * rt/Makefile: Likewise.
3533 2001-03-17 Ulrich Drepper <drepper@redhat.com>
3535 * inet/Makefile (tests): Remove left-over comment.
3537 * posix/unistd.h (gethostname): Change type of second parameter
3538 back to size_t as per upcoming XPG6.
3539 * sysdeps/unix/sysv/aix/gethostname.c: Change type of second
3540 parameter back to size_t as per upcoming XPG6.
3541 * sysdeps/unix/sysv/sysv4/gethostname.c: Likewise.
3542 * sysdeps/unix/sysv/gethostname.c: Likewise.
3543 * sysdeps/mach/hurd/gethostname.c: Likewise.
3544 * sysdeps/generic/gethostname.c: Likewise.
3546 2001-03-16 Ulrich Drepper <drepper@redhat.com>
3548 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
3551 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext):
3554 2001-02-06 Jakub Jelinek <jakub@redhat.com>
3556 * elf/dl-load.c (_dl_map_object): Don't test l_opencount when
3557 looking for name matches.
3559 2001-02-26 Jakub Jelinek <jakub@redhat.com>
3561 * sysdeps/generic/sigcontextinfo.h (CALL_SIGHANDLER): Define.
3562 * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
3563 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
3564 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
3565 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
3566 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
3567 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
3568 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
3569 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
3570 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
3571 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
3572 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
3574 2001-03-16 Ulrich Drepper <drepper@redhat.com>
3576 * sysdeps/ieee754/ldbl-96/s_erfl.c: New file.
3577 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
3579 * sysdeps/i386/fpu/libm-test-ulps: Adjust for addition of erfl and
3581 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3583 2001-03-16 David Mosberger <davidm@hpl.hp.com>
3585 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
3586 Drop hack that was needed for 2.1.1 kernel headers.
3588 * sysdeps/unix/sysv/linux/ia64/ucontext_i.h: New file.
3590 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Rewrite to make it
3591 overlay with kernel's "struct sigcontext".
3593 * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep_headers): Add
3594 sys/rse.h for "misc" subdir.
3595 (sysdep_routines): Add __start_context for "stdlib" subdir.
3597 * sysdeps/unix/sysv/linux/ia64/sys/rse.h: New file (based on
3598 kernel file of the same name).
3600 * stdlib/Makefile (tests): Add tst-setcontext.
3601 * stdlib/tst-setcontext.c: New file (based on a sample program by
3604 * sysdeps/unix/sysv/linux/ia64/setcontext.S: New file.
3605 * sysdeps/unix/sysv/linux/ia64/getcontext.S: New file.
3606 * sysdeps/unix/sysv/linux/ia64/__start_context.S: New file.
3607 * sysdeps/unix/sysv/linux/ia64/makecontext.c: New file.
3608 * sysdeps/unix/sysv/linux/ia64/swapcontext.c: New file.
3610 * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): Use extr.u
3611 instead of shift & and.
3613 2001-03-16 Martin Schwidefsky <schwidefsky@de.ibm.com>
3615 * sysdeps/s390/s390-64/bits/huge_val.h: Move to...
3616 * sysdeps/s390/bits/huge_val.h: ...here.
3617 * sysdeps/s390/s390-32/bit/huge_val.h: Remove.
3618 * sysdeps/s390/s390-64/ffs.c: Move to...
3619 * sysdeps/s390/ffs.c: ...here.
3620 * sysdeps/s390/s390-32/ffs.c: Remove.
3622 2001-03-16 Jakub Jelinek <jakub@redhat.com>
3624 * elf/ldconfig.c (search_dir): Remove bogus diagnostic, instead
3625 update osversion from more recent library.
3627 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
3629 * sysdeps/unix/sysv/linux/s390/Dist: Move to...
3630 * sysdeps/unix/sysv/linux/s390/s390-32/Dist: ...here.
3631 * sysdeps/unix/sysv/linux/s390/Makefile: Move to...
3632 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: ...here.
3633 * sysdeps/unix/sysv/linux/s390/Versions: Move to...
3634 * sysdeps/unix/sysv/linux/s390/s390-32/Versions: ...here.
3635 * sysdeps/unix/sysv/linux/s390/alphasort64.c: Move to...
3636 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: ...here.
3637 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Move to...
3638 * sysdeps/unix/sysv/linux/s390/s390-32/bits/fcntl.h: ...here.
3639 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Move to...
3640 * sysdeps/unix/sysv/linux/s390/s390-32/bits/mman.h: ...here.
3641 * sysdeps/unix/sysv/linux/s390/bits/resource.h: Move to...
3642 * sysdeps/unix/sysv/linux/s390/s390-32/bits/resource.h: ...here.
3643 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Move to...
3644 * sysdeps/unix/sysv/linux/s390/s390-32/bits/stat.h: ...here.
3645 * sysdeps/unix/sysv/linux/s390/chown.c: Move to...
3646 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: ...here.
3647 * sysdeps/unix/sysv/linux/s390/clone.S: Move to...
3648 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: ...here.
3649 * sysdeps/unix/sysv/linux/s390/fchown.c: Move to...
3650 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: ...here.
3651 * sysdeps/unix/sysv/linux/s390/fcntl.c: Move to...
3652 * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: ...here.
3653 * sysdeps/unix/sysv/linux/s390/fxstat.c: Move to...
3654 * sysdeps/unix/sysv/linux/s390/s390-32/fxstat.c: ...here.
3655 * sysdeps/unix/sysv/linux/s390/getdents64.c: Move to...
3656 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: ...here.
3657 * sysdeps/unix/sysv/linux/s390/getegid.c: Move to...
3658 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: ...here.
3659 * sysdeps/unix/sysv/linux/s390/geteuid.c: Move to...
3660 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: ...here.
3661 * sysdeps/unix/sysv/linux/s390/getgid.c: Move to...
3662 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: ...here.
3663 * sysdeps/unix/sysv/linux/s390/getgroups.c: Move to...
3664 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: ...here.
3665 * sysdeps/unix/sysv/linux/s390/getresgid.c: Move to...
3666 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: ...here.
3667 * sysdeps/unix/sysv/linux/s390/getresuid.c: Move to...
3668 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: ...here.
3669 * sysdeps/unix/sysv/linux/s390/getrlimit.c: Move to...
3670 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: ...here.
3671 * sysdeps/unix/sysv/linux/s390/getrlimit64.c: Move to...
3672 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: ...here.
3673 * sysdeps/unix/sysv/linux/s390/getuid.c: Move to...
3674 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: ...here.
3675 * sysdeps/unix/sysv/linux/s390/lchown.c: Move to...
3676 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: ...here.
3677 * sysdeps/unix/sysv/linux/s390/lockf64.c: Move to...
3678 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: ...here.
3679 * sysdeps/unix/sysv/linux/s390/lxstat.c: Move to...
3680 * sysdeps/unix/sysv/linux/s390/s390-32/lxstat.c: ...here.
3681 * sysdeps/unix/sysv/linux/s390/mmap.S: Move to...
3682 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: ...here.
3683 * sysdeps/unix/sysv/linux/s390/mmap64.S: Move to...
3684 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: ...here.
3685 * sysdeps/unix/sysv/linux/s390/msgctl.c: Move to...
3686 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: ...here.
3687 * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: Move to...
3688 * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: ...here.
3689 * sysdeps/unix/sysv/linux/s390/readdir64.c: Move to...
3690 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: ...here.
3691 * sysdeps/unix/sysv/linux/s390/readdir64_r.c: Move to...
3692 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: ...here.
3693 * sysdeps/unix/sysv/linux/s390/register-dump.h: Move to...
3694 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: ...here.
3695 * sysdeps/unix/sysv/linux/s390/scandir64.c: Move to...
3696 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: ...here.
3697 * sysdeps/unix/sysv/linux/s390/semctl.c: Move to...
3698 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: ...here.
3699 * sysdeps/unix/sysv/linux/s390/setegid.c: Move to...
3700 * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: ...here.
3701 * sysdeps/unix/sysv/linux/s390/seteuid.c: Move to...
3702 * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: ...here.
3703 * sysdeps/unix/sysv/linux/s390/setfsgid.c: Move to...
3704 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: ...here.
3705 * sysdeps/unix/sysv/linux/s390/setfsuid.c: Move to...
3706 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: ...here.
3707 * sysdeps/unix/sysv/linux/s390/setgid.c: Move to...
3708 * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: ...here.
3709 * sysdeps/unix/sysv/linux/s390/setgroups.c: Move to...
3710 * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: ...here.
3711 * sysdeps/unix/sysv/linux/s390/setregid.c: Move to...
3712 * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: ...here.
3713 * sysdeps/unix/sysv/linux/s390/setresgid.c: Move to...
3714 * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: ...here.
3715 * sysdeps/unix/sysv/linux/s390/setresuid.c: Move to...
3716 * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: ...here.
3717 * sysdeps/unix/sysv/linux/s390/setreuid.c: Move to...
3718 * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: ...here.
3719 * sysdeps/unix/sysv/linux/s390/setrlimit.c: Move to...
3720 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: ...here.
3721 * sysdeps/unix/sysv/linux/s390/setuid.c: Move to...
3722 * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: ...here.
3723 * sysdeps/unix/sysv/linux/s390/shmctl.c: Move to...
3724 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: ...here.
3725 * sysdeps/unix/sysv/linux/s390/socket.S: Move to...
3726 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: ...here.
3727 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Move to...
3728 * sysdeps/unix/sysv/linux/s390/s390-32/sys/procfs.h: ...here.
3729 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Move to...
3730 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: ...here.
3731 * sysdeps/unix/sysv/linux/s390/syscall.S: Move to...
3732 * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: ...here.
3733 * sysdeps/unix/sysv/linux/s390/syscalls.list: Move to...
3734 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: ...here.
3735 * sysdeps/unix/sysv/linux/s390/sysdep.S: Move to...
3736 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: ...here.
3737 * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
3738 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here.
3739 * sysdeps/unix/sysv/linux/s390/versionsort64.c: Move to...
3740 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: ...here.
3741 * sysdeps/unix/sysv/linux/s390/xstat.c: Move to...
3742 * sysdeps/unix/sysv/linux/s390/s390-32/xstat.c: ...here.
3744 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
3746 * sysdeps/unix/sysv/linux/s390/s390-64/Dist: New file.
3747 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: New file.
3748 * sysdeps/unix/sysv/linux/s390/s390-64/bits/elfclass.h: New file.
3749 * sysdeps/unix/sysv/linux/s390/s390-64/bits/fcntl.h: New file.
3750 * sysdeps/unix/sysv/linux/s390/s390-64/bits/ipc.h: New file.
3751 * sysdeps/unix/sysv/linux/s390/s390-64/bits/mman.h: New file.
3752 * sysdeps/unix/sysv/linux/s390/s390-64/bits/msq.h: New file.
3753 * sysdeps/unix/sysv/linux/s390/s390-64/bits/resource.h: New file.
3754 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sem.h: New file.
3755 * sysdeps/unix/sysv/linux/s390/s390-64/bits/shm.h: New file.
3756 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: New file.
3757 * sysdeps/unix/sysv/linux/s390/s390-64/bits/siginfo.h: New file.
3758 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigstack.h: New file.
3759 * sysdeps/unix/sysv/linux/s390/s390-64/bits/stat.h: New file.
3760 * sysdeps/unix/sysv/linux/s390/s390-64/bits/types.h: New file.
3761 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: New file.
3762 * sysdeps/unix/sysv/linux/s390/s390-64/fstatfs64.c: New file.
3763 * sysdeps/unix/sysv/linux/s390/s390-64/ftruncate64.c: New file.
3764 * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: New file.
3765 * sysdeps/unix/sysv/linux/s390/s390-64/fxstat64.c: New file.
3766 * sysdeps/unix/sysv/linux/s390/s390-64/getdents.c: New file.
3767 * sysdeps/unix/sysv/linux/s390/s390-64/getdents64.c: New file.
3768 * sysdeps/unix/sysv/linux/s390/s390-64/getrlimit64.c: New file.
3769 * sysdeps/unix/sysv/linux/s390/s390-64/glob.c: New file.
3770 * sysdeps/unix/sysv/linux/s390/s390-64/glob64.c: New file.
3771 * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: New file.
3772 * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: New file.
3773 * sysdeps/unix/sysv/linux/s390/s390-64/lxstat64.c: New file.
3774 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: New file.
3775 * sysdeps/unix/sysv/linux/s390/s390-64/mmap64.c: New file.
3776 * sysdeps/unix/sysv/linux/s390/s390-64/pread64.c: New file.
3777 * sysdeps/unix/sysv/linux/s390/s390-64/pwrite64.c: New file.
3778 * sysdeps/unix/sysv/linux/s390/s390-64/readdir.c: New file.
3779 * sysdeps/unix/sysv/linux/s390/s390-64/readdir64.c: New file.
3780 * sysdeps/unix/sysv/linux/s390/s390-64/readdir64_r.c: New file.
3781 * sysdeps/unix/sysv/linux/s390/s390-64/readdir_r.c : New file.
3782 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: New file.
3783 * sysdeps/unix/sysv/linux/s390/s390-64/setrlimit64.c: New file.
3784 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: New file.
3785 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: New file.
3786 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c: New file.
3787 * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: New file.
3788 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: New file.
3789 * sysdeps/unix/sysv/linux/s390/s390-64/statfs64.c: New file.
3790 * sysdeps/unix/sysv/linux/s390/s390-64/sys/procfs.h: New file.
3791 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: New file.
3792 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: New file.
3793 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: New file.
3794 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: New file.
3795 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: New file.
3796 * sysdeps/unix/sysv/linux/s390/s390-64/truncate64.c: New file.
3797 * sysdeps/unix/sysv/linux/s390/s390-64/xstat.c: New file.
3798 * sysdeps/unix/sysv/linux/s390/s390-64/xstat64.c: New file.
3800 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
3802 * sysdeps/s390/Dist: Move to...
3803 * sysdeps/s390/390-32/Dist: ...here.
3804 * sysdeps/s390/Implies: Move to...
3805 * sysdeps/s390/s390-32/Implies: ...here.
3806 * sysdeps/s390/Makefile: Move to...
3807 * sysdeps/s390/s390-32/Makefile: ...here.
3808 * sysdeps/s390/Versions: Move to...
3809 * sysdeps/s390-32/s390/Versions: ...here.
3810 * sysdeps/s390/add_n.S: Move to...
3811 * sysdeps/s390/s390-32/add_n.S: ...here.
3812 * sysdeps/s390/addmul_1.S: Move to...
3813 * sysdeps/s390/s390-32/addmul_1.S: ...here.
3814 * sysdeps/s390/atomicity.h: Move to...
3815 * sysdeps/s390/s390-32/atomicity.h: ...here.
3816 * sysdeps/s390/backtrace.c: Move to...
3817 * sysdeps/s390/s390-32/backtrace.c: ...here.
3818 * sysdeps/s390/bcopy.S: Move to...
3819 * sysdeps/s390/s390-32/bcopy.S: ...here.
3820 * sysdeps/s390/bits/byteswap.h: Move to...
3821 * sysdeps/s390/s390-32/bits/byteswap.h: ...here.
3822 * sysdeps/s390/bits/huge_val.h: Move to...
3823 * sysdeps/s390/s390-32/bits/huge_val.h: ...here.
3824 * sysdeps/s390/bsd-_setjmp.S: Move to...
3825 * sysdeps/s390/s390-32/bsd-_setjmp.S: ...here.
3826 * sysdeps/s390/bsd-setjmp.S: Move to...
3827 * sysdeps/s390/s390-32/bsd-setjmp.S: ...here.
3828 * sysdeps/s390/bzero.S: Move to...
3829 * sysdeps/s390/s390-32/bzero.S: ...here.
3830 * sysdeps/s390/elf/bsd-_setjmp.S: Move to...
3831 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: ...here.
3832 * sysdeps/s390/elf/bsd-setjmp.S: Move to...
3833 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: ...here.
3834 * sysdeps/s390/elf/start.S: Move to...
3835 * sysdeps/s390/s390-32/elf/start.S: ...here.
3836 * sysdeps/s390/ffs.c: Move to...
3837 * sysdeps/s390/s390-32/ffs.c: ...here.
3838 * sysdeps/s390/memchr.S: Move to...
3839 * sysdeps/s390/s390-32/memchr.S: ...here.
3840 * sysdeps/s390/memcpy.S: Move to...
3841 * sysdeps/s390/s390-32/memcpy.S: ...here.
3842 * sysdeps/s390/memset.S: Move to...
3843 * sysdeps/s390/s390-32/memset.S: ...here.
3844 * sysdeps/s390/mul_1.S: Move to...
3845 * sysdeps/s390/s390-32/mul_1.S: ...here.
3846 * sysdeps/s390/s390-mcount.S: Move to...
3847 * sysdeps/s390/s390-32/s390-mcount.S: ...here.
3848 * sysdeps/s390/strcpy.S: Move to...
3849 * sysdeps/s390/s390-32/strcpy.S: ...here.
3850 * sysdeps/s390/strncpy.S: Move to...
3851 * sysdeps/s390/s390-32/strncpy.S: ...here.
3852 * sysdeps/s390/sub_n.S: Move to...
3853 * sysdeps/s390/s390-32/sub_n.S: ...here.
3855 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
3857 * sysdeps/s390/s390-64/Dist: New file.
3858 * sysdeps/s390/s390-64/Implies: New file.
3859 * sysdeps/s390/s390-64/Makefile: New file.
3860 * sysdeps/s390/s390-64/__longjmp.c: New file.
3861 * sysdeps/s390/s390-64/add_n.S: New file.
3862 * sysdeps/s390/s390-64/atomicity.h: New file.
3863 * sysdeps/s390/s390-64/backtrace.c: New file.
3864 * sysdeps/s390/s390-64/bcopy.S: New file.
3865 * sysdeps/s390/s390-64/bits/byteswap.h: New file.
3866 * sysdeps/s390/s390-64/bits/huge_val.h: New file.
3867 * sysdeps/s390/s390-64/bits/setjmp.h: New file.
3868 * sysdeps/s390/s390-64/bits/string.h: New file.
3869 * sysdeps/s390/s390-64/bsd-_setjmp.S: New file.
3870 * sysdeps/s390/s390-64/bsd-setjmp.S: New file.
3871 * sysdeps/s390/s390-64/bzero.S: New file.
3872 * sysdeps/s390/s390-64/dl-machine.h: New file.
3873 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: New file.
3874 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: New file.
3875 * sysdeps/s390/s390-64/elf/setjmp.S: New file.
3876 * sysdeps/s390/s390-64/elf/start.S: New file.
3877 * sysdeps/s390/s390-64/ffs.c: New file.
3878 * sysdeps/s390/s390-64/initfini.c: New file.
3879 * sysdeps/s390/s390-64/memchr.S: New file.
3880 * sysdeps/s390/s390-64/memcpy.S: New file.
3881 * sysdeps/s390/s390-64/memset.S: New file.
3882 * sysdeps/s390/s390-64/s390x-mcount.S: New file.
3883 * sysdeps/s390/s390-64/setjmp.S: New file.
3884 * sysdeps/s390/s390-64/strcpy.S: New file.
3885 * sysdeps/s390/s390-64/strncpy.S: New file.
3886 * sysdeps/s390/s390-64/sub_n.S: New file.
3887 * sysdeps/s390/s390-64/sysdep.h: New file.
3889 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
3891 * scripts/config.guess: Add support for Linux on 64 bit S/390.
3892 * scripts/config.sub: Likewise.
3894 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
3896 * configure.in: Add support for 64 bit S/390.
3898 * elf/elf.h: Add new relocations for 64 bit S/390.
3900 * shlib-versions: Add rules for Linux on 64 bit S/390.
3902 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
3904 * sysdeps/s390/__longjmp.c: Move to...
3905 * sysdeps/s390/s390-32/__longjmp.c: ...here. Add code
3906 to load the floating point registers that should be saved
3907 according to the ABI.
3909 * sysdeps/s390/bits/setjmp.h: Move to...
3910 * sysdeps/s390/s390-32/bits/setjmp.h: ...here. Avoid
3911 the use of long long in the __jmp_buf type definition.
3913 * sysdeps/s390/bits/string.h: Move to...
3914 * sysdeps/s390/s390-32/bits/string.h: ...here. Add several missing
3915 #ifndef _FORCE_INLINES.
3917 * sysdeps/s390/dl-machine.h: Move to...
3918 * sysdeps/s390/s390-32/dl-machine.h: ...here. Add a check for the
3919 executables EI_CLASS in elf_machine_matches_host.
3921 * sysdeps/s390/elf/setjmp.S: Move to...
3922 * sysdeps/s390/s390-32/elf/setjmp.S: ...here. Replace
3923 branches to globally defined symbol __sigsetjmp by branches to
3924 a local label (this avoids the generation of a R_390_PC16DBL
3925 relocation in -fpic code).
3927 * sysdeps/s390/gmp-mparam.h: Use defines from <bits/wordsize.h> to
3928 calculate BITS_PER_MP_LIMB, BYTES_PER_MP_LIMB and BITS_PER_LONGINT.
3930 * sysdeps/s390/initfini.c: Move to...
3931 * sysdeps/s390/s390-32/initfini.c: ...here. Replace ALIGN with
3934 * sysdeps/s390/setjmp.S: Move to...
3935 * sysdeps/s390/s390-32/setjmp.S: ...here. Add code to store the
3936 floating point registers that should be saved according to the ABI.
3938 * sysdeps/s390/sys/ucontext.h: Remove since it is unused.
3940 * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
3941 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here. Include
3942 sysdeps/s390/s390-32/sysdep.h instead of sysdeps/s390/sysdep.h.
3944 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
3946 * configure.in: Change machine=s390 to machine=s390/s390-32.
3948 * elf/elf.h: Correct comment for R_390_PLT16DBL.
3950 2001-03-12 Jakub Jelinek <jakub@redhat.com>
3952 * csu/Makefile (abi-tag.h): Define OS and version separately, allow
3953 version to be overriden from config.h.
3954 * csu/abi-note.S: Use OS and version separately, include config.h.
3955 * elf/dl-load.c (_dl_osversion): New.
3956 (_dl_map_object_from_fd): Kill some warnings.
3957 (open_verify): Check .note.ABI-tag of the library if present.
3958 * elf/Makefile (CPPFLAGS-dl-load.c): Add -I$(csu-objpfx).
3959 * elf/cache.c (struct cache_entry): Add osversion.
3960 (print_entry): Print osversion.
3961 (print_cache): Pass osversion to it.
3962 (compare): Sort according to osversion.
3963 (save_cache): Set osversion.
3964 (add_to_cache): Add osversion argument.
3965 * sysdeps/generic/ldconfig.h (add_to_cache, process_file,
3966 process_elf_file): Add osversion argument.
3967 * elf/readlib.c (process_file): Likewise.
3968 * sysdeps/generic/readelflib.c (process_elf_file): Likewise.
3969 * sysdeps/unix/sysv/linux/ia64/readelflib.c (process_elf_file,
3970 process_elf32_file, process_elf64_file): Likewise.
3971 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file,
3972 process_elf32_file, process_elf64_file): Likewise.
3973 * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file,
3974 process_elf32_file, process_elf64_file): Likewise.
3975 * elf/ldconfig.c (manual_link): Pass it.
3976 (search_dir): Issue diagnostic if two libs with the same soname in
3977 the same directory have different .note.ABI-tag. Record osversion in
3978 dlib_entry and use it from there.
3979 (struct lib_entry): Remove.
3980 (struct dlib_entry): Add osversion.
3981 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Check
3983 * sysdeps/generic/dl-cache.h (struct file_entry_new): Replace __unused
3984 field with osversion.
3985 * sysdeps/generic/ldsodefs.h (_dl_osversion): Declare.
3986 * sysdeps/unix/sysv/linux/init-first.c: Include ldsodefs.h.
3987 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Save kernel
3988 version in _dl_osversion.
3989 * sysdeps/unix/sysv/linux/configure.in: Define __ABI_TAG_VERSION.
3990 * Makerules (build-shlib-helper, build-module-helper): New.
3991 (build-shlib, build-module-helper): Make sure .note.ABI-tag comes
3993 * config.h.in (__ABI_TAG_VERSION): Add.
3994 * elf/dl-minimal.c (__strtoul_internal): Set endptr on return.
3995 * sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS):
3996 Handle LD_ASSUME_KERNEL.
3997 * sysdeps/unix/sysv/linux/dl-librecon.h: New.
3999 2001-03-15 Ulrich Drepper <drepper@redhat.com>
4001 * timezone/antarctica: Update from tzdata2001a.
4002 * timezone/asia: Likewise.
4003 * timezone/australasia: Likewise.
4004 * timezone/backward: Likewise.
4005 * timezone/etcetera: Likewise.
4006 * timezone/europe: Likewise.
4007 * timezone/leapseconds: Likewise.
4008 * timezone/northamerica: Likewise.
4009 * timezone/southamerica: Likewise.
4010 * timezone/systemv: Likewise.
4011 * timezone/yearistype: Likewise.
4012 * timezone/zone.tab: Likewise.
4013 * timezone/tzdump.c: Update from tzcode2001a.
4015 2001-03-15 H.J. Lu <hjl@gnu.org>
4017 * intl/Makefile: Fix a typo.
4019 2001-03-14 David Mosberger <davidm@hpl.hp.com>
4021 * gmon/gmon.c (write_call_graph): Avoid unaligned accesses when
4022 writing arc structures.
4024 2001-03-15 H.J. Lu <hjl@gnu.org>
4026 * elf/Makefile ($(objpfx)tst-pathopt.out): Protected against
4029 2001-03-13 Andreas Schwab <schwab@suse.de>
4031 * posix/PTESTS2C.sed: Replace literal CRs by `\r'.
4033 2001-03-15 Ulrich Drepper <drepper@redhat.com>
4035 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Fix test
4036 for control message fitting into message data.
4037 Patch by James Antill <james@and.org>.
4039 * posix/tst-fnmatch.input: Add test case for FNM_PERIOD handling with
4042 * posix/fnmatch_loop.c: Optimize handling of ?() and @().
4043 * posix/fnmatch.c: Define STRLEN and STRCAT appropriately.
4045 * posix/Versions [libc] (GLIBC_2.2.3): Add fnmatch.
4046 * posix/fnmatch.c: Define with new default version GLIBC_2.2.3 to
4047 avoid running binaries with libc versions without FNM_EXTMATCH support.
4049 * include/wchar.h: Add prototype for __wcscat.
4050 * wcsmbs/wcscat.c: Define __wcscat and make wcscat weak alias.
4052 * posix/fnmatch.h (FNM_EXTMATCH): Define.
4053 * posix/fnmatch.c (NO_LEADING_PERIOD): Define.
4054 (posixly_correct): Move global variable here.
4055 (INT, EXT, END): Name new functions defined in fnmatch_loop.c.
4056 (fnmatch): Pretty printing.
4057 * posix/fnmatch_loop.c: Add code to handle FNM_EXTMATCH.
4058 * posix/tst-fnmatch.c: Recognize EXTMATCH flag.
4059 * posix/tst-fnmatch.input: Add tests for extended matching.
4061 * posix/testfnm.c: Add test for patterns with multiple ** before /.
4062 * posix/fnmatch_loop.c: Fix problem with the test above.
4064 2001-03-14 Ulrich Drepper <drepper@redhat.com>
4066 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove
4069 * resolv/res_data.c (fp_nquery): Call __res_ninit not __res_init.
4071 2001-03-12 Andreas Jaeger <aj@suse.de>
4073 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
4074 Use EM_X86_64 instead of EM_X8664.
4076 2001-03-12 Ulrich Drepper <drepper@redhat.com>
4078 * sysdeps/ieee754/dbl-64/upow.h: Define nZERO and nINF.
4080 * sysdeps/ieee754/dbl-64/e_remainder.c: Fix handling of boundary
4083 * sysdeps/ieee754/dbl-64/e_pow.c: Fix handling of boundary
4086 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Handle Inf and NaN
4090 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Handle NaN
4092 (__ieee754_acos): Likewise.
4094 2001-03-12 Andreas Jaeger <aj@suse.de>
4096 * sysdeps/unix/sysv/linux/s390/sysdep.h (_LINUX_S390_SYSDEP_H):
4097 Fix typo. Patch by Martin Schwidefsky <schwidefsky@de.ibm.com>.
4099 * sysdeps/s390/bits/string.h: Protect __STRING_INLINE against
4102 2001-03-11 Roland McGrath <roland@frob.com>
4104 * sysdeps/mach/hurd/configure.in: Add a sanity check on $prefix.
4106 2001-03-11 Ulrich Drepper <drepper@redhat.com>
4108 * sysdeps/ieee754/dbl-64/endian.h: Define also one of BIG_ENDI and
4111 * sysdeps/ieee754/dbl-64/MathLib.h (Init_Lib): Use void as
4114 Last-bit accurate math library implementation by IBM Haifa.
4115 Contributed by Abraham Ziv <ziv@il.ibm.com>, Moshe Olshansky
4116 <olshansk@il.ibm.com>, Ealan Henis <ealan@il.ibm.com>, and
4117 Anna Reitman <reitman@il.ibm.com>.
4118 * math/Makefile (dbl-only-routines): New variable.
4119 (libm-routines): Add $(dbl-only-routines).
4120 * sysdeps/ieee754/dbl-64/e_acos.c: Empty, definition is in e_asin.c.
4121 * sysdeps/ieee754/dbl-64/e_asin.c: Replaced with accurate asin
4123 * sysdeps/ieee754/dbl-64/e_atan2.c: Replaced with accurate atan2
4125 * sysdeps/ieee754/dbl-64/e_exp.c: Replaced with accurate exp
4127 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't use __kernel_sin and
4129 * sysdeps/ieee754/dbl-64/e_log.c: Replaced with accurate log
4131 * sysdeps/ieee754/dbl-64/e_remainder.c: Replaced with accurate
4132 remainder implementation.
4133 * sysdeps/ieee754/dbl-64/e_pow.c: Replaced with accurate pow
4135 * sysdeps/ieee754/dbl-64/e_sqrt.c: Replaced with accurate sqrt
4137 * sysdeps/ieee754/dbl-64/k_cos.c: Empty, definition is in s_sin.c.
4138 * sysdeps/ieee754/dbl-64/k_sin.c: Empty, definition is in s_sin.c.
4139 * sysdeps/ieee754/dbl-64/s_atan.c: Replaced with accurate atan
4141 * sysdeps/ieee754/dbl-64/s_cos.c: Empty, definition is in s_sin.c.
4142 * sysdeps/ieee754/dbl-64/s_sin.c: Replaced with accurate sin/cos
4144 * sysdeps/ieee754/dbl-64/s_sincos.c: Rewritten to not use __kernel_sin
4146 * sysdeps/ieee754/dbl-64/s_tan.c: Replaced with accurate tan
4148 * sysdeps/ieee754/dbl-64/Dist: Add new non-code files.
4149 * sysdeps/ieee754/dbl-64/MathLib.h: New file.
4150 * sysdeps/ieee754/dbl-64/asincos.tbl: New file.
4151 * sysdeps/ieee754/dbl-64/atnat.h: New file.
4152 * sysdeps/ieee754/dbl-64/atnat2.h: New file.
4153 * sysdeps/ieee754/dbl-64/branred.c: New file.
4154 * sysdeps/ieee754/dbl-64/branred.h: New file.
4155 * sysdeps/ieee754/dbl-64/dla.h: New file.
4156 * sysdeps/ieee754/dbl-64/doasin.c: New file.
4157 * sysdeps/ieee754/dbl-64/doasin.h: New file.
4158 * sysdeps/ieee754/dbl-64/dosincos.c: New file.
4159 * sysdeps/ieee754/dbl-64/dosincos.h: New file.
4160 * sysdeps/ieee754/dbl-64/endian.h: New file.
4161 * sysdeps/ieee754/dbl-64/halfulp.c: New file.
4162 * sysdeps/ieee754/dbl-64/mpa.c: New file.
4163 * sysdeps/ieee754/dbl-64/mpa.h: New file.
4164 * sysdeps/ieee754/dbl-64/mpa2.h: New file.
4165 * sysdeps/ieee754/dbl-64/mpatan.c: New file.
4166 * sysdeps/ieee754/dbl-64/mpatan.h: New file.
4167 * sysdeps/ieee754/dbl-64/mpatan2.c: New file.
4168 * sysdeps/ieee754/dbl-64/mpexp.c: New file.
4169 * sysdeps/ieee754/dbl-64/mpexp.h: New file.
4170 * sysdeps/ieee754/dbl-64/mplog.c: New file.
4171 * sysdeps/ieee754/dbl-64/mplog.h: New file.
4172 * sysdeps/ieee754/dbl-64/mpsqrt.c: New file.
4173 * sysdeps/ieee754/dbl-64/mpsqrt.h: New file.
4174 * sysdeps/ieee754/dbl-64/mptan.c: New file.
4175 * sysdeps/ieee754/dbl-64/mydefs.h: New file.
4176 * sysdeps/ieee754/dbl-64/powtwo.tbl: New file.
4177 * sysdeps/ieee754/dbl-64/root.tbl: New file.
4178 * sysdeps/ieee754/dbl-64/sincos.tbl: New file.
4179 * sysdeps/ieee754/dbl-64/sincos32.c: New file.
4180 * sysdeps/ieee754/dbl-64/sincos32.h: New file.
4181 * sysdeps/ieee754/dbl-64/slowexp.c: New file.
4182 * sysdeps/ieee754/dbl-64/slowpow.c: New file.
4183 * sysdeps/ieee754/dbl-64/uasncs.h: New file.
4184 * sysdeps/ieee754/dbl-64/uatan.tbl: New file.
4185 * sysdeps/ieee754/dbl-64/uexp.h: New file.
4186 * sysdeps/ieee754/dbl-64/uexp.tbl: New file.
4187 * sysdeps/ieee754/dbl-64/ulog.h: New file.
4188 * sysdeps/ieee754/dbl-64/ulog.tbl: New file.
4189 * sysdeps/ieee754/dbl-64/upow.h: New file.
4190 * sysdeps/ieee754/dbl-64/upow.tbl: New file.
4191 * sysdeps/ieee754/dbl-64/urem.h: New file.
4192 * sysdeps/ieee754/dbl-64/uroot.h: New file.
4193 * sysdeps/ieee754/dbl-64/usncs.h: New file.
4194 * sysdeps/ieee754/dbl-64/utan.h: New file.
4195 * sysdeps/ieee754/dbl-64/utan.tbl: New file.
4196 * sysdeps/i386/fpu/branred.c: New file.
4197 * sysdeps/i386/fpu/doasin.c: New file.
4198 * sysdeps/i386/fpu/dosincos.c: New file.
4199 * sysdeps/i386/fpu/halfulp.c: New file.
4200 * sysdeps/i386/fpu/mpa.c: New file.
4201 * sysdeps/i386/fpu/mpatan.c: New file.
4202 * sysdeps/i386/fpu/mpatan2.c: New file.
4203 * sysdeps/i386/fpu/mpexp.c: New file.
4204 * sysdeps/i386/fpu/mplog.c: New file.
4205 * sysdeps/i386/fpu/mpsqrt.c: New file.
4206 * sysdeps/i386/fpu/mptan.c: New file.
4207 * sysdeps/i386/fpu/sincos32.c: New file.
4208 * sysdeps/i386/fpu/slowexp.c: New file.
4209 * sysdeps/i386/fpu/slowpow.c: New file.
4210 * sysdeps/ia64/fpu/branred.c: New file.
4211 * sysdeps/ia64/fpu/doasin.c: New file.
4212 * sysdeps/ia64/fpu/dosincos.c: New file.
4213 * sysdeps/ia64/fpu/halfulp.c: New file.
4214 * sysdeps/ia64/fpu/mpa.c: New file.
4215 * sysdeps/ia64/fpu/mpatan.c: New file.
4216 * sysdeps/ia64/fpu/mpatan2.c: New file.
4217 * sysdeps/ia64/fpu/mpexp.c: New file.
4218 * sysdeps/ia64/fpu/mplog.c: New file.
4219 * sysdeps/ia64/fpu/mpsqrt.c: New file.
4220 * sysdeps/ia64/fpu/mptan.c: New file.
4221 * sysdeps/ia64/fpu/sincos32.c: New file.
4222 * sysdeps/ia64/fpu/slowexp.c: New file.
4223 * sysdeps/ia64/fpu/slowpow.c: New file.
4224 * sysdeps/m68k/fpu/branred.c: New file.
4225 * sysdeps/m68k/fpu/doasin.c: New file.
4226 * sysdeps/m68k/fpu/dosincos.c: New file.
4227 * sysdeps/m68k/fpu/halfulp.c: New file.
4228 * sysdeps/m68k/fpu/mpa.c: New file.
4229 * sysdeps/m68k/fpu/mpatan.c: New file.
4230 * sysdeps/m68k/fpu/mpatan2.c: New file.
4231 * sysdeps/m68k/fpu/mpexp.c: New file.
4232 * sysdeps/m68k/fpu/mplog.c: New file.
4233 * sysdeps/m68k/fpu/mpsqrt.c: New file.
4234 * sysdeps/m68k/fpu/mptan.c: New file.
4235 * sysdeps/m68k/fpu/sincos32.c: New file.
4236 * sysdeps/m68k/fpu/slowexp.c: New file.
4237 * sysdeps/m68k/fpu/slowpow.c: New file.
4239 * iconvdata/gconv-modules: Add a number of alias, mostly for IBM
4242 2001-03-11 Andreas Jaeger <aj@suse.de>
4244 * elf/elf.h (EM_*): Synch with official list.
4246 2001-03-07 David Mosberger <davidm@hpl.hp.com>
4248 * sysdeps/ia64/bits/fenv.h (FE_NONIEEE_ENV): New macro.
4250 2001-03-07 Jes Sorensen <jes@linuxcare.com>
4252 * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Remove unused
4253 variables addr & len.
4255 2001-02-22 Jes Sorensen <jes@linuxcare.com>
4257 * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Remove
4258 punctuation in asm constraint.
4260 2001-03-07 Mark Kettenis <kettenis@gnu.org>
4262 * resolv/netdb.h [__USE_GNU]: Define __need_timespec and include
4263 <time.h> to get definition of `struct timespec'.
4265 2001-03-08 Jakub Jelinek <jakub@redhat.com>
4267 * elf/rtld.c (dl_main): If tracing, warn about undefined symbols if
4268 LD_WARN=1, not if LD_WARN is unset.
4270 2001-03-07 Andreas Schwab <schwab@suse.de>
4272 * elf/ldconfig.h: Moved to ...
4273 * sysdeps/generic/ldconfig.h: ... here.
4274 * sysdeps/unix/sysv/linux/i386/ldconfig.h: New file.
4275 * sysdeps/unix/sysv/linux/m68k/ldconfig.h: New file.
4276 * sysdeps/unix/sysv/linux/ia64/ldconfig.h: New file.
4277 * elf/readlib.c (interpreters, known_libs): Use
4278 SYSDEP_KNOWN_INTERPRETER_NAMES and SYSDEP_KNOWN_LIBRARY_NAMES
4279 instead of hard coding old names.
4281 2001-03-09 Ulrich Drepper <drepper@redhat.com>
4283 * catgets/Makefile (generated): Add test-gencat.h.
4284 (sample.SJIS.cat): Also generate header.
4285 * catgets/sample.SJIS: Add new set and message, both with symbolic
4287 * catgets/test-gencat.sh: Also compare generated header with what
4290 2001-03-07 Jakub Jelinek <jakub@redhat.com>
4292 * catgets/gencat.c (read_input_file): Preserve properly symbolic
4295 2001-03-06 Andreas Jaeger <aj@suse.de>
4297 * sysdeps/s390/dl-machine.h (elf_machine_relplt): Removed, it's not
4299 (elf_machine_pltrel_p): Likewise.
4300 * sysdeps/powerpc/dl-machine.h: Likewise.
4301 * sysdeps/generic/dl-machine.h (elf_machine_pltrel_p): Likewise.
4303 2001-03-09 Ulrich Drepper <drepper@redhat.com>
4305 * sysdeps/unix/sysv/linux/arm/Dist: Add dl-procinfo.c and
4308 2001-03-05 Philip Blundell <philb@gnu.org>
4310 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c: New file.
4311 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h: New file.
4312 * sysdeps/unix/sysv/linux/arm/Makefile [subdir=elf]
4313 (sysdep-dl-routines, sysdep_routines, sysdep-rtld-routines): Add
4316 2001-03-09 Ulrich Drepper <drepper@redhat.com>
4318 * dlfcn/tstatexit.c (main): Don't perform the test if __dso_handle
4320 * dlfcn/tstcxaatexit.c (main): Likewise.
4322 2001-03-10 Andreas Jaeger <aj@suse.de>
4324 * sysdeps/i386/fpu/libm-test-ulps: Revert last patch.
4326 2001-03-09 Andreas Jaeger <aj@suse.de>
4328 * sysdeps/s390/dl-machine.h (elf_machine_matches_host): Handle
4329 both new and old EM_S390 values.
4330 (EM_S390_OLD): New constant.
4332 * elf/elf.h (EM_S390): Use official value.
4334 2001-03-09 Ulrich Drepper <drepper@redhat.com>
4336 * conform/data/sys/socket.h-data: Allow SO* symbols.
4338 2001-03-07 Andreas Schwab <schwab@suse.de>
4340 * sysdeps/ia64/fpu/Makefile: Modify sysdep_routines instead of
4341 routines, and sysdep-CPPFLAGS instead of CPPFLAGS.
4343 2001-03-07 Andreas Jaeger <aj@suse.de>
4345 * resolv/Makefile (routines): Only build gai_sigqueue when threads
4348 2001-03-07 Jakub Jelinek <jakub@redhat.com>
4350 * elf/ldconfig.c (_dl_sysdep_message): Remove.
4351 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Include
4353 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
4355 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Use
4356 _dl_error_printf instead of _dl_sysdep_error.
4357 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4358 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h (_dl_procinfo):
4359 Use _dl_printf instead of _dl_sysdep_message.
4360 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h (_dl_procinfo):
4363 2001-03-06 Ben Collins <bcollins@debian.org>
4365 * manual/arith.texi (Integers): Fix documentation of fast and
4366 least integer typedefs.
4368 2001-03-06 Jakub Jelinek <jakub@redhat.com>
4370 * resolv/Depend: New file.
4371 * resolv/Makefile (extra-libs, tests): Build libanl and ga_test only
4372 when libpthread is built.
4374 2001-03-06 Andreas Jaeger <aj@suse.de>
4376 * sysdeps/i386/fpu/libm-test-ulps: Add some deltas.
4378 * sysdeps/sh/dl-machine.h (elf_machine_rela): Add missing comma.
4379 Patch by kaz Kojima <kkojima@rr.iij4u.or.jp>.
4381 2001-03-05 Ulrich Drepper <drepper@redhat.com>
4383 * stdlib/Versions: Remove __new_exitfn again. Not needed.
4385 2001-03-05 Andreas Jaeger <aj@suse.de>
4387 * stdlib/msort.c (qsort): Don't use alloca in a function call.
4389 2001-03-05 Ulrich Drepper <drepper@redhat.com>
4391 * sysdeps/unix/sysv/linux/bits/stat.h (__S_TYPEISMQ, __S_TYPEISSEM,
4392 __S_TYPEISSHM): Rewrite to enforce correct use the macros. They still
4394 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
4395 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
4396 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
4397 * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Likewise.
4398 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
4399 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
4400 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
4402 2001-03-04 Andreas Jaeger <aj@suse.de>
4404 * stdlib/longlong.h: Don't use multi-line strings.
4405 * iconvdata/tst-loading.c: Likewise.
4407 * csu/Makefile ($(objpfx)version-info.h): Don't use multi-line
4410 2001-03-04 Ulrich Drepper <drepper@redhat.com>
4412 * sysdeps/ia64/fpu/libm-test-ulps: Adjust for addition of lgammal.
4414 * rt/lio_listio.c: Add a few asserts.
4416 * elf/global.c: New file.
4417 * elf/globalmod1.c: New file.
4418 * elf/Makefile: Add rules to build and run global.
4420 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Define SI_ASYNCNL.
4421 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
4422 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
4423 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4424 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
4426 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: New file.
4427 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
4429 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Fix handling of boundary cases.
4431 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Always initialize sign variable.
4432 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
4434 * sysdeps/i386/fpu/libm-test-ulps: Adjust after addition of lgammal.
4436 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Fix typo in last change.
4438 2001-03-04 Andreas Jaeger <aj@suse.de>
4440 * resolv/tst-aton.c: Add testcase for IP with four periods.
4442 * resolv/inet_addr.c: Don't recognize an IP with four periods.
4443 Patch by Andre' Breiler <A.Breiler@gmx.net>.
4445 2001-02-27 Philip Blundell <pb@futuretv.com>
4447 * elf/elf.h: Add new ARM definitions from latest (B-01)
4448 specification. Correct naming of EF_ARM_ALIGN8 et al.
4450 2001-03-04 Ulrich Drepper <drepper@redhat.com>
4452 * stdio-common/tst-printf.sh: Remove bashisms.
4453 Patch by Matthew Clarke <Matthew_Clarke@mindlink.bc.ca>.
4455 2001-03-03 Ulrich Drepper <drepper@redhat.com>
4457 * Versions.def: Add libanl definition.
4458 * shlib-versions: Add entry for libanl.
4459 * resolv/Makefile (distribute): Add gai_misc.h and ga_test.c.
4460 (routines): Add gai_sigqueue.
4461 (extra-libs): Add libanl.
4462 (libanl-routines): New variable.
4463 Add rules to build libanl and ga_test.
4464 * resolv/Versions [libc] (GLIBC_2.2.3): Add __gai_sigqueue.
4465 [libanl]: New library.
4466 * resolv/netdb.h: Add definitions for libanl.
4467 * resolv/getaddrinfo_a.c: New file.
4468 * resolv/gai_cancel.c: New file.
4469 * resolv/gai_error.c: New file.
4470 * resolv/gai_misc.c: New file.
4471 * resolv/gai_misc.h: New file.
4472 * resolv/gai_notify.c: New file.
4473 * resolv/gai_suspend.c: New file.
4474 * resolv/ga_test.c: New file.
4475 * sysdeps/generic/gai_sigqueue.c: New file.
4476 * sysdeps/unix/sysv/linux/gai_sigqueue.c: New file.
4477 * sysdeps/generic/bits/siginfo.h: Allow __need_sigevent_t being defined
4478 and provide only that definition.
4479 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
4480 * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
4481 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
4482 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
4483 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4484 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
4486 * rt/aio_misc.c: Fix typos in comments.
4487 * rt/lio_listio.c: Pretty printing. Little optimization in request
4490 * elf/rtld.c: Remove commented out code.
4492 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC):
4493 Update for real 2.4 kernels.
4495 2001-03-01 Ulrich Drepper <drepper@redhat.com>
4497 * elf/dl-load.c: Pretty printing.
4499 * elf/dl-object.c (_dl_new_object): Don't add the loader's scope
4502 2001-02-28 Ulrich Drepper <drepper@redhat.com>
4504 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle
4505 relocations which are not in ld.so if RTLD_BOOTSTRAP is defined.
4507 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
4509 * elf/dl-misc.c (_dl_debug_vdprintf): Fix typo visible on 64-bit
4512 * sysdeps/unix/sysv/linux/powerpc/sysdep.h (C_TEXT): Define.
4514 2001-02-27 Ulrich Drepper <drepper@redhat.com>
4516 * sysdeps/powerpc/elf/libc-start.c: Use new output functions and
4519 * elf/Versions [ld]: Don't export _dl_debug_message anymore. Export
4521 * elf/dl-misc.c: Remove definition of _dl_sysdep_output and
4522 _dl_debug_message. Define _dl_debug_vdprintf, _dl_debug_printf,
4523 _dl_debug_printf_c, and _dl_printf.
4524 * sysdeps/generic/ldsodefs.h: Don't declare _dl_sysdep_output,
4525 _dl_debug_message, _dl_sysdep_message, _dl_sysdep_error, and
4526 _dl_sysdep_fatal. Declare _dl_debug_printf, _dl_debug_printf_c,
4527 _dl_printf, _dl_error_printf, and _dl_fatal_printf.
4528 * elf/dl-close.c: Replace use of old output functions with the new
4530 * elf/dl-deps.c: Likewise.
4531 * elf/dl-error.c: Likewise.
4532 * elf/dl-fini.c: Likewise.
4533 * elf/dl-init.c: Likewise.
4534 * elf/dl-load.c: Likewise.
4535 * elf/dl-lookup.c: Likewise.
4536 * elf/dl-minimal.c: Likewise.
4537 * elf/dl-open.c: Likewise.
4538 * elf/dl-profile.c: Likewise.
4539 * elf/dl-reloc.c: Likewise.
4540 * elf/dl-version.c: Likewise.
4541 * elf/do-lookup.h: Likewise.
4542 * elf/rtld.c: Likewise.
4543 * sysdeps/generic/dl-cache.c: Likewise.
4544 * sysdeps/generic/dl-sysdep.c: Likewise.
4545 * sysdeps/generic/libc-start.c: Likewise.
4546 * sysdeps/i386/dl-machine.h: Likewise.
4547 * sysdeps/arm/dl-machine.h: Likewise.
4548 * sysdeps/hppa/dl-machine.h: Likewise.
4549 * sysdeps/m68k/dl-machine.h: Likewise.
4550 * sysdeps/powerpc/dl-machine.h: Likewise.
4551 * sysdeps/s390/dl-machine.h: Likewise.
4552 * sysdeps/sh/dl-machine.h: Likewise.
4553 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
4554 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
4555 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
4557 * sysdeps/generic/ldsodefs.h: Remove _dl_secure declaration.
4559 * dlfcn/Makefile: Don't run tstatexit test unless .hidden is
4560 supported by assembler.
4562 * sysdeps/generic/ldsodefs.h: Remove commented-out variable
4565 * elf/rtld.c: Little optimizations in handling _dl_lazy.
4567 * elf/cache.c (save_cache): Portability changes.
4568 * elf/dl-profile.c (_dl_start_profile): Likewise.
4570 * elf/sln.c: Cleanups. Remove arbitrary limits.
4572 * elf/dl-close.c: Replace _dl_debug_* variables with _dl_debug_mask.
4573 * elf/dl-deps.c: Likewise.
4574 * elf/dl-fini.c: Likewise.
4575 * elf/dl-init.c: Likewise.
4576 * elf/dl-load.c: Likewise.
4577 * elf/dl-lookup.c: Likewise.
4578 * elf/dl-open.c: Likewise.
4579 * elf/dl-reloc.c: Likewise.
4580 * elf/dl-support.c: Likewise.
4581 * elf/dl-version.c: Likewise.
4582 * elf/do-lookup.h: Likewise.
4583 * elf/rtld.c: Likewise.
4584 * sysdeps/generic/dl-cache.c: Likewise.
4585 * sysdeps/generic/ldsodefs.h: Likewise.
4586 * sysdeps/generic/libc-start.c: Likewise.
4587 * elf/Versions: Don't export _dl_debug_impcalls and _dl_debug_files.
4588 Export _dl_debug_mask.
4589 * Versions.def: Define GLIBC_2.2.3 for ld.
4591 2001-02-26 Greg McGary <greg@mcgary.org>
4593 * sysdeps/unix/make-syscalls.sh (ptr): Handle `V' keyletter.
4595 2001-02-26 Paul Eggert <eggert@twinsun.com>
4597 Modify mkstemp.c and tempname.c so that they can be used by
4598 GNU applications on non-glibc platforms.
4600 * misc/mkstemp.c (__GT_FILE): Define to zero if not defined.
4602 * sysdeps/posix/tempname.c: Include <config.h> if HAVE_CONFIG_H.
4603 Include <stddef.h>, <stdint.h>, <string.h> only if
4604 STDC_HEADERS || _LIBC.
4605 Include <fcntl.h> only if HAVE_FCNTL_H || _LIBC.
4606 Include <unistd.h> only if HAVE_UNISTD_H || _LIBC.
4607 Include <sys/time.h> only if HAVE_SYS_TIME_H || _LIBC.
4608 (__set_errno): Define this macro if <errno.h> doesn't.
4609 (P_tmpdir, TMP_MAX, __GT_FILE, __GT_BIGFILE, __GT_DIR, __GT_NOCREATE):
4610 Define these macros if <stdio.h> doesn't.
4611 (S_ISDIR, S_IRUSR, S_IWUSR, S_IXUSR):
4612 Define these macros if <sys/stat.h> doesn't.
4613 Ignore <sys/stat.h> S_ISDIR if STAT_MACROS_BROKEN.
4614 (stat64, __getpid, __gettimeofday, __mkdir, __open, __open64,
4615 lxstat64, __xstat64): Define if not _LIBC.
4616 (struct_stat64): New macro.
4617 (direxists, __gen_tempname): Use it, to avoid a
4618 portability problem with Solaris 8.
4619 (__secure_getenv): Define if ! (HAVE___SECURE_GETENV || _LIBC).
4620 (__gen_tempname): Invoke gettimeofday only if
4621 HAVE_GETTIMEOFDAY || _LIBC; otherwise, fall back on plain "time".
4622 Use portable macros like S_IRUSR | S_IWUSR rather than nonportable
4623 octal values like 0600.
4625 2001-02-26 Ulrich Drepper <drepper@redhat.com>
4627 * sysdeps/ieee754/ldbl-96/e_jnl.c: New file.
4628 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
4630 * sysdeps/i386/fpu/libm-test-ulps: Update for jnl and ynl introduction.
4631 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4633 * posix/wordexp-test.c (testit): Remove warnings.
4635 * dlfcn/Makefile (distribute): Add modatexit.c and modcxaatexit.c.
4636 (tests): Add tstatexit and tstcxaatexit.
4637 (module-names): Add modatexit and modcxaatexit.
4638 Add rules to build and run tstatexit and tstcxaatexit.
4639 * dlfcn/modatexit.c: New file.
4640 * dlfcn/modcxaatexit.c: New file.
4641 * dlfcn/tstatexit.c: New file.
4642 * dlfcn/tstcxaatexit.c: New file.
4644 * io/Makefile: Pass -DHAVE_DOT_HIDDEN to stat and mknod functions if
4645 .hidden is available.
4646 * io/stat.c: If .hidden is available use it to avoid exporting
4648 * io/fstat.c: Likewise.
4649 * io/lstat.c: Likewise.
4650 * io/stat64.c: Likewise.
4651 * io/fstat64.c: Likewise.
4652 * io/lstat64.c: Likewise.
4653 * sysdeps/generic/mknod.c: Likewise.
4655 * malloc/mtrace.c: Use __cxa_atexit and not atexit.
4656 * sysdeps/generic/bb_init_func.c: Likewise.
4657 * sysdeps/generic/libc-start.c: Likewise.
4659 * stdlib/atexit.c (__new_exitfn): Move to cxa_atexit.c.
4660 (atexit): Implement using __cxa_atexit.
4661 Use .hidden if availble to avoid exporting atexit.
4662 * stdlib/cxa_atexit.c (__new_exitfn): Moved to here from atexit.c.
4663 * stdlib/Versions: Export __new_exitfn for GLIBC_2.2.3.
4664 * stdlib/Makefile (routines): Add old_atexit.
4665 (static-only-routines): Add atexit.
4666 Pass -DHAVE_DOT_HIDDEN for atexit.c if .hidden is available.
4667 * stdlib/old_atexit.c: New file.
4669 * intl/Makefile: Remove bogus endif.
4671 2001-02-26 Andreas Jaeger <aj@suse.de>
4673 * iconvdata/Makefile (tests): Fix typo in last patch.
4675 * intl/Makefile (tests): Run mtrace-tst-gettext only when perl is
4677 Reported by Achim Gottinger <achim@gentoo.org>.
4679 2001-02-25 Andreas Jaeger <aj@suse.de>
4681 * intl/Makefile (plural.c): Reorder rules so that they work if
4682 BISON doesn't exist.
4684 2001-02-25 Ulrich Drepper <drepper@redhat.com>
4686 * intl/locale.alias: Don't use nb_NO but define aliases for it.
4688 2001-02-23 Ulrich Drepper <drepper@redhat.com>
4690 * sysdeps/i386/strtok.S: Continue to return NULL after the first
4693 2001-02-23 Andreas Jaeger <aj@suse.de>
4695 * string/tester.c (test_strtok_r): Add testcase.
4696 (test_strtok_r): Always initialize cp for proper checking.
4698 * sysdeps/generic/strtok.c (strtok): Handle case of first strtok
4699 returning NULL correctly.
4700 Patch by Fumitoshi UKAI <ukai@debian.or.jp>.
4701 * sysdeps/generic/strtok_r.c (__strtok_r): Likewise.
4703 2001-02-23 Ulrich Drepper <drepper@redhat.com>
4705 * sysdeps/unix/sysv/aix/bits/types.h: Define __need_NULL before
4706 including <stddef.h>.
4707 * sysdeps/unix/sysv/aix/write.c: Define alias __libc_write.
4708 * include/libc-symbols.h (weak_alias): Don't use .weak if
4709 HAVE_ASM_GLOBAL_DOT_NAME is defined.
4710 Patches by Michael Keezer <mkeezer@redhat.com>.
4712 * sysdeps/generic/ftime.c: Don't include <sys/time.h> at all.
4713 Patch by Michael Keezer <mkeezer@redhat.com>.
4715 * sysdeps/unix/sysv/aix/Dist: Remove restf.S and savef.S.
4716 * sysdeps/unix/sysv/aix/Makefile [$(subdir) == misc]
4717 (sysdep_routines): Remove restf.S and savef.S.
4718 * sysdeps/unix/sysv/aix/restf.S: Removed.
4719 * sysdeps/unix/sysv/aix/savef.S: Removed.
4720 * sysdeps/powerpc/fprrest.S: Use C_TEXT to define label. Also define
4721 alternative names used on some platforms.
4722 * sysdeps/powerpc/fprsave.S: Likewise.
4723 * sysdeps/powerpc/gprrest0.S: Likewise.
4724 * sysdeps/powerpc/gprrest1.S: Likewise.
4725 * sysdeps/powerpc/gprsave0.S: Likewise.
4726 * sysdeps/powerpc/gprsave1.S: Likewise.
4727 Patch by Michael Keezer <mkeezer@redhat.com>.
4729 2001-02-22 Ulrich Drepper <drepper@redhat.com>
4731 * sysdeps/i386/elf/start.S (_fp_hw): Actually define label.
4733 2001-02-22 Andreas Jaeger <aj@suse.de>
4735 * string/tst-strtok.c (main): Fix error messages.
4737 2001-02-22 Andreas Jaeger <aj@suse.de>
4739 * math/Makefile: Remove omit-long-double-fcts.
4741 2001-02-18 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
4743 * sysdeps/mips/bsd-_setjmp.S (_setjmp): Reorder instructions to
4744 avoid problems on MIPS I.
4745 * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
4747 * sysdeps/mips/dl-machine.h (RTLD_START): Remove duplicate ".set
4750 2001-02-21 Ulrich Drepper <drepper@redhat.com>
4752 * posix/fnmatch_loop.c: Handle ranges outside glibc correctly.
4754 * sysdeps/generic/ftime.c: Include <time.h>.
4756 * configure.in: Don't check for libgd if user passed --without-gd.
4757 Patch by Achim Gottinger <achim@gentoo.org>.
4759 * sysdeps/i386/i686/strtok.S: Continue to return NULL after the
4760 first time this happened.
4761 * string/Makefile (tests): Add tst-strtok.
4763 2001-02-21 Andreas Jaeger <aj@suse.de>
4765 * string/tst-strtok.c: New testcase, reported by
4766 Andrew Church <achurch@achurch.org>.
4768 2001-02-20 Ulrich Drepper <drepper@redhat.com>
4770 * libio/iofwide.c: Remove fwide alias.
4772 2001-02-20 Andreas Jaeger <aj@suse.de>
4774 * iconvdata/Makefile (tests): Only run mtrace-tst-loading if perl
4776 Reported by Achim Gottinger <achim@gentoo.org>.
4778 2001-02-19 Ulrich Drepper <drepper@redhat.com>
4780 * iconv/tst-iconv1.c (main): Remove debugging code.
4782 * sysdeps/ieee754/flt-32/e_powf.c: Handle x == +-1 correctly.
4783 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4785 * sysdeps/generic/e_scalb.c: Set invalid exception for invalid
4787 * sysdeps/generic/e_scalbf.c: Likewise.
4788 * sysdeps/generic/e_scalbl.c: Likewise.
4790 * sysdeps/ia64/fpu/Makefile (libm-sysdep-routines): Add libm_error,
4791 libm_frexp4, libm_frexp4f, libm_frexp4l, and all the functions also
4793 (routines): Replace libm_error with libc_libm_error.
4794 * sysdeps/ia64/fpu/Dist: Add libc_libm_error.c.
4795 * sysdeps/ia64/fpu/libc_libm_error.c: New file.
4797 2001-02-18 Mark Kettenis <kettenis@gnu.org>
4799 * malloc/mtrace.c [USE_IN_LIBIO]: Define fopen as _IO_fopen64.
4800 (mtrace): Revert 2001-02-13 patch: use fopen instead of fopen64.
4802 2001-02-17 H.J. Lu <hjl@gnu.org>
4804 * sysdeps/unix/sysv/linux/ia64/clone2.S: Use clone2 and don't use
4805 scratch registers across the system call.
4807 2001-02-19 Andreas Jaeger <aj@suse.de>
4809 * malloc/Makefile (tests): Run mtrace only when perl is available.
4810 Reported by Achim Gottinger <achim@gentoo.org>.
4812 2001-02-19 Ulrich Drepper <drepper@redhat.com>
4814 * sysdeps/ieee754/ldbl-96/e_j1l.c: New file.
4815 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
4817 * sysdeps/i386/fpu/libm-test-ulps: Adjust error values for j1 and y1.
4818 * sysdeps/ia64/fpu/libm-test-ulps: Adjust error values for y1.
4819 * math/libm-test.inc (j1_test): Mark constants as long double.
4820 (jn_test): Likewise.
4821 (y1_test): Likewise.
4822 (yn_test): Likewise.
4824 * libio/iogetline.c: Move return until after last statement.
4826 * localedata/show-ucs-data.c: Don't show < > for better readability.
4828 * sysdeps/ia64/fpu/Dist: New file.
4829 * sysdeps/ia64/fpu/Makefile: New file.
4830 * sysdeps/ia64/fpu/Versions: New file.
4831 * sysdeps/ia64/fpu/e_acos.S: New file.
4832 * sysdeps/ia64/fpu/e_acosf.S: New file.
4833 * sysdeps/ia64/fpu/e_acosl.S: New file.
4834 * sysdeps/ia64/fpu/e_asin.S: New file.
4835 * sysdeps/ia64/fpu/e_asinf.S: New file.
4836 * sysdeps/ia64/fpu/e_asinl.S: New file.
4837 * sysdeps/ia64/fpu/e_atan2.S: New file.
4838 * sysdeps/ia64/fpu/e_atan2f.S: New file.
4839 * sysdeps/ia64/fpu/e_atan2l.c: New file.
4840 * sysdeps/ia64/fpu/e_cosh.S: New file.
4841 * sysdeps/ia64/fpu/e_coshf.S: New file.
4842 * sysdeps/ia64/fpu/e_coshl.S: New file.
4843 * sysdeps/ia64/fpu/e_exp.S: New file.
4844 * sysdeps/ia64/fpu/e_expf.S: New file.
4845 * sysdeps/ia64/fpu/e_expl.c: New file.
4846 * sysdeps/ia64/fpu/e_fmod.S: New file.
4847 * sysdeps/ia64/fpu/e_fmodf.S: New file.
4848 * sysdeps/ia64/fpu/e_fmodl.S: New file.
4849 * sysdeps/ia64/fpu/e_hypot.S: New file.
4850 * sysdeps/ia64/fpu/e_hypotf.S: New file.
4851 * sysdeps/ia64/fpu/e_hypotl.S: New file.
4852 * sysdeps/ia64/fpu/e_log.S: New file.
4853 * sysdeps/ia64/fpu/e_log10.c: New file.
4854 * sysdeps/ia64/fpu/e_log10f.c: New file.
4855 * sysdeps/ia64/fpu/e_log10l.c: New file.
4856 * sysdeps/ia64/fpu/e_logf.S: New file.
4857 * sysdeps/ia64/fpu/e_logl.c: New file.
4858 * sysdeps/ia64/fpu/e_pow.S: New file.
4859 * sysdeps/ia64/fpu/e_powf.S: New file.
4860 * sysdeps/ia64/fpu/e_powl.S: New file.
4861 * sysdeps/ia64/fpu/e_rem_pio2.c: New file.
4862 * sysdeps/ia64/fpu/e_rem_pio2f.c: New file.
4863 * sysdeps/ia64/fpu/e_remainder.S: New file.
4864 * sysdeps/ia64/fpu/e_remainderf.S: New file.
4865 * sysdeps/ia64/fpu/e_remainderl.S: New file.
4866 * sysdeps/ia64/fpu/e_scalb.S: New file.
4867 * sysdeps/ia64/fpu/e_scalbf.S: New file.
4868 * sysdeps/ia64/fpu/e_scalbl.S: New file.
4869 * sysdeps/ia64/fpu/e_sinh.S: New file.
4870 * sysdeps/ia64/fpu/e_sinhf.S: New file.
4871 * sysdeps/ia64/fpu/e_sinhl.S: New file.
4872 * sysdeps/ia64/fpu/e_sqrt.S: New file.
4873 * sysdeps/ia64/fpu/e_sqrtf.S: New file.
4874 * sysdeps/ia64/fpu/e_sqrtl.S: New file.
4875 * sysdeps/ia64/fpu/k_rem_pio2.c: New file.
4876 * sysdeps/ia64/fpu/k_rem_pio2f.c: New file.
4877 * sysdeps/ia64/fpu/k_rem_pio2l.c: New file.
4878 * sysdeps/ia64/fpu/libm_atan2_reg.S: New file.
4879 * sysdeps/ia64/fpu/libm_error.c: New file.
4880 * sysdeps/ia64/fpu/libm_frexp4.S: New file.
4881 * sysdeps/ia64/fpu/libm_frexp4f.S: New file.
4882 * sysdeps/ia64/fpu/libm_frexp4l.S: New file.
4883 * sysdeps/ia64/fpu/libm_reduce.S: New file.
4884 * sysdeps/ia64/fpu/libm_support.h: New file.
4885 * sysdeps/ia64/fpu/libm_tan.S: New file.
4886 * sysdeps/ia64/fpu/s_atan.S: New file.
4887 * sysdeps/ia64/fpu/s_atanf.S: New file.
4888 * sysdeps/ia64/fpu/s_atanl.S: New file.
4889 * sysdeps/ia64/fpu/s_cbrt.S: New file.
4890 * sysdeps/ia64/fpu/s_cbrtf.S: New file.
4891 * sysdeps/ia64/fpu/s_cbrtl.S: New file.
4892 * sysdeps/ia64/fpu/s_ceil.S: New file.
4893 * sysdeps/ia64/fpu/s_ceilf.S: New file.
4894 * sysdeps/ia64/fpu/s_ceill.S: New file.
4895 * sysdeps/ia64/fpu/s_cos.S: New file.
4896 * sysdeps/ia64/fpu/s_cosf.S: New file.
4897 * sysdeps/ia64/fpu/s_cosl.S: New file.
4898 * sysdeps/ia64/fpu/s_expm1.S: New file.
4899 * sysdeps/ia64/fpu/s_expm1f.S: New file.
4900 * sysdeps/ia64/fpu/s_expm1l.S: New file.
4901 * sysdeps/ia64/fpu/s_floor.S: New file.
4902 * sysdeps/ia64/fpu/s_floorf.S: New file.
4903 * sysdeps/ia64/fpu/s_floorl.S: New file.
4904 * sysdeps/ia64/fpu/s_frexp.c: New file.
4905 * sysdeps/ia64/fpu/s_frexpf.c: New file.
4906 * sysdeps/ia64/fpu/s_frexpl.c: New file.
4907 * sysdeps/ia64/fpu/s_ilogb.S: New file.
4908 * sysdeps/ia64/fpu/s_ilogbf.S: New file.
4909 * sysdeps/ia64/fpu/s_ilogbl.S: New file.
4910 * sysdeps/ia64/fpu/s_ldexp.S: New file.
4911 * sysdeps/ia64/fpu/s_ldexpf.S: New file.
4912 * sysdeps/ia64/fpu/s_ldexpl.S: New file.
4913 * sysdeps/ia64/fpu/s_log1p.S: New file.
4914 * sysdeps/ia64/fpu/s_log1pf.S: New file.
4915 * sysdeps/ia64/fpu/s_log1pl.S: New file.
4916 * sysdeps/ia64/fpu/s_logb.S: New file.
4917 * sysdeps/ia64/fpu/s_logbf.S: New file.
4918 * sysdeps/ia64/fpu/s_logbl.S: New file.
4919 * sysdeps/ia64/fpu/s_matherrf.c: New file.
4920 * sysdeps/ia64/fpu/s_matherrl.c: New file.
4921 * sysdeps/ia64/fpu/s_modf.S: New file.
4922 * sysdeps/ia64/fpu/s_modff.S: New file.
4923 * sysdeps/ia64/fpu/s_modfl.S: New file.
4924 * sysdeps/ia64/fpu/s_nearbyint.S: New file.
4925 * sysdeps/ia64/fpu/s_nearbyintf.S: New file.
4926 * sysdeps/ia64/fpu/s_nearbyintl.S: New file.
4927 * sysdeps/ia64/fpu/s_rint.S: New file.
4928 * sysdeps/ia64/fpu/s_rintf.S: New file.
4929 * sysdeps/ia64/fpu/s_rintl.S: New file.
4930 * sysdeps/ia64/fpu/s_round.S: New file.
4931 * sysdeps/ia64/fpu/s_roundf.S: New file.
4932 * sysdeps/ia64/fpu/s_roundl.S: New file.
4933 * sysdeps/ia64/fpu/s_scalbn.S: New file.
4934 * sysdeps/ia64/fpu/s_scalbnf.S: New file.
4935 * sysdeps/ia64/fpu/s_scalbnl.S: New file.
4936 * sysdeps/ia64/fpu/s_significand.S: New file.
4937 * sysdeps/ia64/fpu/s_significandf.S: New file.
4938 * sysdeps/ia64/fpu/s_significandl.S: New file.
4939 * sysdeps/ia64/fpu/s_sin.c: New file.
4940 * sysdeps/ia64/fpu/s_sincos.c: New file.
4941 * sysdeps/ia64/fpu/s_sincosf.c: New file.
4942 * sysdeps/ia64/fpu/s_sincosl.c: New file.
4943 * sysdeps/ia64/fpu/s_sinf.c: New file.
4944 * sysdeps/ia64/fpu/s_sinl.c: New file.
4945 * sysdeps/ia64/fpu/s_tan.S: New file.
4946 * sysdeps/ia64/fpu/s_tanf.S: New file.
4947 * sysdeps/ia64/fpu/s_tanl.S: New file.
4948 * sysdeps/ia64/fpu/s_trunc.S: New file.
4949 * sysdeps/ia64/fpu/s_truncf.S: New file.
4950 * sysdeps/ia64/fpu/s_truncl.S: New file.
4951 * sysdeps/ia64/fpu/w_acos.c: New file.
4952 * sysdeps/ia64/fpu/w_acosf.c: New file.
4953 * sysdeps/ia64/fpu/w_acosl.c: New file.
4954 * sysdeps/ia64/fpu/w_asin.c: New file.
4955 * sysdeps/ia64/fpu/w_asinf.c: New file.
4956 * sysdeps/ia64/fpu/w_asinl.c: New file.
4957 * sysdeps/ia64/fpu/w_atan2.c: New file.
4958 * sysdeps/ia64/fpu/w_atan2f.c: New file.
4959 * sysdeps/ia64/fpu/w_atan2l.c: New file.
4960 * sysdeps/ia64/fpu/w_cosh.c: New file.
4961 * sysdeps/ia64/fpu/w_coshf.c: New file.
4962 * sysdeps/ia64/fpu/w_coshl.c: New file.
4963 * sysdeps/ia64/fpu/w_exp.c: New file.
4964 * sysdeps/ia64/fpu/w_expf.c: New file.
4965 * sysdeps/ia64/fpu/w_fmod.c: New file.
4966 * sysdeps/ia64/fpu/w_fmodf.c: New file.
4967 * sysdeps/ia64/fpu/w_fmodl.c: New file.
4968 * sysdeps/ia64/fpu/w_hypot.c: New file.
4969 * sysdeps/ia64/fpu/w_hypotf.c: New file.
4970 * sysdeps/ia64/fpu/w_hypotl.c: New file.
4971 * sysdeps/ia64/fpu/w_log.c: New file.
4972 * sysdeps/ia64/fpu/w_log10.c: New file.
4973 * sysdeps/ia64/fpu/w_log10f.c: New file.
4974 * sysdeps/ia64/fpu/w_log10l.c: New file.
4975 * sysdeps/ia64/fpu/w_logf.c: New file.
4976 * sysdeps/ia64/fpu/w_logl.c: New file.
4977 * sysdeps/ia64/fpu/w_pow.c: New file.
4978 * sysdeps/ia64/fpu/w_powf.c: New file.
4979 * sysdeps/ia64/fpu/w_powl.c: New file.
4980 * sysdeps/ia64/fpu/w_remainder.c: New file.
4981 * sysdeps/ia64/fpu/w_remainderf.c: New file.
4982 * sysdeps/ia64/fpu/w_remainderl.c: New file.
4983 * sysdeps/ia64/fpu/w_scalb.c: New file.
4984 * sysdeps/ia64/fpu/w_scalbf.c: New file.
4985 * sysdeps/ia64/fpu/w_scalbl.c: New file.
4986 * sysdeps/ia64/fpu/w_sqrt.c: New file.
4987 * sysdeps/ia64/fpu/w_sqrtf.c: New file.
4988 * sysdeps/ia64/fpu/w_sqrtl.c: New file.
4989 * sysdeps/ia64/fpu/libm-test-ulps: Adjust for long double
4991 * sysdeps/ia64/fpu/bits/mathdef.h: Correct float_t and double_t types.
4992 Change FP_ILOGBNAN for new implementation.
4993 * Verions.def: Add 2.2.3 versions.
4995 2001-02-18 Ulrich Drepper <drepper@redhat.com>
4997 * math/libm-test.inc (scalb_test): Require invalid exception being
4998 raised for invalid parameters.
4999 * sysdeps/i386/fpu/e_scalb.S: Raise invalid exception if necessary.
5000 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5001 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5003 2001-02-18 Mark Kettenis <kettenis@gnu.org>
5005 * sysdeps/mach/getsysstats.c (__get_phys_pages): Change return
5007 (__get_avphys_pages): Likewise.
5009 2001-02-18 Ulrich Drepper <drepper@redhat.com>
5011 * math/libm-test.inc (pow_test): Correct expected results for x == +-1.
5012 * sysdeps/i386/fpu/e_pow.S: Handle x == +-1 correctly.
5013 * sysdeps/i386/fpu/e_powf.S: Likewise.
5014 * sysdeps/i386/fpu/e_powl.S: Likewise.
5016 * sysdeps/i386/fpu/bits/mathinline.h: Remove pow inline code.
5018 2001-02-17 Ulrich Drepper <drepper@redhat.com>
5020 * math/Makefile (libm-calls): It's e_exp2 not s_exp2.
5022 * sysdeps/generic/s_exp2l.c: Renamed to...
5023 * sysdeps/generic/e_exp2l.c: ...this. New file.
5024 * sysdeps/i386/fpu/s_exp2.S: Renamed to...
5025 * sysdeps/i386/fpu/e_exp2.S: ...this. New file.
5026 * sysdeps/i386/fpu/s_exp2f.S: Renamed to...
5027 * sysdeps/i386/fpu/e_exp2f.S: ...this. New file.
5028 * sysdeps/i386/fpu/s_exp2l.S: Renamed to...
5029 * sysdeps/i386/fpu/e_exp2l.S: ...this. New file.
5030 * sysdeps/ieee754/flt-32/s_exp2f.c: Renamed to...
5031 * sysdeps/ieee754/flt-32/e_exp2f.c: ...this. New file.
5032 * sysdeps/ieee754/dbl-64/s_exp2.c: Renamed to...
5033 * sysdeps/ieee754/dbl-64/e_exp2.c: ...this. New file.
5034 * sysdeps/m68k/fpu/s_exp2.c: Renamed to...
5035 * sysdeps/m68k/fpu/e_exp2.c: ...this. New file.
5036 * sysdeps/m68k/fpu/s_exp2f.c: Renamed to...
5037 * sysdeps/m68k/fpu/e_exp2f.c: ...this. New file.
5038 * sysdeps/m68k/fpu/s_exp2l.c: Renamed to...
5039 * sysdeps/m68k/fpu/e_exp2l.c: ...this. New file.
5041 2001-02-17 Andreas Jaeger <aj@suse.de>
5043 * configure.in: Allow gcc 3.
5045 2001-02-16 Ulrich Drepper <drepper@redhat.com>
5047 * math/w_acos.c: Move to ...
5048 * sysdeps/generic/w_acos.c: ...here. New file.
5049 * math/w_acosf.c: Move to ...
5050 * sysdeps/generic/w_acosf.c: ...here. New file.
5051 * math/w_acosh.c: Move to ...
5052 * sysdeps/generic/w_acosh.c: ...here. New file.
5053 * math/w_acoshf.c: Move to ...
5054 * sysdeps/generic/w_acoshf.c: ...here. New file.
5055 * math/w_acoshl.c: Move to ...
5056 * sysdeps/generic/w_acoshl.c: ...here. New file.
5057 * math/w_acosl.c: Move to ...
5058 * sysdeps/generic/w_acosl.c: ...here. New file.
5059 * math/w_asin.c: Move to ...
5060 * sysdeps/generic/w_asin.c: ...here. New file.
5061 * math/w_asinf.c: Move to ...
5062 * sysdeps/generic/w_asinf.c: ...here. New file.
5063 * math/w_asinl.c: Move to ...
5064 * sysdeps/generic/w_asinl.c: ...here. New file.
5065 * math/w_atan2.c: Move to ...
5066 * sysdeps/generic/w_atan2.c: ...here. New file.
5067 * math/w_atan2f.c: Move to ...
5068 * sysdeps/generic/w_atan2f.c: ...here. New file.
5069 * math/w_atan2l.c: Move to ...
5070 * sysdeps/generic/w_atan2l.c: ...here. New file.
5071 * math/w_atanh.c: Move to ...
5072 * sysdeps/generic/w_atanh.c: ...here. New file.
5073 * math/w_atanhf.c: Move to ...
5074 * sysdeps/generic/w_atanhf.c: ...here. New file.
5075 * math/w_atanhl.c: Move to ...
5076 * sysdeps/generic/w_atanhl.c: ...here. New file.
5077 * math/w_cosh.c: Move to ...
5078 * sysdeps/generic/w_cosh.c: ...here. New file.
5079 * math/w_coshf.c: Move to ...
5080 * sysdeps/generic/w_coshf.c: ...here. New file.
5081 * math/w_coshl.c: Move to ...
5082 * sysdeps/generic/w_coshl.c: ...here. New file.
5083 * math/w_drem.c: Move to ...
5084 * sysdeps/generic/w_drem.c: ...here. New file.
5085 * math/w_dremf.c: Move to ...
5086 * sysdeps/generic/w_dremf.c: ...here. New file.
5087 * math/w_dreml.c: Move to ...
5088 * sysdeps/generic/w_dreml.c: ...here. New file.
5089 * math/w_exp10.c: Move to ...
5090 * sysdeps/generic/w_exp10.c: ...here. New file.
5091 * math/w_exp10f.c: Move to ...
5092 * sysdeps/generic/w_exp10f.c: ...here. New file.
5093 * math/w_exp10l.c: Move to ...
5094 * sysdeps/generic/w_exp10l.c: ...here. New file.
5095 * math/w_exp2.c: Move to ...
5096 * sysdeps/generic/w_exp2.c: ...here. New file.
5097 * math/w_exp2f.c: Move to ...
5098 * sysdeps/generic/w_exp2f.c: ...here. New file.
5099 * math/w_exp2l.c: Move to ...
5100 * sysdeps/generic/w_exp2l.c: ...here. New file.
5101 * math/w_fmod.c: Move to ...
5102 * sysdeps/generic/w_fmod.c: ...here. New file.
5103 * math/w_fmodf.c: Move to ...
5104 * sysdeps/generic/w_fmodf.c: ...here. New file.
5105 * math/w_fmodl.c: Move to ...
5106 * sysdeps/generic/w_fmodl.c: ...here. New file.
5107 * math/w_hypot.c: Move to ...
5108 * sysdeps/generic/w_hypot.c: ...here. New file.
5109 * math/w_hypotf.c: Move to ...
5110 * sysdeps/generic/w_hypotf.c: ...here. New file.
5111 * math/w_hypotl.c: Move to ...
5112 * sysdeps/generic/w_hypotl.c: ...here. New file.
5113 * math/w_j0.c: Move to ...
5114 * sysdeps/generic/w_j0.c: ...here. New file.
5115 * math/w_j0f.c: Move to ...
5116 * sysdeps/generic/w_j0f.c: ...here. New file.
5117 * math/w_j0l.c: Move to ...
5118 * sysdeps/generic/w_j0l.c: ...here. New file.
5119 * math/w_j1.c: Move to ...
5120 * sysdeps/generic/w_j1.c: ...here. New file.
5121 * math/w_j1f.c: Move to ...
5122 * sysdeps/generic/w_j1f.c: ...here. New file.
5123 * math/w_j1l.c: Move to ...
5124 * sysdeps/generic/w_j1l.c: ...here. New file.
5125 * math/w_jn.c: Move to ...
5126 * sysdeps/generic/w_jn.c: ...here. New file.
5127 * math/w_jnf.c: Move to ...
5128 * sysdeps/generic/w_jnf.c: ...here. New file.
5129 * math/w_jnl.c: Move to ...
5130 * sysdeps/generic/w_jnl.c: ...here. New file.
5131 * math/w_lgamma.c: Move to ...
5132 * sysdeps/generic/w_lgamma.c: ...here. New file.
5133 * math/w_lgammaf.c: Move to ...
5134 * sysdeps/generic/w_lgammaf.c: ...here. New file.
5135 * math/w_lgammaf_r.c: Move to ...
5136 * sysdeps/generic/w_lgammaf_r.c: ...here. New file.
5137 * math/w_lgammal.c: Move to ...
5138 * sysdeps/generic/w_lgammal.c: ...here. New file.
5139 * math/w_lgammal_r.c: Move to ...
5140 * sysdeps/generic/w_lgammal_r.c: ...here. New file.
5141 * math/w_lgamma_r.c: Move to ...
5142 * sysdeps/generic/w_lgamma_r.c: ...here. New file.
5143 * math/w_log10.c: Move to ...
5144 * sysdeps/generic/w_log10.c: ...here. New file.
5145 * math/w_log10f.c: Move to ...
5146 * sysdeps/generic/w_log10f.c: ...here. New file.
5147 * math/w_log10l.c: Move to ...
5148 * sysdeps/generic/w_log10l.c: ...here. New file.
5149 * math/w_log.c: Move to ...
5150 * sysdeps/generic/w_log.c: ...here. New file.
5151 * math/w_logf.c: Move to ...
5152 * sysdeps/generic/w_logf.c: ...here. New file.
5153 * math/w_logl.c: Move to ...
5154 * sysdeps/generic/w_logl.c: ...here. New file.
5155 * math/w_pow.c: Move to ...
5156 * sysdeps/generic/w_pow.c: ...here. New file.
5157 * math/w_powf.c: Move to ...
5158 * sysdeps/generic/w_powf.c: ...here. New file.
5159 * math/w_powl.c: Move to ...
5160 * sysdeps/generic/w_powl.c: ...here. New file.
5161 * math/w_remainder.c: Move to ...
5162 * sysdeps/generic/w_remainder.c: ...here. New file.
5163 * math/w_remainderf.c: Move to ...
5164 * sysdeps/generic/w_remainderf.c: ...here. New file.
5165 * math/w_remainderl.c: Move to ...
5166 * sysdeps/generic/w_remainderl.c: ...here. New file.
5167 * math/w_scalb.c: Move to ...
5168 * sysdeps/generic/w_scalb.c: ...here. New file.
5169 * math/w_scalbf.c: Move to ...
5170 * sysdeps/generic/w_scalbf.c: ...here. New file.
5171 * math/w_scalbl.c: Move to ...
5172 * sysdeps/generic/w_scalbl.c: ...here. New file.
5173 * math/w_sinh.c: Move to ...
5174 * sysdeps/generic/w_sinh.c: ...here. New file.
5175 * math/w_sinhf.c: Move to ...
5176 * sysdeps/generic/w_sinhf.c: ...here. New file.
5177 * math/w_sinhl.c: Move to ...
5178 * sysdeps/generic/w_sinhl.c: ...here. New file.
5179 * math/w_sqrtl.c: Move to ...
5180 * sysdeps/generic/w_sqrtl.c: ...here. New file.
5181 * math/w_tgamma.c: Move to ...
5182 * sysdeps/generic/w_tgamma.c: ...here. New file.
5183 * math/w_tgammaf.c: Move to ...
5184 * sysdeps/generic/w_tgammaf.c: ...here. New file.
5185 * math/w_tgammal.c: Move to ...
5186 * sysdeps/generic/w_tgammal.c: ...here. New file.
5188 * locale/programs/ld-address.c (address_finish): Add 'S' to allow
5189 formats for postal_fmt.
5191 2001-02-16 Jakub Jelinek <jakub@redhat.com>
5193 * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Add
5194 __ftruncate64 alias.
5195 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (ftruncate):
5198 2001-02-15 David Mosberger <davidm@hpl.hp.com>
5200 * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): No need to
5201 do "loadrs". Writing to bspstore already takes care of
5202 invalidating the "clean" partition.
5204 2001-02-16 Andreas Schwab <schwab@suse.de>
5206 * sysdeps/m68k/fpu/s_nextafterl.c: New file.
5207 * sysdeps/m68k/fpu/s_fpclassifyl.c: New file.
5209 2001-02-15 Jakub Jelinek <jakub@redhat.com>
5211 * posix/regex.c (init_syntax_once): Add prototype.
5212 (TRANSLATE): If MBS_SUPPORT, translate all characters up to '\xff'.
5213 (re_search_2): Avoid warning.
5214 (count_mbs_length): Add prototype.
5215 * posix/tst-regex3.c: New file.
5216 * posix/Makefile (tests): Add bug-regex3.
5218 2001-02-15 Ulrich Drepper <drepper@redhat.com>
5220 * stdio-common/Makefile (tests): Add tst-gets.
5221 * stdio-common/tst-gets.c: New file.
5222 * stdio-common/tst-gets.input: New file.
5224 * elf/elf.h (DT_CHECKSUM): Define.
5226 * sysdeps/generic/strtoll.c: Don't export __strto*_internal as
5228 * sysdeps/generic/strtoull.c: Likewise.
5230 2001-02-14 Wolfram Gloger <wg@malloc.de>
5232 * malloc/malloc.c (new_heap): When allocating large chunk aligned
5233 to HEAP_MAX_SIZE, prefer one with lower address, to avoid `holes'
5236 2001-02-14 Ulrich Drepper <drepper@redhat.com>
5238 * math/libm-test.inc (j0_test): Check whether sincos is available.
5239 (j1_test): Likewise.
5240 (jn_test): Likewise.
5241 (y0_test): Likewise.
5242 (y1_test): Likewise.
5243 (yn_test): Likewise.
5245 * posix/tst-gnuglob.c: Make a few entries DT_UNKNOWN and teach
5246 fake filesystem routines to handle this.
5248 * time/sys/time.h: Make settimeofday and adjtime available if
5251 * time/sys/time.h: Make timer* macros available for BSD.
5253 * iconvdata/gb18030.c: Update for Dec 2000 re-release of GB18030.
5254 Patch by Yong Li <rigel863@yahoo.com>.
5256 * sysdeps/generic/glob.c (CONVERT_DIRENT_DIRENT64): Fix copying of
5259 * posix/Makefile (tests): Add tst-gnuglob.
5260 * posix/tst-gnuglob.c: New file.
5262 2001-02-13 H.J. Lu <hjl@gnu.org>
5264 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __ftruncate64.
5266 2001-02-13 Ulrich Drepper <drepper@redhat.com>
5268 * locale/programs/ld-paper.c (paper_output): Pretty printing.
5270 * iconvdata/Makefile (modules): Add GBBIG5.
5271 (distribute): Add gbbig5.c.
5272 * iconvdata/gconv-modules: Add entries for GBBIG5 module.
5274 * iconvdata/gbbig5.c: New file.
5275 Contributed by Yong Li <rigel863@yahoo.com>.
5277 2001-02-13 Philip Blundell <pb@futuretv.com>
5279 * manual/crypt.texi: Remove outdated references to crypt add-on.
5281 * manual/creature.texi: Improve wording slightly.
5283 2001-02-13 Ulrich Drepper <drepper@redhat.com>
5285 * io/ftw.c: Always use readdir64.
5286 * io/ftw64.c: Likewise.
5287 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5288 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5289 * sysdeps/generic/glob.c: Likewise. Convert results of gl_readdir
5290 callback to dirent. Still allow compiling outside glibc.
5291 * sysdeps/gnu/glob64.c: Define COMPILE_GLOB64.
5292 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
5294 * malloc/mtrace.c: Use fopen64.
5295 * posix/spawni.c: Use __open64.
5296 * sysdeps/unix/opendir.c: Likewise.
5297 * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
5299 * sysdeps/generic/ftruncate64.c: Define __ftruncate64 and make old
5301 * sysdeps/unix/sysv/aix/ftruncate64.c: Likewise.
5302 * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise.
5303 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
5304 * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Likewise.
5306 * resolv/res_data.c: Add cast to avoid warning.
5308 * include/unistd.h: Declare __ftruncate64.
5310 * sysdeps/generic/utmp_file.c: Use LFS functions and types.
5312 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use __lseek64
5315 2001-02-13 Andreas Jaeger <aj@suse.de>
5317 * login/getutent_r.c: Include <stdlib.h> for NULL.
5318 * login/getutid_r.c: Likewise.
5320 2001-02-12 Ulrich Drepper <drepper@redhat.com>
5322 * sysdeps/dbl-64/e_j0.c: Little optimization, use sincos.
5323 * sysdeps/dbl-64/e_j1.c: Likewise.
5324 * sysdeps/dbl-64/e_jn.c: Likewise.
5325 * sysdeps/flt-32/e_j0f.c: Likewise.
5326 * sysdeps/flt-32/e_j1f.c: Likewise.
5327 * sysdeps/ldbl-96/e_j0l.c: Likewise.
5329 2000-12-02 H.J. Lu <hjl@gnu.org>
5331 * resolv/res_libc.c (res_init): Don't make it default.
5333 2001-02-12 Ulrich Drepper <drepper@redhat.com>
5335 * manual/debug.texi: Improved the wording.
5336 Patch by Philip Blundell <pb@futuretv.com>.
5338 2001-02-12 Andreas Jaeger <aj@suse.de>
5340 * posix/Makefile (tests): Don't run bug-regex2 when
5343 * libio/Makefile (tests): Don't run test-freopen when
5346 * manual/stdio.texi (Streams and I18N): Fix typos.
5348 2001-02-12 Ulrich Drepper <drepper@redhat.com>
5350 * sysdeps/i386/fpu/libm-test-ulps: Adjust for errors in y0l.
5352 * math/libm-test.inc (j0_test): Make expected results long double
5354 (y0_test): Likewise.
5356 * sysdeps/ieee754/ldbl-96/e_j0l.c: New file.
5357 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
5359 2001-02-11 Jakub Jelinek <jakub@redhat.com>
5361 * sysdeps/generic/strtoll.c (__strtoq_internal): Ressurect alias
5362 which was exported from libc.
5363 * sysdeps/generic/strtoull.c (__strtouq_internal): Likewise.
5365 2001-02-12 Andreas Jaeger <aj@suse.de>
5367 * manual/arith.texi (Parsing of Integers): Fix some wordings.
5369 2001-02-11 Ulrich Drepper <drepper@redhat.com>
5371 * sysdeps/generic/getsysstat.c: Change return value of get_phys_pages
5372 and get_avphys_page to long int.
5373 * sysdeps/unix/sysv/linux/getsysstat.c: Likewise.
5374 * include/sys/sysinfo.h: Likewise.
5375 * sysdeps/generic/sys/sysinfo.h: Likewise.
5376 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
5378 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Fail if we
5379 cannot return as many values as the user asked for.
5381 2001-02-11 Andreas Jaeger <aj@suse.de>
5383 * manual/resource.texi (Memory Resources): Fix typo.
5385 * libio/Makefile ($(objpfx)test-freopen.out): Pass
5388 * libio/test-freopen.sh: Use run_program_prefix.
5390 2001-02-10 Andreas Jaeger <aj@suse.de>
5392 * stdlib/Makefile (tests): Don't run tst-fmtmsg when
5394 ($(objpfx)tst-fmtmsg.out): Pass run-program-prefix.
5396 * stdlib/tst-fmtmsg.sh (test): Use run_program_prefix for static
5399 * elf/Makefile (tests): Only run tst-pathopt with shared libs.
5401 * posix/Makefile: Fix typo, it's build-static-nss.
5403 * iconv/Makefile (extra-objs): New.
5405 2001-02-10 Mark Kettenis <kettenis@gnu.org>
5407 * sysdeps/unix/stime.c: Include <time.h>.
5409 * sysdeps/mach/hurd/setitimer.c: Include <time.h>.
5411 2001-02-10 Andreas Jaeger <aj@suse.de>
5413 * manual/string.texi (Search Functions): Fix typo.
5415 2001-02-10 Mark Kettenis <kettenis@gnu.org>
5417 * sysdeps/unix/bsd/times.c: Reorder includes and add <time.h>.
5418 (timeval_to_clock_t): Add clk_tck argument and use that instead of
5420 (__times): Use __getclktck to get the number of clock ticks per
5421 second and use its return value instead of CLK_TCK.
5423 2001-02-10 Mark Kettenis <kettenis@gnu.org>
5425 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (_HAVE_SA_LEN): Define.
5427 2001-02-10 Mark Kettenis <kettenis@gnu.org>
5429 * sysdeps/mach/gettimeofday.c: Include <stddef.h>.
5431 2001-02-10 Andreas Jaeger <aj@suse.de>
5433 * wctype/wcfuncs.c (func): Add prototype declarations to avoid
5436 2001-02-09 Ulrich Drepper <drepper@redhat.com>
5438 * posix/Makefile: Add rules to build and run bug-regex2.
5439 * posix/bug-regex2.c: New file.
5441 2001-02-10 Jakub Jelinek <jakub@redhat.com>
5443 * posix/regex.c (convert_mbs_to_wcs): Change is_binary to char *.
5444 (regex_compile): Likewise.
5445 (FREE_VARIABLES): Don't free is_binary1 and is_binary2.
5446 (re_match_2_internal): Use just is_binary instead of two variables.
5447 Use REGEX_TALLOC to allocate it and FREE_VAR to free on failure.
5449 2001-02-09 Ulrich Drepper <drepper@redhat.com>
5451 * version.h (VERSION): Bump to 2.2.2.
5453 * iconv/Makefile (distribute): Add iconv_charmap.c and
5455 * elf/Makefile (distribute): Add firstobj.c.
5456 * Makefile (distribute): Add include/pthread.h.
5458 * configure.in: Require makeinfo version 4.
5460 * libio/tst_wscanf.c (main): Add cast to avoid warning.
5461 * libio/tst_swscanf.c (main): Likewise..
5463 2001-02-09 Jakub Jelinek <jakub@redhat.com>
5465 * sysdeps/generic/setenv.c (unsetenv): Remove const from len.
5466 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, fdim): Don't define if
5468 * sysdeps/i386/dl-machine.h (elf_machine_rel): Only declare refsym
5469 if not RTLD_BOOTSTRAP.
5470 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
5471 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5473 2001-02-09 Ulrich Drepper <drepper@redhat.com>
5475 * locale/programs/linereader.c (get_ident): Stop loop if EOF. Use
5476 lr_ungetc to push back last read character.
5477 * locale/programs/linereader.h (lr_ungetc): Don't push back is
5479 (lr_ignore_rest): Don't warn about garbage if it is really the end
5482 * manual/Makefile: Use ifnottext and not ifinfo to protect Top node
5485 2001-02-08 Ulrich Drepper <drepper@redhat.com>
5487 * Makerules (build-shlib): Work around different order of
5488 processing of -B option in different gcc versions.
5490 * posix/regex.c: Fix alignment problem.
5491 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5493 * sysdeps/alpha/strrchr.S: Little optimization.
5494 Patch by Richard Henderson <rth@redhat.com>.
5496 * sysdeps/alpha/alphaev67/strrchr.S: New file.
5497 Contributed by Rick Gorton <rick.gorton@alpha-processor.com>.
5499 2001-02-08 kaz Kojima <kkojima@rr.iij4u.or.jp>
5501 * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Correct function name
5502 in the assembler end directive.
5504 2001-02-08 Andreas Jaeger <aj@suse.de>
5506 * manual/stdio.texi (Closing Streams): Fix typos.
5508 2001-02-07 Ulrich Drepper <drepper@redhat.com>
5510 * sysdeps/alpha/alphaev67/strncat.S: Align last write address.
5511 Patch by Richard Henderson <rth@redhat.com>.
5512 Reported by Claus-Justus Heine <heine@instmath.rwth-aachen.de>.
5514 * stdlib/strfmon.c [USE_IN_LIBIO]: Define lock variable and store
5515 pointer in FILE structure before calling _IO_init.
5516 * stdlib/Makefile: Add -D_IO_MTSAFE_IO to CFLAGS for strfmon and
5517 strfmon_l if necessary.
5518 Reported by Jury Gerold <gjury@grips.com>.
5520 * sysdeps/gnu/netinet/tcp.h: Correct values of TCP_ macros.
5521 Patch by Pekka.Pietikainen@cern.ch.
5523 * posix/regex.c: Correct several problems with 64-bit architectures
5524 introduced in the MBS changes.
5525 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5527 2001-02-07 Jakub Jelinek <jakub@redhat.com>
5529 * math/tgmath.h: Only add l suffixes if __NO_LONG_DOUBLE_MATH is
5531 * sysdeps/alpha/fpu/bits/mathinline.h: Honour __NO_MATH_INLINES.
5533 2001-02-07 Andreas Jaeger <aj@suse.de>
5535 * manual/install.texi (Tools for Compilation): Fix typo.
5536 Reported by Pavel Machek <pavel@bug.ucw.cz>.
5538 2001-02-07 Ulrich Drepper <drepper@redhat.com>
5540 * stdlib/strtod.c: Never stop prematurely reading digits before the
5541 decimal point is found. Compute exponent limit for negative exponents
5542 correctly. For numbers ending in all zeros eat the zeros even before
5543 the decimal point if the exponent is negative [PR libc/2072].
5544 * stdlib/Makefile (tests): Add bug-strtod.
5545 * stdlib/bug-strtod.c: New file.
5547 2001-02-07 Andreas Jaeger <aj@suse.de>
5549 * posix/bug-regex1.c: Include <wchar.h> for fwide.
5551 2001-02-06 Ulrich Drepper <drepper@redhat.com>
5553 * posix/regex.c (regex_compile): Don't store pointer in wchar_t array.
5555 (compile_range): Handle index being passed, not pointer.
5556 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5558 * posix/regex.c: Fix a cast in the code for bracket handling which
5559 caused 8-bit uncleanliness.
5560 Patch by Michal Jaegermann <michal@ellpspace.math.ualberta.ca>.
5562 * posix/Makefile (tests): Add bug-regex1.
5563 * posix/bug-regex1.c: New file.
5564 Contributed by Jim Meyering <jim@meyering.net>.
5566 * posix/regex.c: Many cleanups for incorrect format strings.
5568 2001-02-06 Andreas Jaeger <aj@suse.de>
5570 * time/time.h (CLK_TCK): Check for !__STRICT_ANSI.
5572 2001-02-06 Ulrich Drepper <drepper@redhat.com>
5574 * locale/programs/locale.c (write_locales): Use scandir to read
5575 directory so that the entries are sorted.
5577 2001-02-06 Andreas Jaeger <aj@suse.de>
5579 * include/pthread.h: New file.
5581 * wctype/wctype.h: Move internal interfaces from here to...
5582 * include/wctype.h: ...here.
5584 * wcsmbs/wchar.h: Move __wcslen from here to...
5585 * include/wchar.h: ...here.
5587 * posix/sys/wait.h: Move __wait from here to...
5588 * include/sys/wait.h: ...here.
5590 * string/string.h: Move __ffs and __strerror_r from here to...
5591 * include/string.h: ...here.
5593 * stdlib/stdlib.h: Move __on_exit from here to...
5594 * include/stdlib.h: ...here.
5596 * libio/stdio.h: Move __vsnprintf from here to...
5597 * include/stdio.h: ...here.
5599 2001-02-06 Andreas Schwab <schwab@suse.de>
5601 * sysdeps/unix/sysv/linux/ia64/ioperm.c: Don't include kernel
5604 * timezone/Makefile: Don't assume that $(inst_zonedir) is a subdir
5607 2001-02-06 Ulrich Drepper <drepper@redhat.com>
5609 * iconvdata/Makefile: Add dependency for bug-iconv2.out.
5611 2001-02-06 Andreas Jaeger <aj@suse.de>
5613 * elf/firstobj.c: Add prototype.
5615 * posix/regex.c (convert_mbs_to_wcs): Make static, add prototype
5616 (truncate_wchar): Likewise.
5618 2001-02-06 Ulrich Drepper <drepper@redhat.com>
5620 * locale/programs/locale.c: Implement --verbose option for -a
5621 which prints detailed information about the locales.
5623 2001-02-05 Ulrich Drepper <drepper@redhat.com>
5625 * sunrpc/xdr_rec.c (set_input_fragment): Change type of header
5626 variable to uint32_t.
5627 Reported by Ulrich Weigand <weigand@immd1.informatik.uni-erlangen.de>.
5629 2001-02-04 Bruno Haible <haible@clisp.cons.org>
5631 * locale/C-translit.h.in: Add transliterations for CJK units of
5634 2001-02-05 Ulrich Drepper <drepper@redhat.com>
5636 * elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf
5637 string. Include <inttypes.h> instead of <stdint.h>.
5639 * localedata/Makefile (tests): Add bug-iconv-trans.
5640 Define bug-iconv-trans-ENV.
5641 * localedata/bug-iconv-trans.c: New file.
5643 2001-02-04 Bruno Haible <haible@clisp.cons.org>
5645 * iconv/gconv_trans.c (__gconv_transliterate): Use a temporary output
5646 pointer, to avoid accumulating output from incomplete (unsuccessful)
5647 transliteration attempts.
5649 2001-02-05 Ulrich Drepper <drepper@redhat.com>
5651 * elf/ldconfig.c (search_dir): Use PRIx64 instead of Lx in printf
5652 string. Include <inttypes.h> instead of <stdint.h>.
5654 * configure.in: Add check for bison.
5655 * config.make.in: Define BISON variable.
5656 * intl/Makefile: Use BISON instead of YACC when generating plural.c.
5657 Rename YFLAGS to BISONFLAGS.
5659 2001-02-05 Andreas Jaeger <aj@suse.de>
5661 * io/test-lfs.c (do_test): Test lseek64 return value, call
5663 (test_ftello): New function to test ftello64 and fseeko64.
5665 * signal/signal.h: Move __sigaction from here to...
5666 * include/signal.h: ...here.
5668 * io/fcntl.h: Move __fcntl and __open to...
5669 * include/fcntl.h: ...here.
5671 2001-02-04 Philip Blundell <philb@gnu.org>
5673 * configure.in: Distinguish ARM from Thumb.
5675 2001-02-04 Philip Blundell <philb@gnu.org>
5677 * sysdeps/arm/dl-machine.h (elf_machine_rel): Correct handling of
5678 PC24 relocs with negative value.
5680 2001-02-04 Ulrich Drepper <drepper@redhat.com>
5682 * iconv/Makefile (iconv_prog-modules): Define. Add vpath to find
5683 files in locale/programs. Add CFLAGS definition to allow compiling
5685 * iconv/dummy-repertoire.c: New file.
5686 * iconv/iconv_charmap.c: New file.
5687 * iconv/iconv_prog.h: New file.
5688 * iconv/iconv_prog.c: Make verbose and omit_invalid global.
5689 (main): If parameter for -f and -t contain slashes try first to resolve
5690 the strings as filenames of charmap files. Use them for conversion
5692 * iconvdata/run-iconv-test.sh: If charmaps exist also run tests with
5693 iconv getting charmap names as parameters.
5694 * locale/programs/linereader.c (lr_token): Take extra parameters
5695 verbose and pass it to get_string.
5696 (get_string): Take extra parameters verbose.
5697 * locale/programs/charmap.c (parse_charmap): Take extra parameters
5698 verbose and be_quiet. Change all callers of lr_token and
5700 * locale/programs/charmap.h: Likewise.
5701 * locale/programs/ld-address.c: Likewise.
5702 * locale/programs/ld-collate.c: Likewise.
5703 * locale/programs/ld-ctype.c: Likewise.
5704 * locale/programs/ld-identification.c: Likewise.
5705 * locale/programs/ld-measurement.c: Likewise.
5706 * locale/programs/ld-messages.c: Likewise.
5707 * locale/programs/ld-monetary.c: Likewise.
5708 * locale/programs/ld-name.c: Likewise.
5709 * locale/programs/ld-numeric.c: Likewise.
5710 * locale/programs/ld-paper.c: Likewise.
5711 * locale/programs/ld-telephone.c: Likewise.
5712 * locale/programs/ld-time.c: Likewise.
5713 * locale/programs/linereader.c: Likewise.
5714 * locale/programs/linereader.h: Likewise.
5715 * locale/programs/localedef.c: Likewise.
5716 * locale/programs/locfile.c: Likewise.
5717 * locale/programs/locfile.h: Likewise.
5718 * locale/programs/repertoire.c: Likewise.
5720 2001-02-03 Ulrich Drepper <drepper@redhat.com>
5722 * iconv/iconv_prog.c (main): If output file name is "-" write to
5724 (main): If -f or -t argument is missing use charset of the current
5727 2001-02-03 Andreas Jaeger <aj@suse.de>
5729 * sysdeps/i386/elf/start.S (_start): Align stack to 16-byte
5730 boundary for SSE/SSE-2 alignment.
5732 * posix/Makefile ($(objpfx)annexc.out): Also pass sysincludes to
5735 2001-02-03 Ulrich Drepper <drepper@redhat.com>
5737 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: File was using crlf.
5738 Remove comma at end of enum.
5740 * elf/dl-init.c: Add a few __builtin_expect.
5742 * hesiod/hesiod.c: Remove unnecessary code. Remove all uses of strcat.
5744 2001-02-02 Ulrich Drepper <drepper@redhat.com>
5746 * hesiod/hesiod.c (hesiod_resolve): Also search HS records if
5747 errno is ECONNREFUSED.
5749 * posix/Makefile: Define MBS_SUPPORT for regex.c.
5750 * posix/regex.c: Implement multibyte character handling.
5751 Patch by Isamu Hasegawa <isamu@yamato.ibm.co.jp>.
5753 * string/tst-svc.input: Add two more test cases.
5754 * string/tst-svc.expect: Modify to reflect new test cases.
5756 2001-02-01 Jakub Jelinek <jakub@redhat.com>
5758 * sysdeps/posix/getaddrinfo.c (gaih_local, gaih_inet): Replace all
5759 tp->name tests with tp->name[0] tests.
5761 2001-01-29 Ben Collins <bcollins@debian.org>
5763 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r):
5764 Fix check for name == NULL.
5766 2001-02-01 Ulrich Drepper <drepper@redhat.com>
5768 * elf/Makefile: Add rules to build and run initfirst test.
5769 * elf/initfirst.c: New file.
5770 * elf/firstobj.c: New file.
5772 * Makerules (build-shlib): Add $(extra-B-$(@F:lib%.so=%).so).
5773 * configure.in: Test for -z initfirst linker option.
5774 * config.make.in: Add have-z-initfirst.
5775 * elf/dl-init.c (_dl_init): Split out actual initialization code in
5776 new function call_init. If _dl_initfirst is non-NULL initialize first.
5777 * elf/dl-load.c (_dl_map_from_fd): If DF_1_INITFIRST flag is set
5778 remember object in _dl_initfirst.
5779 * elf/soinit.c: Remove special support for calling
5780 __pthread_initialize_minimal.
5782 * conform/conformtest.pl: Add missing $prepend in type test.
5784 2001-01-31 Ulrich Drepper <drepper@redhat.com>
5786 * elf/elf.h (SHT_CHECKSUM): New definition.
5788 * posix/fnmatch_loop.c: Remove incorrect reverse condition in
5789 [. .] matching. Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5790 * posix/tst-fnmatch.input: Add tests for [. .] in locales.
5792 2001-01-31 Mark Kettenis <kettenis@gnu.org>
5794 * misc/sys/select.h: Include <bits/time.h> instead of <sys/time.h>
5795 to get definition of `struct timeval'.
5797 2001-01-31 Ulrich Drepper <drepper@redhat.com>
5799 * posix/tst-fnmatch.input: Add test cases for de_DE.UTF-8 locale.
5800 * posix/fnmatch_loop.c: Fix handling of [= =] for multibyte charsets.
5802 2001-01-30 Ulrich Drepper <drepper@redhat.com>
5804 * iconv/gconv_open.c (__gconv_open): Set conv_flags if IGNORE is
5807 * nis/nis_findserv.c: Include <time.h>.
5809 2001-01-30 Yong Li <yong.li@asu.edu>
5811 * iconv/iconv_prog.c (main): Correct error handling method name.
5813 2001-01-29 Ben Collins <bcollins@debian.org>
5815 * sysdeps/sparc/fpu/fraiseexcpt.c: Include <float.h>.
5816 * sysdeps/hppa/fpu/fraiseexcpt.c: Likewise.
5817 * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
5818 * sysdeps/s390/fpu/fraiseexcpt.c: Likewise.
5820 2001-01-30 Ulrich Drepper <drepper@redhat.com>
5822 * locale/programs/ld-measurement.c (measurement_finish): Fix a typo.
5823 Patch by Marko Myllynen <myllynen@lut.fi>.
5825 * string/bits/string2.h (__strpbrk_c2): Correct parameter types
5826 (int instead of char).
5827 (__strpbrk_c3): Likewise.
5828 Reported by GOTO Masanori <gotom@debian.or.jp>.
5830 * sysdeps/generic/bits/sockaddr.h: Remove SA_LEN macro.
5831 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Likewise.
5832 * include/sys/socket.h: Add SA_LEN here for internal use.
5833 Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
5835 2001-01-29 Ulrich Drepper <drepper@redhat.com>
5837 * malloc/Makefile: Don't build memusagestat if cross-compiling.
5839 * sysdeps/generic/dl-sysdep.c (set_seen): Fix typo.
5841 * math/libm-test.inc (rint_test): Add a few more tests for round
5844 2001-01-28 Ulrich Drepper <drepper@redhat.com>
5846 * conform/data/pthread.h-data: Correct return type of pthread_exit.
5848 * conform/conformtest.pl: Add -fno-builtin to CFLAGS.
5850 * conform/data/stdlib.h-data: Add _Exit.
5852 * inet/arpa/inet.h: Don't include <sys/types.h>. Define socklen_t
5853 if not already happened.
5854 * inet/netinet/in.h: Don't include <sys/types.h>, use <bits/types.h>.
5855 Don't include <limits.h> and <bits/sockaddr.h>.
5857 * conform/data/netinet/in.h-data: Allow all of <inttypes.h>.
5859 * conform/data/spawn.h-data: Allow all of <sched.h>.
5861 * sysdeps/ia64/fpu/fraiseexcpt.c: Include <float.h>. Removed
5864 * sunrpc/xdr_rec.c (xdrrec_getpos): Add cast to long to avoid warning.
5865 * sunrpc/xdr_sizeof.c (x_inline): Likewise.
5867 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include <float.h>.
5869 * conform/conformtest.pl: Define $mustprepend{"stdio.h"}.
5870 * libio/stdio.h: Define va_list correctly.
5872 * conform/data/pthread.h-data: Make priority protocol related
5873 functions optional. Fix typos.
5875 * posix/sched.h: Define sched_priority as __sched_priority.
5876 * sysdeps/generic/bits/sched.h (struct sched_param): Rename element
5877 to __sched_priority.
5878 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
5880 2001-01-27 Ulrich Drepper <drepper@redhat.com>
5882 * sysdeps/generic/clock_getcpuclockid.c: Include <time.h> instead
5885 * sysdeps/unix/stime.c: Include <stddef.h> for NULL.
5886 * sysdeps/unix/time.c: Likewise.
5888 * conform/data/time.h-data: CLK_TCK is not in XPG6. Fix tzname entry.
5889 * sysdeps/mach/hurd/bits/time.h: Don't define CLK_TCK for XPG6.
5890 * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
5891 * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
5892 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
5893 * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
5894 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
5895 * time/time.h: Likewise.
5897 * conform/conformtest.pl (@headers): Add complex.h and tgmath.h.
5898 * conform/data/complex.h-data: New file.
5899 * conform/data/tgmath.h-data: New file.
5901 * conform/data/wchar.h-data: Add missing functions.
5903 * sysdeps/gnu/bits/utmpx.h: Define RUN_LVL only if __USE_GNU.
5905 * conform/data/termios.h-data: Add missing const in tcsetattr()
5908 * posix/sys/wait.h: Include <signal.h> and <sys/resource.h>.
5909 Don't define pid_t here.
5911 * conform/data/sys/utsname.h-data: Don't provide fixed array sizes.
5913 * conform/data/sys/time.h-data: Allow sys/select.h.
5914 * conform/data/sys/un.h-data: Fix typo.
5915 * time/sys/time.h: Don't include all of <time.h>, just struct timeval.
5916 * sysdeps/posix/clock_getres.c: Include <time.h> instead of
5918 * sysdeps/unix/clock_nanosleep.c: Likewise.
5919 * sysdeps/unix/i386/clock_getcpuclockid.c: Likewise.
5920 * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
5921 * sysdeps/unix/clock_gettime.c: Also include <time.h>.
5922 * sysdeps/unix/clock_settime.c: Likewise.
5924 * sysdeps/generic/pselect.c: Include <stddef.h> for NULL.
5925 * login/getutent.c: Likewise.
5926 * login/getutid.c: Likewise.
5927 * login/getutline.c: Likewise.
5929 * socket/sys/un.h: Define SUN_LEN only if __USE_MISC.
5931 * sysdeps/unix/sysv/linux/bits/statvfs.h: Change type of f_fsid field
5932 to unsigned long. Add __f_unused. Define _STATVFSBUF_F_UNUSED.
5933 * sysdeps/unix/sysv/linux/internal_statvfs.c: Adjust initialization of
5934 f_fsid field after change in struct statvfs.
5935 * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: New file.
5936 * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: New file.
5937 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: New file.
5939 * conform/data/sys/stat.h-data: Remove isfdtype. Use
5942 * conform/data/sys/socket.h-data: Fix typos. Correct getsockopt,
5943 recvfrom, send, and socketpair prototypes. Add allow lines.
5944 * socket/sys/socket.h: Include <sys/uio.h>.
5945 Don't use fancy __SOCKADDR_ARG definition unless __USE_GNU.
5946 Fix type of second parameter of listen.
5947 Don't declare isfdtype unless __USE_MISC.
5948 * sysdeps/generic/listen.c: Fix type of second parameter of listen.
5949 * sysdeps/mach/hurd/listen.c: Likewise.
5950 * sysdeps/generic/bits/socket.h (struct sockaddr_storage): Define
5951 ss_family and __ss_family.
5952 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
5953 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5954 (struct msghdr): Change type of msg_iovlen to int and type of
5955 msg_controllen to socklen_t.
5956 * sysdeps/unix/sysv/linux/alpha/bits/socket.h: New file.
5957 * sysdeps/unix/sysv/linux/ia64/bits/socket.h: New file.
5958 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: New file.
5959 * inet/rcmd.c (rcmd_af): __ss_family is now ss_family.
5960 (rresvport_af): Likewise.
5962 * conform/data/sys/shm.h-data: SHMLBA is not required to by a constant.
5963 * conform/conformtest.pl: Implement handling of symbol.
5965 * signal/signal.h: Fix handling of __need_* symbols.
5966 * misc/sys/select.c: Define fd_set here. Remove __fd_set. Define
5967 fd_mask only if __USE_MISC. Declare pselect for __USE_XOPEN2K.
5968 * include/sys/select.h: Use fd_set not __fd_set.
5969 * sysdeps/generic/bits/select.h: Likewise.
5970 * sysdeps/i386/bits/select.h: Likewise.
5971 * sysdeps/generic/bits/types.h: Don't define __fd_mask, __NFDBITS,
5972 __FDELT, __FDMASK, and __fd_set here.
5973 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
5974 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
5975 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
5976 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
5977 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
5978 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
5979 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
5980 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
5981 * time/sys/time.h: Define struct timeval before including <time.h>
5984 * conform/data/sys/time.h-data: fd_set is a typedef.
5985 * conform/data/sys/select.h-data: New file.
5986 * conform/data/sys/mman.h-data: Make typed mem stuff optional.
5987 * conform/conformtest.pl (@headers): Add sys/select.h.
5988 (type, optional-type): Unless testing a typedef instantiate object.
5989 Implement optional-function.
5991 * math/test-misc.c: Include <float.h>.
5993 2001-01-27 Andreas Jaeger <aj@suse.de>
5995 * misc/efgcvt_r.c: Include <float.h>.
5997 2001-01-26 Ulrich Drepper <drepper@redhat.com>
5999 * conform/data/stdlib.h-data: Account for XPG6 changes.
6000 * stdlib/stdlib.h (__random): Change return value type to long.
6001 (posix_memalign): Cleanup parameter names.
6002 (setenv, unsetenv): Make available for __USE_XOPEN2K.
6003 Change return type of unsetenv to int.
6004 (qecvt, qgcvt, qfcvt): Declare only if __USE_MISC.
6005 * include/stdlib.h: Change return type of unsetenv to int.
6006 Change return type of random to long int.
6007 * sysdeps/generic/setenv.c (unsetenv): Change return type to int.
6008 Return -1 and set errno if parameter is invalid.
6009 * stdlib/random.c (__random): Change return value type to long.
6011 * conform/data/stdio.h-data: Account for changes in XPG6.
6013 * conform/data/spawn.h-data: Correct posix_spawnattr_setflags
6016 * conform/conformtest.pl: Define $mustprepend{"signal.h"}.
6017 * conform/data/signal.h-data: Fix sigev_notify_function entry.
6018 Fix typo (SIGVALRM -> SIGVTALRM).
6019 * sysdeps/unix/sysv/linux/bits/siginfo.h: Define sigev_notify_attr
6021 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
6022 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
6023 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
6024 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6025 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
6027 * conform/conformtest.pl: Implement optional-element. Define
6028 $mustprepend{"sched.h"}.
6029 * conform/data/sched.h-data: Make sporadic scheduler definitions
6032 * pwd/pwd.h: Don't define getpwent_r for XPG.
6034 * io/sys/poll.h: Define nfds_t and use it in poll prototype.
6035 * sysdeps/generic/poll.c: Use nfds_t type in function definition.
6036 * sysdeps/mach/hurd/poll.c: Likewise.
6037 * sysdeps/unix/bsd/poll.c: Likewise.
6038 * sysdeps/unix/sysv/linux/poll.c: Likewise.
6039 * sysdeps/unix/sysv/aix/poll.c: Likewise.
6040 * sysdeps/generic/bits/poll.h: Define NPOLLFILE only if __USE_MISC.
6041 * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
6042 * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
6043 * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
6044 * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
6045 * conform/data/poll.h-data: Fix typo in poll prototype.
6047 * sysdeps/gnu/netinet/tcp.h: Define everything but TCP_ macros
6049 * conform/data/netinet/tcp.h-data: Reserved prefix TCP_.
6051 * sysdeps/gnu/net/if.h: Cleanup namespace. Define IF_NAMESIZE.
6053 * inet/netinet/in.h: Make IPPROTO_ constants also macros.
6055 * conform/conformtest.pl: Implement optional-type.
6057 * resolv/netdb.h: Include <netinet/in.h> not <sys/socket.h>. Include
6058 <rpc/netdb.h> only if __USE_MISC. Include <stdint.h> instead of
6059 defining uint32_t here. Define IPPORT_RESERVED.
6060 (struct hostent): Type of h_length element is int.
6061 (getnameinfo): Type of flags parameter is unsigned int.
6062 * inet/getnameinfo.c (getnameinfo): flags argument is unsigned.
6063 * conform/data/netdb.h-data: Add many missing definitions.
6065 * conform/conformtest.pl: Implement optional-macro.
6066 * conform/data/math.h-data: Update for XPG6.
6068 * math/math.h (HUGE): Define as FLT_MAX value but don't use
6069 FLT_MAX. Don't include <float.h>.
6070 (MAXFLOAT): Likewise.
6072 * math/math.h: Define MATH_ERRNO and MATH_ERREXCEPT.
6074 * include/bits/xopen_lim.h: Don't define FOPEN_MAX here.
6076 * conform/data/limits.h-data: Mark constants as optional wherever
6079 * posix/bits/posix2_lim.h: Set correct values for
6080 _POSIX2_COLL_WEIGHTS_MAX and _POSIX2_CHARCLASS_NAME_MAX. Remove
6083 * posix/bits/posix1_lim.h: Define _POSIX_TZNAME_MAX as 6.
6086 * intl/loadmsgcat.c: Include <locale.h.> for _LIBC.
6088 * conform/data/netinet/in.h-data: Add reserved prefixes.
6090 * conform/data/arpa/inet.h-data: Fix a few typos.
6092 2001-01-26 Andreas Jaeger <aj@suse.de>
6094 * sysdeps/generic/strtol.c: Include <locale.h>
6095 * stdlib/strtod.c: Likewise
6096 * stdlib/strfmon.c: Likewise.
6097 * string/strcoll.c: Likewise.
6098 * string/strxfrm.c: Likewise.
6099 * wctype/wcfuncs_l.c: Likewise.
6100 * wctype/wctype_l.c: Likewise.
6101 * wctype/wctrans_l.c: Likewise.
6103 * include/bits/locale.h: New file.
6105 2001-01-26 Ulrich Drepper <drepper@redhat.com>
6107 * locale/langinfo.h: Correct logic in #ifs when defining YESSTR
6110 * locale/Makefile (headers): Add bits/locale.h.
6111 * locale/langinfo.h: Don't include <locale.h>. Include <bits/locale.h>
6112 and use __LC_ constants instead of LC_.
6113 * locale/locale.h: Include <bits/locale.h> and define LC_ constants
6114 using __LC_ constants.
6115 * locale/bits/locale.h: New file.
6116 * locale/loadlocale.c: Include <locale.h>.
6117 * locale/nl_langinfo.h: Likewise.
6119 * posix/glob.h: Cleanup namespace for non-_GNU_SOURCE case.
6121 * io/sys/stat.h: Define S_IFSOCK for XPG6.
6123 * conform/data/fcntl.h-data: posix_madvise is not expected here.
6125 * conform/conformtest.pl: Fix handling of macro-str.
6127 * conform/data/inttypes.h-data: Add missing definition and all of
6130 * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Bump to 20.
6132 2001-01-25 Ulrich Drepper <drepper@redhat.com>
6134 * conform/conformtest.pl (@headers): Add stdint.h.
6135 * conform/data/stdint.h-data: New file.
6137 * conform/conformtest.pl: Recognize options --headers and
6138 --dialect. Add dialect-specific CFLAGS.
6140 * conform/conformtest.pl: Implement handling of recursive
6143 * conform/data/locale.h-data: Add new struct lconv members.
6145 * posix/wordexp.h: Correct definition of wordexp_t.
6146 * posix/wordexp.c: Moved to ...
6147 * sysdeps/generic/wordexp.c: ...here. New file.
6148 * sysdeps/unix/sysv/linux/alpha/wordexp.c: New file.
6149 * sysdeps/unix/sysv/linux/ia64/wordexp.c: New file.
6150 * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: New file.
6151 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.2.2): Add
6153 * sysdeps/unix/sysv/linux/ia64/Versions: Likewise.
6154 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
6156 * math/tgmath.h: Pretty printing.
6158 * math/Makefile (tests): Add test-tgmath.
6159 (CFLAGS-test-tgmath.c): New variable.
6160 * math/test-tgmath.c: New file. Contributed by Jakub Jelinek.
6162 * conform/conformtest.pl: Handle allow-header in secondary headers
6165 * conform/data/fcntl.h-data: Mark symbols introduced in XPG6 with
6168 * conform/data/netinet/in.h-data: Use correct comment character.
6169 * conform/data/sys/stat.h-data: Likewise.
6171 2001-01-25 Jakub Jelinek <jakub@redhat.com>
6173 * math/tgmath.h (__TGMATH_BINARY_FIRST_REAL_ONLY,
6174 __TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY,
6175 __TGMATH_TERNARY_REAL_ONLY): Use proper arguments to
6176 __builtin_classify_type, add ##f suffixes where appropriate.
6177 (__TGMATH_UNARY_REAL_IMAG): Remove extraneous left parenthesis.
6178 (__TGMATH_BINARY_REAL_IMAG): Likewise, use proper arguments to
6179 __builtin_classify_type.
6180 (fma): Fix spelling of first argument.
6182 2001-01-25 Ulrich Drepper <drepper@redhat.com>
6184 * conform/data/unistd.h-data: Mark functions removed in XPG6
6187 * posix/unistd.h: Don't make functions removed in XPG6 available if
6190 * conform/conformtest.pl: Implement optional-constant.
6191 * conform/data/unistd.h-data: Use optional-constant wherever
6194 * sysdeps/generic/bits/confname.h: Correct names of _SC_PBS
6195 constants and add _SC_STREAMS.
6196 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
6198 * sysdeps/unix/sysv/linux/statvfs64.c: Rename to __statvfs64 and
6199 make old name weak alias.
6200 * sysdeps/generic/statvfs64.c: Likewise.
6201 * sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and
6202 make old name weak alias.
6203 * sysdeps/generic/fstatvfs64.c: Likewise.
6204 * include/sys/statvfs.h: New file.
6206 * sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE,
6207 _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and
6209 * sysdeps/posix/pathconf.c (__pathconf): Implement handling of
6210 _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
6211 _PC_REC_MIN_XFER_SIZE, and _PC_REC_XFER_ALIGN.
6212 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
6214 * conform/conformtest.pl: Run Unix tests for XPG6.
6215 Implement handling of known namespace violations.
6216 Improve printing of results.
6218 * posix/unistd.h (usleep): Correct return type.
6219 * sysdeps/unix/sysv/linux/usleep.c: Correct return type.
6220 * sysdeps/unix/bsd/usleep.c: Correct return type.
6221 * sysdeps/mach/usleep.c: Correct return type.
6222 * sysdeps/generic/usleep.c: Correct return type.
6224 * posix/unistd.h (sync): Correct return type.
6225 * sysdeps/generic/sync.c: Likewise.
6226 * sysdeps/mach/hurd/sync.c: Likewise.
6228 * sysdeps/generic/bits/confname.h (_SC_IOV_MAX): New definition.
6230 * posix/unistd.h: Make seteuid and setegid available for XPG6.
6232 * wcsmbs/wchar.h: Get FILE definition for XPG5.
6234 * conform/data/ctype.h-data: Use correct comment form.
6235 * conform/data/errno.h-data: Likewise.
6236 * conform/data/math.h-data: Likewise.
6237 * conform/data/mqueue.h-data: Likewise.
6238 * conform/data/netdb.h-data: Likewise.
6239 * conform/data/pthread.h-data: Likewise.
6241 2001-01-24 Ulrich Drepper <drepper@redhat.com>
6243 * conform/data/wordexp.h-data: Fix typo.
6245 * conform/conformtest.pl: Handle allow-header correctly.
6247 * conform/data/time.h-data: Use correct comment form.
6249 * conform/conformtest.pl (checknamespace): Ignore #undef lines.
6251 * configure.in: Comment out binutils version test.
6253 * stdlib/strtod.c (str_to_mpn): Correct parsing of thousands
6255 Reported by Lagardere Jean-Francois <LAGARDEREJ@thmulti.com>.
6257 * stdlib/tst-strtod.c (locale_test): New function.
6258 (main): Call locale_test.
6259 * stdlib/Makefile (tst-strtod-ENV): New variable.
6261 2001-01-24 Mark Kettenis <kettenis@gnu.org>
6263 * hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost
6264 declaration of value such that we actually return the value of the
6265 environment variable.
6267 2001-01-24 Andreas Jaeger <aj@suse.de>
6269 * sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl
6271 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
6273 * include/sys/sysctl.h: New file.
6275 2001-01-23 Andreas Jaeger <aj@suse.de>
6277 * stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to
6280 * elf/dl-load.c (_dl_init_paths): Don't use strdupa in function
6281 arguments. Reported by Jiri Kubicek <kubicek@bitsmart.com>,
6282 closes PR libc/2039.
6284 * manual/install.texi (Tools for Compilation): Change required
6287 2001-01-22 Andreas Jaeger <aj@suse.de>
6289 * configure.in: Add test for new enough binutils version, move
6290 compiler/binutils test up.
6292 * Versions.def: Add version GLIBC_2.2.2.
6294 2001-01-21 Ulrich Drepper <drepper@redhat.com>
6296 * iconvdata/TESTS: UTF-8 test data for IBM932 and IBM943 are now
6298 * iconvdata/testdata/IBM932: New file.
6299 * iconvdata/testdata/IBM932..UTF8: New file.
6300 * iconvdata/testdata/IBM943: New file.
6301 * iconvdata/testdata/IBM943..UTF8: New file.
6302 Contributed by Masahide Washizawa <washi@jp.ibm.com>.
6304 2001-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6306 * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset.
6308 2001-01-21 Ulrich Drepper <drepper@redhat.com>
6310 * malloc/malloc.c: Remove a few unnecessary initializers of global
6313 2000-12-09 H.J. Lu <hjl@gnu.org>
6315 * nss/Makefile (routines): Add digits_dots.
6316 * nss/Versions (libc): Add __nss_hostname_digits_dots to GLIBC_2.2.2.
6317 * nss/digits_dots.c (__nss_hostname_digits_dots): Turn template
6319 * nss/nsswitch.h (__nss_hostname_digits_dots): New internal NSS
6321 * nss/getXXbyYY.c (H_ERRNO_VAR_P): New definition.
6322 (TYPE_VAR_P): Likewise.
6323 (FLAGS_VAR): Likewise.
6324 (AF_VAR_P): Likewise.
6325 (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
6326 instead of including digits_dots.c.
6327 * nss/getXXbyYY_r.c (H_ERRNO_VAR_P): New definition.
6328 (TYPE_VAR_P): Likewise.
6329 (FLAGS_VAR): Likewise.
6330 (AF_VAR_P): Likewise.
6331 (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
6332 instead of including digits_dots.c.
6334 2001-01-21 Ulrich Drepper <drepper@redhat.com>
6336 * sysdeps/posix/getaddrinfo.c: Reduce .data size.
6338 2001-01-21 Andreas Jaeger <aj@suse.de>
6340 * elf/constload2.c: Add prototype for init.
6342 2001-01-21 Ulrich Drepper <drepper@redhat.com>
6344 * stdlib/stdlib.h (drand48_data): Make available only for
6345 __USE_MISC. Rename elements to protect namespace. Change type
6346 and position of a and init element.
6347 * stdlib/drand48-iter.c: Don't handle unsigned short > 16 bit
6348 differently. Adjust for drand48_data change. Don't compute a here,
6349 it comes from drand48_data.
6350 * stdlib/lcong48_r.c: Don't handle unsigned short > 16 bit
6351 differently. Adjust for drand48_data change. Compute a here.
6352 * stdlib/srand48_r.c: Likewise.
6353 * stdlib/drand48.c: Adjust for drand48_data change.
6354 * stdlib/lrand48.c: Likewise.
6355 * stdlib/mrand48.c: Likewise.
6356 * stdlib/seek48.c: Likewise.
6357 * stdlib/drand48_r.c: Likewise.
6358 * stdlib/lrand48_r.c: Likewise.
6359 * stdlib/mrand48_r.c: Likewise.
6360 * stdlib/seed48_r.c: Likewise. Don't handle unsigned short > 16 bit
6362 * stdlib/erand48_r.c: Don't handle unsigned short > 16 bit differently.
6363 * stdlib/jrand48_r.c: Likewise.
6365 * po/sv.po: Update from translation team.
6367 2001-01-21 Andreas Jaeger <aj@suse.de>
6369 * stdio-common/vfprintf.c (vfprintf): Add casts.
6371 2001-01-20 Ulrich Drepper <drepper@redhat.com>
6373 * iconvdata/run-iconv-test.sh: Reorgnize a bit to allow running only
6375 * iconvdata/TESTS: Add entries for IBM932 and IBM943.
6377 * iconvdata/Makefile (modules): Add IBM932 and IBM943.
6378 * iconvdata/gconv-modules: Add entries for IBM932 and IBM943.
6379 * iconvdata/ibm932.c: New file.
6380 * iconvdata/ibm932.h: New file.
6381 * iconvdata/ibm943.c: New file.
6382 * iconvdata/ibm943.h: New file.
6383 Patches by Masahide Washizawa <washi@jp.ibm.com>.
6385 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo
6386 preventing optimization from being done. Set the correct type bit
6387 in seen. Don't define and use _dl_base_addr unless
6388 NEED_DL_BASE_ADDR is defined.
6390 * io/ftw.c (ftw_dir): Add slash after directory name if there
6391 wasn't any. Reported by loris <loris@iol.it>.
6392 * io/Makefile (tests): Add bug-ftw2.
6393 * io/bug-ftw2.c: New file.
6395 2001-01-19 Ulrich Drepper <drepper@redhat.com>
6397 * stdlib/jrand48_r.c (__jrand48_r): Correct constructing of
6398 results. Reported by Jeff Higham <jhigham@algorithmics.com>.
6399 * stdlib/tst-rand48.c: New file.
6400 * stdlib/Makefile (tests): Add tst-rand48.
6402 * locale/newlocale.c (__newlocale): Fix test for setting all
6405 2001-01-19 Mark Kettenis <kettenis@gnu.org>
6407 * sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes,
6408 but change looking up the initial directory port in a similar way
6409 as done by _hurd_change_directory_port_from_name.
6410 * hurd/fchroot.c (fchroot): Likewise.
6412 2001-01-18 Ulrich Drepper <drepper@redhat.com>
6414 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If HAVE_AUX_XID is
6415 defined don't look whether the AT_*ID values were set.
6416 If HAVE_AUX_PAGESIZE is defined don't look whether the pagesize is set.
6417 (_dl_show_auxv): Rewrite to avoid switch statement.
6418 * sysdeps/unix/sysv/linux/kernel-features.h: Define
6419 __ASSUME_AT_PAGESIZE for kernel >= 2.4.1.
6420 * sysdeps/unix/sysv/linux/ldsodefs.h: Define HAVE_AUX_XID.
6421 Define HAVE_AUX_PAGESIZE if __ASSUME_AT_PAGESIZE is defined.
6423 * sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect.
6424 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
6425 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
6427 * elf/rtld.c (process_envvars): Call __strtoul_internal instead of
6429 * elf/dl-minimal.c (strtol, __strtol_internal, strtoul): Removed.
6430 (__sigjmp_save): Set __mask_was_saved to zero since we don't save
6432 * dlfcn/eval.c (__strtol_internal): Define here.
6433 (eval): Use __strtol_internal instead of strtol.
6435 * elf/elf.h: Add a few more EF_MIPS_* constants.
6437 2001-01-17 Ulrich Drepper <drepper@redhat.com>
6439 * manual/Makefile (chapters): Add debug.
6440 * manual/debug.texi: New file.
6441 * manual/examples/execinfo.c: New file.
6442 Patch by suckfish@ihug.co.nz.
6444 2001-01-17 Andreas Schwab <schwab@suse.de>
6446 * sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid
6449 2001-01-17 Andreas Jaeger <aj@suse.de>
6451 * nscd/connections.c (nscd_run): Use proper format specifier.
6453 2001-01-16 Ulrich Drepper <drepper@redhat.com>
6455 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Move x86_cap_flags and
6456 x86_platforms data into new file after prepending _dl_. Change
6458 * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: New file.
6459 * sysdeps/unix/sysv/linux/i386/Dist: Add dl-procinfo.c.
6460 * sysdeps/unix/sysv/linux/i386/Makefile: Add rules to build
6463 * setjmp/setjmp.h: Cleanup definition of setjmp macro.
6465 * sysdeps/i386/elf/bsd-setjmp.S: Real implementation.
6466 * sysdeps/i386/elf/bsd-_setjmp.S: Removed.
6467 * sysdeps/i386/elf/setjmp.S (setjmp): Removed here.
6468 (_setjmp): Likewise.
6469 * sysdeps/i386/bsd-_setjmp.S: Real implementation.
6470 * sysdeps/i386/bsd-setjmp.S: Real implementation.
6471 * sysdeps/i386/bits/setjmp.h: Remove PUSH_SIGNAL_MASK definition.
6472 * sysdeps/i386/setjmp.S: Remove PIC support. This is the non-ELF
6475 2001-01-16 Andreas Jaeger <aj@suse.de>
6477 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix
6478 misapplied last patch.
6480 2001-01-15 Ulrich Drepper <drepper@redhat.com>
6482 * stdlib/random.c (__initstate): Clean up a cast.
6483 (__setstate): Likewise.
6485 * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove select
6486 syscall handling. The generic Linux version should work.
6488 2001-01-15 Andreas Jaeger <aj@suse.de>
6490 * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
6492 * stdio-common/tstscanf.c (main): Add two testcases for '*' modifier.
6494 2001-01-14 Jakub Jelinek <jakub@redhat.com>
6496 * nss/getent.c (print_aliases, aliases_keys, ethers_keys,
6497 netgroup_keys, print_rpc, rpc_keys, print_shadow, shadow_keys):
6499 (group_keys, hosts_keys, network_keys, passwd_keys, protocols_keys):
6500 If number is 0, list all.
6501 (services_keys): Likewise. Lookup aliases as well.
6502 (databases): New table.
6503 (build_doc): Prepare argp doc text with list of supported databases.
6504 (main): Change to table driven processing.
6506 2001-01-14 Thorsten Kukuk <kukuk@suse.de>
6508 * sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about these
6511 2001-01-03 Jakub Jelinek <jakub@redhat.com>
6513 * sunrpc/xdr.c (xdr_long, xdr_u_long): Return FALSE if trying to
6514 encode value which does not fit in the 32bit type.
6516 2001-01-15 Hiroyuki Machida <machida@sm.sony.co.jp>
6518 * sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
6519 Change type of CTX to (struct sigcontext *).
6520 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise.
6521 (GET_FRAME): Likewise.
6522 (GET_STACK): Likewise.
6523 (SIGCONTEXT): Likewise. Add 2nd arg _code.
6524 (SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.
6526 2001-01-13 Ulrich Drepper <drepper@redhat.com>
6528 * manual/texinfo.tex: Update from upstream version.
6530 2001-01-13 Jakub Jelinek <jakub@redhat.com>
6532 * inet/ether_ntoh.c (lookup_function): Change arguments to match
6533 _nss_*_getntohost_r prototype.
6534 (ether_ntohost): Pass errno pointer to NSS function.
6536 2001-01-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6538 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value.
6539 (MAP_LOCKED): New definition.
6540 (MAP_NORESERVE): New definition.
6542 2001-01-12 Ulrich Drepper <drepper@redhat.com>
6544 * assert/assert.h: Use static_cast instead of C-style cast for C++.
6545 Patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>.
6547 2001-01-12 Ben Collins <bcollins@debian.org>
6549 * sysdeps/generic/segfault.c (install_handler): Use access, not
6552 2001-01-12 Andreas Jaeger <aj@suse.de>
6554 * posix/fnmatch_loop.c (FCT): Remove signed warnings.
6555 * posix/wordexp.c (do_parse_glob): Likewise.
6556 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
6557 * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
6558 * elf/dl-open.c (_dl_open): Likewise.
6559 * elf/dl-close.c (_dl_close): Likewise.
6560 * elf/dl-load.c (_dl_map_object): Likewise.
6561 * iconv/iconv_prog.c (process_fd): Likewise.
6562 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
6564 * locale/localeinfo.h (struct locale_data): Use __flexarr instead
6565 of a zero-length array.
6567 2001-01-11 Jakub Jelinek <jakub@redhat.com>
6569 * stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func.
6570 * stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument.
6571 * stdlib/cxa_on_exit.c: Remove.
6572 * stdlib/Makefile: Revert last patch.
6573 * stdlib/Versions: Likewise.
6574 * include/stdlib.h: Likewise.
6575 * stdlib/exit.h: Revert last patch.
6576 (struct exit_function): Add second argument to cxa fn.
6577 * stdlib/exit.c: Revert last patch.
6578 (exit): Add hidden second argument.
6580 2001-01-11 H.J. Lu <hjl@gnu.org>
6582 * elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ...
6583 * elf/dl-open.c (_dl_open): Here.
6584 * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock):
6586 (_dl_static_init): Initialize the variables every time when possible.
6587 * sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT):
6590 2001-01-11 Ulrich Drepper <drepper@redhat.com>
6592 * stdlib/Makefile (routines): Add cxa_on_exit.
6593 * stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit.
6594 * stdlib/cxa_on_exit.c: New file.
6595 * include/stdlib.h: Add prototype for __cxa_on_exit.
6596 * stdlib/exit.c: Handle ef_cxa2.
6597 * stdlib/exit.h (enum): Add ef_cxa2.
6598 (struct exit_function): Add cxa2.
6600 * Versions.def [ld]: Add GLIBC_2.2.1.
6602 2001-01-10 H.J. Lu <hjl@gnu.org>
6604 * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries.
6605 * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add
6607 * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init.
6608 * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined.
6609 * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file.
6610 * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file.
6611 * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
6613 2001-01-11 Ulrich Drepper <drepper@redhat.com>
6615 * libio/stdio.h: Remove definition of off_t.
6617 2001-01-11 Andreas Jaeger <aj@suse.de>
6619 * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
6622 2001-01-10 Ulrich Drepper <drepper@redhat.com>
6624 * sunrpc/Makefile (distribute): Add errqueue.h.
6626 2001-01-10 H.J. Lu <hjl@gnu.org>
6628 * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve
6629 r9, r10 and r11 for language specific registers.
6631 2001-01-10 Jakub Jelinek <jakub@redhat.com>
6633 * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the
6635 (clntudp_call): Handle MSG_ERRQUEUE.
6636 * sysdeps/generic/errqueue.h: New file.
6637 * sysdeps/unix/sysv/linux/errqueue.h: New file.
6639 2001-01-10 H.J. Lu <hjl@gnu.org>
6641 * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
6643 2001-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
6645 * CONFORMANCE: Update.
6647 2001-01-09 Ulrich Drepper <drepper@redhat.com>
6649 * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
6650 Minimal cleanups. Add assert to ensure memory handling is correct.
6652 * manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value.
6653 Reported by Ben Collins <bcollins@debian.org>.
6655 * time/strftime.c (my_strftime): Mark previous GNU extensions
6656 which are now in C99 as such.
6658 2001-01-08 Ulrich Drepper <drepper@redhat.com>
6660 * elf/rtld.c (process_envvars): Place output files for profiling
6661 in SUID binaries in /var/profile.
6663 * elf/dl-load.c (_dl_map_object): Don't look in cache for
6664 preloading in SUID binaries.
6666 * elf/dl-profile.c (_dl_start_profile): Open the output file with
6667 O_NOFOLLOW if possible.
6669 * include/stdlib.h: Add __posix_openpt declaration.
6670 * stdlib/stdlib.h: Add posix_openpt declaration.
6671 * login/Versions: Add posix_openpt for GLIBC_2.2.1.
6672 * sysdeps/generic/getpt.c: Define posix_openpt.
6673 * sysdeps/unix/bsd/getpt.c: Likewise.
6674 * sysdeps/unix/sysv/linux/getpt.c: Likewise.
6676 * time/Makefile (tests): Add tst-mktime.
6677 * time/tst-mktime.c: New file.
6679 * posix/tst-dir.c (main): One more mkdir() test.
6681 * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
6682 Remove getpagesize syscall. We assume that the pagesize is always
6683 determined from the auxiliary vector.
6685 * intl/dcigettext.c: Fix a few warnings.
6686 Patch by Bruno Haible <haible@ilog.fr>.
6688 2001-01-08 Andreas Jaeger <aj@suse.de>
6690 * io/test-lfs.c (do_test): Check lseek64 return for EINVAL.
6691 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
6693 2001-01-08 Ulrich Drepper <drepper@redhat.com>
6695 * sysdeps/generic/segfault.c (install_handler): Check output file
6698 * resolv/res_query.c: Use simply getenv() for HOSTALIASES.
6699 * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
6701 * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
6703 * malloc/memusage.c (me): Use access() to determine whether we
6704 should write the output file or not.
6706 * libio/bits/stdio.h (printf): Define macro to map printf call to
6707 fprintf which gcc can optimize.
6708 * stdio-common/printf.c: Undefine printf.
6710 2001-01-07 Ulrich Drepper <drepper@redhat.com>
6712 * sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last
6713 patch. We must use unsigned int for l member of union.
6715 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call
6716 _dl_aux_init for shared libraries.
6718 * sysdeps/unix/sysv/linux/glob64.c: Moved to ...
6719 * sysdeps/gnu/glob64.c: ...here. New file.
6721 2001-01-07 Ben Collins <bcollins@debian.org>
6723 * manual/examples/longopt.c: Make the "struct option" a little
6724 more like it should be, adding usage of required_argument,
6725 noargument and such, and also setting the options string right.
6727 * manual/sysinfo.texi (Load Average): New section, documents
6730 2001-01-06 Ulrich Drepper <drepper@redhat.com>
6732 * version.h (VERSION): Bump to 2.2.1.
6734 * sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
6735 * sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S.
6736 * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S.
6737 * dlfcn/Makefile (distribute): Add errmsg1mod.c.
6738 * Makefile (distribute): Add include/libc-internal.h.
6739 * libio/Makefile (distribute): Avoid overwriting.
6741 * iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in
6742 buffer and table handling.
6744 2001-01-05 H.J. Lu <hjl@gnu.org>
6746 * elf/dl-support.c (non_dynamic_init): Move the auxiliary
6747 vector checking to ...
6748 (_dl_aux_init): Here. New function. Defined only if
6749 HAVE_AUX_VECTOR is defined.
6751 * sysdeps/generic/libc-start.c (__libc_start_main): Call
6752 _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined.
6754 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call
6757 * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed.
6758 (HAVE_AUX_VECTOR): Defined.
6759 (_dl_aux_init): Declared.
6761 2001-01-05 Ben Collins <bcollins@debian.org>
6763 * manual/string.texi (Finding Tokens in a String): Document XPG
6764 basename() and dirname(), as well as GNU basename().
6766 2001-01-05 Jakub Jelinek <jakub@redhat.com>
6768 * Makeconfig (preprocess-version): Replace -traditional with
6769 -x assembler-with-cpp.
6771 2001-01-05 Joseph S. Myers <jsm28@cam.ac.uk>
6773 * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj
6774 for GCC 2.97 or later.
6776 2001-01-05 Ben Collins <bcollins@debian.org>
6778 * manual/stdio.texi (getline): Clarify the return value in the
6779 case of EOF being reached before a newline.
6781 2001-01-04 Jakub Jelinek <jakub@redhat.com>
6783 * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful,
6785 (pmap_set, pmap_unset): Check __get_myaddress return value.
6787 2001-01-05 Mark Kettenis <kettenis@gnu.org>
6789 * sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>.
6790 (struct ether_addr): Declare ether_addr_octet member as
6791 `u_int8_t'. Add __attribute__ ((__packed__)).
6793 2001-01-06 Mark Kettenis <kettenis@gnu.org>
6795 * sysdeps/mach/hurd/readdir64.c: New file.
6796 * sysdeps/mach/hurd/readdir64_r.c: New file.
6798 2001-01-07 Mark Kettenis <kettenis@gnu.org>
6800 * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about
6801 `struct statfs' and `struct statvfs' being identical.
6802 * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
6804 2001-01-06 Mark Kettenis <kettenis@gnu.org>
6806 * sysdeps/mach/hurd/fstatfs64.c: New file.
6807 * sysdeps/mach/hurd/fstatvfs64.c: New file.
6808 * sysdeps/mach/hurd/statfs64.c: New file.
6809 * sysdeps/mach/hurd/statvfs64.c: New file.
6810 * sysdeps/mach/hurd/statfsconv.c: New file.
6811 * sysdeps/mach/hurd/Dist: Add statfsconv.c.
6813 2001-01-06 Ulrich Drepper <drepper@redhat.com>
6815 * iconv/skeleton.c: Reset outbuf for next round of the loop.
6816 Reported by Owen Taylor <otaylor@redhat.com>.
6817 * iconv/Makefile (tests): Add tst-iconv3.
6818 * iconv/tst-iconv3.c: New file.
6820 * iconvdata/ibm930.c: Fix handling of state. Optimize a bit.
6821 * iconvdata/ibm933.c: Likewise.
6822 * iconvdata/ibm935.c: Likewise.
6823 * iconvdata/ibm937.c: Likewise.
6824 * iconvdata/ibm939.c: Likewise.
6825 * iconvdata/ibm930.h: Adjust single byte table for optimization.
6826 * iconvdata/ibm933.h: Likewise.
6827 * iconvdata/ibm935.h: Likewise.
6828 * iconvdata/ibm939.h: Likewise.
6830 * iconvdata/testdata/IBM930: Add misssing SI.
6831 * iconvdata/testdata/IBM933: Likewise.
6832 * iconvdata/testdata/IBM935: Likewise.
6833 * iconvdata/testdata/IBM937: Likewise.
6834 * iconvdata/testdata/IBM939: Likewise.
6836 2001-01-06 Andreas Jaeger <aj@suse.de>
6838 * configure.in: Check for old add-ons that shouldn't be used with
6839 current glibc anymore.
6841 2001-01-06 Mark Kettenis <kettenis@gnu.org>
6843 * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number
6844 instead of -1 on failure. Don't forget to copy file name into
6845 *ENTRY if successful. Set *RESULT to NULL upon reaching the end
6848 2001-01-06 Mark Kettenis <kettenis@gnu.org>
6850 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
6851 copy st_atime member.
6853 2001-01-05 Ulrich Drepper <drepper@redhat.com>
6855 * io/ftw.c (ftw_dir): Don't add a second slash at the beginning
6856 for searches from the root directory.
6857 Reported by loris <loris@iol.it> [PR libc/1991].
6858 * io/Makefile (tests): Add bug-ftw1.
6859 * io/bug-ftw1.c: New file.
6861 * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
6862 if it is not available. Instead use it only if it is available.
6863 * sysdeps/unix/sysv/linux/ldsodefs.h: New file.
6865 * iconv/gconv_simple.c (internal_ics4_loop): Correct test for
6866 overflowing output buffer.
6867 (internal_ucs4_loop_unaligned): Likewise.
6868 (ucs4_internal_loop): Likewise.
6869 (ucs4_internal_loop_unaligned): Likewise.
6870 (internal_ucs4le_loop): Likewise.
6871 (internal_ucs4le_loop_unaligned): Likewise.
6872 (ucs4le_internal_loop): Likewise.
6873 (ucs4le_internal_loop_unaligned): Likewise.
6874 Reported by Owen Taylor <otaylor@redhat.com>.
6875 * iconv/Makefile (tests): Add tst-iconv2.
6876 * iconv/tst-iconv2.c: New file.
6878 2001-01-04 H.J. Lu <hjl@gnu.org>
6880 * elf/dl-support.c (DL_FIND_AUXV): New. Defined if not defined.
6881 (_dl_clktck): Declared.
6882 (non_dynamic_init): Take 3 arguments.
6883 Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.
6885 2001-01-01 Bruno Haible <haible@clisp.cons.org>
6887 Finish implementation of plural form handling.
6888 * intl/dcigettext.c (known_translation_t): Rename 'domain' field to
6889 'domainname'. Remove 'plindex' field. Add 'domain' and
6890 'translation_length' fields.
6891 (transcmp): Don't compare 'plindex' fields.
6892 (plural_lookup): New function.
6893 (DCIGETTEXT): Change cache handing in the plural case. Don't call
6894 plural_eval before the translation and its catalog file have been
6895 found. Remove plindex from cache key. Add 'translation_length' and
6896 'domain' to cache result.
6897 (_nl_find_msg): Remove index argument, return length of translation
6898 to the caller instead. Weaken comparison of string lengths, to account
6899 for plural entries. Call iconv() on the entire result string, not
6900 only on the portion needed so far.
6901 * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
6903 * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
6905 2001-01-04 Ulrich Drepper <drepper@redhat.com>
6907 * intl/plural.y (yylex): Minimal improvement in number scanner.
6909 2000-07-31 Bruno Haible <haible@clisp.cons.org>
6911 * intl/plural.y: Include config.h. Needed to define 'inline' away for
6912 C compilers that don't support it.
6913 (yylex): Don't use gcc specific case range syntax.
6914 * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
6917 2000-10-12 Bruno Haible <haible@clisp.cons.org>
6919 * intl/finddomain.c: Remove unneeded includes.
6921 2000-10-12 Bruno Haible <haible@clisp.cons.org>
6923 * intl/localealias.c (memcpy): Return first argument, just like the
6924 real memcpy function does.
6925 * intl/bindtextdom.c (memcpy): Likewise.
6926 * intl/finddomain.c (memcpy): Likewise.
6927 * intl/l10nflist.c (memcpy): Likewise.
6928 * intl/textdomain.c (memcpy): Likewise.
6929 From Paul Eggert <eggert@twinsun.com>.
6931 2001-01-03 Jakub Jelinek <jakub@redhat.com>
6933 * resolv/resolv.h (struct __res_state): Add nsinit field.
6934 * resolv/res_send.c (res_nsend): Use it instead of nscount.
6935 * resolv/res_init.c (__res_vinit): Initialize it.
6936 (res_nclose): Clear it instead of nscount.
6938 2001-01-04 Ulrich Drepper <drepper@redhat.com>
6940 * malloc/mtrace.pl: Fix matching of addresses.
6941 Patch by Aharon Robbins <arnold@skeeve.com>.
6943 * Versions.def (ld): Add GLIBC_2.2.
6945 * catgets/gencat.c: Copyright 2001.
6946 * csu/version.c: Likewise.
6947 * debug/catchsegv.sh: Likewise.
6948 * debug/xtrace.sh: Likewise.
6949 * elf/ldconfig.c: Likewise.
6950 * elf/sprof.c: Likewise.
6951 * iconv/iconv_prog.c: Likewise.
6952 * locale/locale.c: Likewise.
6953 * locale/localedef.c: Likewise.
6954 * malloc/memusage.sh: Likewise.
6955 * malloc/mtrace.pl: Likewise.
6956 * nscd/nscd.c: Likewise.
6957 * posix/getconf.c: Likewise.
6959 2001-01-04 Mark Kettenis <kettenis@gnu.org>
6961 * include/stdio.h: Only provide __getwc_unlocked prototype if
6962 USE_IN_LIBIO is defined.
6964 2001-01-04 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6966 * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code
6969 2001-01-03 Andreas Schwab <schwab@suse.de>
6971 * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias.
6972 * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias.
6974 * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias.
6975 * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix
6977 * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias.
6978 * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix
6981 * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this
6983 * sysdeps/generic/strtol_l.c: Likewise.
6984 * sysdeps/generic/strtoul_l.c: Likewise.
6985 * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c.
6987 * sysdeps/wordsize-64/strtol_l.c: Fix alias.
6988 * sysdeps/wordsize-64/strtoul_l.c: Likewise.
6989 * sysdeps/wordsize-64/wcstol_l.c: Fix alias.
6990 * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
6992 2001-01-04 Andreas Jaeger <aj@suse.de>
6994 * nss/nsswitch.c: Include files for missing prototypes, remove
6995 buggy declaration of prototypes.
6997 2001-01-03 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6999 * resolv/Versions: Fix bracing.
7000 * sysdeps/powerpc/soft-fp/Versions: Likewise.
7001 * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
7003 2001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7005 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
7007 2001-01-02 Ulrich Drepper <drepper@redhat.com>
7009 * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
7010 Suggested by Minko Markov <mmarkov@home.com>.
7012 2001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7014 * sysdeps/powerpc/elf/start.S (__data_start): Make it global.
7015 * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
7017 (__process_machine_rela): Pass symbol to dl_reloc_overflow().
7019 2001-01-02 Ben Collins <bcollins@debian.org>
7021 * time/tzset.c (tzset_internal): Make sure we fall back to UTC
7022 if TZ is not set and TZDEFAULT is not present.
7024 2001-01-01 Ben Collins <bcollins@debian.org>
7026 * string/strings.h: Make sure we declare our functions even if
7027 string.h is already included, based on whether or not __USE_BSD is
7030 2001-01-02 Ulrich Drepper <drepper@redhat.com>
7032 * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
7033 other dlopen() and dlsym().
7034 Based on a patch by Ben Collins <bcollins@debian.org>.
7036 2001-01-02 Andreas Jaeger <aj@suse.de>
7038 * dlfcn/errmsg1.c (main): Call dlerror initially.
7039 Reported by Ben Collins <bcollins@debian.org>.
7041 2001-01-02 Ulrich Drepper <drepper@redhat.com>
7043 * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
7044 value is ignored if the selected locale is the C locale.
7045 * intl/tst-gettext.c: Set locale for above change.
7046 * intl/tst-translit.c: Likewise.
7048 2001-01-02 Andreas Jaeger <aj@suse.de>
7050 * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
7051 (_IO_switch_to_wget_mode): Likewise.
7052 (_IO_sputbackwc): Likewise.
7053 (_IO_sungetwc): Use wint_t for result.
7055 * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done.
7057 * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct
7060 * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked
7061 to (int) to avoid warnings.
7062 * stdio-common/printf_fp.c (putc): Likewise.
7063 * stdio-common/printf_size.c (putc): Likewise.
7065 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make
7068 2001-01-01 Andreas Jaeger <aj@suse.de>
7070 * inet/rcmd.c (rcmd_af): Use socklen_t for len.
7072 2000-12-31 Andreas Jaeger <aj@suse.de>
7074 * include/libc-internal.h: Add prototype for __libc_freeres.
7076 * sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
7077 for prototypes, remove redundant prototypes.
7078 * gmon/gmon.c: Likewise.
7079 * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
7080 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
7081 * malloc/mtrace.c: Likewise.
7083 * sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
7085 * elf/soinit.c: Likewise.
7086 * sysdeps/generic/prof-freq.c: Likewise.
7087 * sysdeps/mach/hurd/profil.c: Likewise.
7088 * debug/noophooks.c: Likewise.
7089 * debug/pcprofile.c: Likewise.
7090 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
7091 * sysdeps/generic/get_clockfreq.c: Likewise.
7092 * malloc/set-freeres.c: Likewise.
7094 * locale/localeinfo.h: Add internal prototypes.
7096 * elf/rtld.c (dl_main): Fix prototype.
7098 * iconvdata/tst-table-to.c (main): Use return instead of exit to
7101 * nis/rpcsvc/yp_prot.h: Remove __P.
7102 * nis/rpcsvc/ypupd.h: Likewise.
7103 * nis/rpcsvc/yp.h: Likewise.
7105 * sunrpc/rpc_main.c: Add noreturn attributes.
7106 * sunrpc/rpc_scan.h: Likewise.
7108 * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.
7110 * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.
7112 * sunrpc/proto.h: Add noreturn attributes to error and crash.
7114 * posix/bsd-getpgrp.c: Add prototype to avoid warning.
7116 * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.
7118 * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.
7120 * include/rpc/rpc_msg.h: Add prototypes for some functions.
7121 * include/rpc/auth.h: Likewise.
7122 * include/rpc/auth_des.h: Likewise.
7123 * include/rpc/clnt.h: Likewise.
7124 * include/rpc/rpc.h: Likewise.
7125 * include/rpc/svc.h: Likewise.
7126 * include/rpc/svc_auth.h: Likewise.
7128 * include/rpc/des_crypt.h: New file.
7130 * malloc/memusagestat.c (main): Use return instead of exit to
7132 * io/pwd.c (main): Likewise.
7133 * iconvdata/tst-table-from.c (main): Likewise.
7134 * ctype/test_ctype.c (main): Likewise.
7135 * setjmp/tst-setjmp.c (main): Likewise.
7136 * signal/tst-signal.c (main): Likewise.
7137 * stdlib/tst-strtol.c (main): Likewise.
7138 * stdlib/tst-strtod.c (main): Likewise.
7139 * stdlib/tst-strtoll.c (main): Likewise.
7140 * stdlib/tst-xpg-basename.c (main): Likewise.
7141 * dirent/tst-seekdir.c (main): Likewise.
7142 * grp/testgrp.c (main): Likewise.
7143 * inet/test_ifindex.c (main): Likewise.
7144 * io/test-utime.c (main): Likewise.
7145 * posix/test-vfork.c (main): Likewise.
7146 * posix/testfnm.c (main): Likewise.
7147 * stdio-common/temptest.c (main): Likewise.
7148 * stdio-common/test_rdwr.c (main): Likewise.
7149 * stdio-common/tst-fileno.c (main): Likewise.
7150 * stdio-common/tst-sscanf.c (main): Likewise.
7151 * stdio-common/tstscanf.c (main): Likewise.
7152 * string/bug-strncat1.c (main): Likewise.
7153 * string/bug-strpbrk1.c (main): Likewise.
7154 * string/bug-strspn1.c (main): Likewise.
7155 * string/test-ffs.c (main): Likewise.
7156 * string/tst-inlcall.c (main): Likewise.
7157 * string/tst-svc.c (main): Likewise.
7158 * timezone/test-tz.c (main): Likewise.
7159 * wctype/test_wcfuncs.c (main): Likewise.
7160 * wctype/test_wctype.c (main): Likewise.
7162 * stdlib/tst-random.c: Add attribute noreturn to fail.
7164 2000-12-28 Wolfram Gloger <wg@malloc.de>
7166 * malloc/malloc.c (MALLOC_COPY): Handle case if source and
7167 destination overlap. Assume dest is always below source if
7170 2000-12-30 Ulrich Drepper <drepper@redhat.com>
7172 * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
7173 object was not yet initialized.
7175 2000-12-28 H.J. Lu <hjl@gnu.org>
7177 * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
7178 is always consistent even if its dependency is failed.
7180 * elf/dl-open.c (_dl_open): Increment the open count before
7181 calling _dl_close () in case of failure.
7183 * elf/neededtest4.c: New file.
7184 * elf/neededobj5.c: New file.
7185 * elf/neededobj6.c: New file.
7187 * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
7188 (tests): Add neededtest4.
7189 (modules-names): Add neededobj5 and neededobj6.
7190 ($(objpfx)neededobj6.so): New target.
7191 ($(objpfx)neededtest4): New target.
7192 ($(objpfx)neededtest4.out): New target.
7194 2000-12-28 Joseph S. Myers <jsm28@cam.ac.uk>
7196 * misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
7197 * stdlib/monetary.h: Add strfmon format attributes.
7199 2000-12-28 Roland McGrath <roland@frob.com>
7201 * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
7202 __mempcpy does it for us.
7204 2000-12-28 Andreas Jaeger <aj@suse.de>
7206 * sysdeps/generic/dl-environ.c: Add prototype for unsetenv.
7208 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
7211 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
7214 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
7217 * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
7218 __chown_is_lchown and __real_chown.
7220 * sysdeps/generic/ldsodefs.h: Add noreturn attribute to
7223 * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
7224 up GCC's warning about "deprecated use of label at end of compound
7226 * sunrpc/rpc_cout.c (emit_inline): Likewise.
7228 * gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
7230 Remove struct bb and __bb_head since those are declared by
7233 2000-12-22 Ben Collins <bcollins@debian.org>
7235 * manual/charset.texi: Fix typo in description of WCHAR_MAX.
7237 * manual/argp.texi: Document argp_domain as part of struct argp.
7239 2000-12-28 Andreas Jaeger <aj@suse.de>
7241 * catgets/Makefile (generated): Add sample.SJIS.cat.
7243 * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
7245 * elf/dl-minimal.c: Add prototypes.
7247 * include/locale.h: Add internal prototypes.
7248 * include/sys/gmon.h: Likewise.
7250 * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
7252 2000-12-27 Ben Collins <bcollins@debian.org>
7254 * elf/dl-open.c (_dl_open): Correctly set the new objname pointer
7255 when reallocating the error strings.
7256 Reported by Kalle Olavi Niemitalo <kon@iki.fi>
7258 2000-12-27 Ulrich Drepper <drepper@redhat.com>
7260 * dlfcn/Makefile (tests): Add errmsg1.
7261 (modules-names): Add errmsg1mod.
7262 Add rules to run errmsg1.
7263 * dlfcn/errmsg1.c: New file.
7264 * dlfcn/errmsg1mod.c: New file.
7266 * dlfcn/dlerror.c (dlerror): Always create output string which
7267 includes object file name.
7269 * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
7270 if we would go through it only once.
7271 Patch by Rick Gorton <rick.gorton@api-networks.com>.
7273 * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
7274 Patch by Richard Henderson <rth@redhat.com>.
7276 2000-12-27 Jakub Jelinek <jakub@redhat.com>
7278 * malloc/malloc.c (memmove): Add prototypes.
7279 (MALLOC_MEMMOVE): Define.
7280 (chunk_realloc): Use it instead of MALLOC_COPY if source and
7281 destination might overlap.
7283 2000-12-27 Andreas Jaeger <aj@suse.de>
7285 * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
7287 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
7288 * locale/programs/locale.c (show_locale_vars): Likewise.
7289 (show_info): Likewise.
7290 * locale/programs/ld-collate.c (collate_output): Likewise.
7291 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
7292 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7293 * stdlib/rpmatch.c (rpmatch): Likewise.
7295 * setjmp/tst-setjmp.c: Make local functions static.
7296 * setjmp/jmpbug.c: Likewise.
7297 * signal/tst-signal.c: Likewise.
7298 * stdio-common/tfformat.c: Likewise.
7299 * string/tst-svc.c: Likewise.
7300 * time/clocktest.c: Likewise.
7301 * time/tst-getdate.c: Likewise.
7302 * dirent/list.c: Likewise.
7303 * dirent/opendir-tst1.c: Likewise.
7304 * posix/runtests.c: Likewise.
7305 * posix/tst-getaddrinfo.c: Likewise.
7306 * posix/tst-chmod.c: Likewise.
7307 * posix/wordexp-test.c: Likewise.
7308 * misc/tst-efgcvt.c: Likewise.
7309 * timezone/tst-timezone.c: Likewise.
7310 * rt/tst-clock.c: Likewise.
7311 * rt/tst-shm.c: Likewise.
7312 * rt/tst-aio2.c: Likewise.
7313 * rt/tst-aio3.c: Likewise.
7314 * rt/tst-aio4.c: Likewise.
7315 * rt/tst-aio5.c: Likewise.
7317 * dlfcn/failtest.c: Add prototype for foo.
7319 * dlfcn/glrefmain.c: Add prototype for do_test.
7321 * dlfcn/tst-dladdr.c: Add prototype for do_test.
7323 * string/test-ffs.c (main): Add prototype for nested function.
7325 * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
7327 * nss/XXX-lookup.c: Add prototype to shut up GCC.
7329 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
7330 setetherent prototype.
7331 Add internal interfaces.
7333 * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
7334 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
7336 * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
7338 * nis/nis_intern.h: Add prototype for __pmap_getnisport.
7340 * nss/nss_files/files-ethers.c: Include netinet/ether.h to get
7341 prototypes, remove struct etherent since it's declared in ether.h.
7342 Fix ntohost declaration.
7344 * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
7346 * include/getopt.h: Add internal interfaces.
7347 * include/termios.h: Likewise.
7348 * include/resolv.h: Likewise.
7349 * include/netdb.h: Likewise.
7350 * include/grp.h: Likewise.
7351 * include/pwd.h: Likewise.
7352 * include/shadow.h: Likewise.
7353 * include/rpc/netdb.h: Likewise.
7354 * include/setjmp.h: Likewise.
7356 * include/stdio.h: Add prototypes for compatibility functions.
7357 * include/grp.h: Likewise.
7358 * include/pwd.h: Likewise.
7359 * include/shadow.h: Likewise.
7361 * include/fenv.h: Define internal interfaces.
7363 2000-12-27 Ulrich Drepper <drepper@redhat.com>
7365 * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
7366 argument case separately.
7367 * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
7369 2000-12-27 Andreas Jaeger <aj@suse.de>
7371 * include/sys/wait.h: Add some prototypes.
7372 * Rules (dummy.c): Create also prototype to shut up GCC.
7374 2000-12-27 Andreas Jaeger <aj@suse.de>
7376 * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
7377 it's not needed at the moment.
7378 * sysdeps/generic/if_index.c (__protocol_available): Likewise.
7379 * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
7381 2000-12-26 Andreas Jaeger <aj@suse.de>
7383 * libio/getc_u.c: Include stdio.h via system path to get internal
7385 * libio/getwc_u.c: Likewise.
7387 * stdlib/strfmon.c: Fix prototype of __printf_fp.
7389 * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
7390 __printf_fp prototypes to ...
7391 * include/printf.h: ...here.
7393 * include/stdio.h: Add some internal prototypes to shut up GCC.
7394 * include/stdlib.h: Likewise.
7396 * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
7399 * include/signal.h: Add prototypes for internal sigpause
7402 2000-12-26 Ulrich Drepper <drepper@redhat.com>
7404 * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
7405 64bit platforms. Reported by Dave Gilbert <gilbertd@treblig.org>.
7407 * string/Makefile (tests): Add tst-bswap.
7408 * string/tst-bswap.c: New file.
7410 2000-12-11 Bruno Haible <haible@clisp.cons.org>
7412 * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
7414 2000-12-26 Ulrich Drepper <drepper@redhat.com>
7416 * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
7417 Patch by Ed Connell <Ed.Connell@sas.com>.
7419 2000-12-24 Ulrich Drepper <drepper@redhat.com>
7421 * locale/iso-639.def: Correct one entry. Add two missing entries.
7423 * locale/iso-4217.def: Change entry for Eritrea.
7424 Reported by Daniel Yacob <yacob@geez.org>.
7426 2000-12-23 Ben Collins <bcollins@debian.org>
7428 * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
7431 * manual/stdio.texi (Dynamic Output): Document the return value of
7432 asprintf. Also make the asprintf/snprintf examples a little
7433 better (check for some error returns).
7435 2000-12-22 Andreas Jaeger <aj@suse.de>
7437 * include/stdio.h: Add __ftrylockfile prototype.
7439 2000-12-21 H.J. Lu <hjl@gnu.org>
7441 * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
7442 Make sign_exponent element signed.
7444 * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
7447 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
7449 2000-12-21 Andreas Jaeger <aj@suse.de>
7451 * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
7452 * inet/ether_hton.c: Likewise
7453 * inet/ether_ntoh.c: Likewise.
7455 * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
7456 declaration to match prototype.
7458 * include/netinet/ether.h (struct etherent): Declare here so that
7459 all implementations use the same struct.
7461 * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
7463 (struct ether): Removed.
7464 Use struct etherent instead of ether everywhere.
7466 * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
7468 * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
7470 * sunrpc/publickey.c: Include auth_des.h for prototypes.
7472 2000-12-20 Ulrich Drepper <drepper@redhat.com>
7474 * math/test-misc.c: Add more tests for nextafter functions.
7476 * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
7477 normal correctly. Correct test for sign.
7478 Based on a patch by HJ Lu.
7480 2000-12-19 Ulrich Drepper <drepper@redhat.com>
7482 * Makeconfig (preprocess-version): Add -traditional to gcc call.
7485 2000-12-19 Andreas Jaeger <aj@suse.de>
7487 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
7489 * nis/nis_intern.h: Add prototype for __do_niscall3.
7491 * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
7494 * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
7496 * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
7498 * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
7500 2000-12-18 Ulrich Drepper <drepper@redhat.com>
7502 * math/test-misc.c: Add more tests for nextafter.
7503 * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
7504 * sysdeps/ieee754/ldbl-96/math_ldbl.h
7505 (ieee_long_double_shape_type): Make sign_exponent element signed.
7507 * manual/message.texi: Add Estonian to plural overview list.
7508 Correct rule for Slavic languages.
7509 Patch by Stanislav Brabec <utx@penguin.cz>.
7511 * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
7513 2000-12-18 Andreas Jaeger <aj@suse.de>
7515 * test-skeleton.c: Use temp_name_list instead of name_list to
7516 avoid collision with name_list from inet/netgroup.h.
7518 * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
7520 * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
7521 * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
7522 * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
7523 * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
7525 * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
7526 declaration to match prototype.
7527 * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
7528 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
7529 * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
7531 * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
7532 * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
7533 * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
7534 * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
7535 (_nss_nis_getservbyport_r): Likewise.
7536 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
7537 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
7538 * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
7539 (_nss_nis_setnetent): Likewise
7540 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
7541 (_nss_nis_endnetgrent): Likewise.
7542 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
7544 (_nss_nisplus_setnetgrent): Likewise.
7545 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
7546 * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
7547 * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
7548 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
7550 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
7552 * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
7554 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
7556 * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
7557 * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
7558 * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
7559 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
7560 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
7561 (_nss_dns_getnetbyaddr_r): Likewise.
7563 2000-12-17 Andreas Jaeger <aj@suse.de>
7565 * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
7568 * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
7569 unused attribute to shut up gcc warnings.
7571 * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
7572 * sysdeps/generic/k_tanl.c: Likewise.
7573 * sysdeps/generic/k_cosl.c: Likewise.
7574 * sysdeps/generic/e_j0l.c: Likewise.
7575 * sysdeps/generic/e_j1l.c: Likewise.
7576 * sysdeps/generic/e_jnl.c: Likewise.
7577 * sysdeps/generic/e_lgammal_r.c: Likewise.
7579 * elf/vismain.c: Move prototypes for functions in vismod*.c to
7581 * elf/vismod.h: New file.
7582 * elf/Makefile (distribute): Add vismod.h.
7583 * elf/vismod1.c: Include vismod.h.
7584 * elf/vismod2.c: Likewise.
7585 * elf/vismod3.c: Likewise.
7587 * elf/constload3.c: Add prototype declarations to shut up gcc.
7588 * elf/failobj.c: Likewise.
7589 * elf/nodelmod3.c: Likewise.
7590 * elf/filtmod1.c: Likewise.
7591 * elf/filtmod2.c: Likewise.
7592 * elf/reldepmod1.c: Likewise.
7593 * elf/reldepmod2.c: Likewise.
7594 * elf/reldepmod3.c: Likewise.
7595 * elf/reldepmod4.c: Likewise.
7596 * elf/unload2dep.c: Likewise.
7597 * elf/unload2mod.c: Likewise.
7598 * elf/ltglobmod1.c: Likewise.
7599 * elf/pathoptobj.c: Likewise.
7600 * elf/neededobj1.c: Likewise.
7601 * elf/neededobj2.c: Likewise.
7602 * elf/neededobj3.c: Likewise.
7603 * elf/neededobj4.c: Likewise.
7604 * elf/nextmod1.c: Likewise.
7605 * elf/nextmod2.c: Likewise.
7607 * locale/programs/ld-collate.c (collate_finish): Don't use labels
7608 at end of compound statement.
7609 * locale/programs/locale.c (show_info): Likewise.
7610 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
7612 2000-12-16 Jakub Jelinek <jakub@redhat.com>
7614 * catgets/gencat.c (read_input_file): Avoid calling obstack_free
7615 with a pointer not returned by obstack_ functions.
7617 2000-12-16 Ulrich Drepper <drepper@redhat.com>
7619 * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
7621 (struct stat64): Likewise.
7622 Reported by Michael Keezer <mkeezer@redhat.com>.
7624 * timezone/asia: Update from tzdata2000h.
7625 * timezone/australasia: Likewise.
7626 * timezone/backward: Likewise.
7627 * timezone/europe: Likewise.
7628 * timezone/northamerica: Likewise.
7629 * timezone/southamerica: Likewise.
7630 * timezone/zone.tab: Likewise.
7632 2000-12-14 Jakub Jelinek <jakub@redhat.com>
7634 * io/ftw.c (ftw_dir): If process_entry returned non-zero result
7635 and dir.stream is NULL, only free dir.content.
7636 * io/ftwtest.c (cb, main): Add --early-exit option to test it.
7637 * io/ftwtest-sh: Test with --early-exit.
7639 2000-12-13 Jakub Jelinek <jakub@redhat.com>
7641 * misc/efgcvt.c (FCVT_MAXDIG): Define.
7642 (FCVT_BUFPTR): New variable.
7643 (fcvt): If fcvt_r returns -1 on the static short buffer,
7644 try to malloc a sufficiently large one and retry.
7645 (free_mem): New function.
7646 * misc/qefgcvt.c (FCVT_MAXDIG): Define.
7647 * misc/tst-efgcvt.c (fcvt_tests): Add new test.
7649 2000-12-15 Ulrich Drepper <drepper@redhat.com>
7651 * misc/dirname.c (dirname): Fix search for second to last slash.
7653 2000-12-13 Andreas Jaeger <aj@suse.de>
7655 * misc/tst-dirname.c (main): Fix typo in test to really use
7656 the examples from Unix98.
7657 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
7659 2000-12-09 H.J. Lu <hjl@gnu.org>
7661 * sysdeps/ia64/fpu/s_fabs.S: New file.
7662 * sysdeps/ia64/fpu/s_fabsf.S: New file.
7663 * sysdeps/ia64/fpu/s_fabsl.S: New file.
7665 2000-12-15 Andreas Jaeger <aj@suse.de>
7667 * stdio-common/scanf9.c (main): Reformat and change to avoid
7670 * stdio-common/tstdiomisc.c: Make local functions static.
7671 * stdio-common/tst-printf.c: Likewise.
7673 * elf/constload2.c: Add prototype declarations to shut up gcc.
7674 * elf/dep1.c: Likewise.
7675 * elf/dep2.c: Likewise.
7676 * elf/dep3.c: Likewise.
7677 * elf/dep4.c: Likewise.
7678 * elf/ltglobmod2.c: Likewise.
7680 * libio/fmemopen.c: Make local functions static.
7682 * elf/Makefile (distribute): Added testobj.h.
7684 * elf/testobj.h: New file.
7686 * elf/testobj1.c: Include testobj.h and move prototype
7687 declarations to testobj.h.
7688 * elf/testobj2.c: Likewise.
7689 * elf/testobj3.c: Likewise.
7690 * elf/testobj4.c: Likewise.
7691 * elf/testobj5.c: Likewise.
7692 * elf/testobj6.c: Likewise.
7693 * elf/testobj1_1.c: Likewise.
7694 * elf/preloadtest.c: Likewise.
7696 2000-12-15 Ben Collins <bcollins@debian.org>
7698 * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
7699 Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
7701 2000-12-14 H.J. Lu <hjl@gnu.org>
7703 * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
7704 field in a float is 8 bits, not 11 bits.
7706 2000-12-13 Jakub Jelinek <jakub@redhat.com>
7708 * math/test-misc.c (main): Adjust m for IEEE quad long double.
7710 2000-12-13 Andreas Jaeger <aj@suse.de>
7712 * manual/message.texi (Using gettextized software): Fix typo.
7714 * manual/charset.texi (Converting a Character): Fix mbstouwcs
7716 Patch by Martin Buchholz <martin@xemacs.org>.
7718 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
7719 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
7721 2000-12-11 Andreas Jaeger <aj@suse.de>
7723 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
7724 kernel_sigset_t and use it.
7725 Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
7727 2000-12-10 Richard Henderson <rth@redhat.com>
7729 * sysdeps/alpha/alphaev67/fpu/Implies: New file.
7730 * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
7731 * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
7733 2000-12-10 Jakub Jelinek <jakub@redhat.com>
7735 * sysdeps/alpha/htonl.S: Fix a typo.
7737 2000-12-10 Jakub Jelinek <jakub@redhat.com>
7739 * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
7741 2000-12-10 Andreas Jaeger <aj@suse.de>
7743 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
7744 cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
7745 Drepper <drepper@redhat.com>.
7747 2000-12-09 Andreas Jaeger <aj@suse.de>
7749 * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
7751 * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
7753 Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
7755 * locale/programs/ld-collate.c (handle_ellipsis): Fix format
7758 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
7761 * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
7762 * nscd/connections.c (handle_request): Likewise.
7763 * nscd/pwdcache.c (addpwbyname): Likewise.
7764 * nscd/grpcache.c (addgrbyname): Likewise.
7766 * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
7768 2000-12-09 Ulrich Drepper <drepper@redhat.com>
7770 * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
7772 * Makeconfig (default_cflags): Make -O2 the default for stable
7775 2000-12-08 H.J. Lu <hjl@gnu.org>
7777 * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
7778 * sysdeps/ia64/fpu/s_isinf.S: This.
7779 Add a .pred.rel.mutex note to avoid false report.
7781 * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
7782 * sysdeps/ia64/fpu/s_isnan.S: This.
7784 * sysdeps/ia64/fpu/s_fpclassify.S: New file.
7785 * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
7786 * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
7787 * sysdeps/ia64/fpu/s_isinff.S: New file.
7788 * sysdeps/ia64/fpu/s_isinfl.S: New file.
7789 * sysdeps/ia64/fpu/s_isnanf.S: New file.
7790 * sysdeps/ia64/fpu/s_isnanl.S: New file.
7791 * sysdeps/ia64/fpu/s_finite.S: New file.
7792 * sysdeps/ia64/fpu/s_finitef.S: New file.
7793 * sysdeps/ia64/fpu/s_finitel.S: New file.
7794 * sysdeps/ia64/fpu/s_signbit.S: New file.
7795 * sysdeps/ia64/fpu/s_signbitf.S: New file.
7796 * sysdeps/ia64/fpu/s_signbitl.S: New file.
7797 * sysdeps/ia64/fpu/s_copysign.S: New file.
7798 * sysdeps/ia64/fpu/s_copysignf.S: New file.
7799 * sysdeps/ia64/fpu/s_copysignl.S: New file.
7801 2000-12-08 Ulrich Drepper <drepper@redhat.com>
7803 * math/libm-test.inc (main): Fix typos in messages.
7805 * string/stratcliff.c: Add test for rawmemchr.
7807 2000-12-08 Jakub Jelinek <jakub@redhat.com>
7809 * elf/dl-open.c (_dl_open): If objname points right after errstring,
7810 allocate it together with errstring using alloca.
7811 * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
7812 to "", because it might point to local stack.
7814 2000-12-05 H.J. Lu <hjl@gnu.org>
7816 * nss/Makefile (routines): Add getnssent and getnssent_r.
7817 * nss/nsswitch.h (__nss_setent): New internal NSS function.
7818 (__nss_endent): Likewise.
7819 (__nss_getent_r): Likewise.
7820 (__nss_getent): Likewise.
7821 * nss/getnssent_r.c: New file.
7822 * nss/getnssent.c: New file.
7823 * nss/getXXent.c (H_ERRNO_VAR): Updated.
7824 (GETFUNC_NAME): Updated to call __nss_getent ().
7825 * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
7826 (STAYOPEN_TMPVAR): Updated.
7827 (STAYOPEN_VAR): Updated.
7828 (SETFUNC_NAME): Updated to call __nss_setent ().
7829 (ENDFUNC_NAME): Updated to call __nss_endent ().
7830 (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
7832 2000-12-08 Andreas Jaeger <aj@suse.de>
7834 * nscd/dbg_log.h (dbg_log): Correct attribute.
7836 2000-12-08 Jakub Jelinek <jakub@redhat.com>
7838 * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
7839 cp + len. Compute where from dirname.
7840 Reported by <jreiser@BitWagon.com>.
7842 2000-12-08 Richard Henderson <rth@twiddle.net>
7844 * sysdeps/alpha/_mcount.S: Fix typo.
7845 * sysdeps/alpha/strncpy.S: Likewise.
7847 * sysdeps/alpha/alphaev6/Implies: New file.
7848 * sysdeps/alpha/alphaev67/Implies: New file.
7849 * sysdeps/alpha/alphaev67/ffs.S: New file.
7850 * sysdeps/alpha/alphaev67/ffsll.S: New file.
7851 * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
7852 * sysdeps/alpha/alphaev67/stpcpy.S: New file.
7853 * sysdeps/alpha/alphaev67/stpncpy.S: New file.
7854 * sysdeps/alpha/rawmemchr.S: New file.
7855 * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
7856 * sysdeps/alpha/strcpy.S: Likewise.
7859 * sysdeps/alpha/alphaev6/addmul_1.s: New file.
7861 From rick.gorton@alpha-processor.com:
7862 * sysdeps/alpha/alphaev6/memchr.S: New file.
7863 * sysdeps/alpha/alphaev6/memcpy.S: New file.
7864 * sysdeps/alpha/alphaev6/memset.S: New file.
7865 * sysdeps/alpha/alphaev6/stxcpy.S: New file.
7866 * sysdeps/alpha/alphaev6/stxncpy.S: New file.
7867 * sysdeps/alpha/alphaev67/strcat.S: New file.
7868 * sysdeps/alpha/alphaev67/strchr.S: New file.
7869 * sysdeps/alpha/alphaev67/strlen.S: New file.
7870 * sysdeps/alpha/alphaev67/strncat.S: New file.
7871 * sysdeps/alpha/htonl.S: Use a shorter sequence.
7873 2000-12-08 Jakub Jelinek <jakub@redhat.com>
7875 * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
7876 Reported by <pspencer@fields.utoronto.ca>.
7878 2000-12-07 Jes Sorensen <jes@linuxcare.com>
7880 * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
7881 Pointed out by Hans Boehm.
7883 2000-12-07 H.J. Lu <hjl@gnu.org>
7885 * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
7887 2000-12-07 Andreas Jaeger <aj@suse.de>
7889 * misc/error.c: Add format attributes for __error and __error_at_line.
7891 * nscd/dbg_log.h: Add format attribute.
7893 2000-12-08 Ulrich Drepper <drepper@redhat.com>
7895 * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
7896 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
7898 2000-12-07 Dan Pop <Dan.Pop@cern.ch>
7900 * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
7902 2000-12-06 Ulrich Drepper <drepper@redhat.com>
7904 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
7905 (sysdep_routines): Add uitrunc.
7906 * sysdeps/unix/sysv/aix/uitrunc.c: New file.
7907 Patches by Michael Keezer <mkeezer@redhat.com>.
7909 2000-12-06 Roland McGrath <roland@frob.com>
7911 * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
7912 argument data, since it will be used to copy out too (for INOUT).
7913 Reported by Marcus Brinkmann <marcus@gnu.org>.
7915 * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
7916 (__ioctl): Use uintptr_t instead of unsigned long int.
7918 2000-12-06 Jim Wilson <wilson@redhat.com>
7920 * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
7922 2000-12-06 Ulrich Drepper <drepper@redhat.com>
7924 * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
7925 x.5 rounding correctly.
7927 2000-12-06 Mark Kettenis <kettenis@gnu.org>
7929 * stdio-common/perror.c (perror): Conditionalize code dealing with
7930 wide-oriented streams on USE_IN_LIBIO.
7932 2000-12-06 Mark Kettenis <kettenis@gnu.org>
7934 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
7935 as internal_function.
7937 2000-12-05 Ulrich Drepper <drepper@redhat.com>
7939 * sysdeps/alpha/elf/start.S (__data_start): Define.
7941 2000-12-05 H.J. Lu <hjl@gnu.org>
7943 * nss/getXXent_r.c (setup): Change the return type to int.
7945 2000-12-05 Ulrich Drepper <drepper@redhat.com>
7947 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
7948 (sysdep_routines): Add restf and savef.
7949 * sysdeps/unix/sysv/aix/restf.c: New file.
7950 * sysdeps/unix/sysv/aix/savef.c: New file.
7951 Patches by Michael Keezer <mkeezer@redhat.com>.
7953 * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
7954 if O_DIRECTORY is not defined.
7955 Patch by Michael Keezer <mkeezer@redhat.com>.
7957 * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
7958 Patch by Michael Keezer <mkeezer@redhat.com>.
7960 * locale/programs/linereader.c (get_toplvl_escape): Recognize more
7961 than 4 bytes in escape sequence.
7962 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7964 2000-12-05 Andreas Jaeger <aj@suse.de>
7966 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
7969 * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
7971 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
7973 * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
7974 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
7976 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
7978 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
7979 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
7981 * sysdeps/generic/dl-cache.c: Remove declaration of
7982 _dl_sysdep_read_whole_file.
7984 * elf/dl-load.c (_dl_map_object): Remove declaration of
7985 _dl_load_cache_lookup.
7987 * sysdeps/generic/ldsodefs.h: Add declarations of
7988 _dl_load_cache_lookup, _dl_unload_cache,
7989 _dl_sysdep_read_whole_file, _dl_sysdep_start and
7990 _dl_sysdep_start_cleanup.
7992 * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
7995 * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
7996 * sysdeps/generic/dl-environ.c: Likewise.
7998 * stdio-common/printf_fp.c: Include <gmp.h> instead of
8000 * math/atest-exp.c: Likewise.
8001 * math/atest-exp2.c: Likewise.
8002 * math/atest-sincos.c: Likewise.
8003 * stdio-common/_itoa.c: Likewise.
8004 * stdio-common/_itowa.c: Likewise.
8006 * include/gmp.h: New file with internal prototypes.
8008 * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
8010 * include/setjmp.h: ...here.
8012 * locale/Makefile (routines): Remove codeset_name since it's not
8015 * locale/codeset_name.c: Removed.
8017 2000-12-05 Ulrich Drepper <drepper@redhat.com>
8019 * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
8021 2000-12-05 Andreas Jaeger <aj@suse.de>
8023 * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
8025 2000-12-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
8027 * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
8030 2000-12-05 Andreas Jaeger <aj@suse.de>
8032 * nss/test-netdb.c: Mark local functions as static to avoid
8034 (main): Use return to silence warning.
8036 * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
8038 * stdio-common/test-popen.c: Mark local functions as static to
8040 (main): Use return to silence warning.
8042 * stdlib/testsort.c (compare): Mark as static to avoid warning.
8044 * assert/test-assert.c: Mark local functions as static to avoid
8046 * assert/test-assert-perr.c: Likewise.
8048 * math/libm-test.inc (main): Use return to silence warnings.
8050 2000-12-04 Ulrich Drepper <drepper@redhat.com>
8052 * math/fenv.h: Fix typo in comment.
8054 * math/test-misc.c (main): Add a few more over and underflow tests
8057 * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
8058 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8059 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8060 * math/w_scalb.c: Don't use matherr except in SVID mode.
8061 * math/w_scalbf.c: Likewise.
8062 * math/w_scalbl.c: Likewise.
8063 * math/test-misc.c: Add test for NaN and scalbl.
8064 Reported by Fred J. Tydeman <tydeman@tybor.com>.
8066 2000-12-04 Ulrich Drepper <drepper@redhat.com>
8068 * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
8069 * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
8070 * include/libc-symbols.h (strong_alias): Define special version
8071 for HAVE_ASM_GLOBAL_DOT_NAME.
8072 (weak_alias): Likewise.
8073 * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
8074 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
8075 (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
8076 getutxline, pututxline, and utmpxname.
8077 * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
8078 * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
8079 * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
8080 * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
8081 * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
8082 * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
8083 * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
8084 * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup. Add comments.
8085 * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
8086 Patches by Michael Keezer <mkeezer@redhat.com>.
8088 2000-12-04 H.J. Lu <hjl@gnu.org>
8090 * configure.in: Change --with-oldest-abi=ABI to
8091 --enable-oldest-abi=ABI.
8093 2000-12-02 Bruno Haible <haible@clisp.cons.org>
8095 * stdio-common/perror.c (perror): If stderr is wide-oriented, use
8096 fwprintf instead of fprintf.
8098 2000-12-04 Ulrich Drepper <drepper@redhat.com>
8100 * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
8101 DECIMAL_DIG definitions.
8102 * sysdeps/arm/fpu/bits/mathdef.h: Likewise
8103 * sysdeps/generic/bits/mathdef.h: Likewise
8104 * sysdeps/i386/fpu/bits/mathdef.h: Likewise
8105 * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
8106 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
8107 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
8108 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
8109 * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
8111 2000-12-03 Ulrich Drepper <drepper@redhat.com>
8113 * math/test-fenv.c (main): Use return instead of exit to avoid warning.
8115 * math/atest-exp.c: Mark local functions as static to avoid warnings.
8116 * math/atest-exp2.c: Likewise.
8117 * math/atest-sincos.c: Likewise.
8119 * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
8120 Reported by Fred J. Tydeman <tydeman@tybor.com>.
8122 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
8123 the handling of denormalized numbers.
8125 * math/test-misc.c (main): Test for fpclassify and pseudo denormal
8127 * sysdeps/i386/fpu/fpclassifyl.c: New file.
8129 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
8130 pseudo denormal representation of LDBL_MIN.
8132 * iconvdata/SJIS.irreversible: Remove unnecessary entries.
8133 * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
8135 * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
8136 * iconvdata/jis0208.c: Likewise.
8137 * iconvdata/jis0212.c: Likewise.
8138 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8140 * math/test-misc.c (main): More tests for frexp and some for
8141 fpclassify and isnormal.
8143 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
8145 Reported by Fred J. Tydeman <tydeman@tybor.com>.
8147 * math/test-misc.c (main): Add tests for frexp.
8148 Reported by Fred J. Tydeman <tydeman@tybor.com>.
8149 * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
8151 2000-12-02 H.J. Lu <hjl@gnu.org>
8153 * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
8156 2000-12-02 Ulrich Drepper <drepper@redhat.com>
8158 * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
8159 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8160 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8162 * sysdeps/generic/glob.c: Adjust types of several variables to
8165 2000-12-01 Ulrich Drepper <drepper@redhat.com>
8167 * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
8169 2000-11-30 Roland McGrath <roland@frob.com>
8171 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
8172 (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
8173 allow multiple instances using the same function name in one file.
8175 2000-12-01 Ulrich Drepper <drepper@redhat.com>
8177 * configure.in: Correct test for pserver CVS access.
8179 2000-11-28 H.J. Lu <hjl@gnu.org>
8181 * libio/libio.h: Remove extra "#if ... #endif".
8183 2000-11-29 H.J. Lu <hjl@gnu.org>
8185 * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
8187 2000-12-01 H.J. Lu <hjl@gnu.org>
8189 * nss/getXXbyYY_r.c: Fix verioned symbol handling.
8190 * nss/getXXent_r.c: Likewise.
8191 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
8193 2000-11-30 H.J. Lu <hjl@gnu.org>
8195 * scripts/abi-versions.awk (oldest_abi): New variable.
8196 Handle the oldest ABI supported.
8198 * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
8199 for scripts/abi-versions.awk.
8201 * configure.in: Add --with-oldest-abi=ABI.
8202 * configure: Rebuild.
8204 * config.make.in (oldest-abi): New.
8206 * config.h.in (GLIBC_OLDEST_ABI): New.
8208 * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
8210 2000-11-30 Jakub Jelinek <jakub@redhat.com>
8212 * locale/setlocale.c (setname): Free for all categories, not just
8214 (setlocale): Store a copy of string passed by user, not the string
8217 2000-11-30 Roland McGrath <roland@frob.com>
8219 * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
8220 rather than _hurd_fd_subinit, so it happens after it's safe to use
8221 libc facilities like malloc.
8223 2000-11-28 Andreas Jaeger <aj@suse.de>
8225 * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
8226 declaration, adjust declaration of __syscall_getdents to match
8229 2000-11-29 H.J. Lu <hjl@gnu.org>
8231 * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
8233 2000-11-29 Andreas Jaeger <aj@suse.de>
8235 * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
8237 2000-11-28 Ulrich Drepper <drepper@redhat.com>
8239 * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
8240 * dlfcn/defaultmod2.c: Likewise.
8241 * dlfcn/dlopen.c: Likewise.
8242 * dlfcn/dlopenold.c: Likewise.
8243 * dlfcn/failtestmod.c: Likewise.
8244 * dlfcn/glreflib1.c: Likewise.
8245 * dlfcn/glreflib2.c: Likewise.
8246 * dlfcn/eval.c: Likewise. Add attributes.
8248 * ctype/ctype-extn.c: Define isblank and not __isblank.
8250 * time/strftime.c: Add const where necessary to avoid warnings.
8251 * time/strptime.c (strptime_internal): Add casts to avoid warnings.
8253 2000-11-22 Paul Eggert <eggert@twinsun.com>
8255 * time/strftime.c (my_strftime): Do not invoke mbrlen with a
8256 size of (size_t) -1; it's not portable.
8258 2000-11-28 Ulrich Drepper <drepper@redhat.com>
8260 * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
8262 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
8264 2000-11-14 Jes Sorensen <jes@linuxcare.com>
8266 * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
8268 * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
8269 _mcount is required by profiled binaries.
8271 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
8272 * sysdeps/ia64/machine-gmon.h: ...here.
8274 2000-11-28 Masahide Washizawa <washi@jp.ibm.com>
8276 * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
8277 (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
8279 * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
8281 * iconvdata/ibm922.c: New file.
8282 * iconvdata/ibm922.h: New file.
8283 * iconvdata/ibm1124.c: New file.
8284 * iconvdata/ibm1124.h: New file.
8285 * iconvdata/ibm1129.c: New file.
8286 * iconvdata/ibm1129.h: New file.
8287 * iconvdata/testdata/IBM922: New file.
8288 * iconvdata/testdata/IBM922..UTF8: New file.
8289 * iconvdata/testdata/IBM1124: New file.
8290 * iconvdata/testdata/IBM1124..UTF8: New file.
8291 * iconvdata/testdata/IBM1129: New file.
8292 * iconvdata/testdata/IBM1129..UTF8: New file.
8294 2000-11-28 Ulrich Drepper <drepper@redhat.com>
8296 * catgets/gencat.c (normalize_line): Take extra parameter with escape
8297 character. Change callers.
8298 (open_conversion): Determine mapping of 0x5c as wchar_t value.
8299 * catgets/Makefile: Add rules to build and run test-gencat.
8300 * catgets/sample.SJIS: New file.
8301 * catgets/test-gencat.c: New file.
8302 * catgets/test-gencat.sh: New file.
8303 Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8305 2000-11-28 Andreas Jaeger <aj@suse.de>
8307 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
8310 2000-11-28 Ulrich Drepper <drepper@redhat.com>
8312 * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
8314 2000-11-28 Andreas Jaeger <aj@suse.de>
8316 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
8318 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
8321 2000-11-27 Ulrich Drepper <drepper@redhat.com>
8323 * misc/getusershell.c: Make strings in okshells array const.
8324 * misc/regexp.c: Add const to cast to avoid warnings.
8325 * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
8326 * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
8328 * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
8330 * misc/error.c: Add prototypes for __error and __error_at_line.
8331 * misc/mntent_r.c (__getmntent_r): Add break at end of switch
8332 statement to avoid warning.
8333 * test-skeleton.c: Mark timeout_handler with noreturn.
8334 * iconv/skeleton.c (get16u): Add const to cast.
8336 * iconvdata/gb18030.c: Likewise.
8337 * iconvdata/iso-2022-cn-ext.c: Likewise.
8338 * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
8339 * iconvdata/big5.c: Likewise.
8340 * iconvdata/big5hkscs.c: Likewise.
8341 * iconvdata/iso_6937.c: Likewise.
8342 * iconvdata/iso_6937-2.c: Likewise.
8343 * iconvdata/t.61.c: Likewise.
8344 * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
8345 * iconvdata/unicode.c: Likewise.
8346 * iconvdata/utf-16.c: Likewise.
8347 * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
8348 * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
8349 with little code shuffling.
8351 * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
8352 the problems introduced when the user selects -O3.
8354 * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
8355 * misc/sys/cdefs.h: Define __flexarr.
8356 Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
8358 * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
8359 * iconv/skeleton.c: Likewise.
8360 * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
8361 * iconv/loop.c (get16): Add const to cast.
8364 2000-11-27 Andreas Jaeger <aj@suse.de>
8366 * login/programs/pt_chown.c (do_pt_chown): Mark function as static
8368 * login/programs/utmpdump.c (print_entry): Likewise.
8370 2000-11-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
8372 * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
8373 in a single asm as they may be used to access other stored
8375 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
8377 2000-11-27 Andreas Jaeger <aj@suse.de>
8379 * rt/tst-aio.c: Mark test functions as static to avoid warnings.
8380 * rt/tst-aio64.c: Likewise.
8382 2000-11-27 Ulrich Drepper <drepper@redhat.com>
8384 * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
8386 (libc.cat): Likewise.
8387 * catgets/gencat.c: Implement handling of message catalogs encoded
8388 with stateful character sets.
8389 Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8391 2000-11-26 Ulrich Drepper <drepper@redhat.com>
8393 * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
8395 * inet/getnameinfo.c: Adjust casts to avoid warnings.
8396 * inet/rcmd.c: Likewise.
8397 * inet/ruserpass.c: Likewise.
8398 * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
8399 IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
8400 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
8401 IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
8402 IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
8403 IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
8404 * include/aliases.h: Add prototypes for internal __getalias* functions.
8405 * include/netdb.h: Add prototypes for __old_gethostent_r,
8406 __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
8407 __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
8408 __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
8409 __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
8410 * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
8411 __old_getrpcbynumber_r, __old_getrpcent_r.
8413 * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
8414 __getrpcent_r prototypes.
8416 2000-11-25 Ulrich Drepper <drepper@redhat.com>
8418 * string/strcoll.c: Add casts to avoid warnings.
8419 * string/strnlen.c: Likewise.
8420 * string/strxfrm.c: Likewise.
8421 * sysdeps/generic/_strerror.c: Likewise.
8422 * sysdeps/generic/memrchr.c: Likewise.
8423 * sysdeps/generic/strcasestr.c: Likewise.
8424 * sysdeps/generic/strstr.c: Likewise.
8426 * locale/weight.h (findidx): Add const to cast to avoid warning.
8428 * elf/loadfail.c: Little cosmetic changes to avoid warnings.
8429 * elf/loadtest.c: Likewise.
8430 * elf/multiload.c: Likewise.
8431 * elf/next.c: Likewise.
8432 * elf/nodelete.c: Likewise.
8433 * elf/noload.c: Likewise.
8434 * elf/order.c: Likewise.
8435 * elf/origtest.c: Likewise.
8436 * elf/preloadtest.c: Likewise.
8437 * elf/restest1.c: Likewise.
8439 * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
8440 parameter of asm must be in %ecx.
8442 * string/tester.c: Mark test functions as static to avoid warnings.
8444 * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
8445 preserve value over different gconv-modules files.
8447 2000-11-24 Ulrich Drepper <drepper@redhat.com>
8449 * locale/findlocale.c: Add casts to avoid warnings.
8450 * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
8451 * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
8453 * misc/tsearch.c (const_node): New type.
8454 (trecurse): Correct casts to avoid warnings.
8455 (__twalk): Likewise.
8456 * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
8459 * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
8461 * test-skeleton.c: Mark local functions as static to avoid warnings.
8463 2000-11-23 H.J. Lu <hjl@gnu.org>
8465 * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
8466 support the background job.
8469 2000-11-24 Ulrich Drepper <drepper@redhat.com>
8471 * iconv/gconv_conf.c (insert_module): Replace old entry if new one
8472 has same names but lower cost.
8474 2000-11-23 Jakub Jelinek <jakub@redhat.com>
8476 * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
8477 which never occur during bootstrap.
8478 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8480 2000-11-23 Andreas Jaeger <aj@suse.de>
8482 * nss/nss_files/files-hosts.c: Remove getipnodebyname.
8484 * nss/Versions: Remove _nss_files_getipnodebyname_r.
8486 * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
8488 2000-11-18 Martin Buchholz <martin@xemacs.org>
8490 * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
8493 2000-11-21 Alan Modra <alan@linuxcare.com.au>
8495 * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
8497 * csu/abi-note.S: Correct comment for operating system number.
8499 2000-11-22 Ulrich Drepper <drepper@redhat.com>
8501 * Versions.def: Add GLIBC_2.2.1 for glibc.
8503 2000-11-22 Andreas Schwab <schwab@suse.de>
8505 * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
8506 * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
8508 2000-11-22 Ulrich Drepper <drepper@redhat.com>
8510 * rt/aio_suspend.c (aio_suspend): Convert timeout value to
8511 absolute time for pthread_cond_timedwait call.
8512 Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
8514 * rt/Makefile (tests): Add tst-aio6.
8515 * rt/tst-aio6.c: New file.
8517 2000-11-23 Andreas Jaeger <aj@suse.de>
8519 * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
8521 2000-11-22 Andreas Jaeger <aj@suse.de>
8523 * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
8525 2000-11-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
8527 * sysdeps/s390/bits/string.h: Make strncat always add a \0.
8529 2000-11-21 Andreas Schwab <schwab@suse.de>
8531 * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
8532 * sysdeps/arm/setjmp.S: Likewise.
8533 * sysdeps/arm/fpu/setjmp.S: Likewise.
8534 * sysdeps/i386/setjmp.S: Likewise.
8535 * sysdeps/i386/elf/setjmp.S: Likewise.
8536 * sysdeps/s390/setjmp.S: Likewise.
8537 * sysdeps/s390/elf/setjmp.S: Likewise.
8538 * sysdeps/sh/sh3/setjmp.S: Likewise.
8539 * sysdeps/sh/sh4/setjmp.S: Likewise.
8540 * sysdeps/sparc/sparc32/setjmp.S: Likewise.
8541 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
8542 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
8543 * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
8545 2000-11-21 Andreas Jaeger <aj@suse.de>
8547 * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
8548 NORETURN, fix parameter list.
8550 * string/bug-strncat1.c (main): Fix typo.
8551 Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
8553 2000-11-20 Ulrich Drepper <drepper@redhat.com>
8555 * configure.in: Add --enable-all-warnings.
8556 * config.make.in (all-warnings): New variable.
8557 * Makeconfig (+gccwarn): Define with many more warnings if
8558 all-warnings is yes.
8560 2000-11-20 Jakub Jelinek <jakub@redhat.com>
8562 * iconvdata/bug-iconv2.c (main): Use %zd in format string.
8563 * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
8564 * malloc/tst-valloc.c (main): Cast valloc return value to long.
8565 * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
8566 * math/test-fpucw.c (main): Use %lx in format string, cast
8567 control words to long.
8568 * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
8569 * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
8570 large that it is unsigned warning.
8572 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
8573 it to long on sparc64.
8575 2000-11-20 Andreas Jaeger <aj@suse.de>
8577 * nscd/nscd.h (termination_handler): Add noreturn attribute.
8578 (receiv_print_stats): Likewise.
8580 * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
8582 2000-11-20 Ulrich Drepper <drepper@redhat.com>
8584 * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
8586 * csu/gmon-start.c: Always have prototype for __gmon_start.
8587 * csu/version.c: Add prototypes for __libc_print_version and
8589 * iconv/gconv.c: Include gconv_int.h and gconv.h.
8590 * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
8592 * iconv/gconv_builtin.h: Add ASCII module definitions.
8593 * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
8594 (add_module): Add cast to avoid warning. Rework construction of
8595 strings for new module.
8596 * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
8597 (derivation_compare): Likewise.
8598 * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
8599 (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
8600 * iconv/gconv_int.h (__gconv_path_elem): Remove const.
8601 (struct gconv_alias): Remove const from fromname and toname.
8602 * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
8604 (internal_ucs4_loop): Use correct const-ness.
8605 (ucs4_internal_loop): Likewise.
8606 (internal_ucs4le_loop): Likewise.
8607 (ucs4le_internal_loop_single): Likewise.
8608 * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
8609 to_idx, to_tbl, winbuf, winbufend const. Change casts in
8610 assignments appropriately.
8611 (struct known_trans): Remove const from fname.
8612 (trans_compare): Make s1 and s2 const.
8613 * iconv/loop.c (LOOPFC): Make outend parameter const. Add cast to
8615 * iconv/skeleton.c: Remove cast in calls of loop functions.
8616 * iconvdata/gconv-modules: Remove US-ASCII definitions.
8617 * iconvdata/iso646.c: Remove US_ASCII support.
8618 * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
8619 * include/unistd.h: Add __libc_check_standard_fds prototype.
8620 * string/bits/string2.h (__mempcpy_args): Add const to casts.
8621 * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
8623 * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
8624 * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
8625 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
8627 * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
8628 __libc_init_first and _dl_start.
8629 * intl/dcigettext.c (transcmp): Make s1 and s2 const.
8630 (DCIGETTEXT): Make domaindata variable const.
8631 * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
8634 2000-11-20 Hiroyuki Machida <machida@sm.sony.co.jp>
8636 * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
8638 * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
8639 time_t to 'long int' not, 'unsigned int'. Use 'long int' for
8642 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
8643 value defined in /usr/include/asm-mips/fcntl.h.
8645 2000-11-18 Ulrich Drepper <drepper@redhat.com>
8647 * stdio-common/Makefile (tests): Add test-vfprintf.
8648 (test-vfprintf-ENV): New variable.
8649 * stdio-common/test-vfprintf.c: New file.
8651 * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
8653 * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
8654 (tst-mbrtowc-ENV): New variable.
8655 (tst-wcrtomb-ENV): New variable.
8656 * wcsmbs/tst-mbrtowc.c: New file.
8657 * wcsmbs/tst-wcrtomb.c: New file.
8659 2000-11-16 Andreas Jaeger <aj@suse.de>
8661 * manual/install.texi (Tools for Compilation): Update
8662 documentation for GCC 2.95.2.
8664 2000-11-18 Ulrich Drepper <drepper@redhat.com>
8666 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
8667 if IPv4 and IPv6 requests timed out.
8669 2000-11-18 Akim Demaille <akim@epita.fr>
8671 * malloc/obstack.h: Formatting changes.
8672 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
8673 prevents type checking.
8674 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
8675 cast the value to (void *): assigning a `foo *' to a `void *'
8677 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
8679 2000-11-17 Ulrich Drepper <drepper@redhat.com>
8681 * scripts/config.guess: Update from upstream maintainer.
8682 * scripts/config.sub: Likewise.
8684 2000-11-16 Ulrich Drepper <drepper@redhat.com>
8686 * libio/freopen.c (freopen): Reset _mode after succesful reopening.
8687 * libio/freopen64.c (freopen64): Likewise.
8688 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8690 * libio/Makefile: Add rules to build and run test-freopen.
8691 * libio/test-freopen.c: New file.
8692 * libio/test-freopen.sh: New file.
8694 2000-11-15 H.J. Lu <hjl@gnu.org>
8696 * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
8697 ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
8698 (DL_DT_FINI_ADDRESS): Likewise.
8700 * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
8701 return type to ElfW(Addr).
8702 (_dl_function_address): New prototype.
8703 (DL_FUNCTION_ADDRESS): Defined.
8704 (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
8705 (DL_DT_FINI_ADDRESS): Likewise.
8707 * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
8709 * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
8710 (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
8712 * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
8713 (_dl_function_address): This.
8715 * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
8716 function pointer for DT_FINI.
8717 * elf/dl-close.c (_dl_close): Likewise.
8719 * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
8720 function pointer for DT_INIT.
8722 2000-11-16 Jakub Jelinek <jakub@redhat.com>
8724 * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
8725 end of wexpbuf buffer.
8727 2000-11-16 Andreas Jaeger <aj@suse.de>
8729 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
8730 definition of F_GETLK, F_SETLK, F_SETLKW.
8732 2000-11-16 Andreas Jaeger <aj@suse.de>
8734 * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
8737 2000-11-15 Jakub Jelinek <jakub@redhat.com>
8739 * dlfcn/default.c (main): Add test for dladdr of main returning
8740 argv[0] in dli_fname field.
8742 2000-11-15 Jakub Jelinek <jakub@redhat.com>
8744 * Makeconfig (run-program-prefix): Move test-static test into the
8747 * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
8748 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
8749 schedule instructions.
8750 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
8751 schedule instructions, fix a bug in copying auxiliary data.
8753 2000-11-15 Ulrich Drepper <drepper@redhat.com>
8755 * manual/startup.texi (Program Arguments): Fix type of main's envp
8757 Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
8759 * iconvdata/gconv-modules: Add CP950 alias.
8761 2000-11-13 Jakub Jelinek <jakub@redhat.com>
8763 * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
8764 syscall-list.h goal.
8765 * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
8767 2000-11-15 Ulrich Drepper <drepper@redhat.com>
8769 * intl/Makefile: tst-gettext2.sh does not need a third parameter.
8771 * intl/tst-gettext2.sh: Copy locale data. Adjust LOCPATH. Verify
8774 * intl/tst-gettext2.c: Set C locale if setting other locale
8775 failed. Use gettext() not _().
8777 * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
8778 successfully loaded a new locale.
8780 2000-11-13 Andreas Jaeger <aj@suse.de>
8782 * configure.in: Require gcc 2.95 or newer.
8784 2000-11-15 Ulrich Drepper <drepper@redhat.com>
8786 * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
8787 Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
8789 2000-11-11 Jim Meyering <meyering@lucent.com>
8791 * string/strndup.c (strndup): Cast return value to `char *'.
8793 2000-11-15 Jim Meyering <meyering@ascend.com>
8795 * sysdeps/generic/memchr.c: Remove some useless parentheses.
8796 [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
8797 [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
8798 [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
8799 Also #undef __memchr.
8800 Use `weak_alias' only if it's defined.
8802 2000-11-10 H.J. Lu <hjl@gnu.org>
8804 * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
8806 2000-11-15 Andreas Jaeger <aj@suse.de>
8808 * elf/chroot_canon.c: Include <stdint.h>.
8810 * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
8811 (print_entry): Likewise.
8812 (add_to_cache): Likewise.
8814 * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
8816 * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
8817 (path_hwcap): Likewise.
8818 (search_dir): Likewise.
8820 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
8822 * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
8824 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
8825 (_dl_platform_string): New.
8826 (_DL_HWCAP_PLATFORM): New.
8827 (_dl_string_platform): New.
8828 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
8830 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
8831 (_dl_string_platform): New.
8832 (_DL_HWCAP_PLATFORM): New.
8833 (_dl_platform_string): New.
8835 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
8837 (_DL_HWCAP_COUNT): New.
8838 (_dl_string_platform): New.
8839 (_DL_HWCAP_PLATFORM): New.
8840 (_dl_platform_string): New.
8842 2000-11-14 Ulrich Drepper <drepper@redhat.com>
8844 * iconvdata/gconv-modules: Add CP936 as alias for GBK.
8846 2000-11-14 Andreas Jaeger <aj@suse.de>
8848 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
8850 2000-11-13 Roland McGrath <roland@frob.com>
8852 * hurd/get-host.c (_hurd_get_host_config): Fix last change.
8854 2000-11-13 Marcus Brinkmann <marcus@gnu.org>
8856 * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
8857 underrun and make sure the result is null terminated even if there
8858 is no trailing newline.
8860 2000-11-13 Jakub Jelinek <jakub@redhat.com>
8862 * sysdeps/alpha/fpu/libm-test-ulps: Update.
8864 2000-11-10 H.J. Lu <hjl@gnu.org>
8866 * sysdeps/ia64/fpu/libm-test-ulps: Updated.
8868 2000-11-10 Andreas Jaeger <aj@suse.de>
8870 * elf/ldconfig.c (create_links): Fix alloca calculation.
8871 Patch by Ben Collins <bcollins@debian.org>.
8873 2000-11-09 Ulrich Drepper <drepper@redhat.com>
8875 * inet/getnameinfo.c (getnameinfo): Use correct destination
8876 parameter for if_indextoname.
8877 Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
8879 2000-11-09 H.J. Lu <hjl@gnu.org>
8881 * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
8882 xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
8883 xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
8886 * time/Versions (GLIBC_2.1): Move getitimer to...
8887 * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
8889 2000-11-03 Bruno Haible <haible@clisp.cons.org>
8891 * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
8892 "make install", to work around a binary incompatibility between
8893 glibc 2.1 and glibc 2.2 gconv modules.
8895 2000-11-09 Ulrich Drepper <drepper@redhat.com>
8897 * intl/locale.alias: Add thai.
8898 Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
8900 2000-11-07 Akim Demaille <akim@epita.fr>
8902 * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
8903 argument `data' for consistency with the prototypes.
8905 (obstack_copy, obstack_copy0): Rename the second argument as
8906 `address' for consistency. Qualify it `const'.
8907 * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
8908 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
8909 `const' their input argument (`data' or `address').
8910 Adjust the corresponding macros to include `const' in casts.
8912 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8914 * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
8917 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8919 * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
8922 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8924 * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
8925 ai_protocol by internal table if service was not given.
8927 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8929 * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
8930 numerical port was specified with protocol without socktype.
8932 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8934 * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
8936 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8938 * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
8940 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8942 * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
8943 sin6_scope_id field.
8945 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8947 * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
8949 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8951 * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
8953 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8955 * inet/getnameinfo.c: Wake-up sin6_scope_id support in
8956 getnameinfo(): check for whether sin6_socpe_id exist was wrong.
8958 2000-11-09 Martin Schwidefsky <mschwide@nc.boeblingen.de.ibm.com>
8960 * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
8961 * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
8963 2000-11-09 H.J. Lu <hjl@gnu.org>
8965 * io/Versions (GLIBC_2.1.1): Remove lockf64.
8968 See ChangeLog.11 for earlier changes.