1 2001-07-06 Jakub Jelinek <jakub@redhat.com>
3 * sysdeps/unix/sysv/linux/i386/sigaction.c (RESTORE2): Put asm
4 explicitly into .text section.
6 2001-04-16 Jes Sorensen <jes@linuxcare.com>
8 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
9 Add 16 longwords reserved for future use to match changes in the
12 2001-07-03 Jes Sorensen <jes@trained-monkey.org>
14 * sysdeps/ia64/strncpy.S: Call strnlen() when determining the
15 string length rather than strlen(). Solves the performance problem
16 of doing strlen on a 5MB string when strncpy was called with a
17 length argument of 5 bytes.
19 2001-07-02 Jakub Jelinek <jakub@redhat.com>
21 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
22 R_SPARC_UA16 and R_SPARC_UA32.
23 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
25 2001-07-01 Stephen L Moshier <moshier@mediaone.net>
27 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl):
28 acosh(x) = ln(2x) if x > 2^30.
29 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
30 acosh(x) = ln(2x) if x > 2^54.
32 2001-07-07 Mark Kettenis <kettenis@gnu.org>
34 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal):
35 Generate SIGSEGV instead of SIGBUS for KERN_INVALID_ADDRESS and
36 KERN_WRITE_PROTECTION_FAILURE.
38 2001-07-07 Ulrich Drepper <drepper@redhat.com>
40 * posix/regex.c: Limit string length printed in debug messages to
43 * configure.in: Don't warn about versioning if not on ELF system.
45 2001-07-07 Andreas Jaeger <aj@suse.de>
47 * sysdeps/*: Put files from GNU MP Library under LGPL v2.1.
49 2001-07-06 Ulrich Drepper <drepper@redhat.com>
51 * po/gl.po: Update from translation team.
53 2001-07-06 Andreas Jaeger <aj@suse.de>
55 * sysdeps/unix/sysv/linux/configure.in: Fix handling of
58 * manual/libc-texinfo.sh: Add note for the FDL.
60 * manual/argp.texi (Argp Example 4): Fix texinfo warning.
62 * manual/libc.texinfo: Regenerated.
64 * manual/fdl.texi: Fix node.
66 * config.make.in (sysconfdir): Replace correctly.
67 Closes PR libc/2369, reported by Peter Simons <simons@cryp.to>.
69 * sysdeps/unix/sysv/linux/alpha/configure.in: Removed, it's no
72 * sysdeps/unix/sysv/linux/configure.in (libc_cv_linuxVER): Add
74 Rework handling of missing linuxthreads add-on.
76 * configure.in: Remove unused sysconfdir substitution.
78 * manual/Makefile (texis): Add fdl.texi.
79 * manual/fdl.texi: New.
80 * manual/socket.texi (Host Names): Improve grammar, fix overflow hbox.
81 * manual/libc.texinfo: Add fdl, update titlepage.
82 Patches by Brian Youmans <3diff@gnu.org>.
84 * sysdeps/unix/make_errlist.c (main): Print LGPL v2.1 for
87 2001-07-06 Paul Eggert <eggert@twinsun.com>
89 * manual/argp.texi: Remove ignored LGPL copyright notice; it's
90 not appropriate for documentation anyway.
91 * manual/libc-texinfo.sh: "Library General Public License" ->
92 "Lesser General Public License".
93 * COPYING: Fix Y2k bug in sample copyright notices.
94 * manual/lesser.texi: Renamed from manual/lgpl.texinfo,
95 as fsf.org uses the name "lesser.texi".
96 * manual/Makefile (texis): Follow rename.
98 2001-07-06 Andreas Jaeger <aj@suse.de>
100 * All files under GPL/LGPL version 2: Place under LGPL version
103 2001-07-05 Andreas Jaeger <aj@suse.de>
105 Synch with Linux 2.4.6:
106 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_BLUETOOTH):
110 * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h
114 * sysdeps/unix/sysv/linux/mips/bits/socket.h (AF_BLUETOOTH): New.
117 * sysdeps/unix/sysv/linux/ia64/bits/socket.h (AF_BLUETOOTH): New.
120 * sysdeps/unix/sysv/linux/alpha/bits/socket.h (PF_BLUETOOTH): New.
123 * sysdeps/unix/sysv/linux/bits/socket.h (PF_BLUETOOTH): New.
126 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_IEEE80211): New.
128 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (N_HCI): New.
130 * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h (N_HCI): New.
132 * sysdeps/unix/sysv/linux/bits/ioctl-types.h (N_HCI): New.
134 2001-07-04 Roland McGrath <roland@frob.com>
136 * hurd/hurdsig.c (_hurd_internal_post_signal): For SS->suspended
137 wakeup message, use MACH_MSG_TYPE_MAKE_SEND for the receiver port
138 rather than doing a mach_port_insert_right call first.
140 2001-06-26 Roland McGrath <roland@frob.com>
142 * hurd/hurdioctl.c: Include <string.h> for memcpy decl.
144 2001-07-03 Andreas Jaeger <aj@suse.de>
146 * sysdeps/unix/sysv/sysv4/solaris2/configure.in: Remove check for
149 2001-07-01 Mark Kettenis <kettenis@gnu.org>
151 * sysdeps/mach/hurd/if_index.c: Redone to use new interfaces in
152 the Hurd pfinet server, using equivalent code from the Linux
153 version in sysdeps/unix/sysv/linux/if_index.c. In detail:
154 Include <unistd.h>, <error.h>, <sys/ioctl.h>, <hurd/ioctl.h> and
155 <hurd/pfinet.h>. Don't include <sys/mman.h> and <hurd/fsys.h>
157 (if_nametoindex): New implementation using SIOCGIFINDEX.
158 (if_freenameindex): Straight copy of the Linux version.
159 (if_nameindex): New implementation based on pfinet_siocgifconf and
161 (if_indextoname): New implementation using SIOCGIFNAME.
162 (map_interfaces): Function removed.
163 From Marcus Brinkmann <marcus@gnu.org>.
165 2001-06-30 Jakub Jelinek <jakub@redhat.com>
167 * sysdeps/powerpc/dl-machine.c (__elf_preferred_address): Prefer
168 gaps below main executable.
170 2001-06-19 Andreas Jaeger <aj@suse.de>
172 * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
175 2001-06-29 Andreas Jaeger <aj@suse.de>
177 * sysdeps/ieee754/ldbl-128/s_asinhl.c: New file.
178 Patch by Stephen L Moshier <moshier@mediaone.net>.
180 2001-06-28 Ulrich Drepper <drepper@redhat.com>
182 * manual/argp.texi: Tons of cleanups.
183 Patch by Clifford U. Smith <cuel@swbell.net>.
185 2001-06-28 Mark Kettenis <kettenis@gnu.org>
187 * manual/users.texi (Setting Groups): Correct initgroups
188 documentation. Add documentation for getgrouplist.
190 2001-06-28 H.J. Lu <hjl@gnu.org>
192 * locale/findlocale.c (locale_file_list): Renamed to ...
193 (_nl_locale_file_list): This. Make it extern.
194 (free_mem): Move to ...
195 * locale/setlocale.c (free_mem): Here.
197 2001-06-28 Mark Kettenis <kettenis@gnu.org>
199 * sysdeps/mach/hurd/read.c: Include <hurd/fd.h>.
200 (__libc_read): Don't call __pread. Use _hurd_fd_read directly
202 * sysdeps/mach/hurd/write.c: Include <hurd/fd.h>.
203 (__libc_write): Don't call __pwrite. Use _hurd_fd_write directly
206 * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Add back
207 -Wl,-soname option lost in 2001-06-16 change.
209 2001-06-27 Ulrich Drepper <drepper@redhat.com>
211 * posix/tst-regex.c: Pass REG_NEWLINE to regcomp. Add extra tests.
212 Restrict printing of string in debug mode to 100 characters to make
213 the output useful for long input texts.
215 * posix/Makefile: Add rules to build and run tst-regex.
217 2001-06-20 Isamu Hasegawa <isamu@yamato.ibm.com>
219 * posix/regex.c (FREE_WCS_BUFFERS): New macro to free buffers.
220 (re_search_2): Invoke convert_mbs_to_wcs and FREE_WCS_BUFFERS.
221 (wcs_re_match_2_internal): Check whether the wcs buffers need
222 seting up or not, and skip seting up routin if not needed.
224 2001-06-26 Isamu Hasegawa <isamu@yamato.ibm.com>
226 * posix/regex.c (count_mbs_length): Use binary search for optimization.
228 2001-06-27 Ulrich Drepper <drepper@redhat.com>
230 * posix/tst-regex.c: Fix several bugs. Add more tests.
232 2001-06-26 Mark Kettenis <kettenis@gnu.org>
234 * hurd/Makefile (user-interfaces): Add pfinet.
235 * hurd/hurdioctl.c: Include <hurd/pfinet.h>, <net/if.h> and
237 (siocgifconf): New function. Register it with HURD_HANDLE_IOCTL
238 as the handler for SIOCGIFCONF.
239 * sysdeps/mach/hurd/bits/ioctls.h: Modify SIOCSIFFLAGS and
240 SIOCGIFFLAGS to be of IOC type ifreq_short. Modify SIOCSIFMETRIC
241 and SIOCGIFMETRIC to be of IOC type ifreq_int. Add new macro
242 definitions for SIOCGIFMTU, SIOCSIFMTU, SIOCGIFINDEX and
244 From Marcus Brunkmann <marcus@gnu.org>.
246 2001-06-25 Ulrich Drepper <drepper@redhat.com>
248 * sysdeps/gnu/net/if.h: Correct _IOT_ifreq and add _IOT_ifreq_short
249 and _IOT_ifreq_int. Patch by Mark Kettenis <kettenis@wins.uva.nl>.
251 * elf/dl-deps.c (_dl_map_object_deps): Fix handling of failing
252 _dl_catch_error calls.
254 2001-06-22 Jakub Jelinek <jakub@redhat.com>
256 * posix/regex.c (regex_compile, re_match_2_internal): Fix comment
259 2001-06-01 Wolfram Gloger <wg@malloc.de>
261 * malloc/malloc.c (malloc_atfork, free_atfork): Use a unique value
262 ATFORK_ARENA_PTR, not 0, for the thread-specific arena pointer
263 when malloc_atfork is in use.
265 2001-06-22 Andreas Jaeger <aj@suse.de>
267 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Add parenthese
270 * sysdeps/i386/fpu/e_expl.c (__ieee754_expl): Remove unused
272 Add unused attributes to avoid warnings.
274 * elf/reldep4mod4.c: Add prototype to avoid warning.
275 * elf/reldep4mod2.c: Likewise.
277 * sysdeps/i386/fpu/e_expl.c: Include <math_private.h> for
280 2001-06-18 Roland McGrath <roland@frob.com>
282 * hurd/hurd/fd.h (_hurd_fd_error_signal): Change return type to int.
284 2001-06-20 Alexandre Oliva <aoliva@redhat.com>
286 * sysdeps/unix/sysv/settimeofday.c: Include time.h.
288 2001-06-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
290 * sysdeps/unix/sysv/linux/s390/s390-64/dl-cache.h: New file.
292 2001-05-09 Michael Keezer <mkeezer@redhat.com>
294 * Makeconfig: Added AIX-ld support for DSO.
295 * Makerules: Likewise.
296 * dlfcn/Makefile (defaultmod1.so): Added libc_nonshared.
297 (defaultmod2.so): Likewise.
298 * debug/Makefile: Conditionalize use of elf/ld.so.
299 * iconvdata/Makefile: Moved LDFLAG rpath/soname info into Makeconfig.
301 * sysdeps/unix/sysv/aix/Makefile: Added dl-support.c and dl-error.c.
302 * sysdeps/unix/sysv/aix/Makefile: Made (f/g)rsave(0/1) &
303 (f/g)prrest(0/1) static only.
304 * sysdeps/unix/sysv/aix/gettimeofday.c: Removed #if 0.
305 * sysdeps/unix/sysv/aix/start.c: Define __dso_handle if not ELF but
307 * sysdeps/unix/sysv/aix/setitimer.c: New file.
308 * sysdeps/unix/sysv/aix/sleep.c: New file.
309 * sysdeps/unix/sysv/aix/usleep.c: New file.
310 * sysdeps/unix/sysv/aix/dl-addr.c: New file.
311 * sysdeps/unix/sysv/aix/dl-error.c: New file.
312 * sysdeps/unix/sysv/aix/dl-support.c: New file.
313 * sysdeps/unix/sysv/aix/powerpc/register-dump.h: New file.
315 2001-06-19 Ulrich Drepper <drepper@redhat.com>
317 * po/es.po: Update from translation team.
319 2001-06-19 Andreas Jaeger <aj@suse.de>
321 * sysdeps/ieee754/ldbl-128/s_tanhl.c: New file.
323 * math/libm-test.inc (tanh_test): Test for 2^-56.
325 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Make sure result
326 equals argument when x < 2^-55.
327 Patches by Stephen L. Moshier <moshier@na-net.ornl.gov>.
329 2001-06-17 Alan Modra <amodra@bigpond.net.au>
331 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Handle relocs
332 at unaligned address.
334 2001-06-18 Ulrich Drepper <drepper@redhat.com>
336 * posix/regex.c: Reorganize code to build code twice, once for single
337 byte, once for multi-byte charsets. Choose function set adequate for
339 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
341 * po/nl.po: Update from translation team.
343 2001-06-09 Bruno Haible <haible@clisp.cons.org>
345 * iconvdata/gconv-modules (BIG5HKSCS): New alias BIG5-HKSCS.
346 (ISO-8859-14): New aliases ISO_8859-14 and ISO-CELTIC.
347 * iconvdata/tst-tables.sh: For BIG5HKSCS, use BIG5-HKSCS charmap.
349 2001-05-26 Bruno Haible <haible@clisp.cons.org>
351 * iconvdata/tst-tables.sh: For SJIS module, use SHIFT_JIS charmap.
352 * manual/charset.texi: Write Shift_JIS, not Shift-JIS.
354 2001-06-17 Roland McGrath <roland@frob.com>
356 * sysdeps/pthread/aio_misc.h (LIO_DSYNC): Define to LIO_NOP + 1,
357 not LIO_READ + 1 (which is the value of LIO_WRITE!).
359 * Makerules (build-module-helper-objlist): New variable,
360 broken out of build-module. Insert --whole-archive/--no-whole-archive
361 immediately each *_pic.a file in the link object list.
362 (whole-archive): New variable, used by that.
363 (build-module-objlist): New variable using build-module-helper-objlist.
364 (build-module, build-module-helper): Use it.
365 (build-shlib-objlist): New variable using build-module-helper-objlist.
366 (build-shlib): Use that.
367 * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Likewise.
369 * posix/spawni.c: Moved to ...
370 * sysdeps/posix/spawni.c: ... here.
371 * sysdeps/generic/spawni.c: New file.
373 2001-06-16 Roland McGrath <roland@frob.com>
375 * hurd/Makefile (routines): Add lookup-retry.
376 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Broken out ...
377 * hurd/lookup-retry.c: ... into here, new file.
378 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Call that instead
379 using of duplicate code here.
381 * hurd/hurdexec.c (_hurd_exec): Be robust for DTABLESIZE==0.
383 2001-06-17 Ulrich Drepper <drepper@redhat.com>
385 * po/ja.po: Update from translation team.
387 2001-06-04 Bruno Haible <haible@clisp.cons.org>
389 * locale/programs/locfile.c (siblings_uncached, siblings, full_read,
390 compare_files): New functions.
391 (write_locale_data): Use xmalloc. Compare the file with the locale
392 data files for the same category in other locales, and reuse it if
395 2001-06-07 Mark Kettenis <kettenis@gnu.org>
397 * grp/initgroups.c (initgroups): Factor out re-usable code into...
398 (internal_getgrouplist): ... new function.
399 (getgrouplist): New function.
400 * grp/grp.h (getgrouplist): New prototype.
401 * grp/Versions [2.2.4]: Add getgrouplist.
403 2001-06-16 Ulrich Drepper <drepper@redhat.com>
405 * inet/netinet/ip6.h: Fix comments in ip6_hdr.
406 Patch by Pekka Savola <pekkas@netcore.fi>.
408 2001-06-15 Roland McGrath <roland@frob.com>
410 * rt/Makefile (aio-routines, clock-routines, timer-routines): New
411 variables, broken out of librt-routines.
412 (librt-routines): Set using those.
413 (extra-libs, extra-libc-others, tests): Set these unconditionally.
414 (distribute): No need for $(librt-map) or $(librt-routines:=.c) here.
415 * sysdeps/generic/aio_fsync.c: New file.
416 * sysdeps/generic/aio_misc.c: New file.
417 * sysdeps/generic/aio_write.c: New file.
418 * sysdeps/generic/aio_write64.c: New file.
419 * sysdeps/generic/aio_read64.c: New file.
420 * sysdeps/generic/aio_read.c: New file.
421 * sysdeps/generic/aio_notify.c: New file.
422 * sysdeps/generic/lio_listio64.c: New file.
423 * sysdeps/generic/lio_listio.c: New file.
424 * sysdeps/generic/aio_cancel.c: New file.
425 * sysdeps/generic/aio_misc.h: New file.
426 * sysdeps/generic/aio_suspend.c: New file.
427 * rt/aio_cancel.c: Moved to ...
428 * sysdeps/pthread/aio_cancel.c: ... here.
429 * rt/aio_fsync.c: Moved to ...
430 * sysdeps/pthread/aio_fsync.c: ... here.
431 * rt/aio_misc.c: Moved to ...
432 * sysdeps/pthread/aio_misc.c: ... here.
433 * rt/aio_misc.h: Moved to ...
434 * sysdeps/pthread/aio_misc.h: ... here.
435 * rt/aio_notify.c: Moved to ...
436 * sysdeps/pthread/aio_notify.c: ... here.
437 * rt/aio_read.c: Moved to ...
438 * sysdeps/pthread/aio_read.c: ... here.
439 * rt/aio_read64.c: Moved to ...
440 * sysdeps/pthread/aio_read64.c: ... here.
441 * rt/aio_suspend.c: Moved to ...
442 * sysdeps/pthread/aio_suspend.c: ... here.
443 * rt/aio_write.c: Moved to ...
444 * sysdeps/pthread/aio_write.c: ... here.
445 * rt/aio_write64.c: Moved to ...
446 * sysdeps/pthread/aio_write64.c: ... here.
447 * rt/lio_listio.c: Moved to ...
448 * sysdeps/pthread/lio_listio.c: ... here.
449 * rt/lio_listio64.c: Moved to ...
450 * sysdeps/pthread/lio_listio64.c: ... here.
452 2001-06-14 Roland McGrath <roland@frob.com>
454 * configure.in: Let sysdeps Implies files in add-ons bring in
455 sysdeps directories from the main source and other add-ons too.
457 2001-06-15 Jakub Jelinek <jakub@redhat.com>
459 * math/test-misc.c (main): Add tests for nextafter and nexttoward
460 with +-Inf as second argument.
462 * sysdeps/generic/s_nexttowardf.c (__nexttowardf): Only check for
464 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Fix check for NaN.
465 * sysdeps/i386/fpu/s_nexttoward.c: New.
466 * sysdeps/i386/fpu/s_nexttowardf.c: New.
467 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Simplify
468 check for NaN, optimize x==+-0 handling.
469 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf): Likewise.
470 * sysdeps/ieee754/ldbl-96/s_nextafterl.c (__nextafterl): Simplify
471 check for NaN, fix sign in x==+-0 case.
472 * sysdeps/ia64/fpu/s_nexttoward.c: New.
473 * sysdeps/ia64/fpu/s_nexttowardf.c: New.
475 2001-06-15 H.J. Lu <hjl@gnu.org>
477 * rt/tst-aio2.c (do_test): Initialize cb.aio_offset to 0.
478 * rt/tst-aio3.c (do_test): Likewise.
479 * rt/tst-aio4.c (do_test): Likewise.
480 * rt/tst-aio5.c (do_test): Likewise.
481 * rt/tst-aio6.c (do_test): Likewise.
483 2001-06-15 Andreas Schwab <schwab@suse.de>
485 * sysdeps/m68k/fpu/bits/mathinline.h: Don't define log2 as inline.
486 * sysdeps/m68k/fpu/mathimpl.h: Define __ieee754_log2 as inline.
488 2001-06-15 Andreas Jaeger <aj@suse.de>
490 * gmon/tst-sprofil.c (fac): Make static to avoid compiler warning.
492 2001-06-14 Andreas Schwab <schwab@suse.de>
494 * elf/ldconfig.c (search_dir): Fix check for regular file.
496 * sysdeps/m68k/fpu/e_log2f.c: Fix typo.
497 * sysdeps/m68k/fpu/e_log2l.c: Fix typo.
499 2001-06-14 Roland McGrath <roland@frob.com>
501 * sysdeps/mach/hurd/bits/fcntl.h [ __USE_POSIX199309 || __USE_UNIX98]:
502 (O_DSYNC, O_RSYNC): New macros, both defined to O_SYNC as Linux does.
504 2001-06-13 Roland McGrath <roland@frob.com>
506 * rt/aio_notify.c: Include <unistd.h> for _POSIX_REALTIME_SIGNALS.
508 * sysdeps/mach/hurd/fork.c (LOSE): Put `goto lose' in dead code
509 so the label is not considered unused.
511 * sysdeps/mach/hurd/pwrite64.c: New file.
512 * sysdeps/mach/hurd/pread64.c: New file.
514 * sysdeps/mach/hurd/pread.c
515 (__libc_pread): Define this name, with __pread as an alias.
516 * sysdeps/mach/hurd/pwrite.c
517 (__libc_pwrite): Define this name, with __pwrite as an alias.
519 Implement POSIX "shared memory objects" as regular
520 files residing in the /var/run/shm/ directory.
521 This works on any system that supports _POSIX_MAPPED_FILES,
522 to make it also support _POSIX_SHARED_MEMORY_OBJECTS.
523 * sysdeps/posix/shm_open.c: New file.
524 * sysdeps/posix/shm_unlink.c: New file.
525 * sysdeps/mach/hurd/bits/posix_opt.h
526 (_POSIX_SHARED_MEMORY_OBJECTS): Define it.
528 * rt/aio_notify.c (__aio_notify_only) [! _POSIX_REALTIME_SIGNALS]:
529 Use raise instead of __aio_sigqueue.
531 * sysdeps/mach/hurd/pread.c: Fail with EINVAL if OFFSET is negative.
532 * sysdeps/mach/hurd/pwrite.c: Likewise.
534 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu.*): libc=0.3
535 [USE_IN_LIBIO && !GLIBC_OLDEST_ABI] (.*-.*-gnu-gnu.*): Use GLIBC_2.2.4
536 as default version set.
538 2001-06-13 Ulrich Drepper <drepper@redhat.com>
540 * libio/iolibio.h (_IO_freopen): Correct last parameter to
542 (_IO_freopen64): Likewise.
543 Reported by simanek@quantum.karlov.mff.cuni.cz [PR libc/2326].
545 * elf/elf.h: Add a few more EM_* constants.
547 2001-06-12 Bruno Haible <haible@clisp.cons.org>
549 * intl/dcigettext.c (DCIGETTEXT): Release the lock before returning.
551 2001-06-09 Ben Collins <bcollins@debian.org>
553 * sysdeps/unix/sysv/linux/bits/termios.h: Define __MAX_BAUD.
554 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
555 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
556 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
557 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
558 * sysdeps/unix/sysv/linux/speed.c: Use __MAX_BAUD instead of
561 2001-06-13 Ulrich Drepper <drepper@redhat.com>
563 * time/sys/time.h: Don't use enum __itimer_which ever for
564 __itimer_which_t for C++.
565 Reported by Martin Buchholz <martin@xemacs.org>.
567 * po/fr.po: Update from translation team.
569 2001-06-12 H.J. Lu <hjl@gnu.org>
571 * configure.in: Fix typos in missing program names.
572 * configure: Regenerated.
574 2001-06-12 Andreas Jaeger <aj@suse.de>
576 * iconvdata/tst-table-to.c: Include string.h for strcmp prototype.
578 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Add ULPs for tanh (-0.7).
580 2001-06-11 Andreas Jaeger <aj@suse.de>
582 * sysdeps/ieee754/ldbl-128/e_coshl.c: New file. Contributed by
583 Stephen L Moshier <moshier@mediaone.net>.
585 * aclocal.m4: Quote AC_FD_MSG and AC_FD_CC.
587 * sysdeps/powerpc/fpu/libm-test-ulps: Add ULPs for tanh (-0.7).
588 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
590 2001-06-11 Michael Deutschmann <michael@talamasca.ocis.net>
592 * rt/tst-aio4.c (do_test): Test whether rt signals are supported.
593 Use my_signo instead of MY_SIGNO and initialize it so that the
594 used signal is always available.
596 2001-06-11 Andreas Jaeger <aj@suse.de>,
597 Michael Deutschmann <michael@talamasca.ocis.net>
599 * io/test-lfs.c (do_prepare): Clean up error messages.
600 (test_ftello): Check for EFBIG and ENOSPC, clean up error messages.
603 2001-06-11 Andreas Jaeger <aj@suse.de>
605 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (IXANY, IUCLC,
606 IMAXBEL): Make always visible since they're needed by POSIX.
607 Closes PR libc/2320, reported by Chris Yeoh <cyeoh@samba.org>.
609 2001-06-10 Ben Collins <bcollins@debian.org>
611 * sysdeps/arm/elf/start.S: Use #function, not @function, for
614 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Include limits.h to get
617 2001-06-07 H.J. Lu <hjl@gnu.org>
619 * sunrpc/rpc/rpc.h: Add __BEGIN_DECLS/__END_DECLS.
621 2001-06-10 Roland McGrath <roland@frob.com>
623 * elf/reldep4mod2.c: Use fully typed decls to avoid warnings.
624 * elf/reldep4mod4.c: Likewise.
626 2001-06-10 Mark Kettenis <kettenis@gnu.org>
628 * hurd/hurd/threadvar.h: Add prototype for __hurd_errno_location.
630 2001-06-08 Andreas Schwab <schwab@suse.de>
632 * posix/regex.c (re_match_2_internal) [case wordbeg, wordend]:
633 Don't dereference at end of string.
635 2001-06-06 Roland McGrath <roland@frob.com>
637 * sysdeps/mach/hurd/getsockopt.c: Fix handling of returned buffer size.
638 From Robert Bihlmeyer <robbe@orcus.priv.at>.
640 2001-06-06 Ulrich Drepper <drepper@redhat.com>
642 * po/ko.po: Update from translation team.
644 2001-06-06 Andreas Jaeger <aj@suse.de>
646 * manual/llio.texi (Memory-mapped I/O): Clarify that mapping is to
648 Reported by Robert Bernecky <bernecky@acm.org>.
650 2001-06-06 Jakub Jelinek <jakub@redhat.com>
652 * sysdeps/cris/elf/start.S: Fix a typo introduced by last patch.
653 * sysdeps/ia64/elf/start.S: Likewise.
654 * sysdeps/sh/elf/start.S: Likewise.
655 * sysdeps/s390/s390-32/elf/start.S: Likewise.
656 * sysdeps/s390/s390-64/elf/start.S: Likewise.
658 2001-06-05 Matthew Wilcox <willy@ldl.fc.hp.com>
660 * sysdeps/hppa/bsd-_setjmp.S: New.
661 * sysdeps/hppa/bsd-setjmp.S: New.
663 * sysdeps/hppa/dl-machine.h: Reformat asm statements to remove new
664 gcc warnings about multi-line strings.
666 * sysdeps/unix/sysv/linux/hppa/getrlimit.c: Remove.
667 * sysdeps/unix/sysv/linux/hppa/setrlimit.c: Remove.
669 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Call getrlimit,
670 setrlimit directly instead of using wrappers.
672 2001-05-01 Richard Hirst <rhirst@linuxcare.com>
674 * sysdeps/unix/sysv/linux/hppa/syscall.S: remove dummy syscall.
675 * sysdeps/unix/sysv/linux/hppa/sysdep.c: implement syscall.
677 2001-06-05 Philipp Thomas <pthomas@suse.de>
679 * nis/nis_call.c (__nisbind_connect): Don't mark for translation
680 what can't be translated.
682 2001-06-06 Ulrich Drepper <drepper@redhat.com>
684 * timezone/zic.c: Update from tzcode2001c.
685 * timezone/private.h: Likewise.
686 * timezone/africa: Update from tzdata2001c.
687 * timezone/asia: Likewise.
688 * timezone/europe: Likewise.
689 * timezone/northamerica: Likewise.
690 * timezone/southamerica: Likewise.
691 * timezone/zone.tab: Likewise.
693 2001-06-04 Bruno Haible <haible@clisp.cons.org>
695 * iconv/loop.c (UNICODE_TAG_HANDLER): New macro.
696 * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Invoke
698 (__gconv_transform_internal_ucs2): Likewise.
699 (__gconv_transform_internal_ucs2reverse): Likewise.
700 * iconvdata/8bit-gap.c (BODY for TO_LOOP): Invoke UNICODE_TAG_HANDLER.
701 * iconvdata/8bit-generic.c (BODY for TO_LOOP): Likewise.
702 * iconvdata/ansi_x3.110.c (BODY for TO_LOOP): Likewise.
703 * iconvdata/big5.c (BODY for TO_LOOP): Likewise.
704 * iconvdata/big5hkscs.c (BODY for TO_LOOP): Likewise.
705 * iconvdata/cp1255.c (BODY for TO_LOOP): Likewise.
706 * iconvdata/cp1258.c (BODY for TO_LOOP): Likewise.
707 * iconvdata/euc-cn.c (BODY for TO_LOOP): Likewise.
708 * iconvdata/euc-jp.c (BODY for TO_LOOP): Likewise.
709 * iconvdata/euc-kr.c (BODY for TO_LOOP): Likewise.
710 * iconvdata/euc-tw.c (BODY for TO_LOOP): Likewise.
711 * iconvdata/gbk.c (BODY for TO_LOOP): Likewise.
712 * iconvdata/ibm930.c (BODY for TO_LOOP): Likewise.
713 * iconvdata/ibm932.c (BODY for TO_LOOP): Likewise.
714 * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
715 * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
716 * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
717 * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
718 * iconvdata/ibm943.c (BODY for TO_LOOP): Likewise.
719 * iconvdata/iso646.c (BODY for TO_LOOP): Likewise.
720 * iconvdata/iso8859-1.c (BODY for TO_LOOP): Likewise.
721 * iconvdata/iso_6937.c (BODY for TO_LOOP): Likewise.
722 * iconvdata/iso_6937-2.c (BODY for TO_LOOP): Likewise.
723 * iconvdata/iso-2022-cn.c (BODY for TO_LOOP): Likewise.
724 * iconvdata/iso-2022-cn-ext.c (BODY for TO_LOOP): Likewise.
725 * iconvdata/iso-2022-kr.c (BODY for TO_LOOP): Likewise.
726 * iconvdata/johab.c (BODY for TO_LOOP): Likewise.
727 * iconvdata/sjis.c (BODY for TO_LOOP): Likewise.
728 * iconvdata/t.61.c (BODY for TO_LOOP): Likewise.
729 * iconvdata/uhc.c (BODY for TO_LOOP): Likewise.
730 * iconvdata/unicode.c (BODY for TO_LOOP): Likewise.
731 * iconvdata/iso-2022-jp.c (TAG_none, TAG_language, TAG_language_j,
732 TAG_language_ja, TAG_language_k, TAG_language_ko, TAG_language_z,
733 TAG_language_zh, CURRENT_TAG_MASK): New enum values.
734 (EMIT_SHIFT_TO_INIT): Don't emit an escape sequence if ASCII_set
735 is already selected but set2 or tag are set.
736 (conversion): New enum type.
737 (cvlist_t): New type.
738 (CVLIST, CVLIST_FIRST, CVLIST_REST): New macros.
739 (conversion_lists): New array.
740 (BODY for TO_LOOP): Keep track of Unicode 3.1 language tag. If "ja",
741 prefer conversion to Japanese character sets. If "zh", prefer
742 conversion to GB2312. If "ko", prefer conversion to KSC5601. Small
744 (INIT_PARAMS): Add tag.
745 (UPDATE_PARAMS): Add tag.
747 2001-06-04 Bruno Haible <haible@clisp.cons.org>
749 * locale/programs/locfile.c (write_locale_data): Before creat(),
750 unlink the file, to avoid crashing the processes that mmap it. Change
751 a double slash to a single slash. Free fname in case of error return.
753 2001-06-02 Jakub Jelinek <jakub@redhat.com>
755 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Mostly revert 2000-12-03
756 changes, do the special handling for denormal numbers, not for
757 normalized numbers (patch by <trevin@xmission.com>).
759 * math/test-misc.c (main): Test frexpl with denormal arguments.
761 2001-06-04 Jakub Jelinek <jakub@redhat.com>
763 * math/libm-test.inc (llround_test): Add two new llround tests.
764 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Don't allow
765 overflow when rounding away from zero.
767 2001-06-04 Jakub Jelinek <jakub@redhat.com>
769 * math/Makefile (libm-calls): Add e_log2, w_log2, remove s_log2.
770 * math/math_private.h (__ieee754_log2, __ieee754_log2f,
771 __ieee754_log2l): New prototypes.
772 * sysdeps/generic/w_log2.c: New file.
773 * sysdeps/generic/w_log2f.c: New file.
774 * sysdeps/generic/w_log2l.c: New file.
775 * sysdeps/generic/s_log2l.c: Move...
776 * sysdeps/generic/e_log2l.c: ...to here. Rename to __ieee754_log2l.
777 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle log2(0)
779 * sysdeps/i386/fpu/s_log2.S: Move...
780 * sysdeps/i386/fpu/e_log2.S: ...to here. Rename to __ieee754_log2.
781 * sysdeps/i386/fpu/s_log2f.S: Move...
782 * sysdeps/i386/fpu/e_log2f.S: ...to here. Rename to __ieee754_log2f.
783 * sysdeps/i386/fpu/s_log2l.S: Move...
784 * sysdeps/i386/fpu/e_log2l.S: ...to here. Rename to __ieee754_log2l.
785 * sysdeps/m68k/fpu/s_log2.c: Move...
786 * sysdeps/m68k/fpu/e_log2.c: ...to here. Rename to __ieee754_log2.
787 * sysdeps/m68k/fpu/s_log2f.c: Move...
788 * sysdeps/m68k/fpu/e_log2f.c: ...to here. Rename to __ieee754_log2f.
789 * sysdeps/m68k/fpu/s_log2l.c: Move...
790 * sysdeps/m68k/fpu/e_log2l.c: ...to here. Rename to __ieee754_log2l.
791 * sysdeps/ieee754/dbl-64/s_log2.c: Move...
792 * sysdeps/ieee754/dbl-64/e_log2.c: ...to here. Rename to
794 * sysdeps/ieee754/flt-32/s_log2f.c: Move...
795 * sysdeps/ieee754/flt-32/e_log2f.c: ...to here. Rename to
798 2001-06-04 Jakub Jelinek <jakub@redhat.com>
800 * sysdeps/generic/w_exp2.c (u_threshold): Lower threshold so that
801 even arguments which result in denormalized exp2 are accepted.
802 (__exp2): Arguments equal to u_threshold already result into
804 * sysdeps/generic/w_exp2f.c (u_threshold, __exp2f): Likewise.
805 * sysdeps/generic/w_exp2l.c (u_threshold, __exp2l): Likewise.
806 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Lomark was too
807 low, with corrected lowmark use greaterequal, not greater.
808 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
810 2001-06-04 Jakub Jelinek <jakub@redhat.com>
812 * math/libm-test.inc (ilogb_test): Test that ilogb(+-Inf) == INT_MAX.
813 * sysdeps/i386/fpu/s_ilogb.S (__ilogb): Return INT_MAX for +-Inf.
814 * sysdeps/i386/fpu/s_ilogbf.S (__ilogbf): Likewise.
815 * sysdeps/i386/fpu/s_ilogbl.S (__ilogbl): Likewise.
816 * sysdeps/ieee754/dbl-64/s_ilogb.c (__ilogb): Likewise.
817 * sysdeps/ieee754/flt-32/s_ilogbf.c (__ilogbf): Likewise.
818 * sysdeps/ieee754/ldbl-128/s_ilogbl.c (__ilogbl): Likewise.
819 * sysdeps/ieee754/ldbl-96/s_ilogbl.c (__ilogbl): Likewise.
821 2001-06-04 Jakub Jelinek <jakub@redhat.com>
823 * sysdeps/generic/w_coshl.c (__coshl): Test if finite argument
824 gave non-finite result instead of using constant in generic
826 * sysdeps/generic/w_coshf.c (__coshf): Likewise.
827 * sysdeps/generic/w_cosh.c (__cosh): Likewise.
828 * sysdeps/generic/w_exp10.c (o_threshold, u_threshold): Remove.
829 (__exp10): Test if finite argument gave non-finite result.
830 * sysdeps/generic/w_exp10f.c (o_threshold, u_threshold, __exp10f):
832 * sysdeps/generic/w_exp10l.c (o_threshold, u_threshold, __exp10l):
835 2001-06-04 Jakub Jelinek <jakub@redhat.com>
837 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Fix
838 overflow threshold constant (log(LDBL_MAX)+M_LN2l).
840 2001-05-29 Bruno Haible <haible@clisp.cons.org>
842 * locale/programs/ld-ctype.c (idx_table): New struct type.
843 (idx_table_init, idx_table_get, idx_table_add): New functions.
844 (MAX_CHARNAMES_IDX): Remove macro.
845 (locale_ctype_t): Change type of charnames_idx field.
846 (ctype_startup): Change initialization of charnames_idx field.
847 (find_idx): Use idx_table_get and idx_table_add for speed.
849 * locale/programs/charmap.c (charmap_new_char): Fix ucs4 value
850 computation of characters in a range.
852 2001-05-29 Bruno Haible <haible@clisp.cons.org>
854 * iconvdata/gb18030.c (__fourbyte_to_ucs1): Add mappings for <U03F4>,
856 (__ucs_to_gb18030_tab1): Likewise.
857 (BODY for FROM_LOOP): Add mapping for <U00010000>..<U0010FFFF>.
858 (BODY for TO_LOOP): Likewise.
859 * iconvdata/tst-table-charmap.sh: Update for charmaps containing
861 * iconvdata/tst-table-from.c (bmp_only): New variable.
862 (utf8_decode): If bmp_only, don't return characters outside Unicode
864 (main): When testing UTF-8 or GB18030, set bmp_only to 1. Don't print
865 a conversion line if utf8_decode returns NULL.
866 * iconvdata/tst-table-to.c (main): When testing encodings other than
867 UTF-8 and GB18030, loop upto U+30000 instead of U+10000. Use UTF-8
868 instead of UCS-2 as input.
869 * iconvdata/tst-table.sh: For GB18030, use only the part < 0x10000
872 2001-05-29 Bruno Haible <haible@clisp.cons.org>
874 * iconvdata/cns11643l1.c: Update to Unicode 3.1.
875 (__cns11643l1_to_ucs4_tab): Regenerated.
876 (__cns11643l1_from_ucs4_tab12): Regenerated.
877 * iconvdata/cns11643.c: Update to Unicode 3.1.
878 (__cns11643l14_to_ucs4_tab): Remove array.
879 (__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab,
880 __cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab,
881 __cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New arrays.
882 (__cns11643_from_ucs4p0_tab): Renamed from __cns11643_from_ucs4_tab.
883 (__cns11643_from_ucs4p2_tab): New array.
884 * iconvdata/cns11643.h (__cns11643l14_to_ucs4_tab): Remove declaration.
885 (__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab,
886 __cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab,
887 __cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New declarations.
888 (cns11643_to_ucs4): Treat planes 3, 4, 5, 6, 7, 15 instead of 14.
889 (__cns11643_from_ucs4_tab): Remove declaration.
890 (__cns11643_from_ucs4p0_tab, __cns11643_from_ucs4p2_tab): New
892 (ucs4_to_cns11643): Update for new arrays. Treat U+3400..U+4DFF and
894 * iconvdata/cns11643l2.h (__cns11643_from_ucs4_tab): Remove
896 (__cns11643_from_ucs4p0_tab): New declaration.
897 (ucs4_to_cns11643l2): Update for new arrays.
898 * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): Handle planes
900 (BODY for TO_LOOP): Handle planes 3 to 7, instead of plane 14.
901 * iconvdata/EUC-TW.irreversible: New file.
902 * iconvdata/tst-table.sh: Use it.
903 * iconvdata/Makefile (distribute): Add CP1255.irreversible,
904 CP1258.irreversible, EUC-TW.irreversible.
906 2001-05-29 Bruno Haible <haible@clisp.cons.org>
908 * locale/C-translit.h.in: Add transliterations for new Unicode 3.1
909 mathematical symbols.
911 2001-06-05 Andreas Jaeger <aj@suse.de>
913 * manual/stdio.texi (Portable Positioning): Fix description of
916 2001-06-06 Ulrich Drepper <drepper@redhat.com>
918 * sysdeps/generic/wordexp.c: Undo last patch. Use strndupa instead.
920 * po/sk.po: Update from translation team.
922 2001-06-05 Andreas Jaeger <aj@suse.de>
924 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Recognize
925 tmpfs, patch by Stanislav Brabec <utx@penguin.cz>.
928 2001-06-05 Ulrich Drepper <drepper@redhat.com>
930 * sysdeps/generic/wordexp.c: Add missing free.
931 Patch by yeti@physics.muni.cz.
933 2001-06-02 Tom Browder <tbrowder@home.com>
935 * misc/tst-tsearch.c (mangle_tree): Ensure array indices are
936 within bounds when lag > 0.
938 2001-06-05 Ulrich Drepper <drepper@redhat.com>
940 * po/tr.po: New file.
942 2001-06-05 Andreas Jaeger <aj@suse.de>
944 * manual/libm-err-tab.pl (parse_ulps): Fix typo.
946 2001-06-04 H.J. Lu <hjl@gnu.org>
948 * sysdeps/alpha/elf/start.S: Add .type for the entry point.
949 * sysdeps/arm/elf/start.S: Likewise.
950 * sysdeps/hppa/elf/start.S: Likewise.
951 * sysdeps/i386/elf/start.S: Likewise.
952 * sysdeps/m68k/elf/start.S: Likewise.
953 * sysdeps/mips/elf/start.S: Likewise.
954 * sysdeps/ia64/elf/start.S: Likewise.
955 * sysdeps/sh/elf/start.S: Likewise.
956 * sysdeps/s390/s390-32/elf/start.S: Likewise.
957 * sysdeps/s390/s390-64/elf/start.S: Likewise.
958 * sysdeps/cris/elf/start.S: Likewise.
960 2001-06-04 Bruce Mitchener <bruce@cubik.org>
962 * manual/resource.texi: Correct setpriority/nice documentation.
964 * sysdeps/unix/nice.c: Correct nice() implementation.
966 2001-06-04 Andreas Jaeger <aj@suse.de>
968 * sysdeps/ieee754/ldbl-128/e_sinhl.c: New file, contributed by
969 Stephen L Moshier <moshier@mediaone.net>.
971 2001-06-03 Roland McGrath <roland@frob.com>
973 * Makefile (postclean): Remove obsolete sysd-Makefile.
975 2001-06-01 Roland McGrath <roland@frob.com>
977 * sysdeps/alpha/fpu/fclrexcpt.c: #include <shlib-compat.h>
978 and use compat_symbol/versioned_symbol instead of plain
979 symbol_version/default_symbol_version.
980 * sysdeps/alpha/fpu/fegetenv.c: Likewise.
981 * sysdeps/alpha/fpu/fesetenv.c: Likewise.
982 * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
983 * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
984 * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
985 * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
986 * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
987 * sysdeps/arm/fpu/fegetenv.c: Likewise.
988 * sysdeps/arm/fpu/fesetenv.c: Likewise.
989 * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
990 * sysdeps/arm/fpu/fsetexcptflg.c: Likewise.
991 * sysdeps/i386/fpu/fclrexcpt.c: Likewise.
992 * sysdeps/i386/fpu/fegetenv.c: Likewise.
993 * sysdeps/i386/fpu/fesetenv.c: Likewise.
994 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
995 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
996 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
997 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
998 * sysdeps/m68k/fpu/fclrexcpt.c: Likewise.
999 * sysdeps/m68k/fpu/fegetenv.c: Likewise.
1000 * sysdeps/m68k/fpu/fesetenv.c: Likewise.
1001 * sysdeps/m68k/fpu/feupdateenv.c: Likewise.
1002 * sysdeps/m68k/fpu/fgetexcptflg.c: Likewise.
1003 * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
1004 * sysdeps/m68k/fpu/fsetexcptflg.c: Likewise.
1005 * sysdeps/powerpc/fclrexcpt.c: Likewise.
1006 * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
1007 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
1008 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1009 * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
1010 * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
1011 * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
1013 * iconvdata/cp1258.c: Include <stdlib.h> for abort decl.
1014 * iconvdata/iso-2022-cn-ext.c: Likewise.
1016 2001-06-01 Andreas Jaeger <aj@suse.de>
1018 * Versions.def: Add version 2.2.4.
1020 2001-06-01 Ulrich Drepper <drepper@redhat.com>
1022 * socket/Makefile (routines): Add sockatmark.
1023 * socket/Versions [GLIBC_2.2.4]: Add sockatmark.
1024 * socket/sys/socket.h: Add prototype for sockatmark.
1025 * sysdeps/generic/sockatmark.c: New file.
1026 * sysdeps/unix/sockatmark.c: New file.
1028 2001-06-01 Andreas Jaeger <aj@suse.de>
1030 * sysdeps/unix/sysv/linux/speed.c (cfsetispeed): Max speed is
1032 (cfsetospeed): Likewise.
1033 Reported by Lukasz Trabinski <lukasz@lt.wsisiz.edu.pl>.
1035 2001-05-31 Joseph S. Myers <jsm28@cam.ac.uk>
1037 * misc/sys/cdefs.h (__restrict_arr): Define to empty for C++.
1039 2001-05-30 Martin Schwidefsky <schwidefsky@de.ibm.com>
1041 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: greg_t
1042 needs to have the same aligment as the kernel structure.
1044 2001-05-29 Jakub Jelinek <jakub@redhat.com>
1046 * sunrpc/rpc/types.h (u_char, u_short, u_int, u_long, quad_t,
1047 u_quad_t, fsid_t, daddr_t, caddr_t): Make sure the types are defined.
1048 * posix/sys/types.h (u_char, u_short, u_int, u_long, quad_t,
1049 u_quad_t, fsid_t, daddr_t, caddr_t): Protect the __USE_BSD typedefs
1050 against multiple definition.
1052 2001-05-30 Ulrich Drepper <drepper@redhat.com>
1054 * po/da.po: Update from translation team.
1056 2001-05-29 Andreas Jaeger <aj@suse.de>
1058 * sysdeps/ieee754/ldbl-128/e_acosl.c: New file, contributed by
1059 Stephen L Moshier <moshier@mediaone.net>.
1061 * math/libm-test.inc (sinh_test): Add new test case.
1063 * sysdeps/ieee754/ldbl_96/e_sinhl.c (__ieee754_sinhl): sinhl(x) =
1065 Patch by Stephen L Moshier <moshier@mediaone.net>.
1067 2001-05-23 Andreas Jaeger <aj@suse.de>
1069 * iconvdata/testdata/WINDOWS-1255..UTF-8: Renamed to...
1070 * iconvdata/testdata/WINDOWS-1255..UTF8: this.
1072 2001-05-27 Andreas Jaeger <aj@suse.de>
1074 * manual/stdio.texi (String Streams): Fix fmemopen description.
1075 Reported by Michal Kochanowicz <michal@michal.waw.pl>.
1077 2001-05-26 H.J. Lu <hjl@gnu.org>
1079 * sysdeps/unix/sysv/linux/mips/syscalls.list: Change sigsuspend
1080 to s_sigsuspend. Add s_mmap2.
1082 * sysdeps/mips/atomicity.h: New file.
1084 * sysdeps/unix/sysv/linux/mips/getsysstats.c: New file.
1086 * sysdeps/unix/sysv/linux/mips/bits/ipc.h (ipc_perm): Put
1089 2001-05-25 Bruce Mitchener <bruce@cubik.org>
1091 * manual/ctype.texi: Minor fix.
1092 * manual/install.texi: Likewise.
1093 * manual/startup.texi: Likewise.
1094 * manual/examples/dir.c: Use perror() rather than puts().
1096 2001-05-25 David Mosberger <davidm@hpl.hp.com>
1098 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Put stuff following
1099 #endif directive inside a comment to avoid compiler warnings.
1101 2001-05-25 Philipp Thomas <pthomas@suse.de>
1103 * nis/nis_print.c (nis_nstype2str): Don't mark names of
1104 naming services for translation, only UNKNOWN needs it.
1105 Add comment to prevent it for the future.
1107 2001-05-25 Joseph S. Myers <jsm28@cam.ac.uk>
1109 * misc/sys/cdefs.h (__restrict_arr): Define appropriately for GCC
1110 3.1 and non-GCC C99 compilers.
1112 2001-05-22 David Mosberger <davidm@hpl.hp.com>
1114 * sysdeps/ia64/memmove.S: Increase MEMLAT from 6 to 21 for better
1116 * sysdeps/ia64/memcpy.S: Likewise.
1118 * sysdeps/ia64/bcopy.S: New file.
1120 * sysdeps/ia64/bzero.S: New file (derived from memset.S).
1122 2001-05-26 Ulrich Drepper <drepper@redhat.com>
1124 * sysdeps/ia64/fpu/libm-test-ulps: Add deltas for tanh(-0.7).
1126 2001-05-24 Ulrich Drepper <drepper@redhat.com>
1128 * iconvdata/Makefile: Add rules for CP10007.
1129 * iconvdata/gconv-modules: Add entries for CP10007 ad MacCyrillic.
1130 * iconvdata/cp10007.c: New file.
1131 * iconvdata/tst-tables.sh: Add CP10007.
1133 2001-05-23 kaz Kojima <kkojima@rr.iij4u.or.jp>
1135 * sysdeps/sh/dl-machine.h (_dl_runtime_resolve): Handle newer PLT.
1136 (_dl_runtime_profile): Likewise..
1138 2001-05-23 Thorsten Kukuk <kukuk@suse.de>
1140 * sysdeps/posix/getaddrinfo.c: Support for AF_UNIX commented out.
1141 * posix/tst-getaddrinfo.c: Remove AF_UNIX test.
1143 2001-05-19 H.J. Lu <hjl@gnu.org>
1145 * elf/dl-deps.c (_dl_map_object_deps): Pass objname and
1146 errstring of the failed DSO to _dl_signal_error ().
1148 2001-05-23 Ulrich Drepper <drepper@redhat.com>
1150 * iconvdata/gconv-modules: Add more aliases to enable use in
1153 2001-05-23 Andreas Jaeger <aj@suse.de>
1155 * sysdeps/unix/sysv/linux/ia64/Makefile (CFLAGS-initfini.s):
1156 Remove, it's not used anywhere anymore.
1157 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile
1158 (CFLAGS-initfini.s): Likewise.
1159 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
1160 (CFLAGS-initfini.s): Likewise.
1161 * sysdeps/unix/sysv/linux/powerpc/Makefile (CFLAGS-initfini.s):
1163 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-initfini.s):
1166 2001-05-21 Bruno Haible <haible@clisp.cons.org>
1168 * wcsmbs/mbrtowc.c (mbrtowc): Remove local variable 'flush', always
1169 use 0 instead, and rely on the converter to do the flush.
1170 * wcsmbs/tst-mbrtowc.c (utf8_test_1): New function, taken from
1172 (utf8_test_2, utf8_test_3): New function.
1173 (utf8_test): Call utf8_test_1, utf8_test_2, utf8_test_3.
1175 2001-05-22 Jakub Jelinek <jakub@redhat.com>
1177 * elf/dl-close.c (_dl_close): Save imap->l_reldeps, not map->l_reldeps.
1179 * elf/Makefile (distribute): Add reldep4mod[1234].c.
1180 (tests): Add reldep4.
1181 (modules-names): Add reldep4mod[1234].
1182 (reldep4mod1.so, reldep4mod2.so, reldep4, reldep4.out): New rules.
1183 * elf/reldep4.c: New file.
1184 * elf/reldep4mod1.c: Likewise.
1185 * elf/reldep4mod2.c: Likewise.
1186 * elf/reldep4mod3.c: Likewise.
1187 * elf/reldep4mod4.c: Likewise.
1189 2001-05-18 Jakub Jelinek <jakub@redhat.com>
1191 * elf/dl-lookup.c (PROTECTED): Remove defines.
1192 (add_dependency): Mark it with internal_function.
1193 (_dl_do_lookup, _dl_do_lookup_versioned): New functions.
1194 (_dl_lookup_symbol, _dl_lookup_symbol_skip,
1195 _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip): Use
1196 it if we don't want do_lookup* inlined.
1198 2001-05-18 Jakub Jelinek <jakub@redhat.com>
1200 * include/link.h (struct r_scope_elem): Remove r_duplist and
1202 * elf/dl-load.c (_dl_map_object_from_fd): Don't initialize them.
1203 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Look in r_list, not
1205 (_dl_lookup_versioned_symbol_skip): Likewise.
1206 * elf/dl-deps.c (struct list): Remove dup field, rename unique to next.
1207 (_dl_map_object_deps): Don't compute duplicate list.
1209 * elf/dl-symbol.c: Removed.
1210 * elf/Makefile (routines): Remove dl-symbol.
1212 2001-05-22 Ulrich Drepper <drepper@redhat.com>
1214 * po/el.po: Update from translation team.
1215 * po/sv.po: Likewise.
1217 2001-05-20 Bruno Haible <haible@clisp.cons.org>
1219 * iconvdata/cp1255.c: Completely rewritten.
1220 * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1255.
1221 * iconvdata/testdata/WINDOWS-1255: New file.
1222 * iconvdata/testdata/WINDOWS-1255..UTF8: New file.
1223 * iconvdata/TESTS: Add WINDOWS-1255 test.
1224 * iconvdata/CP1255.irreversible: New file.
1226 2001-05-20 Bruno Haible <haible@clisp.cons.org>
1228 * iconvdata/cp1258.c: Completely rewritten.
1229 * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1258.
1230 * iconvdata/testdata/WINDOWS-1258: New file.
1231 * iconvdata/testdata/WINDOWS-1258..UTF8: New file.
1232 * iconvdata/TESTS: Add WINDOWS-1258 test.
1233 * iconvdata/tst-table-from.c (try): Reset the iconv descriptor before
1234 the main call, and flush it afterwards.
1235 (utf8_decode): Return a string, possibly containing several Unicode
1237 (main): Update all utf8_decode calls.
1238 * iconvdata/CP1258.irreversible: New file.
1240 2001-05-20 Bruno Haible <haible@clisp.cons.org>
1242 * iconv/gconv.c (__gconv): For flush without output, pass do_flush = 2.
1243 * iconv/skeleton.c: Distinguish do_flush = 1 and do_flush = 2. In the
1244 first case, set outbuf, outstart, outend, and call PREPARE_LOOP before
1245 EMIT_SHIFT_TO_INIT; then pass the output produced by this step down to
1246 the next step. In the second case, clear the state without calling
1248 * iconvdata/ibm930.c (EMIT_SHIFT_TO_INIT): Use outbuf instead of
1249 data->__outbuf, and outend instead of data->__outbufend.
1250 * iconvdata/ibm933.c (EMIT_SHIFT_TO_INIT): Likewise.
1251 * iconvdata/ibm935.c (EMIT_SHIFT_TO_INIT): Likewise.
1252 * iconvdata/ibm937.c (EMIT_SHIFT_TO_INIT): Likewise.
1253 * iconvdata/ibm939.c (EMIT_SHIFT_TO_INIT): Likewise.
1254 * iconvdata/iso-2022-cn.c (EMIT_SHIFT_TO_INIT): Likewise.
1255 * iconvdata/iso-2022-cn-ext.c (EMIT_SHIFT_TO_INIT): Likewise.
1256 * iconvdata/iso-2022-jp.c (EMIT_SHIFT_TO_INIT): Likewise.
1257 * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Likewise.
1258 * iconvdata/utf-7.c (EMIT_SHIFT_TO_INIT): Likewise.
1260 2001-05-21 Jakub Jelinek <jakub@redhat.com>
1262 * elf/rtld.c (dl_main): Compute l_map_end for the main program.
1263 * elf/dl-sym.c (_dl_sym): Don't check for l_addr == 0.
1264 If match == _dl_loaded, caller can still come from the main program.
1265 (_dl_vsym): Likewise.
1266 * elf/dl-open.c (dl_open_worker): Don't check for l_addr == 0.
1267 * elf/dl-error.c (_dl_signal_error): Change NULL objname into "".
1268 * elf/restest2.c: New test.
1269 * elf/Makefile (tests): Add restest2.
1270 (restest2, LDFLAGS-restest2): Add rules.
1272 2001-05-22 Ulrich Drepper <drepper@redhat.com>
1274 * intl/Makefile: Add a few more dependencies to avoid races in the
1277 2001-05-22 Andreas Jaeger <aj@suse.de>
1279 * sysdeps/ieee754/ldbl-128/s_log1pl.c: New file, contributed by
1280 Stephen L Moshier <moshier@mediaone.net>.
1282 2001-05-22 Martin Schwidefsky <schwidefsky@de.ibm.com>
1284 * sysdeps/s390/s390-32/backtrace.c: Make backtrace return the
1285 return addresses instead of the stack pointers.
1286 * sysdeps/s390/s390-64/backtrace.c: Likewise.
1288 2001-05-21 Jakub Jelinek <jakub@redhat.com>
1290 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Include
1291 bits/sigcontext.h instead of bits/sigstack.h.
1292 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Add
1293 multiple-inclusion guards.
1295 2001-05-21 Andreas Jaeger <aj@suse.de>
1297 * locale/programs/ld-collate.c (handle_ellipsis): Fix message.
1298 Patch by Philipp Thomas <pthomas@suse.de>.
1300 2001-05-17 Bruce Mitchener <bruce@cubik.org>
1302 * manual/arpg.texi: Spelling, misc fixes.
1303 * manual/arith.texi: Likewise.
1304 * manual/crypt.texi: Likewise.
1305 * manual/debug.texi: Likewise.
1306 * manual/getopt.texi: Likewise.
1307 * manual/intro.texi: Likewise.
1308 * manual/memory.texi: Likewise.
1309 * manual/nss.texi: Likewise.
1310 * manual/pattern.texi: Likewise.
1311 * manual/process.texi: Likewise.
1312 * manual/resource.texi: Likewise.
1313 * manual/search.texi: Likewise.
1314 * manual/setjmp.texi: Likewise.
1315 * manual/signal.texi: Likewise.
1316 * manual/socket.texi: Likewise.
1317 * manual/stdio.texi: Likewise.
1318 * manual/string.texi: Likewise.
1319 * manual/sysinfo.texi: Likewise.
1320 * manual/terminal.texi: Likewise.
1321 * manual/llio.texi: Document madvise().
1323 2001-05-20 Roland McGrath <roland@frob.com>
1325 * Makeconfig (sysdep-makeconfigs): Include any Makeconfig files
1326 found within $(add-ons) directories too.
1327 [linuxthreads add-on]: Move variable settings for linuxthreads
1328 to new file linuxthreads/Makeconfig.
1330 2001-05-20 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1332 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
1333 Define for linux >= 2.4.5 on powerpc.
1334 (__ASSUME_MMAP2_SYSCALL): Likewise.
1336 2001-05-19 Roland McGrath <roland@frob.com>
1338 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Don't leak the
1339 result port when failing with ELOOP. Do the ELOOP check when
1340 following an absolute symlink target as well as relative.
1341 Remove #ifdef SYMLOOP_MAX conditional--it should always be defined.
1343 2001-05-18 Andreas Jaeger <aj@suse.de>
1345 * po/fr.po: Free software is "logiciel libre".
1346 Patch by Martin Michlmayr <tbm@cyrius.com>.
1348 * sysdeps/powerpc/elf/libc-start.c: Use __cxa_atexit.
1349 Patch by ekato@ees.hokudai.ac.jp, closes PR libc/2271.
1351 2001-05-17 David Mosberger <davidm@hpl.hp.com>
1353 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: New file.
1355 2001-05-17 Ulrich Drepper <drepper@redhat.com>
1357 * elf/dl-profile.c (_dl_mcount): Check whether state is
1358 GMON_PROF_ON before doing anything.
1360 2001-05-17 H.J. Lu <hjl@gnu.org>
1362 * elf/sprof.c (read_symbols): Move "++symtab" into the while loop.
1364 2001-05-17 Ulrich Drepper <drepper@redhat.com>
1366 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Use
1367 CHECK_SIGSET_NULL_OK and not CHECK_SIGSET for all parameters.
1368 Reported by Mark Burton <markb@ordern.com>.
1370 2001-05-17 Jakub Jelinek <jakub@redhat.com>
1372 * elf/ldconfig.c (add_dir): Only warn about stat failure if
1374 (search_dir): Likewise.
1376 2001-05-17 Ulrich Drepper <drepper@redhat.com>
1378 * sysdeps/i386/i486/atomicity.h (exchange_and_add): Correct second
1379 parameter of xaddl. Patch by H . J . Lu <hjl@lucon.org>.
1381 2001-05-14 Bruno Haible <haible@clisp.cons.org>
1383 * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): If SO is seen
1384 without previous announcement, reject it regularly, don't abort.
1386 2001-05-16 Ulrich Drepper <drepper@redhat.com>
1388 * math/tgmath.h: Fix handling of int parameters to binary and
1389 ternary functions. Reported by mitr@volny.cz.
1391 * math/test-tgmath.c: Add tests for calls with integer parameters.
1393 2001-05-15 Jakub Jelinek <jakub@redhat.com>
1395 * sunrpc/rpc_thread.c (rpc_default): Remove.
1396 (__rpc_thread_destroy): Use __libc_tsd_RPC_VARS_mem instead of
1398 (rpc_thread_multi, __rpc_thread_svc_fdset, __rpc_thread_createerr,
1399 __rpc_thread_svc_pollfd, __rpc_thread_svc_max_pollfd): Likewise.
1400 * sunrpc/auth_none.c (authnone_private): Fix a typo.
1402 2001-05-16 Martin Schwidefsky <schwidefsky@de.ibm.com>
1404 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Fix stack allocation.
1406 2001-05-16 Bruce Mitchener <bruce@cubik.org>
1408 * manual/llio.texi: Many grammar and typo fixes to the section on AIO.
1410 2001-05-15 Andreas Jaeger <aj@suse.de>
1412 * sysdeps/ieee754/ldbl-128/s_expm1l.c: New file, contributed by
1413 Stephen L Moshier <moshier@mediaone.net>.
1415 * sysdeps/i386/fpu/libm-test-ulps: Adjust for change.
1417 * math/libm-test.inc: Add comment with ToDo.
1419 * sysdeps/i386/fpu/e_expl.c: Rewritten to C and using a more
1420 accurate algorithm. Patch by Stephen L Moshier <moshier@mediaone.net>.
1422 * sysdeps/i386/fpu/e_expl.S: Removed.
1424 2001-05-14 Roland McGrath <roland@frob.com>
1426 * csu/Makefile ($(objpfx)g$(start-installed-name)): Turn this into a
1427 static pattern rule also that also covers
1428 $(objpx)g$(static-start-installed-name).
1429 [$(start-installed-name) != $(static-start-installed-name)]
1430 (extra-objs, omit-deps, install-lib): Add
1431 $(static-start-installed-name) and g$(static-start-installed-name).
1432 * sysdeps/mach/hurd/i386/Makefile: Don't add crt0.o to those here;
1433 just setting static-start-installed-name is now sufficient.
1434 (extra-objs): Add static-start.o here.
1435 (CFLAGS-initfini.s): Remove obsolete variable.
1436 * sysdeps/mach/hurd/i386/Makeconfig: New file.
1437 Define static-start-installed-name here.
1439 * Makeconfig: Include existing $(full_config_sysdirs:=/Makeconfig).
1440 * Make-dist (+sysdep-tsrcs): Look for Makeconfig files.
1442 * Makerules ($(+sysdir_pfx)sysd-Makefile): Remove this target and
1443 associated hair. Instead, just use $(wildcard ...) in the include.
1445 * configure.in (critic_missing, aux_missing): Collect in these vars
1446 the names of the missing programs, and include them in the error msgs.
1447 * configure: Regenerated.
1449 2001-05-14 Andreas Jaeger <aj@suse.de>
1451 * sysdeps/i386/fpu/libm-test-ulps: Adjust for new tests.
1453 * math/libm-test.inc (tanh_test): Add testcases for last tanh bug.
1455 2001-05-14 Stephen L Moshier <moshier@mediaone.net>
1457 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Fix sign test.
1459 2001-05-11 Jakub Jelinek <jakub@redhat.com>
1461 * posix/regex.c (re_match_2_internal): Swap mbs_offset and csize
1462 as well if swapping strings.
1463 Make sure stop is not past end of second string.
1464 * posix/bug-regex4.c: New test.
1465 * posix/Makefile (tests): Add bug-regex4.
1467 2001-05-10 Andreas Jaeger <aj@suse.de>
1469 * manual/install.texi (Linux): Clarify that Linux 2.2 is minimal
1472 2001-05-12 Andreas Jaeger <aj@suse.de>
1474 * sysdeps/ieee754/dbl-64/s_sin.c: Include "math_private.h" for
1475 internal prototypes.
1476 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1477 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1478 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1479 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1480 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1481 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1482 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
1484 * math/math_private.h: Add prototypes for internal functions of
1485 the IBM Accurate Mathematical Library.
1487 * sysdeps/ieee754/dbl-64/s_atan.c: Include "math.h" for
1489 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1491 * sysdeps/ieee754/dbl-64/e_asin.c: Include "math_private.h" for
1492 internal prototypes.
1493 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1494 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1495 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1496 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1497 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1498 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1499 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1500 * sysdeps/generic/e_rem_pio2l.c: Likewise.
1501 (__ieee754_rem_pio2l): Fix prototype.
1503 * math/math_private.h (__copysign): Add internal prototype.
1505 2001-05-11 Andreas Jaeger <aj@suse.de>
1507 * sysdeps/unix/sysv/linux/configure.in: Move binutils check to...
1508 * sysdeps/unix/sysv/linux/mips/configure.in: ...here. New file.
1510 2001-05-11 Andreas Jaeger <aj@suse.de>
1512 * sysdeps/unix/sysv/linux/configure.in: Check binutils version on
1515 * sysdeps/mips/rtld-ldscript.in: Removed unneeded binary output
1516 format directive. Patch by Steven J. Hill <sjhill@cotw.com>.
1518 2001-05-11 Roland McGrath <roland@frob.com>
1520 * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't use
1521 $(build-module) here, since we don't need the full magilla.
1522 Just use $(build-module-helper) and append our special options.
1524 2001-05-09 Andreas Schwab <schwab@suse.de>
1526 * sysdeps/unix/readdir.c: Make sure we don't modify errno when we
1529 2001-05-07 H.J. Lu <hjl@gnu.org>
1531 * elf/ldconfig.c (dir_entry): Add ino and dev.
1532 (add_single_dir): Compare ino and dev to check if 2 directory
1533 paths are the same or not. Free entry->path for duplicates.
1534 (add_dir): Initialize ino and dev for entry.
1535 (search_dir): Handle symlink to directory.
1537 2001-05-07 Andreas Jaeger <aj@suse.de>
1539 * sysdeps/i386/fpu/libm-test-ulps: Add ulps for new exp tests.
1541 * math/libm-test.inc (exp_test): Add some more tests.
1542 (pow_test): Run double only test also for long double.
1544 * math/test-ldouble.c (TEST_LDOUBLE): Define.
1545 * math/test-ildoubl.c (TEST_LDOUBLE): Likewise.
1547 * sysdeps/generic/bits/confname.h: Remove extra comma at end of
1549 Closes PR libc/2240.
1551 * scripts/config.guess: Imported from gnu.org.
1552 * scripts/config.sub: Likewise.
1554 2001-05-05 Jakub Jelinek <jakub@redhat.com>
1556 * include/features.h (__USE_EXTERN_INLINES): Don't define if
1557 __NO_INLINE__ is defined.
1558 * ctype/ctype.h (tolower, toupper): Change the guard condition to
1559 __USE_EXTERN_INLINES check only.
1560 * stdlib/stdlib.h (strtod, ...): Likewise.
1561 * wcsmbs/wchar.h (mbrlen): Likewise.
1562 * string/string.h: Only include bits/string.h and bits/string2.h
1563 if __NO_INLINE__ is not defined.
1565 2001-05-07 Andreas Jaeger <aj@suse.de>
1567 * debug/Makefile ($(objpfx)xtrace): Substitute @SLIBDIR@ instead
1570 2001-05-04 H.J. Lu <hjl@gnu.org>
1572 * malloc/Makefile ($(objpfx)memusage): Substitute @SLIBDIR@
1575 2001-05-06 Andreas Jaeger <aj@suse.de>
1577 * sysdeps/i386/fpu/e_fmodl.c: New, rewrite of e_fmodl.S.
1578 * sysdeps/i386/fpu/e_fmodl.S: Removed.
1579 * sysdeps/i386/fpu/e_atan2l.c: New, rewrite of e_atan2l.S.
1580 * sysdeps/i386/fpu/e_atan2l.S: Removed.
1581 * sysdeps/i386/fpu/e_acosl.c: New, rewrite of e_acos.S.
1582 * sysdeps/i386/fpu/s_atanl.c: New, rewrite of e_atanl.S.
1583 * sysdeps/i386/fpu/e_sqrtl.c: New, rewrite of e_sqrt.S.
1584 * sysdeps/i386/fpu/e_acosl.S: Removed.
1585 * sysdeps/i386/fpu/s_atanl.S: Removed.
1586 * sysdeps/i386/fpu/e_sqrtl.S: Removed.
1588 2001-05-05 Mark Kettenis <kettenis@gnu.org>
1590 * sysdeps/mach/hurd/bits/environments.h: Add comment from
1591 sysdeps/generic/bits/environments.h. Define _POSIX_V6_* values.
1593 2001-04-30 Jakub Jelinek <jakub@redhat.com>
1595 * posix/confstr.c (confstr) [_CS_V6_WIDTH_RESTRICTED_ENVS]: Move so
1596 that _CS_LFS_CFLAGS can fall through to the empty returned string
1597 case. Add FALLTHROUGH comment.
1599 2001-04-29 Ralf Baechle <ralf@gnu.org>
1601 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Make structure
1602 definitions match the kernel definitions.
1603 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
1604 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
1606 2001-04-29 Ben Collins <bcollins@debian.org>
1608 * sysdeps/sparc/sparc64/dl-machine.h: Fix multiline strings
1610 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Likewise.
1611 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
1612 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
1613 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Likewise.
1614 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Likewise.
1615 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
1616 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
1617 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
1618 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
1619 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
1620 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
1621 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
1622 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Likewise.
1623 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
1624 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Likewise.
1625 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
1626 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
1627 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1628 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1629 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Likewise.
1630 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Likewise.
1631 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Likewise.
1632 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
1634 2001-04-29 Andreas Schwab <schwab@suse.de>
1636 * sysdeps/unix/sysv/linux/kernel-features.h: Fix missing backslash
1639 2001-04-29 Andreas Jaeger <aj@suse.de>
1641 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
1642 Define for Arm, PowerPC and SH if kernel is 2.4.4 or newer.
1644 * sysdeps/unix/sysv/linux/bits/socket.h (PF_WANPIPE): New, from
1646 (AF_WANPIPE): Likewise.
1649 * sysdeps/unix/sysv/linux/alpha/bits/socket.h: Add same changes as
1650 for Linux generic version.
1651 * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Likewise.
1652 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
1653 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
1654 * sysdeps/unix/sysv/linux/ia64/bits/socket.h: Likewise.
1656 * sysdeps/gnu/netinet/tcp.h (TCP_QUICKACK): New.
1658 2001-04-27 Ulrich Drepper <drepper@redhat.com>
1660 * nis/nss-nis.h: Correct test for invalid error number.
1661 * nis/nss-nisplus.h: Likewise.
1663 * nis/Makefile (libnss_compat-rountines): Add nss-nisplus.
1665 2001-04-26 Ulrich Drepper <drepper@redhat.com>
1667 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getunwind.
1669 * string/strcoll.c: Fix two memory allocation problems.
1670 * string/Makefile (tests): Add bug-strcoll1.
1671 * string/bug-strcoll1.c: New file.
1673 * malloc/mcheck.c (mcheck): Call malloc once before setting the
1674 hooks to allow the internal check hooks to be set up if necessary.
1676 * nis/nss-nis.h: Move yperr2nss_tab definition into separate file
1677 and rename to __yperr2nss_tab. Change YPERR_COUNT into variable
1679 * nis/nss-nis.c: New file.
1680 * nis/nss-nisplus.h: Move niserr2nss_tab definition into separate file
1681 and rename to __niserr2nss_tab. Change NISERR_COUNT into variable
1683 * nis/nss-nisplus.c: New file.
1684 * nis/Makefile (libnss_compat-routines): Add nss-nis.
1685 (libnss_nis-routines): Likewise.
1686 (libnss_nisplus-routines): Add nss-nisplus.
1688 * nis/nss_nisplus/nisplus-alias.c: Remove unnecessary initializations.
1689 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
1690 * nis/nss_nisplus/nisplus-grp.c: Likewise.
1691 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
1692 * nis/nss_nisplus/nisplus-network.c: Likewise.
1693 * nis/nss_nisplus/nisplus-proto.c: Likewise.
1694 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
1695 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
1696 * nis/nss_nisplus/nisplus-service.c: Likewise.
1697 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
1698 * nis/nss_nis/nis-alias.c: Likewise.
1699 * nis/nss_nis/nis-ethers.c: Likewise.
1700 * nis/nss_nis/nis-grp.c: Likewise.
1701 * nis/nss_nis/nis-network.c: Likewise.
1702 * nis/nss_nis/nis-proto.c: Likewise.
1703 * nis/nss_nis/nis-pwd.c: Likewise.
1704 * nis/nss_nis/nis-spwd.c: Likewise.
1705 * nis/nss_compat/compat-grp.c: Likewise.
1706 * nis/nss_compat/compat-initgroups.c: Likewise.
1707 * nis/nss_compat/compat-pwd.c: Likewise.
1708 * nis/nss_compat/compat-spwd.c: Likewise.
1710 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Some more
1711 optimizations. Patch by Jakub Jelinek <jakub@redhat.com>.
1713 2001-04-26 Andreas Jaeger <aj@suse.de>
1715 * po/zh_TW.po: Update.
1716 Patch by Tung-Han Hsieh <thhsieh@tlug.sinica.edu.tw>.
1718 2001-04-25 Ulrich Drepper <drepper@redhat.com>
1720 * malloc/malloc.c: Allow MALLOC_ALIGNMENT to be defined on the
1721 compiler command line.
1722 * sysdeps/hppa/Makefile: Add -DMALLOC_ALIGNMENT=16 to compiler
1723 command line for malloc.c.
1725 2001-04-25 Jakub Jelinek <jakub@redhat.com>
1727 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: Move to...
1728 * sysdeps/unix/sysv/linux/sparc/bits/time.h: ...here.
1729 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: Remove.
1730 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: Move to...
1731 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: ...here. Adjust
1732 struct msghdr for __WORDSIZE == 32.
1733 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: Move to...
1734 * sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: ...here. Adjust
1735 for __WORDSIZE == 32.
1736 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Remove.
1737 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c: New
1739 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_siglongjmp):
1740 Rename from longjmp, make longjmp weak alias to it.
1742 2001-04-24 David S. Miller <davem@redhat.com>
1744 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: New file.
1746 2001-04-25 Matthew Wilcox <willy@ldl.fc.hp.com>
1748 * sysdeps/hppa/stackinfo.h: New file.
1749 * sysdeps/unix/sysv/linux/hppa/getdents64.c: New file.
1750 * sysdeps/unix/sysv/linux/hppa/mmap64.c: New file.
1751 * sysdeps/unix/sysv/linux/hppa/bits/resource.h: New file.
1752 * sysdeps/unix/sysv/linux/kernel-features.h: Add descriptions
1753 of PA kernel features.
1755 2001-04-25 Ulrich Drepper <drepper@redhat.com>
1757 * locale/programs/localedef.c (main): Always set a file name for
1759 * locale/programs/locfile.c (locfile_read): filename is allowed to
1762 2001-04-12 Paul Bame <paul_bame@hp.com>
1764 * sysdeps/hppa/fpu/fclrexcpt.c: Clear the exception flags, not the
1767 2001-04-24 Ulrich Drepper <drepper@redhat.com>
1769 * sysdeps/generic/bits/environments.h (_POSIX_V6_LPBIG_OFFBIG,
1770 _XBS5_LPBIG_OFFBIG): Define to -1.
1773 * sysdeps/generic/bits/confname.h: Add _CS_V6_WIDTH_RESTRICTED_ENVS.
1774 * posix/confstr.c: Handle _CS_V6_WIDTH_RESTRICTED_ENVS.
1775 * posix/getconf.c: Handle _POSIX_V6_WIDTH_RESTRICTED_ENVS.
1776 * posix/tst-getconf.sh: Add _POSIX_V6_WIDTH_RESTRICTED_ENVS.
1778 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/Implies: New file.
1779 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: Removed.
1781 2001-03-21 Alan Modra <alan@one.net.au>
1783 * sysdeps/hppa/dl-machine.h (RTLD_START): Set up dp with DT_PLTGOT
1784 value from application so that constructors in non-PIC libs work.
1786 2000-12-13 Jes Sorensen <jes@linuxcare.com>
1788 * sysdeps/hppa/dl-machine.h (RTLD_START): _dl_init now returns a
1789 function pointer, hence load the jump address and gp from the
1790 function pointer before jumping.
1792 2001-04-24 Andreas Jaeger <aj@suse.de>
1794 * sysdeps/generic/send.c (__send): Return ssize_t.
1795 * sysdeps/mach/hurd/send.c (__send): Likewise.
1796 * sysdeps/mach/hurd/recv.c (recv): Likewise.
1797 * sysdeps/mach/hurd/sendto.c (sendto): Likewise.
1798 * sysdeps/generic/sendto.c (sendto): Likewise.
1799 * sysdeps/generic/recvmsg.c (recvmsg): Likewise.
1800 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
1801 * sysdeps/generic/recvfrom.c (recvfrom): Likewise.
1802 * sysdeps/generic/sendmsg.c (sendmsg): Likewise.
1804 * socket/sys/socket.h: send* and recv* return ssize_t.
1806 * include/sys/socket.h: send returns ssize_t.
1808 * sysdeps/i386/fpu_control.h: Fix comments.
1810 2001-04-24 Ulrich Drepper <drepper@redhat.com>
1812 * sysdeps/ia64/Dist: Add hp-timing.c.
1813 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add ucontext_i.h.
1814 * posix/Makefile (distribute): Add tst-getconf.sh.
1815 * po/Makefile (distribute): Add $(BROKEN_LINGUAS:=.po).
1817 2001-04-23 Ulrich Drepper <drepper@redhat.com>
1819 * sysdeps/ia64/Makefile [subdir=csu] (sysdep_routines): Add hp-timing.
1820 * sysdeps/ia64/Versions: Add _dl_cpuclock_offset for ld in 2.2.3.
1821 * sysdeps/ia64/hp-timing.c: New file.
1822 * sysdeps/ia64/hp-timing.h: New file.
1823 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Add definitions for
1824 CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
1826 * sysdeps/generic/clock_getcpuclockid.c: Make function generic, test
1827 using #ifdef whether the clock is available.
1828 * sysdeps/unix/i386/clock_getcpuclockid.c: Not needed anymore.
1830 * sysdeps/generic/dl-sysdep.c: Initialize _dl_cpuclock_offset to move
1831 it into data section.
1833 * sysdeps/unix/i386/i586/clock_getres.c: Removed.
1834 * sysdeps/unix/i386/i586/clock_gettime.c: Removed.
1835 * sysdeps/unix/i386/i586/clock_nanosleep.c: Removed.
1836 * sysdeps/unix/i386/i586/clock_settime.c: Removed.
1837 * sysdeps/unix/i386/i586/cpuclock-init.h: Removed.
1838 * sysdeps/generic/cpuclock-init.h: Removed.
1839 * sysdeps/unix/i386/i686/Implies: Removed.
1840 * sysdeps/unix/i386/i686/tempname.c: Removed.
1841 * sysdeps/i386/i686/Versions: New file.
1842 * sysdeps/unix/i386/i586/Versions: Removed.
1844 * sysdeps/posix/clock_getres.c: If HP_TIMING_AVAIL is nonzero handle
1845 CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
1846 * sysdeps/unix/clock_gettime.c: Likewise.
1847 * sysdeps/unix/clock_nanosleep.c: Likewise.
1848 * sysdeps/unix/clock_settime.c: Likewise.
1849 * sysdeps/posix/tempname.c: Is HP_TIMING_AVAIL is nonzero define
1850 RANDOM_BITS use CPU clock.
1852 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: New file.
1853 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: New file.
1854 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: New file.
1855 * sysdeps/sparc/Versions: New file.
1857 * elf/dl-support.c: Don't use cpuclock-init.h definitions, use
1858 hp-timing.h definitions.
1859 * sysdeps/generic/dl-sysdep.c: Likewise.
1861 * include/libc-internal.h: Include hp-timing.h. Use hp_timing_t in
1862 __get_clockfreq prototype.
1864 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1865 Use hp_timing_t type.
1866 * sysdeps/generic/get_clockfreq.c (__get_clockfreq): Likewise.
1868 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: New file.
1870 * sysdeps/posix/pathconf.c (__pathconf): For _PC_ASYNC_IO test
1871 whether named file is a regular file or a block device.
1872 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
1874 2001-04-23 Andreas Jaeger <aj@suse.de>
1876 * nscd/nscd.h: Add noreturn attribute for start_threads.
1878 2001-04-22 Ulrich Drepper <drepper@redhat.com>
1880 * posix/getconf.c: Fix names of XBS5 LFS test variables.
1881 Add missing configuration variables from XPG6.
1882 * posix/tst-getconf.c: New file.
1883 * posix/Makefile (generated): Add tst-getconf.out.
1884 (tests): Add ($objpfx)tst-getconf.out.
1885 Add rule to run tst-getconf.sh.
1886 * sysdeps/generic/bits/confname.h: Add missing _PC_ and _SC_ values
1888 * sysdeps/posix/fpathconf.c: Add handling of _PC_ALLOC_SIZE_MIN and
1890 * sysdeps/posix/pathconf.c: Likewise.
1891 * sysdeps/posix/sysconf.c: Correct spelling of _SC_MULTI_PROCESS
1892 and _SC_SYMLOOP_MAX.
1894 2001-04-22 Philip Blundell <philb@gnu.org>
1896 * sysdeps/arm/fpu/feenablxcpt.c: New file.
1897 * sysdeps/arm/fpu/fedisablxcpt.c: New file.
1898 * sysdeps/arm/fpu/fegetexcpt.c: New file.
1900 2001-04-22 Philip Blundell <philb@gnu.org>
1902 * sysdeps/unix/sysv/linux/arm/sys/user.h (struct user_fpregs):
1903 Renamed from struct user_fp.
1904 (struct user_regs): New.
1905 (struct user): Use struct user_regs rather than struct pt_regs to
1906 avoid dependency on asm/ptrace.h. Use struct user_fpregs in place
1907 of struct user_fp and struct user_fp_struct.
1908 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Include sys/procfs.h
1911 2001-04-22 Philip Blundell <philb@gnu.org>
1913 * sysdeps/unix/sysv/linux/arm/sys/elf.h: Move contents to
1914 sys/procfs.h, and tell the user to include that file instead.
1915 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove old cruft
1916 surrounded with #if 0.
1917 (elf_greg_t, ELF_NGREG, elf_gregset_t, elf_fpregset_t): Moved here
1919 (prgregset_t, prfpregset_t): Define in terms of elf_gregset_t and
1920 elf_fpregset_t respectively.
1922 2001-04-22 Philip Blundell <philb@gnu.org>
1924 * sysdeps/unix/sysv/linux/arm/register-dump.h: Also print the
1925 address that faulted.
1927 2001-04-21 Ulrich Drepper <drepper@redhat.com>
1929 * sysdeps/generic/bits/confname.h: Add _SC_V6_* and _CS_POSIX_V6_*
1931 * sysdeps/generic/bits/environments.h: Define _POSIX_V6_* values.
1932 * posix/confstr.c: Handle _CS_POSIX_V6_* values.
1933 * posix/getconf.c: Handle _CS_POSIX_V6_* and _SC_V6_* values.
1934 * sysdeps/posix/sysconf.c: Handle _SC_V6_* values.
1936 * sysdeps/powerpc/fpu/libm-test-ulps: Add deltas for atan2f.
1937 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1938 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1939 * sysdeps/mips/fpu/libm-test-ulps: Likewise.
1941 2001-04-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1943 * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correct check for invalid
1946 2001-04-21 Ulrich Drepper <drepper@redhat.com>
1948 * posix/getopt.h: Treat __cplusplus like __STDC__.
1950 2001-04-20 John S. Marvin <jsm@fc.hp.com>
1952 * sysdeps/unix/sysv/linux/hppa/clone.S: Fix clone system call
1955 2001-04-20 Richard Hirst <rhirst@linuxcare.com>
1957 * elf/elf.h: Corrected R_PARISC_DIR14R (should be 6, not 5),
1958 and added R_PARISC_DPREL21L and R_PARISC_DPREL14R for modutils.
1960 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Removed ptrace
1961 entry so the ptrace.c wrapper is used.
1963 2001-04-20 Alan Modra <amodra@one.net.au>
1965 * sysdeps/hppa/dl-lookupcfg.h (_dl_function_address): Prototype.
1966 (DL_FUNCTION_ADDRESS): Define.
1967 (DL_DT_INIT_ADDRESS): Define.
1968 (DL_DT_FINI_ADDRESS): Define.
1969 * sysdeps/hppa/Versions: Add _dl_function_address.
1970 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_START_ADDRESS): Define.
1971 * sysdeps/hppa/dl-symaddr.c (_dl_start_address): Rename to
1972 _dl_function_address.
1974 2001-04-21 Andreas Jaeger <aj@suse.de>
1976 * rt/aio_misc.c (handle_fildes_io): Add noreturn attribute.
1977 * resolv/gai_misc.c (handle_requests): Likewise.
1978 * malloc/obstack.c (print_and_abort): Likewise.
1979 * malloc/mcheck.c (mabort): Likewise.
1981 * sysdeps/unix/i386/i586/clock_settime.c: Include
1982 "libc-internal.h" for __get_clockfreq declaration.
1984 2001-04-21 Ulrich Drepper <drepper@redhat.com>
1986 * elf/dl-support.c: Include cpuclock-init.h. Use CPUCLOCK_VARDEF and
1987 CPUCLOCK_INIT if defined.
1988 * sysdeps/generic/dl-sysdep.c: Likewise.
1989 * sysdeps/generic/cpuclock-init.h: New file.
1990 * sysdeps/unix/i386/i586/cpuclock-init.h: New file.
1991 * sysdeps/unix/i386/i586/Versions: New file.
1992 * sysdeps/unix/i386/i586/clock_settime.c: New file.
1993 * sysdeps/unix/i386/i586/clock_gettime.c: Handle thread CPU clock
1994 separately by calling __pthread_clock_gettime if this function is
1995 available. Subtract offset from tsc value before computing time value.
1997 2001-04-20 Ulrich Drepper <drepper@redhat.com>
1999 * iconv/iconv_prog.c (print_known_names): If printing goes not to
2000 a tty print in a more machine-friendly way.
2002 * sysdeps/ieee754/ldbl-128/e_asinl.c: New file.
2003 Contributed by Stephen L Moshier <moshier@mediaone.net>.
2005 2001-04-20 Andreas Jaeger <aj@suse.de>
2007 * intl/Makefile (tests): Reorder conditions, tst-gettext needs msgfmt.
2009 2001-04-20 Andreas Schwab <schwab@suse.de>
2011 * sysdeps/m68k/fpu/libm-test-ulps: Update.
2013 2001-04-19 Alan Modra <amodra@one.net.au>
2015 * Makerules (libc_pic.os): Add $(LDFLAGS-c_pic.os).
2016 * sysdeps/hppa/Makefile (LDFLAGS-c_pic.os): Define.
2017 (CFLAGS-.os): Remove.
2019 * sysdeps/unix/sysv/linux/hppa/sysdep.h (CALL_MCOUNT): Update comment.
2021 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG, NFPREG,
2022 gregset): Correct for new kernel definitions.
2024 2001-04-19 Alan Modra <alan@linuxcare.com.au>
2026 * sysdeps/hppa/elf/initfini.c: Change dlt reg save to r3 and
2027 generate unwind info by hand.
2029 2001-04-19 Ulrich Drepper <drepper@redhat.com>
2031 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Optimize a bit.
2033 * configure.in: Correct regular expression for msgfmt.
2034 Patch by Bruno Haible <haible@ilog.fr>.
2036 2001-04-19 Andreas Jaeger <aj@suse.de>
2038 * po/el.po: Add comment explaining what's broken.
2040 * po/Makefile (BROKEN_LINGUAS): New.
2041 (ALL_LINGUAS): Don't add broken languages.
2043 2001-04-19 Roland McGrath <roland@frob.com>
2045 * sysdeps/mach/hurd/mlock.c: New file.
2046 * sysdeps/mach/hurd/munlock.c: New file.
2047 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK_RANGE): Define it.
2049 * misc/Makefile (routines): Add mlock munlock mlockall munlockall.
2050 * sysdeps/generic/mlock.c: New file.
2051 * sysdeps/generic/munlock.c: New file.
2052 * sysdeps/generic/mlockall.c: New file.
2053 * sysdeps/generic/munlockall.c: New file.
2054 * sysdeps/generic/bits/mman.h (MCL_CURRENT, MCL_FUTURE): New macros.
2055 * sysdeps/unix/sysv/linux/syscalls.list (mlock, munlock,
2056 mlockall, munlockall): Change caller field to - from EXTRA.
2057 Don't use __ names; not used (and not declared in include/sys/mman.h).
2059 * hurd/privports.c (__get_privileged_ports): Renamed with __.
2060 Use __ names for calls we make.
2061 (get_privileged_ports): Add alias.
2062 * hurd/hurd.h: Declare it with the __ name.
2063 * sysdeps/mach/hurd/reboot.c (reboot): Use __get_privileged_ports.
2064 * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
2065 * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
2067 * hurd/hurdsig.c (write_corefile): Check RLIMIT_CORE limit and do
2068 nothing if it's zero.
2070 2001-04-19 Matthew Wilcox <willy@ldl.fc.hp.com>
2072 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL):
2073 Change to return a signed result for compatibility with other
2074 architectures, and correctness.
2076 2001-04-19 Ulrich Drepper <drepper@redhat.com>
2078 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_32BITUIDS):
2079 HPPA always had them. Patch by Matthew Wilcox <matthew@wil.cx>.
2081 2001-04-19 Andreas Jaeger <aj@suse.de>
2083 * configure.in: Require gettext 0.10.36 or newer.
2085 * manual/install.texi (Tools for Compilation): Mention gettext 0.10.36.
2087 * po/zh_TW.po: Remove extraneous backslashes.
2089 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove unused
2092 2001-04-18 Jakub Jelinek <jakub@redhat.com>
2094 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
2095 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c: New file.
2096 * sysdeps/unix/sysv/linux/sparc/sparc64/swapcontext.c: New file.
2097 * sysdeps/unix/sysv/linux/sparc/sparc64/setcontext.S (__setcontext):
2098 Copy first word of uc_sigmask into __uc_sigmask.
2099 * sysdeps/unix/sysv/linux/sparc/sparc64/getcontext.S (__getcontext):
2100 Save uc_link around trap. Copy __uc_sigmask into first word of
2101 uc_sigmask, clear the rest. Make sure setcontext to the created
2102 context doesn't do this though.
2103 * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext_i.h: New file.
2104 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Add
2105 uc_stack and uc_sigmask, rename old uc_sigmask to __uc_sigmask in the
2106 64bit version, make uc_sigmask __sigset_t in the 32bit version.
2108 2001-04-19 Andreas Jaeger <aj@suse.de>
2110 * sysdeps/unix/sysv/linux/hppa/umount.c: Fix typos in last patch.
2112 * rt/Makefile (otherlibs): Added for static NSS.
2114 * glibcbug.in (BUGGLIBC): Send to new alias.
2116 2001-04-02 Andreas Schwab <schwab@suse.de>
2118 * Makerules (build-module): Make sure exit codes get checked
2119 properly and remove unnecessary slashes.
2121 2001-04-17 Ulrich Drepper <drepper@redhat.com>
2123 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2124 Handle kernels which report only three digits after the decimal point.
2125 Reported by Van Okamura <van.okamura@oracle.com>.
2127 * sysdeps/alpha/fpu/libm-test-ulps: Adjust error values for atan2f.
2129 2001-04-17 David S. Miller <davem@redhat.com>
2131 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update for new atan2 tests.
2132 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2134 2001-04-17 Jakub Jelinek <jakub@redhat.com>
2136 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Make sure
2137 desired exceptions are raised for exceptional values.
2138 * math/libm-test.inc (acosh_test, atan_test, atan2_test, cacos_test,
2139 cacosh_test, casin_test, casinh_test, catan_test, catanh_test,
2140 clog_test, log_test, log1p_test, tan_test): Increase precision of
2141 expected values to satisfy ldbl-128.
2142 * sysdeps/alpha/fpu/libm-test-ulps: Adjust accordingly.
2143 * sysdeps/arm/libm-test-ulps: Likewise.
2144 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2145 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2146 * sysdeps/m68k/fpu/libm-test-ulps: Likewise.
2147 * sysdeps/mips/fpu/libm-test-ulps: Likewise.
2148 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2149 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2150 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2151 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
2152 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2154 2001-04-17 Andreas Jaeger <aj@suse.de>
2156 * configure.in: Move test for critical programs up.
2158 2001-04-16 Stephen L Moshier <moshier@mediaone.net>
2160 * sysdeps/ieee754/flt-32/e_asinf.c (pio2_hi, pio2_lo, pio4_hi):
2162 (pSx, qSx): Replace by shorter approximation.
2163 Use f suffix on float constants.
2165 2001-04-16 Ulrich Drepper <drepper@redhat.com>
2167 * sysdeps/ieee754/ldbl-128/k_tanl.c: New file.
2168 Contributed by Stephen L Moshier <moshier@mediaone.net>.
2170 * string/string.h: Replace const in attribute list with __const__.
2172 2001-04-16 Roland McGrath <roland@frob.com>
2174 * grp/initgroups.c (initgroups) [NGROUPS_MAX != 0]: Always use sysconf
2175 instead of the constant NGROUPS_MAX. That way, the limit can be
2176 raised in the kernel configuration without having to recompile libc.
2178 * sysdeps/posix/euidaccess.c: Don't #include <limits.h> or try to
2179 define NGROUPS_MAX; we don't use it here.
2181 2001-04-16 Andreas Jaeger <aj@suse.de>
2183 * math/libm-test.inc (atan2_test): Add more testcases.
2185 * iconv/gconv_db.c: Include gconv_charset.h for
2186 __gconv_lookup_alias prototype.
2188 2001-04-13 Ulrich Drepper <drepper@redhat.com>
2190 * sysdeps/ieee754/ldbl-128/s_atanl.c: New file.
2191 Contributed by Stephen L Moshier <moshier@mediaone.net>.
2193 2001-04-13 Jes Sorensen <jes@linuxcare.com>
2195 * intl/tst-codeset.c: Include string.h to get prototype for strcmp().
2197 2001-04-13 Jes Sorensen <jes@linuxcare.com>
2199 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add __pad0 to
2200 explicitly pad struct siginfo instead of relying on compiler padding.
2202 2001-04-12 Ulrich Drepper <drepper@redhat.com>
2204 * sysdeps/ia64/Dist: Add elf/entry.h.
2206 * iconvdata/Makefile (distribute): Add TESTS2.
2208 2001-04-13 Jakub Jelinek <jakub@redhat.com>
2210 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_load_address):
2211 Calculate load address differently.
2213 2001-04-12 Bruno Haible <haible@clisp.cons.org>
2215 * iconvdata/TESTS2: New file.
2216 * iconvdata/run-iconv-test.sh: Also run tests from TESTS2.
2217 * iconvdata/testdata/alfabeta..UTF-8: New file.
2218 * iconvdata/testdata/alfabeta..UTF-16.BE: New file.
2219 * iconvdata/testdata/alfabeta..UTF-16.LE: New file.
2220 * iconvdata/testdata/alfabeta..UTF-32.BE: New file.
2221 * iconvdata/testdata/alfabeta..UTF-32.LE: New file.
2223 2001-04-11 Bruno Haible <haible@clisp.cons.org>
2225 * iconvdata/utf-32.c: New file.
2226 * iconvdata/gconv-modules: Add entries for UTF-32, UTF-32LE, UTF-32BE.
2227 * iconvdata/Makefile (modules): Add UTF-32.
2228 (distribute): Add utf-32.c.
2230 2001-04-11 Bruno Haible <haible@clisp.cons.org>
2232 * iconvdata/utf-16.c (PREPARE_LOOP): Initialize 'swap' after possibly
2233 changing it in the state. After incrementing 'inptr', store it back.
2234 * iconvdata/unicode.c (PREPARE_LOOP): After incrementing 'inptr',
2237 2001-04-11 Bruno Haible <haible@clisp.cons.org>
2239 * iconvdata/utf-16.c (gconv_init): Use MAX_NEEDED_FROM, not
2242 2001-04-11 David Mosberger <davidm@hpl.hp.com>
2244 * sysdeps/ia64/htonl.S: Drop superfluous "alloc".
2245 * sysdeps/ia64/htons.S: Likewise.
2247 * sysdeps/ia64/memset.S: Add unwind directives.
2248 * sysdeps/ia64/strncpy.S: Likewise.
2249 * sysdeps/ia64/strcat.S: Likewise.
2251 * sysdeps/ia64/memccpy.S: Add unwind directives. Drop superfluous
2253 * sysdeps/ia64/strchr.S: Likewise.
2254 * sysdeps/ia64/memmove.S: Likewise.
2255 * sysdeps/ia64/memcpy.S: Likewise.
2256 * sysdeps/ia64/memcmp.S: Likewise.
2257 * sysdeps/ia64/memchr.S: Likewise.
2258 * sysdeps/ia64/strcmp.S: Likewise.
2259 * sysdeps/ia64/strlen.S: Likewise.
2260 * sysdeps/ia64/strcpy.S: Likewise.
2261 * sysdeps/ia64/strncmp.S: Likewise.
2263 2001-04-11 Jakub Jelinek <jakub@redhat.com>
2265 * wcsmbs/wchar.h (fgetwc, getwc, getwchar, fputwc, putwc, putwchar,
2266 fgetws, fputws, ungetwc, getwc_unlocked, getwchar_unlocked,
2267 fgetwc_unlocked, fputwc_unlocked, putwc_unlocked, putwchar_unlocked,
2268 fgetws_unlocked, fputws_unlocked, wcsftime): Add __THROW.
2270 2001-04-11 Andreas Jaeger <aj@suse.de>
2272 * sysdeps/mips/elf/start.S [__ASSEMBLY__]: Define it.
2274 2001-04-11 Andreas Schwab <schwab@suse.de>
2276 * sysdeps/m68k/fpu/libm-test-ulps: Adjusted.
2278 2001-04-11 Ulrich Drepper <drepper@redhat.com>
2280 * sysdeps/arm/stackinfo.h: New file.
2282 2001-04-08 Thorsten Kukuk <kukuk@suse.de>
2284 * sunrpc/rpc_main.c: If we compile RPC thread safe, allow
2285 rpcgen to generate thread safe code.
2287 2001-04-10 Andreas Jaeger <aj@suse.de>
2289 * math/test-fenv.c (initial_tests): Protect FE_TONEAREST declaration.
2291 2001-04-10 Ulrich Drepper <drepper@redhat.com>
2293 * elf/dl-minimal.c (__assert_fail): Change error string. It's
2294 most of the time no bug in ld.so.
2295 (__assert_perror_fail): Likewise.
2297 2001-04-11 Hans-Peter Nilsson <hp@axis.com>
2299 * sysdeps/generic/bits/fenv.h (fexcept_t): Change default type
2300 from struct to unsigned int.
2302 2001-04-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2304 * elf/elf.h (AT_DCACHEBSIZE, AT_ICACHEBSIZE, AT_UCACHEBSIZE,
2305 AT_IGNOREPPC): New defines.
2306 * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Print them.
2307 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
2308 Define for newer powerpc kernels.
2309 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Use the standard
2310 DL_FIND_ARG_COMPONENTS if __ASSUME_STD_AUXV is defined.
2312 2000-4-10 kaz Kojima <kkojima@rr.iij4u.or.jp>
2314 * sysdeps/sh/stackinfo.h: New file.
2316 2001-04-10 Ulrich Drepper <drepper@redhat.com>
2318 * locale/tst-C-locale.c (run_test): Add tests for locale objects.
2319 * locale/newlocale.c (__newlocale): Correct setting __ctype_b,
2320 __ctype_tolower, and __ctype_toupper elements.
2322 * ctype/ctype_l.c: Fix definitions of __tolower_l and __toupper_l.
2323 Reported by Konstantin Osipov <rabid@spylog.ru>.
2325 * sysdeps/i386/fpu/libm-test-ulps: Add deltas for tgamma to help
2328 2001-04-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2330 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: New file.
2331 * sysdeps/unix/sysv/linux/powerpc/Dist: Add sys/ptrace.h.
2332 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Delete wrong stuff.
2333 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Correct typedefs.
2335 2001-04-10 Ulrich Drepper <drepper@redhat.com>
2337 * elf/dl-deps.c (_dl_map_object_deps): Provide complete error
2338 message. Based on a patch by HJ Lu.
2340 2001-04-10 Andreas Schwab <schwab@suse.de>
2342 * math/libm-test.inc (csinh_test): Don't require the invalid
2343 exception for csinh (x + iNaN), but make it optional.
2345 2001-04-09 David Mosberger <davidm@hpl.hp.com>
2347 * sysdeps/ia64/elf/start.S (_start): Add unwind directives.
2349 * sysdeps/generic/entry.h [!__ASSEMBLY__]: Declare _start.
2350 * sysdeps/ia64/elf/entry.h: New file.
2351 * sysdeps/unix/sysv/linux/mips/entry.h [!__ASSEMBLY__]: Declare
2353 * elf/rtld.c: Don't declare ENTRY_POINT. Use ENTRY_POINT instead
2355 * sysdeps/generic/dl-sysdep.c: Likewise.
2356 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
2357 * sysdeps/ia64/elf/start.S: Save base address of register backing
2358 store in __libc_ia64_register_backing_store_base.
2360 2001-04-10 Martin Schwidefsky <schwidefsky@de.ibm.com>
2362 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Fix return
2363 value of getcontext.
2364 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
2365 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Fix return
2366 value of setcontext.
2367 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2368 * sysdeps/unix/sysv/linux/s390/swapcontext.c: Skip setcontext
2369 call by changing the saved context.
2371 2001-04-10 Ulrich Drepper <drepper@redhat.com>
2373 * sysdeps/alpha/stackinfo.h: New file.
2374 * sysdeps/ia64/stackinfo.h: New file.
2376 2001-04-10 Andreas Schwab <schwab@suse.de>
2378 * sysdeps/m68k/fpu/e_pow.c: Correct handling of some exceptional
2380 * sysdeps/m68k/fpu/e_scalb.c: Likewise.
2382 2001-04-09 Ulrich Drepper <drepper@redhat.com>
2384 * sysdeps/sparc/sparc32/sparcv9/Dist: Add hp-timing.c.
2385 * sysdeps/sparc/sparc64/Dist: Add hp-timing.c.
2387 * libio/Makefile (distribute): Add fd_to_filename.h.
2389 2001-04-05 David S. Miller <davem@redhat.com>
2391 Add hp-timing support for sparcv9/sparc64 targets.
2392 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: New file
2393 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: New file
2394 * sysdeps/sparc/sparc64/hp-timing.c: New file
2395 * sysdeps/sparc/sparc64/hp-timing.h: New file
2396 * sysdeps/sparc/sparc32/sparcv9/Makefile: Build hp-timing.
2397 * sysdeps/sparc/sparc64/Makefile: Likewise.
2399 2001-04-09 Jakub Jelinek <jakub@redhat.com>
2401 * sysdeps/generic/fd_to_filename.h: New file.
2402 * sysdeps/unix/sysv/linux/fd_to_filename.h: New file.
2403 * libio/freopen.c (freopen): If FILENAME is NULL, try to get
2404 filename from the open file descriptor.
2405 * libio/freopen64.c (freopen64): Likewise.
2407 2001-04-09 Bruno Haible <haible@clisp.cons.org>
2409 * misc/error.c (error): fflush stdout also if
2410 error_print_progname != NULL.
2411 (error_at_line): Likewise.
2413 2001-04-07 Bruno Haible <haible@clisp.cons.org>
2415 * intl/gettextP.h (struct loaded_domain): Add codeset_cntr field.
2416 (struct binding): Add codeset_cntr field.
2417 (_nl_load_domain): Add domainbinding argument.
2418 (_nl_init_domain_conv, _nl_free_domain_conv): New declarations.
2419 (_nl_find_msg): New declaration, moved here from loadinfo.h.
2420 * intl/loadinfo.h (struct loaded_l10nfile): Remove domainbinding field.
2421 (_nl_make_l10nflist): Remove domainbinding argument.
2422 (_nl_find_msg): Move declaration to gettextP.h.
2423 * intl/bindtextdom.c (set_binding_values): Initialize ->codeset_cntr
2424 to 0. Increment it when ->codeset is changed.
2425 * intl/dcigettext.c (DCIGETTEXT): Pass binding to _nl_find_msg.
2426 (_nl_find_msg): Add domainbinding argument. Reinitialize the converter
2427 if domainbinding->codeset_cntr has been incremented.
2428 * intl/finddomain.c (_nl_find_domain): Don't pass domainbinding to
2429 _nl_make_l10nflist(). Pass it to _nl_load_domain() instead.
2430 * intl/l10nflist.c (_nl_make_l10nflist): Remove domainbinding argument.
2431 * intl/loadmsgcat.c (_nl_init_domain_conv): New function, extracted
2432 from _nl_load_domain. Append //TRANSLIT also when using libiconv.
2433 (_nl_free_domain_conv): New function, extracted from _nl_unload_domain.
2434 (_nl_load_domain): Add domainbinding argument. Call
2435 _nl_init_domain_conv.
2436 (_nl_unload_domain): Call _nl_free_domain_conv.
2437 * intl/Makefile (distribute): Add tst-codeset.sh, tstcodeset.po.
2438 (test-srcs): Add tst-codeset.
2439 (tests): Depend on tst-codeset.out.
2440 (tst-codeset.out): New rule.
2441 (CFLAGS-tst-codeset.c): New variable.
2442 * intl/tst-codeset.sh: New file.
2443 * intl/tstcodeset.po: New file.
2444 * intl/tst-codeset.c: New file.
2445 * locale/findlocale.c (_nl_find_locale): Update _nl_make_l10nflist
2448 2001-04-07 Roland McGrath <roland@frob.com>
2450 * mach/msgserver.c (__mach_msg_server_timeout): Add an assert.
2452 2001-03-31 Roland McGrath <roland@frob.com>
2454 * sysdeps/mach/hurd/fork.c: Skip NEWPROC just like NEWTASK when
2455 copying send rights into child. When we hit our name for our proc
2456 port, just copy NEWPROC directly instead of repeating proc_task2proc
2457 to install the child's port.
2459 2001-04-08 Roland McGrath <roland@frob.com>
2461 * Makeconfig ($(common-objpfx)soversions.i): Grok entries with DEFAULT
2462 in second column, to provide default values for third column.
2463 * shlib-versions: Add comments about using DEFAULT in second column.
2464 (s390x-.*-linux.*): Replace individual entries with a DEFAULT entry.
2465 (cris-.*-linux.*): Likewise.
2467 2001-04-09 Ulrich Drepper <drepper@redhat.com>
2469 * Makefile (distribute): Add scripts/documented.sh.
2470 * scripts/documented.sh: New file.
2472 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
2474 * sysdeps/unix/sysv/linux/cris/Dist: New file.
2475 * sysdeps/unix/sysv/linux/cris/Makefile: New file.
2476 * sysdeps/unix/sysv/linux/cris/_G_config.h: New file.
2477 * sysdeps/unix/sysv/linux/cris/bits/fcntl.h: New file.
2478 * sysdeps/unix/sysv/linux/cris/bits/mman.h: New file.
2479 * sysdeps/unix/sysv/linux/cris/bits/resource.h: New file.
2480 * sysdeps/unix/sysv/linux/cris/brk.c: New file.
2481 * sysdeps/unix/sysv/linux/cris/chown.c: New file.
2482 * sysdeps/unix/sysv/linux/cris/clone.S: New file.
2483 * sysdeps/unix/sysv/linux/cris/fchown.c: New file.
2484 * sysdeps/unix/sysv/linux/cris/fcntl.c: New file.
2485 * sysdeps/unix/sysv/linux/cris/fxstat.c: New file.
2486 * sysdeps/unix/sysv/linux/cris/getegid.c: New file.
2487 * sysdeps/unix/sysv/linux/cris/geteuid.c: New file.
2488 * sysdeps/unix/sysv/linux/cris/getgid.c: New file.
2489 * sysdeps/unix/sysv/linux/cris/getgroups.c: New file.
2490 * sysdeps/unix/sysv/linux/cris/getresgid.c: New file.
2491 * sysdeps/unix/sysv/linux/cris/getresuid.c: New file.
2492 * sysdeps/unix/sysv/linux/cris/getrlimit.c: New file.
2493 * sysdeps/unix/sysv/linux/cris/getrlimit64.c: New file.
2494 * sysdeps/unix/sysv/linux/cris/getuid.c: New file.
2495 * sysdeps/unix/sysv/linux/cris/lchown.c: New file.
2496 * sysdeps/unix/sysv/linux/cris/lockf64.c: New file.
2497 * sysdeps/unix/sysv/linux/cris/lxstat.c: New file.
2498 * sysdeps/unix/sysv/linux/cris/mmap.S: New file.
2499 * sysdeps/unix/sysv/linux/cris/mmap64.S: New file.
2500 * sysdeps/unix/sysv/linux/cris/msgctl.c: New file.
2501 * sysdeps/unix/sysv/linux/cris/profil-counter.h: New file.
2502 * sysdeps/unix/sysv/linux/cris/register-dump.h: New file.
2503 * sysdeps/unix/sysv/linux/cris/semctl.c: New file.
2504 * sysdeps/unix/sysv/linux/cris/setegid.c: New file.
2505 * sysdeps/unix/sysv/linux/cris/seteuid.c: New file.
2506 * sysdeps/unix/sysv/linux/cris/setfsgid.c: New file.
2507 * sysdeps/unix/sysv/linux/cris/setfsuid.c: New file.
2508 * sysdeps/unix/sysv/linux/cris/setgid.c: New file.
2509 * sysdeps/unix/sysv/linux/cris/setgroups.c: New file.
2510 * sysdeps/unix/sysv/linux/cris/setregid.c: New file.
2511 * sysdeps/unix/sysv/linux/cris/setresgid.c: New file.
2512 * sysdeps/unix/sysv/linux/cris/setresuid.c: New file.
2513 * sysdeps/unix/sysv/linux/cris/setreuid.c: New file.
2514 * sysdeps/unix/sysv/linux/cris/setrlimit.c: New file.
2515 * sysdeps/unix/sysv/linux/cris/setuid.c: New file.
2516 * sysdeps/unix/sysv/linux/cris/shmctl.c: New file.
2517 * sysdeps/unix/sysv/linux/cris/socket.S: New file.
2518 * sysdeps/unix/sysv/linux/cris/sys/ucontext.h: New file.
2519 * sysdeps/unix/sysv/linux/cris/syscall.S: New file.
2520 * sysdeps/unix/sysv/linux/cris/sysdep.S: New file.
2521 * sysdeps/unix/sysv/linux/cris/sysdep.h: New file.
2522 * sysdeps/unix/sysv/linux/cris/vfork.S: New file.
2523 * sysdeps/unix/sysv/linux/cris/xstat.c: New file.
2525 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
2527 * sysdeps/cris/Dist: New file.
2528 * sysdeps/cris/Implies: New file.
2529 * sysdeps/cris/Makefile: New file.
2530 * sysdeps/cris/__longjmp.S: New file.
2531 * sysdeps/cris/_mcount.S: New file.
2532 * sysdeps/cris/bits/endian.h: New file.
2533 * sysdeps/cris/bits/setjmp.h: New file.
2534 * sysdeps/cris/bits/string.h: New file.
2535 * sysdeps/cris/dl-machine.h: New file.
2536 * sysdeps/cris/elf/start.S: New file.
2537 * sysdeps/cris/machine-gmon.h: New file.
2538 * sysdeps/cris/memcopy.h: New file.
2539 * sysdeps/cris/memusage.h: New file.
2540 * sysdeps/cris/setjmp.S: New file.
2541 * sysdeps/cris/sysdep.h: New file.
2542 * sysdeps/cris/wordcopy.c: New file.
2544 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
2546 * elf/elf.h: Add new relocations for CRIS.
2548 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
2550 * shlib-versions: Add cases for Linux on CRIS.
2552 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
2554 * configure.in (ASM_LINE_SEP tests): Handle CRIS assembly, with
2555 ';' for comments and '@' for line separator.
2557 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
2559 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Fix
2560 typo; s/==/=/ for assignment.
2562 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
2564 * malloc/Makefile: Correct comment; mtrace is Perl, not AWK.
2566 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
2568 * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): Check for
2569 empty input before checking full output.
2571 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
2573 * iconv/gconv.c (__gconv): Don't derefer parameter cd before
2576 2001-04-08 Ulrich Drepper <drepper@redhat.com>
2578 * inet/rexec.c (rexec_af): Avoid calling perror with errno being set.
2580 2001-04-07 Stephen L Moshier <moshier@mediaone.net>
2582 * sysdeps/ieee754/ldbl-128/e_logl.c: Correct infinity and NaN
2585 2001-04-07 Ulrich Drepper <drepper@redhat.com>
2587 * stdlib/tst-setcontext.c (main): Add a test for setcontext.
2589 * sysdeps/unix/sysv/linux/i386/getcontext.S: New file.
2590 * sysdeps/unix/sysv/linux/i386/setcontext.S: New file.
2591 * sysdeps/unix/sysv/linux/i386/makecontext.S: New file.
2592 * sysdeps/unix/sysv/linux/i386/swapcontext.S: New file.
2593 * sysdeps/unix/sysv/linux/i386/ucontext_i.h: New file.
2594 * sysdeps/unix/sysv/linux/i386/Dist: Add ucontext_i.h.
2596 2001-04-07 Andreas Jaeger <aj@suse.de>
2598 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Use sincos
2599 instead of separate sin and cos.
2600 (__ieee754_j1l): Likewise.
2602 2001-04-06 Ulrich Drepper <drepper@redhat.com>
2604 * sysdeps/ia64/abort-instr.h: New file. Code by David Mosberger.
2606 * sysdeps/ia64/atomicity.h: New file. Copied from libstdc++.
2608 * sysdeps/i386/i486/atomicity.h: Clean up the asms.
2610 * sysdeps/generic/e_scalb.c: Don't use FE_INVALID unless it's
2612 * sysdeps/generic/e_scalbf.c: Likewise.
2613 * sysdeps/generic/e_scalbl.c: Likewise.
2614 Patch by Mark Hatle <fray@mvista.com>.
2616 2001-04-05 David S. Miller <davem@redhat.com>
2618 * sysdeps/sparc/abort-instr.h: New file.
2620 2001-04-05 Matt Wilson <msw@redhat.com>
2622 * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
2623 added code to parse new 2.4 format.
2624 (GET_NPROCS_CONF_PARSER): Likewise.
2626 2001-04-05 David S. Miller <davem@redhat.com>
2628 * scripts/config.sub: Recognize sparcv9b like sparcv9.
2629 * configure.in: Add sparcv9b.
2630 * sysdeps/sparc/sparc32/sparcv9b/Implies: New file
2631 * sysdeps/sparc/sparc32/sparcv9b/memcpy.S: New file
2632 * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: New file
2634 2001-04-06 David Mosberger <davidm@hpl.hp.com>
2636 * stdlib/tst-setcontext.c: Move st2[] to global scope.
2637 (f2): Verify that stack pointer is inside st2[].
2639 * sysdeps/unix/sysv/linux/ia64/getcontext.S: It helps to save r12.
2640 * sysdeps/unix/sysv/linux/ia64/setcontext.S: It helps to restore r12.
2642 2001-04-06 Ulrich Drepper <drepper@redhat.com>
2644 * timezone/antarctica: Update from tzdata2001b.
2645 * timezone/asia: Likewise.
2646 * timezone/australasia: Likewise.
2647 * timezone/europe: Likewise.
2648 * timezone/northamerica: Likewise.
2650 * iconv/iconv_open.c: Move strip and upstr definitions...
2651 * iconv/gconv_charset.h: ...here. New file.
2652 * iconv/gconv_db.c (once): Move to file level.
2653 (do_lookup_alias): Split out from __gconv_find_transform.
2654 (__gconv_find_transform): Call do_lookup_alias.
2655 (__gconv_loopup_alias): New function.
2656 * locale/langinfo.h: Define _NL_*_CODESET values for all categories
2658 * locale/categories.def: Add entries for new _NL_*_CODESET values.
2659 * locale/C-ctype.c: Use _nl_C_codeset to initialize CODESET entry.
2660 * locale/C-address.c: Initialize _NL_*_CODESET element.
2661 * locale/C-collate.c: Likewise.
2662 * locale/C-identification.c: Likewise.
2663 * locale/C-measurement.c: Likewise.
2664 * locale/C-messages.c: Likewise.
2665 * locale/C-monetary.c: Likewise.
2666 * locale/C-name.c: Likewise.
2667 * locale/C-numeric.c: Likewise.
2668 * locale/C-paper.c: Likewise.
2669 * locale/C-telephone.c: Likewise.
2670 * locale/C-time.c: Likewise.
2671 * locale/localeinfo.h: Declare _nl_C_codeset.
2672 * locale/C_name.c: Define _nl_C_codeset.
2673 * locale/findlocale.c: Before accepting locale check that the used
2674 charset does not conflict with what the locale name said.
2675 * locale/programs/ld-address.c: Emit codeset information.
2676 * locale/programs/ld-collate.c: Likewise.
2677 * locale/programs/ld-identification.c: Likewise.
2678 * locale/programs/ld-measurement.c: Likewise.
2679 * locale/programs/ld-messages.c: Likewise.
2680 * locale/programs/ld-monetary.c: Likewise.
2681 * locale/programs/ld-name.c: Likewise.
2682 * locale/programs/ld-numeric.c: Likewise.
2683 * locale/programs/ld-paper.c: Likewise.
2684 * locale/programs/ld-telephone.c: Likewise.
2685 * locale/programs/ld-time.c: Likewise.
2687 * localedata/tests-mbwc/tst_funcs.h (TST_HEAD_LOCALE): It is an error
2688 if the locale data couldn't be found.
2690 * string/Makefile: Define tst-strxfrm-ENV.
2692 * ysdeps/unix/sysv/linux/ia64/getcontext.S: Fix comment.
2694 2001-04-06 Andreas Jaeger <aj@suse.de>
2696 * include/sys/profil.h: New file.
2698 * dlfcn/modatexit.c: Add prototypes to silence GCC.
2699 * dlfcn/modcxaatexit.c: Likewise.
2700 * elf/globalmod1.c: Likewise.
2702 2001-04-05 David S. Miller <davem@redhat.com>
2704 * elf/elf.h (HWCAP_SPARC_ULTRA3): Define it.
2705 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Add it to
2706 capability flags table and HWCAP_IMPORTANT, increase
2707 _DL_HWCAP_COUNT to 6.
2708 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
2710 2001-04-04 David Mosberger <davidm@hpl.hp.com>
2712 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Fix
2713 initialization of stack_end (bug reported by Zheng Gengbin
2714 <gzheng@students.uiuc.edu>).
2716 2001-04-05 Ulrich Drepper <drepper@redhat.com>
2718 * sysdeps/i386/fpu/libm-test-ulps: Relax errors for asinl.
2720 2001-04-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
2722 * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: New file.
2724 2001-04-05 Ulrich Drepper <drepper@redhat.com>
2726 * sysdeps/ieee754/ldbl-96/e_asinl.c: Correct handling of +-Inf.
2727 * sysdeps/i386/fpu/e_asinl.S: Removed. Too inaccurate.
2729 * login/tst-utmp.c: Make file usable again in tst-utmpx.c.
2731 2001-04-04 Ulrich Drepper <drepper@redhat.com>
2733 * sysdeps/unix/sysv/aix/dl-libc.c: Don't use the ELF version,
2734 define simple replacements here. Patch by Michael Keezer.
2736 * sysdeps/ieee754/ldbl-128/e_logl.c: New file.
2737 * sysdeps/ieee754/ldbl-96/e_asinl.c: New file.
2738 Contributed by Stephen L Moshier <moshier@mediaone.net>.
2740 * posix/fnmatch_loop.c: Undefine NEW_PATTERN when it is not used
2743 2001-04-01 Andreas Jaeger <aj@suse.de>
2745 * sysdeps/generic/s_nextafter.c (NO_LONG_DOUBLE): Add nexttowardl
2748 * sysdeps/generic/s_fma.c (NO_LONG_DOUBLE): Add fmal alias.
2750 2001-04-04 Ulrich Drepper <drepper@redhat.com>
2752 * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Add ucontext_i.h.
2753 * sysdeps/unix/sysv/linux/s390/s390-32/Dist: Likewise.
2755 2001-04-04 Martin Schwidefsky <schwidefsky@de.ibm.com>
2757 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: New file.
2758 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: New file.
2759 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: New file.
2760 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: New file.
2761 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: New file.
2762 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: New file.
2763 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: New file.
2764 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: New file.
2765 * sysdeps/unix/sysv/linux/s390/swapcontext.c: New file.
2767 2001-04-04 Andreas Jaeger <aj@suse.de>
2769 * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_NO_REL): Move to right
2772 2001-04-04 Ulrich Drepper <drepper@redhat.com>
2774 * sunrpc/rpc_scan.c (symbols): Add entry for HYPER.
2775 * sunrpc/rpc_scan.h (enum tok_kind): Add TOK_HYPER.
2776 * sunrpc/rpc_parse.c (get_type): Handle TOK_HYPER.
2777 (unsigned_dec): Likewise.
2778 Patch by atai@jezebel.dreamhost.com.
2780 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Pass
2781 pointer to int as last parameter of yp_match.
2782 Patch by kanazawa@flab.fujitsu.co.jp.
2784 2001-04-03 Ulrich Drepper <drepper@redhat.com>
2786 * resolv/netdb.h (gai_strerror): Make return value const.
2787 * sysdeps/generic/gai_strerror.c (gai_strerror): Likewise.
2788 * sysdeps/posix/gai_strerror.c (gai_strerror): Likewise.
2789 Add strings for new error values.
2791 2001-03-29 Michael Keezer <mkeezer@redhat.com>
2793 * posix/tst-gnuglob.c: Added ifdef _DIRENT_HAVE_D_TYPE.
2794 * login/tst-utmp.c: Handle case where ut_tv is not available but
2796 * sysdeps/unix/sysv/aix/utmpx.h: New file.
2797 * sysdeps/unix/sysv/aix/bits/utmpx.h: Added
2798 _HAVE_UT_TYPE/PID/ID/TV/HOST defines.
2799 * sysdeps/unix/sysv/aix/libc-start.c: Removed temp code and made stub.
2800 * sysdeps/unix/sysv/aix/gettimeofday.c: New file added routines
2801 to access RTCU timer reg.
2802 * sysdeps/unix/sysv/aix/Makefile: Remove /usr/lib/crt0.o
2803 added dl-libc, dl-open,dl-sym, dl-close to misc.
2804 * sysdeps/unix/sysv/aix/start.c: New file. Start code.
2805 * sysdeps/unix/sysv/aix/dlldr.h: New file. AIX __loadx defines.
2806 * sysdeps/unix/sysv/aix/dl-close.c: New file. AIX dl-close.
2807 * sysdeps/unix/sysv/aix/dl-open.c: New file. AIX dl-open.
2808 * sysdeps/unix/sysv/aix/dl-sym.c: New file. AIX dl-sym.
2809 * sysdeps/unix/sysv/aix/dl-libc.c: New file. libc_dl-xxx support.
2810 * sysdeps/generic/strtoll.c: Added SHLIB_COMPAT(libc,GLIBC_2_0,
2812 * sysdeps/generic/strtoull.c: Likewise.
2813 * sysdeps/powerpc/ppc-mcount.S: Added nop after bl instruction.
2814 * sysdeps/unix/sysv/aix/powerpc/memset.c: New file to include
2815 sysdeps/generic/memset.c.
2816 * sysdeps/unix/sysv/aix/getpeername.c: Define __getpeername.
2818 2001-04-03 Ulrich Drepper <drepper@redhat.com>
2820 * iconv/Makefile (CFLAGS-charmap.c): Add -DNEED_NULL_POINTER.
2821 * locale/programs/charmap.c: Define null_pointer if
2822 NEED_NULL_POINTER is defined.
2824 * misc/dirname.c (dirname): Handle multiple slashes correctly.
2826 2001-04-03 Martin Schwidefsky <schwidefsky@de.ibm.com>
2828 * sysdeps/s390/s390-64/initfini.c: Fix __gmon_start__ GOT access.
2830 2001-04-03 Martin Schwidefsky <schwidefsky@de.ibm.com>
2832 * sysdeps/s390/s390-32/bcopy.S: Optimize for speed.
2833 * sysdeps/s390/s390-64/bcopy.S: Likewise.
2834 * sysdeps/s390/s390-32/mempcy.S: Likewise.
2835 * sysdeps/s390/s390-64/memcpy.S: Likewise.
2837 2001-04-02 Bruno Haible <haible@clisp.cons.org>
2839 * manual/message.texi (Advanced gettext functions): More specific
2840 syntax in the plural formula examples.
2842 2001-04-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2844 * sysdeps/powerpc/atomicity.h: Silence warnings.
2845 * sysdeps/powerpc/dl-machine.h: Likewise.
2846 * sysdeps/powerpc/register-dump.h: Likewise.
2847 * sysdeps/powerpc/fpu/s_lrint.c: Likewise.
2849 2001-04-02 Andreas Jaeger <aj@suse.de>
2851 * misc/tst-dirname.c (main): Add more tests, derived from a bug
2852 report by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
2854 2001-04-01 Andreas Jaeger <aj@suse.de>
2856 * debug/xtrace.sh (pcprofileso): Use SLIBDIR since libpcprofile.so
2858 * malloc/memusage.sh (memusageso): Likewise for libmemusage.so.
2860 2001-04-01 H.J. Lu <hjl@gnu.org>
2862 * posix/annexc.c (macrofile): Renamed from TMPFILE and set to
2864 * stdlib/isomac.c (macrofile): Likewise.
2866 2001-03-30 Thorsten Kukuk <kukuk@suse.de>
2868 * inet/rcmd.c: Allow AF_UNSPEC as parameter.
2869 * nis/ypclnt.c (yp_all): Print error message only at last try,
2870 check for protocoll error only if we don't have a network error.
2872 2001-04-02 Andreas Schwab <schwab@suse.de>
2874 * resolv/res_data.c (res_isourserver): Fix cast.
2876 2001-04-02 Andreas Jaeger <aj@suse.de>
2878 * sysdeps/unix/sysv/linux/hppa/umount.c: Add prototype for
2881 * sysdeps/i386/dl-machine.h (RTLD_START): Don't use multi-line
2883 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
2885 * sysdeps/ieee754/dbl-64/uroot.h: Add missing braces arount
2887 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Likewise.
2889 * elf/rtld.c (print_statistics)[!HP_TIMING_NONAVAIL]: Avoid
2890 warning about unused variable.
2892 * string/string.h (strndupa): Add cast for C++ conformance.
2893 (strdupa): Likewise.
2894 Fixes PR libc/2173, reported by tbrowder@home.com.
2896 2001-03-30 Roland McGrath <roland@frob.com>
2898 * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't append
2899 options after $(build-module), which is no longer a single command.
2900 (LDFLAGS-link-rpcuserlibs): New variable to hold those options.
2901 (LDFLAGS-libmachuser-link.so, LDFLAGS-libhurduser-link.so): New
2902 variables using it. Reported by Mark Kettenis <kettenis@gnu.org>.
2904 2001-03-11 Roland McGrath <roland@frob.com>
2906 * elf/rtld.c (dl_main): Add cast to quiet warning.
2907 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2908 * iconv/gconv_conf.c (__gconv_get_path): Likewise.
2909 (__gconv_read_conf): Likewise.
2910 * iconv/gconv_db.c (gen_steps): Likewise.
2911 (__gconv_find_transform): Likewise.
2912 * locale/programs/charmap-dir.c (fopen_uncompressed): Likewise.
2913 (fopen_uncompressed): Use const in second argument's type.
2915 2001-03-11 Roland McGrath <roland@frob.com>
2917 * sysdeps/mach/hurd/dl-sysdep.c (__writev): New function.
2919 * mach/mach_error.h: Fix ancient #endif syntax.
2920 * hurd/hurdmalloc.c: Likewise.
2922 * sysdeps/generic/atomicity.h (exchange_and_add, atomic_add,
2923 compare_and_swap): Add volatile qualifier to first arg, to bring
2924 these prototypes in line with all the other implementations.
2925 Add a #warning to remind the builder that these are not atomic.
2927 2001-03-04 Roland McGrath <roland@frob.com>
2929 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Use innermore first
2930 member of TEMP_F so its type is _IO_FILE * as expected.
2932 * hurd/fopenport.c (seekio): Conditionalize type of POS argument
2933 on [USE_IN_LIBIO]. Check the value for overflow, since for libio
2934 it might exceed off_t's range.
2936 2001-02-25 Roland McGrath <roland@frob.com>
2938 * sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): Use prototype.
2939 * sysdeps/unix/bsd/getpt.c (__posix_openpt): Likewise.
2941 * sysdeps/mach/hurd/i386/intr-msg.h (SYSCALL_EXAMINE): Make this a
2942 macro instead of an inline function,
2943 (MSG_EXAMINE): Likewise.
2945 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): Remove extraneous ##.
2947 * hurd/get-host.c: Include <string.h> for decls of built-ins.
2948 * hurd/hurdchdir.c: Likewise.
2949 * sysdeps/mach/hurd/i386/sigreturn.c: Likweise.
2950 * sysdeps/mach/hurd/opendir.c: Likewise.
2952 * mach/mach_init.c: Include <unistd.h> for _exit decl.
2954 * mach/errsystems.awk: Give output file a trailing newline.
2956 * mach/Machrules (MIG): Prepend CC='${CC}' to the mig command, so that
2957 the script will use our compiler for the cpp stage.
2959 With --enable-all-warnings we get a whole bunch of warnings,
2960 and these are just a few fixes; there are more needed to silence it.
2961 * mach/mach/mig_support.h (__mig_strncpy, mig_strncpy): Add extern
2962 decls before extern inline defns to quiet gcc warning.
2963 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp): Likewise.
2964 * sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Likewise.
2966 2001-03-31 Andreas Jaeger <aj@suse.de>
2968 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWHDLC): Added.
2969 (ARPHRD_HDLC): Define as alias for ARPHRD_CISCO.
2970 (ARPHRD_CISCO): New.
2971 Changes from Linux 2.4.3.
2973 2001-03-30 Isamu Hasegawa <isamu@yamato.ibm.com>
2975 * posix/regex.c: Avoid an access violation if malloc fails.
2977 2001-03-30 Andreas Jaeger <aj@suse.de>
2979 * sysdeps/alpha/ldiv.S (ldiv): Add alias for imaxdiv.
2981 2001-03-29 Ulrich Drepper <drepper@redhat.com>
2983 * posix/regex.c: Remove unnecessary ifs.
2985 * math/bits/mathcalls.h: Remove infnan declaration.
2987 2001-03-29 H.J. Lu <hjl@gnu.org>
2989 * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF,
2990 and LOW_HALF only if _LIBC is defined and _ISOMAC is not defined.
2991 * stdlib/isomac.c (fmt): Define _LIBC and _ISOMAC.
2993 2001-03-29 Isamu Hasegawa <isamu@yamato.ibm.com>
2995 * posix/regex.c: Fix typo and add a sentinel.
2997 2001-03-29 Ulrich Drepper <drepper@redhat.com>
2999 * sysdeps/unix/sysv/linux/shm_open.c: Open new file always with
3000 O_NOFOLLOW. Suggested by Christoph Roland.
3002 2001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
3004 * sysdeps/s390/bits/string.h: New unified 31/64 bit string.h.
3005 * sysdeps/s390/s390-32/bits/string.h: Remove.
3006 * sysdeps/s390/s390-64/bits/string.h: Remove.
3007 * sysdeps/s390/s390-32/strcmp.S: New file.
3008 * sysdeps/s390/s390-64/strcmp.S: New file.
3010 2001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
3012 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix typo.
3013 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
3015 2001-03-27 Ulrich Drepper <drepper@redhat.com>
3017 * version.h (VERSION): Bump to 2.2.3.
3019 * stdlib/isomac.c (fmt): Don't define _LIBC.
3020 * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF, and
3021 LOW_HALF only if _LIBC is defined.
3023 * sysdeps/i386/fpu/libm-test-ulps: Slight adjustment of yn() error.
3025 * posix/fnmatch_loop.c (FCT): Handle !() after * special like @()
3027 * posix/tst-fnmatch.input: Add test cases for matching empty strings.
3029 * sysdeps/ieee754/dbl-64/endian.h: Removed. Move definitions...
3030 * include/endian.h: ...to here.
3032 2001-03-27 kaz Kojima <kkojima@rr.iij4u.or.jp>
3034 * sysdeps/sh/sys/ucontext.h (NFREG): Rename to NFPREG.
3035 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NFREG): Likewise.
3037 2001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
3039 * sysdeps/unix/sysv/linux/s390/ldconfig.h: Fix typo.
3041 2001-03-26 Ulrich Drepper <drepper@redhat.com>
3043 * sysdeps/ia64/fpu/Dist: Add new files to distribute.
3044 * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Likewise.
3045 * sysdeps/unix/sysv/linux/ia64/Dist: Likewise.
3047 * gmon/Makefile (headers): Add sys/profil.h.
3049 2001-03-18 Andreas Jaeger <aj@suse.de>
3051 * manual/install.texi (Tools for Compilation): Advise to use GCC
3053 (Supported Configurations): Mention s390x.
3055 2001-03-26 Ben Collins <bcollins@debian.org>
3057 * sysdeps/unix/sysv/linux/mips/bits/mman.h: Add MAP_* and MADV_*
3058 defines to match other architectures.
3060 2001-03-26 Ulrich Drepper <drepper@redhat.com>
3062 * libio/Makefile (tests): Add tst-ext.
3063 * libio/tst-ext.c: New file.
3065 * libio/iosetvbuf.c (_IO_setvbuf): Clear line buffer flag for _IONBF.
3067 2001-03-25 Ulrich Drepper <drepper@redhat.com>
3069 Add changes which were in this form in the original patch by
3070 Eric Norum <eric.norum@usask.ca>.
3071 * include/rpc/rpc.h: Remove svc_fdset, rpc_createerr, svc_pollfd, and
3073 * sunrpc/rpc/rpc.h: Declare __rpc_thread_svc_fdset,
3074 __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
3075 __rpc_thread_svc_max_pollfd.
3076 Define svc_fdset, get_rpc_createerr, svc_pollfd, and
3078 * sunrpc/rpc_thread.c: Handle first thread special, it uses the
3080 Define __rpc_thread_svc_fdset, __rpc_thread_createerr,
3081 __rpc_thread_svc_pollfd, and __rpc_thread_svc_max_pollfd.
3082 * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_svc_fdset,
3083 __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
3084 __rpc_thread_svc_max_pollfd.
3085 * sunrpc/clnt_gen.c: Replace use of rpc_createerr by call to
3087 * sunrpc/clnt_perr.c: Likewise.
3088 * sunrpc/clnt_simp.c: Likewise.
3089 * sunrpc/clnt_tcp.c: Likewise.
3090 * sunrpc/clnt_udp.c: Likewise.
3091 * sunrpc/clnt_unix.c: Likewise.
3092 * sunrpc/pm_getport.c: Likewise.
3094 * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): getgroups32
3095 syscall checks for negative n so don't test here as well.
3097 2001-03-23 Jes Sorensen <jes@linuxcare.com>
3099 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Moved to ...
3100 * sysdeps/ia64/sysdep.h: ...here.
3102 * sysdeps/ia64/sysdep.h (LOCAL_ENTRY): Define.
3103 * sysdeps/ia64/sysdep.h (LOCAL_LEAF): Define.
3105 * sysdeps/ia64/_mcount.S (_mcount_ret_helper): Use LOCAL_LEAF() to
3106 declare instead of LEAF(). Suggestion from David Mosberger.
3108 2001-03-21 David Mosberger <davidm@hpl.hp.com>
3110 * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Add unwind
3112 (PSEUDO): Drop .psr and .lsb directives.
3114 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Ditto. Add unwind
3116 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Ditto.
3118 * sysdeps/ia64/elf/start.S: Misc cleanup: remove .psr and .lsb
3120 * sysdeps/unix/sysv/linux/ia64/brk.S: Ditto.
3121 * sysdeps/unix/sysv/linux/ia64/__longjmp.S: Ditto.
3122 * sysdeps/ia64/_mcount.S: Remove .psr and .lsb directives (no
3123 longer needed). Add unwind directives.
3125 * sysdeps/ia64/sysdep.h: Define ASM_UNW_PRLG_RP, ASM_UNW_PRLG_PFS,
3126 ASM_UNW_PRLG_PSP, ASM_UNW_PRLG_PR, and ASM_UNW_PRLG_GRSAVE.
3128 2001-03-21 Paul Eggert <eggert@twinsun.com>
3130 * posix/regex.h (RE_INVALID_INTERVAL_ORD): New macro.
3131 (RE_SYNTAX_POSIX_EGREP): Use it.
3132 * posix/regex.c (regex_compile): Implement it.
3134 2001-03-21 Paul Eggert <eggert@twinsun.com>
3136 * posix/regex.c (GET_UNSIGNED_NUMBER): Check for overflow.
3137 Rewrite to avoid duplicate code.
3139 2001-03-21 H.J. Lu <hjl@gnu.org>
3141 * elf/Makefile (tests): Don't depend on $(objpfx)tst-pathopt.out
3142 for cross-compiling.
3143 ($(objpfx)tst-pathopt.out): Undo the last change.
3145 2001-03-24 Mark Kettenis <kettenis@gnu.org>
3147 * sysdeps/mach/hurd/i386/bits/sigcontext.h (sc_sp, sc_fp, sc_pc,
3148 sc_ps): Define as aliases for sc_uesp, sc_ebl, sc_eip and sc_efl.
3150 * sysdeps/mach/hurd/i386/init-first.c: Include <assert.h>.
3151 (_dl_argv): Declare.
3152 (init) [SHARED]: Readjust _dl_argv if we switched to a new stack.
3154 2001-03-22 Andreas Jaeger <aj@suse.de>
3156 * iconvdata/Makefile (generated): Add iconv-test.xxx.
3158 * posix/Makefile (generated): Add bug-regex2.mtrace and
3161 2001-03-21 Ulrich Drepper <drepper@redhat.com>
3163 * csu/version.c (__gnu_get_libc_release): Add prototype.
3164 (__gnu_get_libc_version): Likewise.
3165 * include/gnu/libc-version.h: Remove prototypes for not exported
3168 2001-03-21 Jes Sorensen <jes@linuxcare.com>
3170 * sysdeps/unix/sysv/linux/ia64/makecontext.c: Include libintl.h
3171 for internationalized printfs to work.
3173 2001-03-09 Bruno Haible <haible@clisp.cons.org>
3175 * intl/dcigettext.c (transmem_block_t): Change to unsigned char, to
3176 avoid compiler warning.
3177 (_nl_find_msg): Add casts to avoid compiler warnings.
3179 2001-03-21 Ulrich Drepper <drepper@redhat.com>
3181 * gmon/Makefile (routines): Add sprofil.
3182 (tests): Add tst-sprofil.
3183 (noprof): Add sprofil.
3184 * gmon/Versions [libc] (GLIBC_2.2.3): Add sprofil.
3186 2001-03-20 David Mosberger <davidm@hpl.hp.com>
3188 * sysdeps/generic/sprofil.c: New file.
3189 * sysdeps/posix/sprofil.c: New file.
3190 * gmon/tst-sprofil.c: New file.
3191 * gmon/sys/profil.h: New file.
3193 2001-03-20 Andreas Schwab <schwab@suse.de>
3195 * include/unistd.h: Adjust prototype of __gethostname.
3197 2001-03-20 Jakub Jelinek <jakub@redhat.com>
3199 * sysdeps/sparc/stackinfo.h: New file.
3201 2001-03-21 Andreas Jaeger <aj@suse.de>
3203 * elf/global.c (main): Use proper prototype.
3205 2001-03-20 Ulrich Drepper <drepper@redhat.com>
3207 * sunrpc/Makefile (routines): Add rpc_thread.
3208 (CPPFLAGS): Add -D_RPC_THREAD_SAFE.
3209 * sunrpc/rpc_thread.c: New file.
3210 * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_destroy.
3211 * sunrpc/auth_none.c: Don't use global variables. Access state in
3212 thread-local storage.
3213 * sunrpc/clnt_perr.c: Likewise.
3214 * sunrpc/clnt_raw.c: Likewise.
3215 * sunrpc/clnt_simp.c: Likewise.
3216 * sunrpc/key_call.c: Likewise.
3217 * sunrpc/rpc_common.c: Likewise.
3218 * sunrpc/svc.c: Likewise.
3219 * sunrpc/svc_raw.c: Likewise.
3220 * sunrpc/svc_simple.c: Likewise.
3221 * sunrpc/svcauth_des.c: Likewise.
3222 * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
3223 _HURD_THREADVAR_RPC_VARS.
3224 * sysdeps/generic/bits/libc-tsd.h: Mention _LIBC_TSD_KEY_RPC_VARS.
3225 * include/rpc/rpc.h: Define data structures for internal thread-local
3227 Based on patches by Eric Norum <eric.norum@usask.ca>.
3229 * elf/dl-load.c: Various little optimizations.
3231 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Return
3232 LINUX_LINK_MAX only if the statfs function is not implemented for
3235 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Return
3236 LINUX_LINK_MAX only if the fstatfs function is not implemented for
3239 2001-03-19 Ulrich Drepper <drepper@redhat.com>
3241 * elf/dl-dst.h (DL_DST_COUNT): Add __builtin_expect.
3243 * elf/dl-load.c (_dl_dst_count): Make DST recognition more robust.
3244 (_dl_dst_substitute): Likewise.
3246 2001-03-17 Bruno Haible <haible@clisp.cons.org>
3248 * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC]: Use fstat, not fstat64.
3250 2001-03-17 Bruno Haible <haible@clisp.cons.org>
3252 * intl/gettextP.h (struct expression): Add operators lnot, less_than,
3253 greater_than, less_or_equal, greater_or_equal. Replace args2/args3
3254 union by a 'nargs' counter and an 'args[]' array.
3255 * intl/plural.y: Don't include stdarg.h.
3256 (new_exp): Take an array of arguments instead of varargs.
3257 (new_exp_0, new_exp_1, new_exp_2, new_exp_3): New functions.
3258 ('?' ':'): Make right-associative.
3259 (EQUOP2): New token, replaces '=' and '!'.
3260 (CMPOP2): New token.
3261 (ADDOP2): New token, replaces '+' and '-'.
3262 (MULOP2): New token, replaces '*', '/' and '%'.
3264 (exp): Add rules for CMPOP2 and '!'. Don't call YYABORT.
3265 (start): Call YYABORT here.
3266 (FREE_EXPRESSION): Update.
3267 (yylex): Don't skip "\\n". Recognize comparison and '!' operators.
3268 Update for new token symbols.
3269 * intl/loadmsgcat.c (plvar, plone, germanic_plural,
3270 init_germanic_plural): Update.
3271 * intl/dcigettext.c (_nl_find_msg): Optimize for space.
3272 (plural_eval): Recognize comparison and '!' operators. Optimize for
3275 2001-03-10 Bruno Haible <haible@clisp.cons.org>
3277 * intl/loadmsgcat.c (_nl_load_domain): locale_charset() doesn't return
3280 2001-01-05 Bruno Haible <haible@clisp.cons.org>
3282 * intl/loadmsgcat.c: Include headers needed for alloca().
3284 (_nl_load_domain): Add fallback code for platforms lacking alloca.
3285 * intl/localealias.c: (ADD_BLOCK, FREE_BLOCK): Remove macros.
3287 (read_alias_file): Simplify fallback code for platforms lacking
3290 2001-01-07 Bruno Haible <haible@clisp.cons.org>
3292 * intl/gettextP.h (__gettextdebug): Remove declaration.
3293 (__gettext_free_exp, __gettextparse): Convert prototype to K&R C
3295 (gettext_free_exp__, gettextparse__): New non-libc declarations.
3296 * intl/plural.y [!_LIBC]: Define gettextparse__, gettext_free_exp__,
3297 not __gettextparse, __gettext_free_exp.
3298 * intl/loadmsgcat.c [!_LIBC]: Use gettextparse__, not __gettextparse.
3300 2001-02-24 Bruno Haible <haible@clisp.cons.org>
3302 * intl/dcigettext.c: Update comment about HAVE_LOCALE_NULL.
3304 2001-01-05 Bruno Haible <haible@clisp.cons.org>
3306 * intl/loadmsgcat.c (_nl_load_domain): Add fallback code for platforms
3307 lacking strtoul, like SunOS4.
3309 2001-01-05 Bruno Haible <haible@clisp.cons.org>
3311 * intl/l10nflist.c (_nl_normalize_codeset): Use tolower, not _tolower.
3313 2001-01-05 Bruno Haible <haible@clisp.cons.org>
3315 * intl/bindtextdom.c (set_binding_values): Convert prototype to K&R C
3317 * intl/dcigettext.c (transcmp): Convert to K&R C syntax.
3318 * intl/explodename.c (_nl_find_language): Convert to K&R C syntax.
3319 * intl/plural.y (__gettext_free_exp, yylex, yyerror): Convert to K&R C
3322 2001-01-07 Bruno Haible <haible@clisp.cons.org>
3324 * intl/gettextP.h (gettext__, dgettext__, dcgettext__, textdomain__,
3325 bindtextdomain__, bind_textdomain_codeset__): New declarations, from
3327 * intl/bindtextdom.c: Include libgnuintl.h instead of libgettext.h.
3328 * intl/dcgettext.c: Likewise.
3329 * intl/dcigettext.c: Likewise.
3330 * intl/dcngettext.c: Likewise.
3331 * intl/dngettext.c: Likewise.
3332 * intl/finddomain.c: Likewise.
3333 * intl/ngettext.c: Likewise.
3334 * intl/textdomain.c: Likewise.
3335 * intl/dgettext.c: Include libgnuintl.h instead of libgettext.h.
3337 * intl/gettext.c: Likewise. Don't include locale.h.
3339 2001-03-17 Bruno Haible <haible@clisp.cons.org>
3341 * intl/gettextP.h (ZERO): New macro.
3342 (struct binding): Always use ZERO.
3343 * intl/bindtextdom.c (offsetof): Provide fallback for platforms that
3344 lack it, like SunOS4.
3345 (set_binding_values): Use offsetof, not sizeof.
3346 * intl/dcigettext.c (offsetof): Provide fallback for platforms that
3347 lack it, like SunOS4.
3348 (ZERO): Remove macro.
3349 (struct transmem_list): Use ZERO.
3350 (DCIGETTEXT): Use offsetof, not sizeof.
3352 2001-03-17 Bruno Haible <haible@clisp.cons.org>
3354 * intl/gettextP.h: Include <stddef.h>. Include gettext.h, for
3356 * intl/bindtextdom.c: Don't include gettext.h.
3357 * intl/dcgettext.c: Likewise.
3358 * intl/dcigettext.c: Likewise.
3359 * intl/dcngettext.c: Likewise.
3360 * intl/dngettext.c: Likewise.
3361 * intl/finddomain.c: Likewise.
3362 * intl/localealias.c: Likewise.
3363 * intl/ngettext.c: Likewise.
3364 * intl/plural.y: Likewise.
3365 * intl/textdomain.c: Likewise.
3367 2001-03-17 Bruno Haible <haible@clisp.cons.org>
3369 * intl/gettext.h: Don't include <stdio.h>.
3371 2001-03-17 Bruno Haible <haible@clisp.cons.org>
3373 * intl/Makefile (CPPFLAGS): Set LOCALEDIR instead of GNULOCALEDIR.
3374 * intl/dcigettext.c (_nl_default_dirname): Initialize with LOCALEDIR.
3376 2001-03-19 Ulrich Drepper <drepper@redhat.com>
3378 * sysdeps/unix/i386/i686/tempname.c: New file.
3380 * sysdeps/posix/tempname.c (__gen_tempname): If RANDOM_BITS is
3381 defined use this macro to get some bits of randomness instead of
3382 the usual gettimeofday or time calls.
3384 2001-03-16 Paul Eggert <eggert@twinsun.com>
3386 * sysdeps/posix/tempname.c (uint64_t): Define to uintmax_t if
3387 not defined, and if UINT64_MAX is not defined.
3389 2001-03-19 Ulrich Drepper <drepper@redhat.com>
3391 * elf/cache.c: Mark and have translated a few more messages.
3393 2001-03-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
3395 * elf/cache.c: Add case for FLAG_S390_LIB64.
3396 * sysdeps/generic/ldconfig.h: Add define for FLAG_S390_LIB64.
3397 * sysdeps/unix/sysv/linux/s390/ldconfig.h: New file.
3398 * sysdeps/unix/sysv/linux/s390/readelflib.c: New file.
3400 2001-03-19 Ulrich Drepper <drepper@redhat.com>
3402 * string/Makefile (tests): Add tst-strxfrm.
3403 * string/tst-strxfrm.c: New file. Based on a test case by Paul Eggert.
3404 * string/Depend: New file.
3406 2001-03-19 Paul Eggert <eggert@twinsun.com>
3408 * string/strxfrm.c (strxfrm): strxfrm should return 0, not 1,
3409 when given the empty string in nontrivial locales.
3411 2001-03-17 H.J. Lu <hjl@gnu.org>
3413 * manual/Makefile (install): Use $(INSTALL_DATA) instead of
3414 cp to install `dir'.
3416 2001-03-19 Andreas Schwab <schwab@suse.de>
3418 * Makerules (build-shlib): Make sure exit codes get checked
3421 2001-03-18 Ulrich Drepper <drepper@redhat.com>
3423 * Makerules (build-shlib): Remove unnecessary slashes introduced in
3426 * configure.in: Test for -Bgroup option of linker.
3427 * config.make.in: Define have-Bgroup.
3429 * conform/data/unistd.h-data: Require gethostname.
3430 * posix/unistd.h: Make gethostname prototype available for
3433 * crypt/Makefile: When generating DSO link with libc_nonshared.a.
3434 * debug/Makefile: Likewise.
3435 * dlfcn/Makefile: Likewise.
3436 * hesiod/Makefile: Likewise.
3437 * iconvdata/extra-module.mk: Likewise.
3438 * locale/Makefile: Likewise.
3439 * login/Makefile: Likewise.
3440 * math/Makefile: Likewise.
3441 * nis/Makefile: Likewise.
3442 * nss/Makefile: Likewise.
3443 * resolv/Makefile: Likewise.
3444 * rt/Makefile: Likewise.
3446 2001-03-17 Ulrich Drepper <drepper@redhat.com>
3448 * inet/Makefile (tests): Remove left-over comment.
3450 * posix/unistd.h (gethostname): Change type of second parameter
3451 back to size_t as per upcoming XPG6.
3452 * sysdeps/unix/sysv/aix/gethostname.c: Change type of second
3453 parameter back to size_t as per upcoming XPG6.
3454 * sysdeps/unix/sysv/sysv4/gethostname.c: Likewise.
3455 * sysdeps/unix/sysv/gethostname.c: Likewise.
3456 * sysdeps/mach/hurd/gethostname.c: Likewise.
3457 * sysdeps/generic/gethostname.c: Likewise.
3459 2001-03-16 Ulrich Drepper <drepper@redhat.com>
3461 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
3464 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext):
3467 2001-02-06 Jakub Jelinek <jakub@redhat.com>
3469 * elf/dl-load.c (_dl_map_object): Don't test l_opencount when
3470 looking for name matches.
3472 2001-02-26 Jakub Jelinek <jakub@redhat.com>
3474 * sysdeps/generic/sigcontextinfo.h (CALL_SIGHANDLER): Define.
3475 * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
3476 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
3477 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
3478 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
3479 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
3480 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
3481 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
3482 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
3483 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
3484 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
3485 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
3487 2001-03-16 Ulrich Drepper <drepper@redhat.com>
3489 * sysdeps/ieee754/ldbl-96/s_erfl.c: New file.
3490 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
3492 * sysdeps/i386/fpu/libm-test-ulps: Adjust for addition of erfl and
3494 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3496 2001-03-16 David Mosberger <davidm@hpl.hp.com>
3498 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
3499 Drop hack that was needed for 2.1.1 kernel headers.
3501 * sysdeps/unix/sysv/linux/ia64/ucontext_i.h: New file.
3503 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Rewrite to make it
3504 overlay with kernel's "struct sigcontext".
3506 * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep_headers): Add
3507 sys/rse.h for "misc" subdir.
3508 (sysdep_routines): Add __start_context for "stdlib" subdir.
3510 * sysdeps/unix/sysv/linux/ia64/sys/rse.h: New file (based on
3511 kernel file of the same name).
3513 * stdlib/Makefile (tests): Add tst-setcontext.
3514 * stdlib/tst-setcontext.c: New file (based on a sample program by
3517 * sysdeps/unix/sysv/linux/ia64/setcontext.S: New file.
3518 * sysdeps/unix/sysv/linux/ia64/getcontext.S: New file.
3519 * sysdeps/unix/sysv/linux/ia64/__start_context.S: New file.
3520 * sysdeps/unix/sysv/linux/ia64/makecontext.c: New file.
3521 * sysdeps/unix/sysv/linux/ia64/swapcontext.c: New file.
3523 * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): Use extr.u
3524 instead of shift & and.
3526 2001-03-16 Martin Schwidefsky <schwidefsky@de.ibm.com>
3528 * sysdeps/s390/s390-64/bits/huge_val.h: Move to...
3529 * sysdeps/s390/bits/huge_val.h: ...here.
3530 * sysdeps/s390/s390-32/bit/huge_val.h: Remove.
3531 * sysdeps/s390/s390-64/ffs.c: Move to...
3532 * sysdeps/s390/ffs.c: ...here.
3533 * sysdeps/s390/s390-32/ffs.c: Remove.
3535 2001-03-16 Jakub Jelinek <jakub@redhat.com>
3537 * elf/ldconfig.c (search_dir): Remove bogus diagnostic, instead
3538 update osversion from more recent library.
3540 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
3542 * sysdeps/unix/sysv/linux/s390/Dist: Move to...
3543 * sysdeps/unix/sysv/linux/s390/s390-32/Dist: ...here.
3544 * sysdeps/unix/sysv/linux/s390/Makefile: Move to...
3545 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: ...here.
3546 * sysdeps/unix/sysv/linux/s390/Versions: Move to...
3547 * sysdeps/unix/sysv/linux/s390/s390-32/Versions: ...here.
3548 * sysdeps/unix/sysv/linux/s390/alphasort64.c: Move to...
3549 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: ...here.
3550 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Move to...
3551 * sysdeps/unix/sysv/linux/s390/s390-32/bits/fcntl.h: ...here.
3552 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Move to...
3553 * sysdeps/unix/sysv/linux/s390/s390-32/bits/mman.h: ...here.
3554 * sysdeps/unix/sysv/linux/s390/bits/resource.h: Move to...
3555 * sysdeps/unix/sysv/linux/s390/s390-32/bits/resource.h: ...here.
3556 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Move to...
3557 * sysdeps/unix/sysv/linux/s390/s390-32/bits/stat.h: ...here.
3558 * sysdeps/unix/sysv/linux/s390/chown.c: Move to...
3559 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: ...here.
3560 * sysdeps/unix/sysv/linux/s390/clone.S: Move to...
3561 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: ...here.
3562 * sysdeps/unix/sysv/linux/s390/fchown.c: Move to...
3563 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: ...here.
3564 * sysdeps/unix/sysv/linux/s390/fcntl.c: Move to...
3565 * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: ...here.
3566 * sysdeps/unix/sysv/linux/s390/fxstat.c: Move to...
3567 * sysdeps/unix/sysv/linux/s390/s390-32/fxstat.c: ...here.
3568 * sysdeps/unix/sysv/linux/s390/getdents64.c: Move to...
3569 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: ...here.
3570 * sysdeps/unix/sysv/linux/s390/getegid.c: Move to...
3571 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: ...here.
3572 * sysdeps/unix/sysv/linux/s390/geteuid.c: Move to...
3573 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: ...here.
3574 * sysdeps/unix/sysv/linux/s390/getgid.c: Move to...
3575 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: ...here.
3576 * sysdeps/unix/sysv/linux/s390/getgroups.c: Move to...
3577 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: ...here.
3578 * sysdeps/unix/sysv/linux/s390/getresgid.c: Move to...
3579 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: ...here.
3580 * sysdeps/unix/sysv/linux/s390/getresuid.c: Move to...
3581 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: ...here.
3582 * sysdeps/unix/sysv/linux/s390/getrlimit.c: Move to...
3583 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: ...here.
3584 * sysdeps/unix/sysv/linux/s390/getrlimit64.c: Move to...
3585 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: ...here.
3586 * sysdeps/unix/sysv/linux/s390/getuid.c: Move to...
3587 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: ...here.
3588 * sysdeps/unix/sysv/linux/s390/lchown.c: Move to...
3589 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: ...here.
3590 * sysdeps/unix/sysv/linux/s390/lockf64.c: Move to...
3591 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: ...here.
3592 * sysdeps/unix/sysv/linux/s390/lxstat.c: Move to...
3593 * sysdeps/unix/sysv/linux/s390/s390-32/lxstat.c: ...here.
3594 * sysdeps/unix/sysv/linux/s390/mmap.S: Move to...
3595 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: ...here.
3596 * sysdeps/unix/sysv/linux/s390/mmap64.S: Move to...
3597 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: ...here.
3598 * sysdeps/unix/sysv/linux/s390/msgctl.c: Move to...
3599 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: ...here.
3600 * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: Move to...
3601 * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: ...here.
3602 * sysdeps/unix/sysv/linux/s390/readdir64.c: Move to...
3603 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: ...here.
3604 * sysdeps/unix/sysv/linux/s390/readdir64_r.c: Move to...
3605 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: ...here.
3606 * sysdeps/unix/sysv/linux/s390/register-dump.h: Move to...
3607 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: ...here.
3608 * sysdeps/unix/sysv/linux/s390/scandir64.c: Move to...
3609 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: ...here.
3610 * sysdeps/unix/sysv/linux/s390/semctl.c: Move to...
3611 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: ...here.
3612 * sysdeps/unix/sysv/linux/s390/setegid.c: Move to...
3613 * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: ...here.
3614 * sysdeps/unix/sysv/linux/s390/seteuid.c: Move to...
3615 * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: ...here.
3616 * sysdeps/unix/sysv/linux/s390/setfsgid.c: Move to...
3617 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: ...here.
3618 * sysdeps/unix/sysv/linux/s390/setfsuid.c: Move to...
3619 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: ...here.
3620 * sysdeps/unix/sysv/linux/s390/setgid.c: Move to...
3621 * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: ...here.
3622 * sysdeps/unix/sysv/linux/s390/setgroups.c: Move to...
3623 * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: ...here.
3624 * sysdeps/unix/sysv/linux/s390/setregid.c: Move to...
3625 * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: ...here.
3626 * sysdeps/unix/sysv/linux/s390/setresgid.c: Move to...
3627 * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: ...here.
3628 * sysdeps/unix/sysv/linux/s390/setresuid.c: Move to...
3629 * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: ...here.
3630 * sysdeps/unix/sysv/linux/s390/setreuid.c: Move to...
3631 * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: ...here.
3632 * sysdeps/unix/sysv/linux/s390/setrlimit.c: Move to...
3633 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: ...here.
3634 * sysdeps/unix/sysv/linux/s390/setuid.c: Move to...
3635 * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: ...here.
3636 * sysdeps/unix/sysv/linux/s390/shmctl.c: Move to...
3637 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: ...here.
3638 * sysdeps/unix/sysv/linux/s390/socket.S: Move to...
3639 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: ...here.
3640 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Move to...
3641 * sysdeps/unix/sysv/linux/s390/s390-32/sys/procfs.h: ...here.
3642 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Move to...
3643 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: ...here.
3644 * sysdeps/unix/sysv/linux/s390/syscall.S: Move to...
3645 * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: ...here.
3646 * sysdeps/unix/sysv/linux/s390/syscalls.list: Move to...
3647 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: ...here.
3648 * sysdeps/unix/sysv/linux/s390/sysdep.S: Move to...
3649 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: ...here.
3650 * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
3651 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here.
3652 * sysdeps/unix/sysv/linux/s390/versionsort64.c: Move to...
3653 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: ...here.
3654 * sysdeps/unix/sysv/linux/s390/xstat.c: Move to...
3655 * sysdeps/unix/sysv/linux/s390/s390-32/xstat.c: ...here.
3657 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
3659 * sysdeps/unix/sysv/linux/s390/s390-64/Dist: New file.
3660 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: New file.
3661 * sysdeps/unix/sysv/linux/s390/s390-64/bits/elfclass.h: New file.
3662 * sysdeps/unix/sysv/linux/s390/s390-64/bits/fcntl.h: New file.
3663 * sysdeps/unix/sysv/linux/s390/s390-64/bits/ipc.h: New file.
3664 * sysdeps/unix/sysv/linux/s390/s390-64/bits/mman.h: New file.
3665 * sysdeps/unix/sysv/linux/s390/s390-64/bits/msq.h: New file.
3666 * sysdeps/unix/sysv/linux/s390/s390-64/bits/resource.h: New file.
3667 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sem.h: New file.
3668 * sysdeps/unix/sysv/linux/s390/s390-64/bits/shm.h: New file.
3669 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: New file.
3670 * sysdeps/unix/sysv/linux/s390/s390-64/bits/siginfo.h: New file.
3671 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigstack.h: New file.
3672 * sysdeps/unix/sysv/linux/s390/s390-64/bits/stat.h: New file.
3673 * sysdeps/unix/sysv/linux/s390/s390-64/bits/types.h: New file.
3674 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: New file.
3675 * sysdeps/unix/sysv/linux/s390/s390-64/fstatfs64.c: New file.
3676 * sysdeps/unix/sysv/linux/s390/s390-64/ftruncate64.c: New file.
3677 * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: New file.
3678 * sysdeps/unix/sysv/linux/s390/s390-64/fxstat64.c: New file.
3679 * sysdeps/unix/sysv/linux/s390/s390-64/getdents.c: New file.
3680 * sysdeps/unix/sysv/linux/s390/s390-64/getdents64.c: New file.
3681 * sysdeps/unix/sysv/linux/s390/s390-64/getrlimit64.c: New file.
3682 * sysdeps/unix/sysv/linux/s390/s390-64/glob.c: New file.
3683 * sysdeps/unix/sysv/linux/s390/s390-64/glob64.c: New file.
3684 * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: New file.
3685 * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: New file.
3686 * sysdeps/unix/sysv/linux/s390/s390-64/lxstat64.c: New file.
3687 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: New file.
3688 * sysdeps/unix/sysv/linux/s390/s390-64/mmap64.c: New file.
3689 * sysdeps/unix/sysv/linux/s390/s390-64/pread64.c: New file.
3690 * sysdeps/unix/sysv/linux/s390/s390-64/pwrite64.c: New file.
3691 * sysdeps/unix/sysv/linux/s390/s390-64/readdir.c: New file.
3692 * sysdeps/unix/sysv/linux/s390/s390-64/readdir64.c: New file.
3693 * sysdeps/unix/sysv/linux/s390/s390-64/readdir64_r.c: New file.
3694 * sysdeps/unix/sysv/linux/s390/s390-64/readdir_r.c : New file.
3695 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: New file.
3696 * sysdeps/unix/sysv/linux/s390/s390-64/setrlimit64.c: New file.
3697 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: New file.
3698 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: New file.
3699 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c: New file.
3700 * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: New file.
3701 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: New file.
3702 * sysdeps/unix/sysv/linux/s390/s390-64/statfs64.c: New file.
3703 * sysdeps/unix/sysv/linux/s390/s390-64/sys/procfs.h: New file.
3704 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: New file.
3705 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: New file.
3706 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: New file.
3707 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: New file.
3708 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: New file.
3709 * sysdeps/unix/sysv/linux/s390/s390-64/truncate64.c: New file.
3710 * sysdeps/unix/sysv/linux/s390/s390-64/xstat.c: New file.
3711 * sysdeps/unix/sysv/linux/s390/s390-64/xstat64.c: New file.
3713 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
3715 * sysdeps/s390/Dist: Move to...
3716 * sysdeps/s390/390-32/Dist: ...here.
3717 * sysdeps/s390/Implies: Move to...
3718 * sysdeps/s390/s390-32/Implies: ...here.
3719 * sysdeps/s390/Makefile: Move to...
3720 * sysdeps/s390/s390-32/Makefile: ...here.
3721 * sysdeps/s390/Versions: Move to...
3722 * sysdeps/s390-32/s390/Versions: ...here.
3723 * sysdeps/s390/add_n.S: Move to...
3724 * sysdeps/s390/s390-32/add_n.S: ...here.
3725 * sysdeps/s390/addmul_1.S: Move to...
3726 * sysdeps/s390/s390-32/addmul_1.S: ...here.
3727 * sysdeps/s390/atomicity.h: Move to...
3728 * sysdeps/s390/s390-32/atomicity.h: ...here.
3729 * sysdeps/s390/backtrace.c: Move to...
3730 * sysdeps/s390/s390-32/backtrace.c: ...here.
3731 * sysdeps/s390/bcopy.S: Move to...
3732 * sysdeps/s390/s390-32/bcopy.S: ...here.
3733 * sysdeps/s390/bits/byteswap.h: Move to...
3734 * sysdeps/s390/s390-32/bits/byteswap.h: ...here.
3735 * sysdeps/s390/bits/huge_val.h: Move to...
3736 * sysdeps/s390/s390-32/bits/huge_val.h: ...here.
3737 * sysdeps/s390/bsd-_setjmp.S: Move to...
3738 * sysdeps/s390/s390-32/bsd-_setjmp.S: ...here.
3739 * sysdeps/s390/bsd-setjmp.S: Move to...
3740 * sysdeps/s390/s390-32/bsd-setjmp.S: ...here.
3741 * sysdeps/s390/bzero.S: Move to...
3742 * sysdeps/s390/s390-32/bzero.S: ...here.
3743 * sysdeps/s390/elf/bsd-_setjmp.S: Move to...
3744 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: ...here.
3745 * sysdeps/s390/elf/bsd-setjmp.S: Move to...
3746 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: ...here.
3747 * sysdeps/s390/elf/start.S: Move to...
3748 * sysdeps/s390/s390-32/elf/start.S: ...here.
3749 * sysdeps/s390/ffs.c: Move to...
3750 * sysdeps/s390/s390-32/ffs.c: ...here.
3751 * sysdeps/s390/memchr.S: Move to...
3752 * sysdeps/s390/s390-32/memchr.S: ...here.
3753 * sysdeps/s390/memcpy.S: Move to...
3754 * sysdeps/s390/s390-32/memcpy.S: ...here.
3755 * sysdeps/s390/memset.S: Move to...
3756 * sysdeps/s390/s390-32/memset.S: ...here.
3757 * sysdeps/s390/mul_1.S: Move to...
3758 * sysdeps/s390/s390-32/mul_1.S: ...here.
3759 * sysdeps/s390/s390-mcount.S: Move to...
3760 * sysdeps/s390/s390-32/s390-mcount.S: ...here.
3761 * sysdeps/s390/strcpy.S: Move to...
3762 * sysdeps/s390/s390-32/strcpy.S: ...here.
3763 * sysdeps/s390/strncpy.S: Move to...
3764 * sysdeps/s390/s390-32/strncpy.S: ...here.
3765 * sysdeps/s390/sub_n.S: Move to...
3766 * sysdeps/s390/s390-32/sub_n.S: ...here.
3768 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
3770 * sysdeps/s390/s390-64/Dist: New file.
3771 * sysdeps/s390/s390-64/Implies: New file.
3772 * sysdeps/s390/s390-64/Makefile: New file.
3773 * sysdeps/s390/s390-64/__longjmp.c: New file.
3774 * sysdeps/s390/s390-64/add_n.S: New file.
3775 * sysdeps/s390/s390-64/atomicity.h: New file.
3776 * sysdeps/s390/s390-64/backtrace.c: New file.
3777 * sysdeps/s390/s390-64/bcopy.S: New file.
3778 * sysdeps/s390/s390-64/bits/byteswap.h: New file.
3779 * sysdeps/s390/s390-64/bits/huge_val.h: New file.
3780 * sysdeps/s390/s390-64/bits/setjmp.h: New file.
3781 * sysdeps/s390/s390-64/bits/string.h: New file.
3782 * sysdeps/s390/s390-64/bsd-_setjmp.S: New file.
3783 * sysdeps/s390/s390-64/bsd-setjmp.S: New file.
3784 * sysdeps/s390/s390-64/bzero.S: New file.
3785 * sysdeps/s390/s390-64/dl-machine.h: New file.
3786 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: New file.
3787 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: New file.
3788 * sysdeps/s390/s390-64/elf/setjmp.S: New file.
3789 * sysdeps/s390/s390-64/elf/start.S: New file.
3790 * sysdeps/s390/s390-64/ffs.c: New file.
3791 * sysdeps/s390/s390-64/initfini.c: New file.
3792 * sysdeps/s390/s390-64/memchr.S: New file.
3793 * sysdeps/s390/s390-64/memcpy.S: New file.
3794 * sysdeps/s390/s390-64/memset.S: New file.
3795 * sysdeps/s390/s390-64/s390x-mcount.S: New file.
3796 * sysdeps/s390/s390-64/setjmp.S: New file.
3797 * sysdeps/s390/s390-64/strcpy.S: New file.
3798 * sysdeps/s390/s390-64/strncpy.S: New file.
3799 * sysdeps/s390/s390-64/sub_n.S: New file.
3800 * sysdeps/s390/s390-64/sysdep.h: New file.
3802 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
3804 * scripts/config.guess: Add support for Linux on 64 bit S/390.
3805 * scripts/config.sub: Likewise.
3807 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
3809 * configure.in: Add support for 64 bit S/390.
3811 * elf/elf.h: Add new relocations for 64 bit S/390.
3813 * shlib-versions: Add rules for Linux on 64 bit S/390.
3815 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
3817 * sysdeps/s390/__longjmp.c: Move to...
3818 * sysdeps/s390/s390-32/__longjmp.c: ...here. Add code
3819 to load the floating point registers that should be saved
3820 according to the ABI.
3822 * sysdeps/s390/bits/setjmp.h: Move to...
3823 * sysdeps/s390/s390-32/bits/setjmp.h: ...here. Avoid
3824 the use of long long in the __jmp_buf type definition.
3826 * sysdeps/s390/bits/string.h: Move to...
3827 * sysdeps/s390/s390-32/bits/string.h: ...here. Add several missing
3828 #ifndef _FORCE_INLINES.
3830 * sysdeps/s390/dl-machine.h: Move to...
3831 * sysdeps/s390/s390-32/dl-machine.h: ...here. Add a check for the
3832 executables EI_CLASS in elf_machine_matches_host.
3834 * sysdeps/s390/elf/setjmp.S: Move to...
3835 * sysdeps/s390/s390-32/elf/setjmp.S: ...here. Replace
3836 branches to globally defined symbol __sigsetjmp by branches to
3837 a local label (this avoids the generation of a R_390_PC16DBL
3838 relocation in -fpic code).
3840 * sysdeps/s390/gmp-mparam.h: Use defines from <bits/wordsize.h> to
3841 calculate BITS_PER_MP_LIMB, BYTES_PER_MP_LIMB and BITS_PER_LONGINT.
3843 * sysdeps/s390/initfini.c: Move to...
3844 * sysdeps/s390/s390-32/initfini.c: ...here. Replace ALIGN with
3847 * sysdeps/s390/setjmp.S: Move to...
3848 * sysdeps/s390/s390-32/setjmp.S: ...here. Add code to store the
3849 floating point registers that should be saved according to the ABI.
3851 * sysdeps/s390/sys/ucontext.h: Remove since it is unused.
3853 * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
3854 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here. Include
3855 sysdeps/s390/s390-32/sysdep.h instead of sysdeps/s390/sysdep.h.
3857 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
3859 * configure.in: Change machine=s390 to machine=s390/s390-32.
3861 * elf/elf.h: Correct comment for R_390_PLT16DBL.
3863 2001-03-12 Jakub Jelinek <jakub@redhat.com>
3865 * csu/Makefile (abi-tag.h): Define OS and version separately, allow
3866 version to be overriden from config.h.
3867 * csu/abi-note.S: Use OS and version separately, include config.h.
3868 * elf/dl-load.c (_dl_osversion): New.
3869 (_dl_map_object_from_fd): Kill some warnings.
3870 (open_verify): Check .note.ABI-tag of the library if present.
3871 * elf/Makefile (CPPFLAGS-dl-load.c): Add -I$(csu-objpfx).
3872 * elf/cache.c (struct cache_entry): Add osversion.
3873 (print_entry): Print osversion.
3874 (print_cache): Pass osversion to it.
3875 (compare): Sort according to osversion.
3876 (save_cache): Set osversion.
3877 (add_to_cache): Add osversion argument.
3878 * sysdeps/generic/ldconfig.h (add_to_cache, process_file,
3879 process_elf_file): Add osversion argument.
3880 * elf/readlib.c (process_file): Likewise.
3881 * sysdeps/generic/readelflib.c (process_elf_file): Likewise.
3882 * sysdeps/unix/sysv/linux/ia64/readelflib.c (process_elf_file,
3883 process_elf32_file, process_elf64_file): Likewise.
3884 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file,
3885 process_elf32_file, process_elf64_file): Likewise.
3886 * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file,
3887 process_elf32_file, process_elf64_file): Likewise.
3888 * elf/ldconfig.c (manual_link): Pass it.
3889 (search_dir): Issue diagnostic if two libs with the same soname in
3890 the same directory have different .note.ABI-tag. Record osversion in
3891 dlib_entry and use it from there.
3892 (struct lib_entry): Remove.
3893 (struct dlib_entry): Add osversion.
3894 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Check
3896 * sysdeps/generic/dl-cache.h (struct file_entry_new): Replace __unused
3897 field with osversion.
3898 * sysdeps/generic/ldsodefs.h (_dl_osversion): Declare.
3899 * sysdeps/unix/sysv/linux/init-first.c: Include ldsodefs.h.
3900 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Save kernel
3901 version in _dl_osversion.
3902 * sysdeps/unix/sysv/linux/configure.in: Define __ABI_TAG_VERSION.
3903 * Makerules (build-shlib-helper, build-module-helper): New.
3904 (build-shlib, build-module-helper): Make sure .note.ABI-tag comes
3906 * config.h.in (__ABI_TAG_VERSION): Add.
3907 * elf/dl-minimal.c (__strtoul_internal): Set endptr on return.
3908 * sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS):
3909 Handle LD_ASSUME_KERNEL.
3910 * sysdeps/unix/sysv/linux/dl-librecon.h: New.
3912 2001-03-15 Ulrich Drepper <drepper@redhat.com>
3914 * timezone/antarctica: Update from tzdata2001a.
3915 * timezone/asia: Likewise.
3916 * timezone/australasia: Likewise.
3917 * timezone/backward: Likewise.
3918 * timezone/etcetera: Likewise.
3919 * timezone/europe: Likewise.
3920 * timezone/leapseconds: Likewise.
3921 * timezone/northamerica: Likewise.
3922 * timezone/southamerica: Likewise.
3923 * timezone/systemv: Likewise.
3924 * timezone/yearistype: Likewise.
3925 * timezone/zone.tab: Likewise.
3926 * timezone/tzdump.c: Update from tzcode2001a.
3928 2001-03-15 H.J. Lu <hjl@gnu.org>
3930 * intl/Makefile: Fix a typo.
3932 2001-03-14 David Mosberger <davidm@hpl.hp.com>
3934 * gmon/gmon.c (write_call_graph): Avoid unaligned accesses when
3935 writing arc structures.
3937 2001-03-15 H.J. Lu <hjl@gnu.org>
3939 * elf/Makefile ($(objpfx)tst-pathopt.out): Protected against
3942 2001-03-13 Andreas Schwab <schwab@suse.de>
3944 * posix/PTESTS2C.sed: Replace literal CRs by `\r'.
3946 2001-03-15 Ulrich Drepper <drepper@redhat.com>
3948 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Fix test
3949 for control message fitting into message data.
3950 Patch by James Antill <james@and.org>.
3952 * posix/tst-fnmatch.input: Add test case for FNM_PERIOD handling with
3955 * posix/fnmatch_loop.c: Optimize handling of ?() and @().
3956 * posix/fnmatch.c: Define STRLEN and STRCAT appropriately.
3958 * posix/Versions [libc] (GLIBC_2.2.3): Add fnmatch.
3959 * posix/fnmatch.c: Define with new default version GLIBC_2.2.3 to
3960 avoid running binaries with libc versions without FNM_EXTMATCH support.
3962 * include/wchar.h: Add prototype for __wcscat.
3963 * wcsmbs/wcscat.c: Define __wcscat and make wcscat weak alias.
3965 * posix/fnmatch.h (FNM_EXTMATCH): Define.
3966 * posix/fnmatch.c (NO_LEADING_PERIOD): Define.
3967 (posixly_correct): Move global variable here.
3968 (INT, EXT, END): Name new functions defined in fnmatch_loop.c.
3969 (fnmatch): Pretty printing.
3970 * posix/fnmatch_loop.c: Add code to handle FNM_EXTMATCH.
3971 * posix/tst-fnmatch.c: Recognize EXTMATCH flag.
3972 * posix/tst-fnmatch.input: Add tests for extended matching.
3974 * posix/testfnm.c: Add test for patterns with multiple ** before /.
3975 * posix/fnmatch_loop.c: Fix problem with the test above.
3977 2001-03-14 Ulrich Drepper <drepper@redhat.com>
3979 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove
3982 * resolv/res_data.c (fp_nquery): Call __res_ninit not __res_init.
3984 2001-03-12 Andreas Jaeger <aj@suse.de>
3986 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
3987 Use EM_X86_64 instead of EM_X8664.
3989 2001-03-12 Ulrich Drepper <drepper@redhat.com>
3991 * sysdeps/ieee754/dbl-64/upow.h: Define nZERO and nINF.
3993 * sysdeps/ieee754/dbl-64/e_remainder.c: Fix handling of boundary
3996 * sysdeps/ieee754/dbl-64/e_pow.c: Fix handling of boundary
3999 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Handle Inf and NaN
4003 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Handle NaN
4005 (__ieee754_acos): Likewise.
4007 2001-03-12 Andreas Jaeger <aj@suse.de>
4009 * sysdeps/unix/sysv/linux/s390/sysdep.h (_LINUX_S390_SYSDEP_H):
4010 Fix typo. Patch by Martin Schwidefsky <schwidefsky@de.ibm.com>.
4012 * sysdeps/s390/bits/string.h: Protect __STRING_INLINE against
4015 2001-03-11 Roland McGrath <roland@frob.com>
4017 * sysdeps/mach/hurd/configure.in: Add a sanity check on $prefix.
4019 2001-03-11 Ulrich Drepper <drepper@redhat.com>
4021 * sysdeps/ieee754/dbl-64/endian.h: Define also one of BIG_ENDI and
4024 * sysdeps/ieee754/dbl-64/MathLib.h (Init_Lib): Use void as
4027 Last-bit accurate math library implementation by IBM Haifa.
4028 Contributed by Abraham Ziv <ziv@il.ibm.com>, Moshe Olshansky
4029 <olshansk@il.ibm.com>, Ealan Henis <ealan@il.ibm.com>, and
4030 Anna Reitman <reitman@il.ibm.com>.
4031 * math/Makefile (dbl-only-routines): New variable.
4032 (libm-routines): Add $(dbl-only-routines).
4033 * sysdeps/ieee754/dbl-64/e_acos.c: Empty, definition is in e_asin.c.
4034 * sysdeps/ieee754/dbl-64/e_asin.c: Replaced with accurate asin
4036 * sysdeps/ieee754/dbl-64/e_atan2.c: Replaced with accurate atan2
4038 * sysdeps/ieee754/dbl-64/e_exp.c: Replaced with accurate exp
4040 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't use __kernel_sin and
4042 * sysdeps/ieee754/dbl-64/e_log.c: Replaced with accurate log
4044 * sysdeps/ieee754/dbl-64/e_remainder.c: Replaced with accurate
4045 remainder implementation.
4046 * sysdeps/ieee754/dbl-64/e_pow.c: Replaced with accurate pow
4048 * sysdeps/ieee754/dbl-64/e_sqrt.c: Replaced with accurate sqrt
4050 * sysdeps/ieee754/dbl-64/k_cos.c: Empty, definition is in s_sin.c.
4051 * sysdeps/ieee754/dbl-64/k_sin.c: Empty, definition is in s_sin.c.
4052 * sysdeps/ieee754/dbl-64/s_atan.c: Replaced with accurate atan
4054 * sysdeps/ieee754/dbl-64/s_cos.c: Empty, definition is in s_sin.c.
4055 * sysdeps/ieee754/dbl-64/s_sin.c: Replaced with accurate sin/cos
4057 * sysdeps/ieee754/dbl-64/s_sincos.c: Rewritten to not use __kernel_sin
4059 * sysdeps/ieee754/dbl-64/s_tan.c: Replaced with accurate tan
4061 * sysdeps/ieee754/dbl-64/Dist: Add new non-code files.
4062 * sysdeps/ieee754/dbl-64/MathLib.h: New file.
4063 * sysdeps/ieee754/dbl-64/asincos.tbl: New file.
4064 * sysdeps/ieee754/dbl-64/atnat.h: New file.
4065 * sysdeps/ieee754/dbl-64/atnat2.h: New file.
4066 * sysdeps/ieee754/dbl-64/branred.c: New file.
4067 * sysdeps/ieee754/dbl-64/branred.h: New file.
4068 * sysdeps/ieee754/dbl-64/dla.h: New file.
4069 * sysdeps/ieee754/dbl-64/doasin.c: New file.
4070 * sysdeps/ieee754/dbl-64/doasin.h: New file.
4071 * sysdeps/ieee754/dbl-64/dosincos.c: New file.
4072 * sysdeps/ieee754/dbl-64/dosincos.h: New file.
4073 * sysdeps/ieee754/dbl-64/endian.h: New file.
4074 * sysdeps/ieee754/dbl-64/halfulp.c: New file.
4075 * sysdeps/ieee754/dbl-64/mpa.c: New file.
4076 * sysdeps/ieee754/dbl-64/mpa.h: New file.
4077 * sysdeps/ieee754/dbl-64/mpa2.h: New file.
4078 * sysdeps/ieee754/dbl-64/mpatan.c: New file.
4079 * sysdeps/ieee754/dbl-64/mpatan.h: New file.
4080 * sysdeps/ieee754/dbl-64/mpatan2.c: New file.
4081 * sysdeps/ieee754/dbl-64/mpexp.c: New file.
4082 * sysdeps/ieee754/dbl-64/mpexp.h: New file.
4083 * sysdeps/ieee754/dbl-64/mplog.c: New file.
4084 * sysdeps/ieee754/dbl-64/mplog.h: New file.
4085 * sysdeps/ieee754/dbl-64/mpsqrt.c: New file.
4086 * sysdeps/ieee754/dbl-64/mpsqrt.h: New file.
4087 * sysdeps/ieee754/dbl-64/mptan.c: New file.
4088 * sysdeps/ieee754/dbl-64/mydefs.h: New file.
4089 * sysdeps/ieee754/dbl-64/powtwo.tbl: New file.
4090 * sysdeps/ieee754/dbl-64/root.tbl: New file.
4091 * sysdeps/ieee754/dbl-64/sincos.tbl: New file.
4092 * sysdeps/ieee754/dbl-64/sincos32.c: New file.
4093 * sysdeps/ieee754/dbl-64/sincos32.h: New file.
4094 * sysdeps/ieee754/dbl-64/slowexp.c: New file.
4095 * sysdeps/ieee754/dbl-64/slowpow.c: New file.
4096 * sysdeps/ieee754/dbl-64/uasncs.h: New file.
4097 * sysdeps/ieee754/dbl-64/uatan.tbl: New file.
4098 * sysdeps/ieee754/dbl-64/uexp.h: New file.
4099 * sysdeps/ieee754/dbl-64/uexp.tbl: New file.
4100 * sysdeps/ieee754/dbl-64/ulog.h: New file.
4101 * sysdeps/ieee754/dbl-64/ulog.tbl: New file.
4102 * sysdeps/ieee754/dbl-64/upow.h: New file.
4103 * sysdeps/ieee754/dbl-64/upow.tbl: New file.
4104 * sysdeps/ieee754/dbl-64/urem.h: New file.
4105 * sysdeps/ieee754/dbl-64/uroot.h: New file.
4106 * sysdeps/ieee754/dbl-64/usncs.h: New file.
4107 * sysdeps/ieee754/dbl-64/utan.h: New file.
4108 * sysdeps/ieee754/dbl-64/utan.tbl: New file.
4109 * sysdeps/i386/fpu/branred.c: New file.
4110 * sysdeps/i386/fpu/doasin.c: New file.
4111 * sysdeps/i386/fpu/dosincos.c: New file.
4112 * sysdeps/i386/fpu/halfulp.c: New file.
4113 * sysdeps/i386/fpu/mpa.c: New file.
4114 * sysdeps/i386/fpu/mpatan.c: New file.
4115 * sysdeps/i386/fpu/mpatan2.c: New file.
4116 * sysdeps/i386/fpu/mpexp.c: New file.
4117 * sysdeps/i386/fpu/mplog.c: New file.
4118 * sysdeps/i386/fpu/mpsqrt.c: New file.
4119 * sysdeps/i386/fpu/mptan.c: New file.
4120 * sysdeps/i386/fpu/sincos32.c: New file.
4121 * sysdeps/i386/fpu/slowexp.c: New file.
4122 * sysdeps/i386/fpu/slowpow.c: New file.
4123 * sysdeps/ia64/fpu/branred.c: New file.
4124 * sysdeps/ia64/fpu/doasin.c: New file.
4125 * sysdeps/ia64/fpu/dosincos.c: New file.
4126 * sysdeps/ia64/fpu/halfulp.c: New file.
4127 * sysdeps/ia64/fpu/mpa.c: New file.
4128 * sysdeps/ia64/fpu/mpatan.c: New file.
4129 * sysdeps/ia64/fpu/mpatan2.c: New file.
4130 * sysdeps/ia64/fpu/mpexp.c: New file.
4131 * sysdeps/ia64/fpu/mplog.c: New file.
4132 * sysdeps/ia64/fpu/mpsqrt.c: New file.
4133 * sysdeps/ia64/fpu/mptan.c: New file.
4134 * sysdeps/ia64/fpu/sincos32.c: New file.
4135 * sysdeps/ia64/fpu/slowexp.c: New file.
4136 * sysdeps/ia64/fpu/slowpow.c: New file.
4137 * sysdeps/m68k/fpu/branred.c: New file.
4138 * sysdeps/m68k/fpu/doasin.c: New file.
4139 * sysdeps/m68k/fpu/dosincos.c: New file.
4140 * sysdeps/m68k/fpu/halfulp.c: New file.
4141 * sysdeps/m68k/fpu/mpa.c: New file.
4142 * sysdeps/m68k/fpu/mpatan.c: New file.
4143 * sysdeps/m68k/fpu/mpatan2.c: New file.
4144 * sysdeps/m68k/fpu/mpexp.c: New file.
4145 * sysdeps/m68k/fpu/mplog.c: New file.
4146 * sysdeps/m68k/fpu/mpsqrt.c: New file.
4147 * sysdeps/m68k/fpu/mptan.c: New file.
4148 * sysdeps/m68k/fpu/sincos32.c: New file.
4149 * sysdeps/m68k/fpu/slowexp.c: New file.
4150 * sysdeps/m68k/fpu/slowpow.c: New file.
4152 * iconvdata/gconv-modules: Add a number of alias, mostly for IBM
4155 2001-03-11 Andreas Jaeger <aj@suse.de>
4157 * elf/elf.h (EM_*): Synch with official list.
4159 2001-03-07 David Mosberger <davidm@hpl.hp.com>
4161 * sysdeps/ia64/bits/fenv.h (FE_NONIEEE_ENV): New macro.
4163 2001-03-07 Jes Sorensen <jes@linuxcare.com>
4165 * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Remove unused
4166 variables addr & len.
4168 2001-02-22 Jes Sorensen <jes@linuxcare.com>
4170 * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Remove
4171 punctuation in asm constraint.
4173 2001-03-07 Mark Kettenis <kettenis@gnu.org>
4175 * resolv/netdb.h [__USE_GNU]: Define __need_timespec and include
4176 <time.h> to get definition of `struct timespec'.
4178 2001-03-08 Jakub Jelinek <jakub@redhat.com>
4180 * elf/rtld.c (dl_main): If tracing, warn about undefined symbols if
4181 LD_WARN=1, not if LD_WARN is unset.
4183 2001-03-07 Andreas Schwab <schwab@suse.de>
4185 * elf/ldconfig.h: Moved to ...
4186 * sysdeps/generic/ldconfig.h: ... here.
4187 * sysdeps/unix/sysv/linux/i386/ldconfig.h: New file.
4188 * sysdeps/unix/sysv/linux/m68k/ldconfig.h: New file.
4189 * sysdeps/unix/sysv/linux/ia64/ldconfig.h: New file.
4190 * elf/readlib.c (interpreters, known_libs): Use
4191 SYSDEP_KNOWN_INTERPRETER_NAMES and SYSDEP_KNOWN_LIBRARY_NAMES
4192 instead of hard coding old names.
4194 2001-03-09 Ulrich Drepper <drepper@redhat.com>
4196 * catgets/Makefile (generated): Add test-gencat.h.
4197 (sample.SJIS.cat): Also generate header.
4198 * catgets/sample.SJIS: Add new set and message, both with symbolic
4200 * catgets/test-gencat.sh: Also compare generated header with what
4203 2001-03-07 Jakub Jelinek <jakub@redhat.com>
4205 * catgets/gencat.c (read_input_file): Preserve properly symbolic
4208 2001-03-06 Andreas Jaeger <aj@suse.de>
4210 * sysdeps/s390/dl-machine.h (elf_machine_relplt): Removed, it's not
4212 (elf_machine_pltrel_p): Likewise.
4213 * sysdeps/powerpc/dl-machine.h: Likewise.
4214 * sysdeps/generic/dl-machine.h (elf_machine_pltrel_p): Likewise.
4216 2001-03-09 Ulrich Drepper <drepper@redhat.com>
4218 * sysdeps/unix/sysv/linux/arm/Dist: Add dl-procinfo.c and
4221 2001-03-05 Philip Blundell <philb@gnu.org>
4223 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c: New file.
4224 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h: New file.
4225 * sysdeps/unix/sysv/linux/arm/Makefile [subdir=elf]
4226 (sysdep-dl-routines, sysdep_routines, sysdep-rtld-routines): Add
4229 2001-03-09 Ulrich Drepper <drepper@redhat.com>
4231 * dlfcn/tstatexit.c (main): Don't perform the test if __dso_handle
4233 * dlfcn/tstcxaatexit.c (main): Likewise.
4235 2001-03-10 Andreas Jaeger <aj@suse.de>
4237 * sysdeps/i386/fpu/libm-test-ulps: Revert last patch.
4239 2001-03-09 Andreas Jaeger <aj@suse.de>
4241 * sysdeps/s390/dl-machine.h (elf_machine_matches_host): Handle
4242 both new and old EM_S390 values.
4243 (EM_S390_OLD): New constant.
4245 * elf/elf.h (EM_S390): Use official value.
4247 2001-03-09 Ulrich Drepper <drepper@redhat.com>
4249 * conform/data/sys/socket.h-data: Allow SO* symbols.
4251 2001-03-07 Andreas Schwab <schwab@suse.de>
4253 * sysdeps/ia64/fpu/Makefile: Modify sysdep_routines instead of
4254 routines, and sysdep-CPPFLAGS instead of CPPFLAGS.
4256 2001-03-07 Andreas Jaeger <aj@suse.de>
4258 * resolv/Makefile (routines): Only build gai_sigqueue when threads
4261 2001-03-07 Jakub Jelinek <jakub@redhat.com>
4263 * elf/ldconfig.c (_dl_sysdep_message): Remove.
4264 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Include
4266 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
4268 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Use
4269 _dl_error_printf instead of _dl_sysdep_error.
4270 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4271 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h (_dl_procinfo):
4272 Use _dl_printf instead of _dl_sysdep_message.
4273 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h (_dl_procinfo):
4276 2001-03-06 Ben Collins <bcollins@debian.org>
4278 * manual/arith.texi (Integers): Fix documentation of fast and
4279 least integer typedefs.
4281 2001-03-06 Jakub Jelinek <jakub@redhat.com>
4283 * resolv/Depend: New file.
4284 * resolv/Makefile (extra-libs, tests): Build libanl and ga_test only
4285 when libpthread is built.
4287 2001-03-06 Andreas Jaeger <aj@suse.de>
4289 * sysdeps/i386/fpu/libm-test-ulps: Add some deltas.
4291 * sysdeps/sh/dl-machine.h (elf_machine_rela): Add missing comma.
4292 Patch by kaz Kojima <kkojima@rr.iij4u.or.jp>.
4294 2001-03-05 Ulrich Drepper <drepper@redhat.com>
4296 * stdlib/Versions: Remove __new_exitfn again. Not needed.
4298 2001-03-05 Andreas Jaeger <aj@suse.de>
4300 * stdlib/msort.c (qsort): Don't use alloca in a function call.
4302 2001-03-05 Ulrich Drepper <drepper@redhat.com>
4304 * sysdeps/unix/sysv/linux/bits/stat.h (__S_TYPEISMQ, __S_TYPEISSEM,
4305 __S_TYPEISSHM): Rewrite to enforce correct use the macros. They still
4307 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
4308 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
4309 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
4310 * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Likewise.
4311 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
4312 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
4313 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
4315 2001-03-04 Andreas Jaeger <aj@suse.de>
4317 * stdlib/longlong.h: Don't use multi-line strings.
4318 * iconvdata/tst-loading.c: Likewise.
4320 * csu/Makefile ($(objpfx)version-info.h): Don't use multi-line
4323 2001-03-04 Ulrich Drepper <drepper@redhat.com>
4325 * sysdeps/ia64/fpu/libm-test-ulps: Adjust for addition of lgammal.
4327 * rt/lio_listio.c: Add a few asserts.
4329 * elf/global.c: New file.
4330 * elf/globalmod1.c: New file.
4331 * elf/Makefile: Add rules to build and run global.
4333 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Define SI_ASYNCNL.
4334 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
4335 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
4336 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4337 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
4339 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: New file.
4340 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
4342 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Fix handling of boundary cases.
4344 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Always initialize sign variable.
4345 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
4347 * sysdeps/i386/fpu/libm-test-ulps: Adjust after addition of lgammal.
4349 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Fix typo in last change.
4351 2001-03-04 Andreas Jaeger <aj@suse.de>
4353 * resolv/tst-aton.c: Add testcase for IP with four periods.
4355 * resolv/inet_addr.c: Don't recognize an IP with four periods.
4356 Patch by Andre' Breiler <A.Breiler@gmx.net>.
4358 2001-02-27 Philip Blundell <pb@futuretv.com>
4360 * elf/elf.h: Add new ARM definitions from latest (B-01)
4361 specification. Correct naming of EF_ARM_ALIGN8 et al.
4363 2001-03-04 Ulrich Drepper <drepper@redhat.com>
4365 * stdio-common/tst-printf.sh: Remove bashisms.
4366 Patch by Matthew Clarke <Matthew_Clarke@mindlink.bc.ca>.
4368 2001-03-03 Ulrich Drepper <drepper@redhat.com>
4370 * Versions.def: Add libanl definition.
4371 * shlib-versions: Add entry for libanl.
4372 * resolv/Makefile (distribute): Add gai_misc.h and ga_test.c.
4373 (routines): Add gai_sigqueue.
4374 (extra-libs): Add libanl.
4375 (libanl-routines): New variable.
4376 Add rules to build libanl and ga_test.
4377 * resolv/Versions [libc] (GLIBC_2.2.3): Add __gai_sigqueue.
4378 [libanl]: New library.
4379 * resolv/netdb.h: Add definitions for libanl.
4380 * resolv/getaddrinfo_a.c: New file.
4381 * resolv/gai_cancel.c: New file.
4382 * resolv/gai_error.c: New file.
4383 * resolv/gai_misc.c: New file.
4384 * resolv/gai_misc.h: New file.
4385 * resolv/gai_notify.c: New file.
4386 * resolv/gai_suspend.c: New file.
4387 * resolv/ga_test.c: New file.
4388 * sysdeps/generic/gai_sigqueue.c: New file.
4389 * sysdeps/unix/sysv/linux/gai_sigqueue.c: New file.
4390 * sysdeps/generic/bits/siginfo.h: Allow __need_sigevent_t being defined
4391 and provide only that definition.
4392 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
4393 * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
4394 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
4395 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
4396 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4397 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
4399 * rt/aio_misc.c: Fix typos in comments.
4400 * rt/lio_listio.c: Pretty printing. Little optimization in request
4403 * elf/rtld.c: Remove commented out code.
4405 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC):
4406 Update for real 2.4 kernels.
4408 2001-03-01 Ulrich Drepper <drepper@redhat.com>
4410 * elf/dl-load.c: Pretty printing.
4412 * elf/dl-object.c (_dl_new_object): Don't add the loader's scope
4415 2001-02-28 Ulrich Drepper <drepper@redhat.com>
4417 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle
4418 relocations which are not in ld.so if RTLD_BOOTSTRAP is defined.
4420 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
4422 * elf/dl-misc.c (_dl_debug_vdprintf): Fix typo visible on 64-bit
4425 * sysdeps/unix/sysv/linux/powerpc/sysdep.h (C_TEXT): Define.
4427 2001-02-27 Ulrich Drepper <drepper@redhat.com>
4429 * sysdeps/powerpc/elf/libc-start.c: Use new output functions and
4432 * elf/Versions [ld]: Don't export _dl_debug_message anymore. Export
4434 * elf/dl-misc.c: Remove definition of _dl_sysdep_output and
4435 _dl_debug_message. Define _dl_debug_vdprintf, _dl_debug_printf,
4436 _dl_debug_printf_c, and _dl_printf.
4437 * sysdeps/generic/ldsodefs.h: Don't declare _dl_sysdep_output,
4438 _dl_debug_message, _dl_sysdep_message, _dl_sysdep_error, and
4439 _dl_sysdep_fatal. Declare _dl_debug_printf, _dl_debug_printf_c,
4440 _dl_printf, _dl_error_printf, and _dl_fatal_printf.
4441 * elf/dl-close.c: Replace use of old output functions with the new
4443 * elf/dl-deps.c: Likewise.
4444 * elf/dl-error.c: Likewise.
4445 * elf/dl-fini.c: Likewise.
4446 * elf/dl-init.c: Likewise.
4447 * elf/dl-load.c: Likewise.
4448 * elf/dl-lookup.c: Likewise.
4449 * elf/dl-minimal.c: Likewise.
4450 * elf/dl-open.c: Likewise.
4451 * elf/dl-profile.c: Likewise.
4452 * elf/dl-reloc.c: Likewise.
4453 * elf/dl-version.c: Likewise.
4454 * elf/do-lookup.h: Likewise.
4455 * elf/rtld.c: Likewise.
4456 * sysdeps/generic/dl-cache.c: Likewise.
4457 * sysdeps/generic/dl-sysdep.c: Likewise.
4458 * sysdeps/generic/libc-start.c: Likewise.
4459 * sysdeps/i386/dl-machine.h: Likewise.
4460 * sysdeps/arm/dl-machine.h: Likewise.
4461 * sysdeps/hppa/dl-machine.h: Likewise.
4462 * sysdeps/m68k/dl-machine.h: Likewise.
4463 * sysdeps/powerpc/dl-machine.h: Likewise.
4464 * sysdeps/s390/dl-machine.h: Likewise.
4465 * sysdeps/sh/dl-machine.h: Likewise.
4466 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
4467 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
4468 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
4470 * sysdeps/generic/ldsodefs.h: Remove _dl_secure declaration.
4472 * dlfcn/Makefile: Don't run tstatexit test unless .hidden is
4473 supported by assembler.
4475 * sysdeps/generic/ldsodefs.h: Remove commented-out variable
4478 * elf/rtld.c: Little optimizations in handling _dl_lazy.
4480 * elf/cache.c (save_cache): Portability changes.
4481 * elf/dl-profile.c (_dl_start_profile): Likewise.
4483 * elf/sln.c: Cleanups. Remove arbitrary limits.
4485 * elf/dl-close.c: Replace _dl_debug_* variables with _dl_debug_mask.
4486 * elf/dl-deps.c: Likewise.
4487 * elf/dl-fini.c: Likewise.
4488 * elf/dl-init.c: Likewise.
4489 * elf/dl-load.c: Likewise.
4490 * elf/dl-lookup.c: Likewise.
4491 * elf/dl-open.c: Likewise.
4492 * elf/dl-reloc.c: Likewise.
4493 * elf/dl-support.c: Likewise.
4494 * elf/dl-version.c: Likewise.
4495 * elf/do-lookup.h: Likewise.
4496 * elf/rtld.c: Likewise.
4497 * sysdeps/generic/dl-cache.c: Likewise.
4498 * sysdeps/generic/ldsodefs.h: Likewise.
4499 * sysdeps/generic/libc-start.c: Likewise.
4500 * elf/Versions: Don't export _dl_debug_impcalls and _dl_debug_files.
4501 Export _dl_debug_mask.
4502 * Versions.def: Define GLIBC_2.2.3 for ld.
4504 2001-02-26 Greg McGary <greg@mcgary.org>
4506 * sysdeps/unix/make-syscalls.sh (ptr): Handle `V' keyletter.
4508 2001-02-26 Paul Eggert <eggert@twinsun.com>
4510 Modify mkstemp.c and tempname.c so that they can be used by
4511 GNU applications on non-glibc platforms.
4513 * misc/mkstemp.c (__GT_FILE): Define to zero if not defined.
4515 * sysdeps/posix/tempname.c: Include <config.h> if HAVE_CONFIG_H.
4516 Include <stddef.h>, <stdint.h>, <string.h> only if
4517 STDC_HEADERS || _LIBC.
4518 Include <fcntl.h> only if HAVE_FCNTL_H || _LIBC.
4519 Include <unistd.h> only if HAVE_UNISTD_H || _LIBC.
4520 Include <sys/time.h> only if HAVE_SYS_TIME_H || _LIBC.
4521 (__set_errno): Define this macro if <errno.h> doesn't.
4522 (P_tmpdir, TMP_MAX, __GT_FILE, __GT_BIGFILE, __GT_DIR, __GT_NOCREATE):
4523 Define these macros if <stdio.h> doesn't.
4524 (S_ISDIR, S_IRUSR, S_IWUSR, S_IXUSR):
4525 Define these macros if <sys/stat.h> doesn't.
4526 Ignore <sys/stat.h> S_ISDIR if STAT_MACROS_BROKEN.
4527 (stat64, __getpid, __gettimeofday, __mkdir, __open, __open64,
4528 lxstat64, __xstat64): Define if not _LIBC.
4529 (struct_stat64): New macro.
4530 (direxists, __gen_tempname): Use it, to avoid a
4531 portability problem with Solaris 8.
4532 (__secure_getenv): Define if ! (HAVE___SECURE_GETENV || _LIBC).
4533 (__gen_tempname): Invoke gettimeofday only if
4534 HAVE_GETTIMEOFDAY || _LIBC; otherwise, fall back on plain "time".
4535 Use portable macros like S_IRUSR | S_IWUSR rather than nonportable
4536 octal values like 0600.
4538 2001-02-26 Ulrich Drepper <drepper@redhat.com>
4540 * sysdeps/ieee754/ldbl-96/e_jnl.c: New file.
4541 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
4543 * sysdeps/i386/fpu/libm-test-ulps: Update for jnl and ynl introduction.
4544 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4546 * posix/wordexp-test.c (testit): Remove warnings.
4548 * dlfcn/Makefile (distribute): Add modatexit.c and modcxaatexit.c.
4549 (tests): Add tstatexit and tstcxaatexit.
4550 (module-names): Add modatexit and modcxaatexit.
4551 Add rules to build and run tstatexit and tstcxaatexit.
4552 * dlfcn/modatexit.c: New file.
4553 * dlfcn/modcxaatexit.c: New file.
4554 * dlfcn/tstatexit.c: New file.
4555 * dlfcn/tstcxaatexit.c: New file.
4557 * io/Makefile: Pass -DHAVE_DOT_HIDDEN to stat and mknod functions if
4558 .hidden is available.
4559 * io/stat.c: If .hidden is available use it to avoid exporting
4561 * io/fstat.c: Likewise.
4562 * io/lstat.c: Likewise.
4563 * io/stat64.c: Likewise.
4564 * io/fstat64.c: Likewise.
4565 * io/lstat64.c: Likewise.
4566 * sysdeps/generic/mknod.c: Likewise.
4568 * malloc/mtrace.c: Use __cxa_atexit and not atexit.
4569 * sysdeps/generic/bb_init_func.c: Likewise.
4570 * sysdeps/generic/libc-start.c: Likewise.
4572 * stdlib/atexit.c (__new_exitfn): Move to cxa_atexit.c.
4573 (atexit): Implement using __cxa_atexit.
4574 Use .hidden if availble to avoid exporting atexit.
4575 * stdlib/cxa_atexit.c (__new_exitfn): Moved to here from atexit.c.
4576 * stdlib/Versions: Export __new_exitfn for GLIBC_2.2.3.
4577 * stdlib/Makefile (routines): Add old_atexit.
4578 (static-only-routines): Add atexit.
4579 Pass -DHAVE_DOT_HIDDEN for atexit.c if .hidden is available.
4580 * stdlib/old_atexit.c: New file.
4582 * intl/Makefile: Remove bogus endif.
4584 2001-02-26 Andreas Jaeger <aj@suse.de>
4586 * iconvdata/Makefile (tests): Fix typo in last patch.
4588 * intl/Makefile (tests): Run mtrace-tst-gettext only when perl is
4590 Reported by Achim Gottinger <achim@gentoo.org>.
4592 2001-02-25 Andreas Jaeger <aj@suse.de>
4594 * intl/Makefile (plural.c): Reorder rules so that they work if
4595 BISON doesn't exist.
4597 2001-02-25 Ulrich Drepper <drepper@redhat.com>
4599 * intl/locale.alias: Don't use nb_NO but define aliases for it.
4601 2001-02-23 Ulrich Drepper <drepper@redhat.com>
4603 * sysdeps/i386/strtok.S: Continue to return NULL after the first
4606 2001-02-23 Andreas Jaeger <aj@suse.de>
4608 * string/tester.c (test_strtok_r): Add testcase.
4609 (test_strtok_r): Always initialize cp for proper checking.
4611 * sysdeps/generic/strtok.c (strtok): Handle case of first strtok
4612 returning NULL correctly.
4613 Patch by Fumitoshi UKAI <ukai@debian.or.jp>.
4614 * sysdeps/generic/strtok_r.c (__strtok_r): Likewise.
4616 2001-02-23 Ulrich Drepper <drepper@redhat.com>
4618 * sysdeps/unix/sysv/aix/bits/types.h: Define __need_NULL before
4619 including <stddef.h>.
4620 * sysdeps/unix/sysv/aix/write.c: Define alias __libc_write.
4621 * include/libc-symbols.h (weak_alias): Don't use .weak if
4622 HAVE_ASM_GLOBAL_DOT_NAME is defined.
4623 Patches by Michael Keezer <mkeezer@redhat.com>.
4625 * sysdeps/generic/ftime.c: Don't include <sys/time.h> at all.
4626 Patch by Michael Keezer <mkeezer@redhat.com>.
4628 * sysdeps/unix/sysv/aix/Dist: Remove restf.S and savef.S.
4629 * sysdeps/unix/sysv/aix/Makefile [$(subdir) == misc]
4630 (sysdep_routines): Remove restf.S and savef.S.
4631 * sysdeps/unix/sysv/aix/restf.S: Removed.
4632 * sysdeps/unix/sysv/aix/savef.S: Removed.
4633 * sysdeps/powerpc/fprrest.S: Use C_TEXT to define label. Also define
4634 alternative names used on some platforms.
4635 * sysdeps/powerpc/fprsave.S: Likewise.
4636 * sysdeps/powerpc/gprrest0.S: Likewise.
4637 * sysdeps/powerpc/gprrest1.S: Likewise.
4638 * sysdeps/powerpc/gprsave0.S: Likewise.
4639 * sysdeps/powerpc/gprsave1.S: Likewise.
4640 Patch by Michael Keezer <mkeezer@redhat.com>.
4642 2001-02-22 Ulrich Drepper <drepper@redhat.com>
4644 * sysdeps/i386/elf/start.S (_fp_hw): Actually define label.
4646 2001-02-22 Andreas Jaeger <aj@suse.de>
4648 * string/tst-strtok.c (main): Fix error messages.
4650 2001-02-22 Andreas Jaeger <aj@suse.de>
4652 * math/Makefile: Remove omit-long-double-fcts.
4654 2001-02-18 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
4656 * sysdeps/mips/bsd-_setjmp.S (_setjmp): Reorder instructions to
4657 avoid problems on MIPS I.
4658 * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
4660 * sysdeps/mips/dl-machine.h (RTLD_START): Remove duplicate ".set
4663 2001-02-21 Ulrich Drepper <drepper@redhat.com>
4665 * posix/fnmatch_loop.c: Handle ranges outside glibc correctly.
4667 * sysdeps/generic/ftime.c: Include <time.h>.
4669 * configure.in: Don't check for libgd if user passed --without-gd.
4670 Patch by Achim Gottinger <achim@gentoo.org>.
4672 * sysdeps/i386/i686/strtok.S: Continue to return NULL after the
4673 first time this happened.
4674 * string/Makefile (tests): Add tst-strtok.
4676 2001-02-21 Andreas Jaeger <aj@suse.de>
4678 * string/tst-strtok.c: New testcase, reported by
4679 Andrew Church <achurch@achurch.org>.
4681 2001-02-20 Ulrich Drepper <drepper@redhat.com>
4683 * libio/iofwide.c: Remove fwide alias.
4685 2001-02-20 Andreas Jaeger <aj@suse.de>
4687 * iconvdata/Makefile (tests): Only run mtrace-tst-loading if perl
4689 Reported by Achim Gottinger <achim@gentoo.org>.
4691 2001-02-19 Ulrich Drepper <drepper@redhat.com>
4693 * iconv/tst-iconv1.c (main): Remove debugging code.
4695 * sysdeps/ieee754/flt-32/e_powf.c: Handle x == +-1 correctly.
4696 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4698 * sysdeps/generic/e_scalb.c: Set invalid exception for invalid
4700 * sysdeps/generic/e_scalbf.c: Likewise.
4701 * sysdeps/generic/e_scalbl.c: Likewise.
4703 * sysdeps/ia64/fpu/Makefile (libm-sysdep-routines): Add libm_error,
4704 libm_frexp4, libm_frexp4f, libm_frexp4l, and all the functions also
4706 (routines): Replace libm_error with libc_libm_error.
4707 * sysdeps/ia64/fpu/Dist: Add libc_libm_error.c.
4708 * sysdeps/ia64/fpu/libc_libm_error.c: New file.
4710 2001-02-18 Mark Kettenis <kettenis@gnu.org>
4712 * malloc/mtrace.c [USE_IN_LIBIO]: Define fopen as _IO_fopen64.
4713 (mtrace): Revert 2001-02-13 patch: use fopen instead of fopen64.
4715 2001-02-17 H.J. Lu <hjl@gnu.org>
4717 * sysdeps/unix/sysv/linux/ia64/clone2.S: Use clone2 and don't use
4718 scratch registers across the system call.
4720 2001-02-19 Andreas Jaeger <aj@suse.de>
4722 * malloc/Makefile (tests): Run mtrace only when perl is available.
4723 Reported by Achim Gottinger <achim@gentoo.org>.
4725 2001-02-19 Ulrich Drepper <drepper@redhat.com>
4727 * sysdeps/ieee754/ldbl-96/e_j1l.c: New file.
4728 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
4730 * sysdeps/i386/fpu/libm-test-ulps: Adjust error values for j1 and y1.
4731 * sysdeps/ia64/fpu/libm-test-ulps: Adjust error values for y1.
4732 * math/libm-test.inc (j1_test): Mark constants as long double.
4733 (jn_test): Likewise.
4734 (y1_test): Likewise.
4735 (yn_test): Likewise.
4737 * libio/iogetline.c: Move return until after last statement.
4739 * localedata/show-ucs-data.c: Don't show < > for better readability.
4741 * sysdeps/ia64/fpu/Dist: New file.
4742 * sysdeps/ia64/fpu/Makefile: New file.
4743 * sysdeps/ia64/fpu/Versions: New file.
4744 * sysdeps/ia64/fpu/e_acos.S: New file.
4745 * sysdeps/ia64/fpu/e_acosf.S: New file.
4746 * sysdeps/ia64/fpu/e_acosl.S: New file.
4747 * sysdeps/ia64/fpu/e_asin.S: New file.
4748 * sysdeps/ia64/fpu/e_asinf.S: New file.
4749 * sysdeps/ia64/fpu/e_asinl.S: New file.
4750 * sysdeps/ia64/fpu/e_atan2.S: New file.
4751 * sysdeps/ia64/fpu/e_atan2f.S: New file.
4752 * sysdeps/ia64/fpu/e_atan2l.c: New file.
4753 * sysdeps/ia64/fpu/e_cosh.S: New file.
4754 * sysdeps/ia64/fpu/e_coshf.S: New file.
4755 * sysdeps/ia64/fpu/e_coshl.S: New file.
4756 * sysdeps/ia64/fpu/e_exp.S: New file.
4757 * sysdeps/ia64/fpu/e_expf.S: New file.
4758 * sysdeps/ia64/fpu/e_expl.c: New file.
4759 * sysdeps/ia64/fpu/e_fmod.S: New file.
4760 * sysdeps/ia64/fpu/e_fmodf.S: New file.
4761 * sysdeps/ia64/fpu/e_fmodl.S: New file.
4762 * sysdeps/ia64/fpu/e_hypot.S: New file.
4763 * sysdeps/ia64/fpu/e_hypotf.S: New file.
4764 * sysdeps/ia64/fpu/e_hypotl.S: New file.
4765 * sysdeps/ia64/fpu/e_log.S: New file.
4766 * sysdeps/ia64/fpu/e_log10.c: New file.
4767 * sysdeps/ia64/fpu/e_log10f.c: New file.
4768 * sysdeps/ia64/fpu/e_log10l.c: New file.
4769 * sysdeps/ia64/fpu/e_logf.S: New file.
4770 * sysdeps/ia64/fpu/e_logl.c: New file.
4771 * sysdeps/ia64/fpu/e_pow.S: New file.
4772 * sysdeps/ia64/fpu/e_powf.S: New file.
4773 * sysdeps/ia64/fpu/e_powl.S: New file.
4774 * sysdeps/ia64/fpu/e_rem_pio2.c: New file.
4775 * sysdeps/ia64/fpu/e_rem_pio2f.c: New file.
4776 * sysdeps/ia64/fpu/e_remainder.S: New file.
4777 * sysdeps/ia64/fpu/e_remainderf.S: New file.
4778 * sysdeps/ia64/fpu/e_remainderl.S: New file.
4779 * sysdeps/ia64/fpu/e_scalb.S: New file.
4780 * sysdeps/ia64/fpu/e_scalbf.S: New file.
4781 * sysdeps/ia64/fpu/e_scalbl.S: New file.
4782 * sysdeps/ia64/fpu/e_sinh.S: New file.
4783 * sysdeps/ia64/fpu/e_sinhf.S: New file.
4784 * sysdeps/ia64/fpu/e_sinhl.S: New file.
4785 * sysdeps/ia64/fpu/e_sqrt.S: New file.
4786 * sysdeps/ia64/fpu/e_sqrtf.S: New file.
4787 * sysdeps/ia64/fpu/e_sqrtl.S: New file.
4788 * sysdeps/ia64/fpu/k_rem_pio2.c: New file.
4789 * sysdeps/ia64/fpu/k_rem_pio2f.c: New file.
4790 * sysdeps/ia64/fpu/k_rem_pio2l.c: New file.
4791 * sysdeps/ia64/fpu/libm_atan2_reg.S: New file.
4792 * sysdeps/ia64/fpu/libm_error.c: New file.
4793 * sysdeps/ia64/fpu/libm_frexp4.S: New file.
4794 * sysdeps/ia64/fpu/libm_frexp4f.S: New file.
4795 * sysdeps/ia64/fpu/libm_frexp4l.S: New file.
4796 * sysdeps/ia64/fpu/libm_reduce.S: New file.
4797 * sysdeps/ia64/fpu/libm_support.h: New file.
4798 * sysdeps/ia64/fpu/libm_tan.S: New file.
4799 * sysdeps/ia64/fpu/s_atan.S: New file.
4800 * sysdeps/ia64/fpu/s_atanf.S: New file.
4801 * sysdeps/ia64/fpu/s_atanl.S: New file.
4802 * sysdeps/ia64/fpu/s_cbrt.S: New file.
4803 * sysdeps/ia64/fpu/s_cbrtf.S: New file.
4804 * sysdeps/ia64/fpu/s_cbrtl.S: New file.
4805 * sysdeps/ia64/fpu/s_ceil.S: New file.
4806 * sysdeps/ia64/fpu/s_ceilf.S: New file.
4807 * sysdeps/ia64/fpu/s_ceill.S: New file.
4808 * sysdeps/ia64/fpu/s_cos.S: New file.
4809 * sysdeps/ia64/fpu/s_cosf.S: New file.
4810 * sysdeps/ia64/fpu/s_cosl.S: New file.
4811 * sysdeps/ia64/fpu/s_expm1.S: New file.
4812 * sysdeps/ia64/fpu/s_expm1f.S: New file.
4813 * sysdeps/ia64/fpu/s_expm1l.S: New file.
4814 * sysdeps/ia64/fpu/s_floor.S: New file.
4815 * sysdeps/ia64/fpu/s_floorf.S: New file.
4816 * sysdeps/ia64/fpu/s_floorl.S: New file.
4817 * sysdeps/ia64/fpu/s_frexp.c: New file.
4818 * sysdeps/ia64/fpu/s_frexpf.c: New file.
4819 * sysdeps/ia64/fpu/s_frexpl.c: New file.
4820 * sysdeps/ia64/fpu/s_ilogb.S: New file.
4821 * sysdeps/ia64/fpu/s_ilogbf.S: New file.
4822 * sysdeps/ia64/fpu/s_ilogbl.S: New file.
4823 * sysdeps/ia64/fpu/s_ldexp.S: New file.
4824 * sysdeps/ia64/fpu/s_ldexpf.S: New file.
4825 * sysdeps/ia64/fpu/s_ldexpl.S: New file.
4826 * sysdeps/ia64/fpu/s_log1p.S: New file.
4827 * sysdeps/ia64/fpu/s_log1pf.S: New file.
4828 * sysdeps/ia64/fpu/s_log1pl.S: New file.
4829 * sysdeps/ia64/fpu/s_logb.S: New file.
4830 * sysdeps/ia64/fpu/s_logbf.S: New file.
4831 * sysdeps/ia64/fpu/s_logbl.S: New file.
4832 * sysdeps/ia64/fpu/s_matherrf.c: New file.
4833 * sysdeps/ia64/fpu/s_matherrl.c: New file.
4834 * sysdeps/ia64/fpu/s_modf.S: New file.
4835 * sysdeps/ia64/fpu/s_modff.S: New file.
4836 * sysdeps/ia64/fpu/s_modfl.S: New file.
4837 * sysdeps/ia64/fpu/s_nearbyint.S: New file.
4838 * sysdeps/ia64/fpu/s_nearbyintf.S: New file.
4839 * sysdeps/ia64/fpu/s_nearbyintl.S: New file.
4840 * sysdeps/ia64/fpu/s_rint.S: New file.
4841 * sysdeps/ia64/fpu/s_rintf.S: New file.
4842 * sysdeps/ia64/fpu/s_rintl.S: New file.
4843 * sysdeps/ia64/fpu/s_round.S: New file.
4844 * sysdeps/ia64/fpu/s_roundf.S: New file.
4845 * sysdeps/ia64/fpu/s_roundl.S: New file.
4846 * sysdeps/ia64/fpu/s_scalbn.S: New file.
4847 * sysdeps/ia64/fpu/s_scalbnf.S: New file.
4848 * sysdeps/ia64/fpu/s_scalbnl.S: New file.
4849 * sysdeps/ia64/fpu/s_significand.S: New file.
4850 * sysdeps/ia64/fpu/s_significandf.S: New file.
4851 * sysdeps/ia64/fpu/s_significandl.S: New file.
4852 * sysdeps/ia64/fpu/s_sin.c: New file.
4853 * sysdeps/ia64/fpu/s_sincos.c: New file.
4854 * sysdeps/ia64/fpu/s_sincosf.c: New file.
4855 * sysdeps/ia64/fpu/s_sincosl.c: New file.
4856 * sysdeps/ia64/fpu/s_sinf.c: New file.
4857 * sysdeps/ia64/fpu/s_sinl.c: New file.
4858 * sysdeps/ia64/fpu/s_tan.S: New file.
4859 * sysdeps/ia64/fpu/s_tanf.S: New file.
4860 * sysdeps/ia64/fpu/s_tanl.S: New file.
4861 * sysdeps/ia64/fpu/s_trunc.S: New file.
4862 * sysdeps/ia64/fpu/s_truncf.S: New file.
4863 * sysdeps/ia64/fpu/s_truncl.S: New file.
4864 * sysdeps/ia64/fpu/w_acos.c: New file.
4865 * sysdeps/ia64/fpu/w_acosf.c: New file.
4866 * sysdeps/ia64/fpu/w_acosl.c: New file.
4867 * sysdeps/ia64/fpu/w_asin.c: New file.
4868 * sysdeps/ia64/fpu/w_asinf.c: New file.
4869 * sysdeps/ia64/fpu/w_asinl.c: New file.
4870 * sysdeps/ia64/fpu/w_atan2.c: New file.
4871 * sysdeps/ia64/fpu/w_atan2f.c: New file.
4872 * sysdeps/ia64/fpu/w_atan2l.c: New file.
4873 * sysdeps/ia64/fpu/w_cosh.c: New file.
4874 * sysdeps/ia64/fpu/w_coshf.c: New file.
4875 * sysdeps/ia64/fpu/w_coshl.c: New file.
4876 * sysdeps/ia64/fpu/w_exp.c: New file.
4877 * sysdeps/ia64/fpu/w_expf.c: New file.
4878 * sysdeps/ia64/fpu/w_fmod.c: New file.
4879 * sysdeps/ia64/fpu/w_fmodf.c: New file.
4880 * sysdeps/ia64/fpu/w_fmodl.c: New file.
4881 * sysdeps/ia64/fpu/w_hypot.c: New file.
4882 * sysdeps/ia64/fpu/w_hypotf.c: New file.
4883 * sysdeps/ia64/fpu/w_hypotl.c: New file.
4884 * sysdeps/ia64/fpu/w_log.c: New file.
4885 * sysdeps/ia64/fpu/w_log10.c: New file.
4886 * sysdeps/ia64/fpu/w_log10f.c: New file.
4887 * sysdeps/ia64/fpu/w_log10l.c: New file.
4888 * sysdeps/ia64/fpu/w_logf.c: New file.
4889 * sysdeps/ia64/fpu/w_logl.c: New file.
4890 * sysdeps/ia64/fpu/w_pow.c: New file.
4891 * sysdeps/ia64/fpu/w_powf.c: New file.
4892 * sysdeps/ia64/fpu/w_powl.c: New file.
4893 * sysdeps/ia64/fpu/w_remainder.c: New file.
4894 * sysdeps/ia64/fpu/w_remainderf.c: New file.
4895 * sysdeps/ia64/fpu/w_remainderl.c: New file.
4896 * sysdeps/ia64/fpu/w_scalb.c: New file.
4897 * sysdeps/ia64/fpu/w_scalbf.c: New file.
4898 * sysdeps/ia64/fpu/w_scalbl.c: New file.
4899 * sysdeps/ia64/fpu/w_sqrt.c: New file.
4900 * sysdeps/ia64/fpu/w_sqrtf.c: New file.
4901 * sysdeps/ia64/fpu/w_sqrtl.c: New file.
4902 * sysdeps/ia64/fpu/libm-test-ulps: Adjust for long double
4904 * sysdeps/ia64/fpu/bits/mathdef.h: Correct float_t and double_t types.
4905 Change FP_ILOGBNAN for new implementation.
4906 * Verions.def: Add 2.2.3 versions.
4908 2001-02-18 Ulrich Drepper <drepper@redhat.com>
4910 * math/libm-test.inc (scalb_test): Require invalid exception being
4911 raised for invalid parameters.
4912 * sysdeps/i386/fpu/e_scalb.S: Raise invalid exception if necessary.
4913 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4914 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4916 2001-02-18 Mark Kettenis <kettenis@gnu.org>
4918 * sysdeps/mach/getsysstats.c (__get_phys_pages): Change return
4920 (__get_avphys_pages): Likewise.
4922 2001-02-18 Ulrich Drepper <drepper@redhat.com>
4924 * math/libm-test.inc (pow_test): Correct expected results for x == +-1.
4925 * sysdeps/i386/fpu/e_pow.S: Handle x == +-1 correctly.
4926 * sysdeps/i386/fpu/e_powf.S: Likewise.
4927 * sysdeps/i386/fpu/e_powl.S: Likewise.
4929 * sysdeps/i386/fpu/bits/mathinline.h: Remove pow inline code.
4931 2001-02-17 Ulrich Drepper <drepper@redhat.com>
4933 * math/Makefile (libm-calls): It's e_exp2 not s_exp2.
4935 * sysdeps/generic/s_exp2l.c: Renamed to...
4936 * sysdeps/generic/e_exp2l.c: ...this. New file.
4937 * sysdeps/i386/fpu/s_exp2.S: Renamed to...
4938 * sysdeps/i386/fpu/e_exp2.S: ...this. New file.
4939 * sysdeps/i386/fpu/s_exp2f.S: Renamed to...
4940 * sysdeps/i386/fpu/e_exp2f.S: ...this. New file.
4941 * sysdeps/i386/fpu/s_exp2l.S: Renamed to...
4942 * sysdeps/i386/fpu/e_exp2l.S: ...this. New file.
4943 * sysdeps/ieee754/flt-32/s_exp2f.c: Renamed to...
4944 * sysdeps/ieee754/flt-32/e_exp2f.c: ...this. New file.
4945 * sysdeps/ieee754/dbl-64/s_exp2.c: Renamed to...
4946 * sysdeps/ieee754/dbl-64/e_exp2.c: ...this. New file.
4947 * sysdeps/m68k/fpu/s_exp2.c: Renamed to...
4948 * sysdeps/m68k/fpu/e_exp2.c: ...this. New file.
4949 * sysdeps/m68k/fpu/s_exp2f.c: Renamed to...
4950 * sysdeps/m68k/fpu/e_exp2f.c: ...this. New file.
4951 * sysdeps/m68k/fpu/s_exp2l.c: Renamed to...
4952 * sysdeps/m68k/fpu/e_exp2l.c: ...this. New file.
4954 2001-02-17 Andreas Jaeger <aj@suse.de>
4956 * configure.in: Allow gcc 3.
4958 2001-02-16 Ulrich Drepper <drepper@redhat.com>
4960 * math/w_acos.c: Move to ...
4961 * sysdeps/generic/w_acos.c: ...here. New file.
4962 * math/w_acosf.c: Move to ...
4963 * sysdeps/generic/w_acosf.c: ...here. New file.
4964 * math/w_acosh.c: Move to ...
4965 * sysdeps/generic/w_acosh.c: ...here. New file.
4966 * math/w_acoshf.c: Move to ...
4967 * sysdeps/generic/w_acoshf.c: ...here. New file.
4968 * math/w_acoshl.c: Move to ...
4969 * sysdeps/generic/w_acoshl.c: ...here. New file.
4970 * math/w_acosl.c: Move to ...
4971 * sysdeps/generic/w_acosl.c: ...here. New file.
4972 * math/w_asin.c: Move to ...
4973 * sysdeps/generic/w_asin.c: ...here. New file.
4974 * math/w_asinf.c: Move to ...
4975 * sysdeps/generic/w_asinf.c: ...here. New file.
4976 * math/w_asinl.c: Move to ...
4977 * sysdeps/generic/w_asinl.c: ...here. New file.
4978 * math/w_atan2.c: Move to ...
4979 * sysdeps/generic/w_atan2.c: ...here. New file.
4980 * math/w_atan2f.c: Move to ...
4981 * sysdeps/generic/w_atan2f.c: ...here. New file.
4982 * math/w_atan2l.c: Move to ...
4983 * sysdeps/generic/w_atan2l.c: ...here. New file.
4984 * math/w_atanh.c: Move to ...
4985 * sysdeps/generic/w_atanh.c: ...here. New file.
4986 * math/w_atanhf.c: Move to ...
4987 * sysdeps/generic/w_atanhf.c: ...here. New file.
4988 * math/w_atanhl.c: Move to ...
4989 * sysdeps/generic/w_atanhl.c: ...here. New file.
4990 * math/w_cosh.c: Move to ...
4991 * sysdeps/generic/w_cosh.c: ...here. New file.
4992 * math/w_coshf.c: Move to ...
4993 * sysdeps/generic/w_coshf.c: ...here. New file.
4994 * math/w_coshl.c: Move to ...
4995 * sysdeps/generic/w_coshl.c: ...here. New file.
4996 * math/w_drem.c: Move to ...
4997 * sysdeps/generic/w_drem.c: ...here. New file.
4998 * math/w_dremf.c: Move to ...
4999 * sysdeps/generic/w_dremf.c: ...here. New file.
5000 * math/w_dreml.c: Move to ...
5001 * sysdeps/generic/w_dreml.c: ...here. New file.
5002 * math/w_exp10.c: Move to ...
5003 * sysdeps/generic/w_exp10.c: ...here. New file.
5004 * math/w_exp10f.c: Move to ...
5005 * sysdeps/generic/w_exp10f.c: ...here. New file.
5006 * math/w_exp10l.c: Move to ...
5007 * sysdeps/generic/w_exp10l.c: ...here. New file.
5008 * math/w_exp2.c: Move to ...
5009 * sysdeps/generic/w_exp2.c: ...here. New file.
5010 * math/w_exp2f.c: Move to ...
5011 * sysdeps/generic/w_exp2f.c: ...here. New file.
5012 * math/w_exp2l.c: Move to ...
5013 * sysdeps/generic/w_exp2l.c: ...here. New file.
5014 * math/w_fmod.c: Move to ...
5015 * sysdeps/generic/w_fmod.c: ...here. New file.
5016 * math/w_fmodf.c: Move to ...
5017 * sysdeps/generic/w_fmodf.c: ...here. New file.
5018 * math/w_fmodl.c: Move to ...
5019 * sysdeps/generic/w_fmodl.c: ...here. New file.
5020 * math/w_hypot.c: Move to ...
5021 * sysdeps/generic/w_hypot.c: ...here. New file.
5022 * math/w_hypotf.c: Move to ...
5023 * sysdeps/generic/w_hypotf.c: ...here. New file.
5024 * math/w_hypotl.c: Move to ...
5025 * sysdeps/generic/w_hypotl.c: ...here. New file.
5026 * math/w_j0.c: Move to ...
5027 * sysdeps/generic/w_j0.c: ...here. New file.
5028 * math/w_j0f.c: Move to ...
5029 * sysdeps/generic/w_j0f.c: ...here. New file.
5030 * math/w_j0l.c: Move to ...
5031 * sysdeps/generic/w_j0l.c: ...here. New file.
5032 * math/w_j1.c: Move to ...
5033 * sysdeps/generic/w_j1.c: ...here. New file.
5034 * math/w_j1f.c: Move to ...
5035 * sysdeps/generic/w_j1f.c: ...here. New file.
5036 * math/w_j1l.c: Move to ...
5037 * sysdeps/generic/w_j1l.c: ...here. New file.
5038 * math/w_jn.c: Move to ...
5039 * sysdeps/generic/w_jn.c: ...here. New file.
5040 * math/w_jnf.c: Move to ...
5041 * sysdeps/generic/w_jnf.c: ...here. New file.
5042 * math/w_jnl.c: Move to ...
5043 * sysdeps/generic/w_jnl.c: ...here. New file.
5044 * math/w_lgamma.c: Move to ...
5045 * sysdeps/generic/w_lgamma.c: ...here. New file.
5046 * math/w_lgammaf.c: Move to ...
5047 * sysdeps/generic/w_lgammaf.c: ...here. New file.
5048 * math/w_lgammaf_r.c: Move to ...
5049 * sysdeps/generic/w_lgammaf_r.c: ...here. New file.
5050 * math/w_lgammal.c: Move to ...
5051 * sysdeps/generic/w_lgammal.c: ...here. New file.
5052 * math/w_lgammal_r.c: Move to ...
5053 * sysdeps/generic/w_lgammal_r.c: ...here. New file.
5054 * math/w_lgamma_r.c: Move to ...
5055 * sysdeps/generic/w_lgamma_r.c: ...here. New file.
5056 * math/w_log10.c: Move to ...
5057 * sysdeps/generic/w_log10.c: ...here. New file.
5058 * math/w_log10f.c: Move to ...
5059 * sysdeps/generic/w_log10f.c: ...here. New file.
5060 * math/w_log10l.c: Move to ...
5061 * sysdeps/generic/w_log10l.c: ...here. New file.
5062 * math/w_log.c: Move to ...
5063 * sysdeps/generic/w_log.c: ...here. New file.
5064 * math/w_logf.c: Move to ...
5065 * sysdeps/generic/w_logf.c: ...here. New file.
5066 * math/w_logl.c: Move to ...
5067 * sysdeps/generic/w_logl.c: ...here. New file.
5068 * math/w_pow.c: Move to ...
5069 * sysdeps/generic/w_pow.c: ...here. New file.
5070 * math/w_powf.c: Move to ...
5071 * sysdeps/generic/w_powf.c: ...here. New file.
5072 * math/w_powl.c: Move to ...
5073 * sysdeps/generic/w_powl.c: ...here. New file.
5074 * math/w_remainder.c: Move to ...
5075 * sysdeps/generic/w_remainder.c: ...here. New file.
5076 * math/w_remainderf.c: Move to ...
5077 * sysdeps/generic/w_remainderf.c: ...here. New file.
5078 * math/w_remainderl.c: Move to ...
5079 * sysdeps/generic/w_remainderl.c: ...here. New file.
5080 * math/w_scalb.c: Move to ...
5081 * sysdeps/generic/w_scalb.c: ...here. New file.
5082 * math/w_scalbf.c: Move to ...
5083 * sysdeps/generic/w_scalbf.c: ...here. New file.
5084 * math/w_scalbl.c: Move to ...
5085 * sysdeps/generic/w_scalbl.c: ...here. New file.
5086 * math/w_sinh.c: Move to ...
5087 * sysdeps/generic/w_sinh.c: ...here. New file.
5088 * math/w_sinhf.c: Move to ...
5089 * sysdeps/generic/w_sinhf.c: ...here. New file.
5090 * math/w_sinhl.c: Move to ...
5091 * sysdeps/generic/w_sinhl.c: ...here. New file.
5092 * math/w_sqrtl.c: Move to ...
5093 * sysdeps/generic/w_sqrtl.c: ...here. New file.
5094 * math/w_tgamma.c: Move to ...
5095 * sysdeps/generic/w_tgamma.c: ...here. New file.
5096 * math/w_tgammaf.c: Move to ...
5097 * sysdeps/generic/w_tgammaf.c: ...here. New file.
5098 * math/w_tgammal.c: Move to ...
5099 * sysdeps/generic/w_tgammal.c: ...here. New file.
5101 * locale/programs/ld-address.c (address_finish): Add 'S' to allow
5102 formats for postal_fmt.
5104 2001-02-16 Jakub Jelinek <jakub@redhat.com>
5106 * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Add
5107 __ftruncate64 alias.
5108 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (ftruncate):
5111 2001-02-15 David Mosberger <davidm@hpl.hp.com>
5113 * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): No need to
5114 do "loadrs". Writing to bspstore already takes care of
5115 invalidating the "clean" partition.
5117 2001-02-16 Andreas Schwab <schwab@suse.de>
5119 * sysdeps/m68k/fpu/s_nextafterl.c: New file.
5120 * sysdeps/m68k/fpu/s_fpclassifyl.c: New file.
5122 2001-02-15 Jakub Jelinek <jakub@redhat.com>
5124 * posix/regex.c (init_syntax_once): Add prototype.
5125 (TRANSLATE): If MBS_SUPPORT, translate all characters up to '\xff'.
5126 (re_search_2): Avoid warning.
5127 (count_mbs_length): Add prototype.
5128 * posix/tst-regex3.c: New file.
5129 * posix/Makefile (tests): Add bug-regex3.
5131 2001-02-15 Ulrich Drepper <drepper@redhat.com>
5133 * stdio-common/Makefile (tests): Add tst-gets.
5134 * stdio-common/tst-gets.c: New file.
5135 * stdio-common/tst-gets.input: New file.
5137 * elf/elf.h (DT_CHECKSUM): Define.
5139 * sysdeps/generic/strtoll.c: Don't export __strto*_internal as
5141 * sysdeps/generic/strtoull.c: Likewise.
5143 2001-02-14 Wolfram Gloger <wg@malloc.de>
5145 * malloc/malloc.c (new_heap): When allocating large chunk aligned
5146 to HEAP_MAX_SIZE, prefer one with lower address, to avoid `holes'
5149 2001-02-14 Ulrich Drepper <drepper@redhat.com>
5151 * math/libm-test.inc (j0_test): Check whether sincos is available.
5152 (j1_test): Likewise.
5153 (jn_test): Likewise.
5154 (y0_test): Likewise.
5155 (y1_test): Likewise.
5156 (yn_test): Likewise.
5158 * posix/tst-gnuglob.c: Make a few entries DT_UNKNOWN and teach
5159 fake filesystem routines to handle this.
5161 * time/sys/time.h: Make settimeofday and adjtime available if
5164 * time/sys/time.h: Make timer* macros available for BSD.
5166 * iconvdata/gb18030.c: Update for Dec 2000 re-release of GB18030.
5167 Patch by Yong Li <rigel863@yahoo.com>.
5169 * sysdeps/generic/glob.c (CONVERT_DIRENT_DIRENT64): Fix copying of
5172 * posix/Makefile (tests): Add tst-gnuglob.
5173 * posix/tst-gnuglob.c: New file.
5175 2001-02-13 H.J. Lu <hjl@gnu.org>
5177 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __ftruncate64.
5179 2001-02-13 Ulrich Drepper <drepper@redhat.com>
5181 * locale/programs/ld-paper.c (paper_output): Pretty printing.
5183 * iconvdata/Makefile (modules): Add GBBIG5.
5184 (distribute): Add gbbig5.c.
5185 * iconvdata/gconv-modules: Add entries for GBBIG5 module.
5187 * iconvdata/gbbig5.c: New file.
5188 Contributed by Yong Li <rigel863@yahoo.com>.
5190 2001-02-13 Philip Blundell <pb@futuretv.com>
5192 * manual/crypt.texi: Remove outdated references to crypt add-on.
5194 * manual/creature.texi: Improve wording slightly.
5196 2001-02-13 Ulrich Drepper <drepper@redhat.com>
5198 * io/ftw.c: Always use readdir64.
5199 * io/ftw64.c: Likewise.
5200 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5201 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5202 * sysdeps/generic/glob.c: Likewise. Convert results of gl_readdir
5203 callback to dirent. Still allow compiling outside glibc.
5204 * sysdeps/gnu/glob64.c: Define COMPILE_GLOB64.
5205 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
5207 * malloc/mtrace.c: Use fopen64.
5208 * posix/spawni.c: Use __open64.
5209 * sysdeps/unix/opendir.c: Likewise.
5210 * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
5212 * sysdeps/generic/ftruncate64.c: Define __ftruncate64 and make old
5214 * sysdeps/unix/sysv/aix/ftruncate64.c: Likewise.
5215 * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise.
5216 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
5217 * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Likewise.
5219 * resolv/res_data.c: Add cast to avoid warning.
5221 * include/unistd.h: Declare __ftruncate64.
5223 * sysdeps/generic/utmp_file.c: Use LFS functions and types.
5225 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use __lseek64
5228 2001-02-13 Andreas Jaeger <aj@suse.de>
5230 * login/getutent_r.c: Include <stdlib.h> for NULL.
5231 * login/getutid_r.c: Likewise.
5233 2001-02-12 Ulrich Drepper <drepper@redhat.com>
5235 * sysdeps/dbl-64/e_j0.c: Little optimization, use sincos.
5236 * sysdeps/dbl-64/e_j1.c: Likewise.
5237 * sysdeps/dbl-64/e_jn.c: Likewise.
5238 * sysdeps/flt-32/e_j0f.c: Likewise.
5239 * sysdeps/flt-32/e_j1f.c: Likewise.
5240 * sysdeps/ldbl-96/e_j0l.c: Likewise.
5242 2000-12-02 H.J. Lu <hjl@gnu.org>
5244 * resolv/res_libc.c (res_init): Don't make it default.
5246 2001-02-12 Ulrich Drepper <drepper@redhat.com>
5248 * manual/debug.texi: Improved the wording.
5249 Patch by Philip Blundell <pb@futuretv.com>.
5251 2001-02-12 Andreas Jaeger <aj@suse.de>
5253 * posix/Makefile (tests): Don't run bug-regex2 when
5256 * libio/Makefile (tests): Don't run test-freopen when
5259 * manual/stdio.texi (Streams and I18N): Fix typos.
5261 2001-02-12 Ulrich Drepper <drepper@redhat.com>
5263 * sysdeps/i386/fpu/libm-test-ulps: Adjust for errors in y0l.
5265 * math/libm-test.inc (j0_test): Make expected results long double
5267 (y0_test): Likewise.
5269 * sysdeps/ieee754/ldbl-96/e_j0l.c: New file.
5270 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
5272 2001-02-11 Jakub Jelinek <jakub@redhat.com>
5274 * sysdeps/generic/strtoll.c (__strtoq_internal): Ressurect alias
5275 which was exported from libc.
5276 * sysdeps/generic/strtoull.c (__strtouq_internal): Likewise.
5278 2001-02-12 Andreas Jaeger <aj@suse.de>
5280 * manual/arith.texi (Parsing of Integers): Fix some wordings.
5282 2001-02-11 Ulrich Drepper <drepper@redhat.com>
5284 * sysdeps/generic/getsysstat.c: Change return value of get_phys_pages
5285 and get_avphys_page to long int.
5286 * sysdeps/unix/sysv/linux/getsysstat.c: Likewise.
5287 * include/sys/sysinfo.h: Likewise.
5288 * sysdeps/generic/sys/sysinfo.h: Likewise.
5289 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
5291 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Fail if we
5292 cannot return as many values as the user asked for.
5294 2001-02-11 Andreas Jaeger <aj@suse.de>
5296 * manual/resource.texi (Memory Resources): Fix typo.
5298 * libio/Makefile ($(objpfx)test-freopen.out): Pass
5301 * libio/test-freopen.sh: Use run_program_prefix.
5303 2001-02-10 Andreas Jaeger <aj@suse.de>
5305 * stdlib/Makefile (tests): Don't run tst-fmtmsg when
5307 ($(objpfx)tst-fmtmsg.out): Pass run-program-prefix.
5309 * stdlib/tst-fmtmsg.sh (test): Use run_program_prefix for static
5312 * elf/Makefile (tests): Only run tst-pathopt with shared libs.
5314 * posix/Makefile: Fix typo, it's build-static-nss.
5316 * iconv/Makefile (extra-objs): New.
5318 2001-02-10 Mark Kettenis <kettenis@gnu.org>
5320 * sysdeps/unix/stime.c: Include <time.h>.
5322 * sysdeps/mach/hurd/setitimer.c: Include <time.h>.
5324 2001-02-10 Andreas Jaeger <aj@suse.de>
5326 * manual/string.texi (Search Functions): Fix typo.
5328 2001-02-10 Mark Kettenis <kettenis@gnu.org>
5330 * sysdeps/unix/bsd/times.c: Reorder includes and add <time.h>.
5331 (timeval_to_clock_t): Add clk_tck argument and use that instead of
5333 (__times): Use __getclktck to get the number of clock ticks per
5334 second and use its return value instead of CLK_TCK.
5336 2001-02-10 Mark Kettenis <kettenis@gnu.org>
5338 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (_HAVE_SA_LEN): Define.
5340 2001-02-10 Mark Kettenis <kettenis@gnu.org>
5342 * sysdeps/mach/gettimeofday.c: Include <stddef.h>.
5344 2001-02-10 Andreas Jaeger <aj@suse.de>
5346 * wctype/wcfuncs.c (func): Add prototype declarations to avoid
5349 2001-02-09 Ulrich Drepper <drepper@redhat.com>
5351 * posix/Makefile: Add rules to build and run bug-regex2.
5352 * posix/bug-regex2.c: New file.
5354 2001-02-10 Jakub Jelinek <jakub@redhat.com>
5356 * posix/regex.c (convert_mbs_to_wcs): Change is_binary to char *.
5357 (regex_compile): Likewise.
5358 (FREE_VARIABLES): Don't free is_binary1 and is_binary2.
5359 (re_match_2_internal): Use just is_binary instead of two variables.
5360 Use REGEX_TALLOC to allocate it and FREE_VAR to free on failure.
5362 2001-02-09 Ulrich Drepper <drepper@redhat.com>
5364 * version.h (VERSION): Bump to 2.2.2.
5366 * iconv/Makefile (distribute): Add iconv_charmap.c and
5368 * elf/Makefile (distribute): Add firstobj.c.
5369 * Makefile (distribute): Add include/pthread.h.
5371 * configure.in: Require makeinfo version 4.
5373 * libio/tst_wscanf.c (main): Add cast to avoid warning.
5374 * libio/tst_swscanf.c (main): Likewise..
5376 2001-02-09 Jakub Jelinek <jakub@redhat.com>
5378 * sysdeps/generic/setenv.c (unsetenv): Remove const from len.
5379 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, fdim): Don't define if
5381 * sysdeps/i386/dl-machine.h (elf_machine_rel): Only declare refsym
5382 if not RTLD_BOOTSTRAP.
5383 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
5384 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5386 2001-02-09 Ulrich Drepper <drepper@redhat.com>
5388 * locale/programs/linereader.c (get_ident): Stop loop if EOF. Use
5389 lr_ungetc to push back last read character.
5390 * locale/programs/linereader.h (lr_ungetc): Don't push back is
5392 (lr_ignore_rest): Don't warn about garbage if it is really the end
5395 * manual/Makefile: Use ifnottext and not ifinfo to protect Top node
5398 2001-02-08 Ulrich Drepper <drepper@redhat.com>
5400 * Makerules (build-shlib): Work around different order of
5401 processing of -B option in different gcc versions.
5403 * posix/regex.c: Fix alignment problem.
5404 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5406 * sysdeps/alpha/strrchr.S: Little optimization.
5407 Patch by Richard Henderson <rth@redhat.com>.
5409 * sysdeps/alpha/alphaev67/strrchr.S: New file.
5410 Contributed by Rick Gorton <rick.gorton@alpha-processor.com>.
5412 2001-02-08 kaz Kojima <kkojima@rr.iij4u.or.jp>
5414 * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Correct function name
5415 in the assembler end directive.
5417 2001-02-08 Andreas Jaeger <aj@suse.de>
5419 * manual/stdio.texi (Closing Streams): Fix typos.
5421 2001-02-07 Ulrich Drepper <drepper@redhat.com>
5423 * sysdeps/alpha/alphaev67/strncat.S: Align last write address.
5424 Patch by Richard Henderson <rth@redhat.com>.
5425 Reported by Claus-Justus Heine <heine@instmath.rwth-aachen.de>.
5427 * stdlib/strfmon.c [USE_IN_LIBIO]: Define lock variable and store
5428 pointer in FILE structure before calling _IO_init.
5429 * stdlib/Makefile: Add -D_IO_MTSAFE_IO to CFLAGS for strfmon and
5430 strfmon_l if necessary.
5431 Reported by Jury Gerold <gjury@grips.com>.
5433 * sysdeps/gnu/netinet/tcp.h: Correct values of TCP_ macros.
5434 Patch by Pekka.Pietikainen@cern.ch.
5436 * posix/regex.c: Correct several problems with 64-bit architectures
5437 introduced in the MBS changes.
5438 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5440 2001-02-07 Jakub Jelinek <jakub@redhat.com>
5442 * math/tgmath.h: Only add l suffixes if __NO_LONG_DOUBLE_MATH is
5444 * sysdeps/alpha/fpu/bits/mathinline.h: Honour __NO_MATH_INLINES.
5446 2001-02-07 Andreas Jaeger <aj@suse.de>
5448 * manual/install.texi (Tools for Compilation): Fix typo.
5449 Reported by Pavel Machek <pavel@bug.ucw.cz>.
5451 2001-02-07 Ulrich Drepper <drepper@redhat.com>
5453 * stdlib/strtod.c: Never stop prematurely reading digits before the
5454 decimal point is found. Compute exponent limit for negative exponents
5455 correctly. For numbers ending in all zeros eat the zeros even before
5456 the decimal point if the exponent is negative [PR libc/2072].
5457 * stdlib/Makefile (tests): Add bug-strtod.
5458 * stdlib/bug-strtod.c: New file.
5460 2001-02-07 Andreas Jaeger <aj@suse.de>
5462 * posix/bug-regex1.c: Include <wchar.h> for fwide.
5464 2001-02-06 Ulrich Drepper <drepper@redhat.com>
5466 * posix/regex.c (regex_compile): Don't store pointer in wchar_t array.
5468 (compile_range): Handle index being passed, not pointer.
5469 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5471 * posix/regex.c: Fix a cast in the code for bracket handling which
5472 caused 8-bit uncleanliness.
5473 Patch by Michal Jaegermann <michal@ellpspace.math.ualberta.ca>.
5475 * posix/Makefile (tests): Add bug-regex1.
5476 * posix/bug-regex1.c: New file.
5477 Contributed by Jim Meyering <jim@meyering.net>.
5479 * posix/regex.c: Many cleanups for incorrect format strings.
5481 2001-02-06 Andreas Jaeger <aj@suse.de>
5483 * time/time.h (CLK_TCK): Check for !__STRICT_ANSI.
5485 2001-02-06 Ulrich Drepper <drepper@redhat.com>
5487 * locale/programs/locale.c (write_locales): Use scandir to read
5488 directory so that the entries are sorted.
5490 2001-02-06 Andreas Jaeger <aj@suse.de>
5492 * include/pthread.h: New file.
5494 * wctype/wctype.h: Move internal interfaces from here to...
5495 * include/wctype.h: ...here.
5497 * wcsmbs/wchar.h: Move __wcslen from here to...
5498 * include/wchar.h: ...here.
5500 * posix/sys/wait.h: Move __wait from here to...
5501 * include/sys/wait.h: ...here.
5503 * string/string.h: Move __ffs and __strerror_r from here to...
5504 * include/string.h: ...here.
5506 * stdlib/stdlib.h: Move __on_exit from here to...
5507 * include/stdlib.h: ...here.
5509 * libio/stdio.h: Move __vsnprintf from here to...
5510 * include/stdio.h: ...here.
5512 2001-02-06 Andreas Schwab <schwab@suse.de>
5514 * sysdeps/unix/sysv/linux/ia64/ioperm.c: Don't include kernel
5517 * timezone/Makefile: Don't assume that $(inst_zonedir) is a subdir
5520 2001-02-06 Ulrich Drepper <drepper@redhat.com>
5522 * iconvdata/Makefile: Add dependency for bug-iconv2.out.
5524 2001-02-06 Andreas Jaeger <aj@suse.de>
5526 * elf/firstobj.c: Add prototype.
5528 * posix/regex.c (convert_mbs_to_wcs): Make static, add prototype
5529 (truncate_wchar): Likewise.
5531 2001-02-06 Ulrich Drepper <drepper@redhat.com>
5533 * locale/programs/locale.c: Implement --verbose option for -a
5534 which prints detailed information about the locales.
5536 2001-02-05 Ulrich Drepper <drepper@redhat.com>
5538 * sunrpc/xdr_rec.c (set_input_fragment): Change type of header
5539 variable to uint32_t.
5540 Reported by Ulrich Weigand <weigand@immd1.informatik.uni-erlangen.de>.
5542 2001-02-04 Bruno Haible <haible@clisp.cons.org>
5544 * locale/C-translit.h.in: Add transliterations for CJK units of
5547 2001-02-05 Ulrich Drepper <drepper@redhat.com>
5549 * elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf
5550 string. Include <inttypes.h> instead of <stdint.h>.
5552 * localedata/Makefile (tests): Add bug-iconv-trans.
5553 Define bug-iconv-trans-ENV.
5554 * localedata/bug-iconv-trans.c: New file.
5556 2001-02-04 Bruno Haible <haible@clisp.cons.org>
5558 * iconv/gconv_trans.c (__gconv_transliterate): Use a temporary output
5559 pointer, to avoid accumulating output from incomplete (unsuccessful)
5560 transliteration attempts.
5562 2001-02-05 Ulrich Drepper <drepper@redhat.com>
5564 * elf/ldconfig.c (search_dir): Use PRIx64 instead of Lx in printf
5565 string. Include <inttypes.h> instead of <stdint.h>.
5567 * configure.in: Add check for bison.
5568 * config.make.in: Define BISON variable.
5569 * intl/Makefile: Use BISON instead of YACC when generating plural.c.
5570 Rename YFLAGS to BISONFLAGS.
5572 2001-02-05 Andreas Jaeger <aj@suse.de>
5574 * io/test-lfs.c (do_test): Test lseek64 return value, call
5576 (test_ftello): New function to test ftello64 and fseeko64.
5578 * signal/signal.h: Move __sigaction from here to...
5579 * include/signal.h: ...here.
5581 * io/fcntl.h: Move __fcntl and __open to...
5582 * include/fcntl.h: ...here.
5584 2001-02-04 Philip Blundell <philb@gnu.org>
5586 * configure.in: Distinguish ARM from Thumb.
5588 2001-02-04 Philip Blundell <philb@gnu.org>
5590 * sysdeps/arm/dl-machine.h (elf_machine_rel): Correct handling of
5591 PC24 relocs with negative value.
5593 2001-02-04 Ulrich Drepper <drepper@redhat.com>
5595 * iconv/Makefile (iconv_prog-modules): Define. Add vpath to find
5596 files in locale/programs. Add CFLAGS definition to allow compiling
5598 * iconv/dummy-repertoire.c: New file.
5599 * iconv/iconv_charmap.c: New file.
5600 * iconv/iconv_prog.h: New file.
5601 * iconv/iconv_prog.c: Make verbose and omit_invalid global.
5602 (main): If parameter for -f and -t contain slashes try first to resolve
5603 the strings as filenames of charmap files. Use them for conversion
5605 * iconvdata/run-iconv-test.sh: If charmaps exist also run tests with
5606 iconv getting charmap names as parameters.
5607 * locale/programs/linereader.c (lr_token): Take extra parameters
5608 verbose and pass it to get_string.
5609 (get_string): Take extra parameters verbose.
5610 * locale/programs/charmap.c (parse_charmap): Take extra parameters
5611 verbose and be_quiet. Change all callers of lr_token and
5613 * locale/programs/charmap.h: Likewise.
5614 * locale/programs/ld-address.c: Likewise.
5615 * locale/programs/ld-collate.c: Likewise.
5616 * locale/programs/ld-ctype.c: Likewise.
5617 * locale/programs/ld-identification.c: Likewise.
5618 * locale/programs/ld-measurement.c: Likewise.
5619 * locale/programs/ld-messages.c: Likewise.
5620 * locale/programs/ld-monetary.c: Likewise.
5621 * locale/programs/ld-name.c: Likewise.
5622 * locale/programs/ld-numeric.c: Likewise.
5623 * locale/programs/ld-paper.c: Likewise.
5624 * locale/programs/ld-telephone.c: Likewise.
5625 * locale/programs/ld-time.c: Likewise.
5626 * locale/programs/linereader.c: Likewise.
5627 * locale/programs/linereader.h: Likewise.
5628 * locale/programs/localedef.c: Likewise.
5629 * locale/programs/locfile.c: Likewise.
5630 * locale/programs/locfile.h: Likewise.
5631 * locale/programs/repertoire.c: Likewise.
5633 2001-02-03 Ulrich Drepper <drepper@redhat.com>
5635 * iconv/iconv_prog.c (main): If output file name is "-" write to
5637 (main): If -f or -t argument is missing use charset of the current
5640 2001-02-03 Andreas Jaeger <aj@suse.de>
5642 * sysdeps/i386/elf/start.S (_start): Align stack to 16-byte
5643 boundary for SSE/SSE-2 alignment.
5645 * posix/Makefile ($(objpfx)annexc.out): Also pass sysincludes to
5648 2001-02-03 Ulrich Drepper <drepper@redhat.com>
5650 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: File was using crlf.
5651 Remove comma at end of enum.
5653 * elf/dl-init.c: Add a few __builtin_expect.
5655 * hesiod/hesiod.c: Remove unnecessary code. Remove all uses of strcat.
5657 2001-02-02 Ulrich Drepper <drepper@redhat.com>
5659 * hesiod/hesiod.c (hesiod_resolve): Also search HS records if
5660 errno is ECONNREFUSED.
5662 * posix/Makefile: Define MBS_SUPPORT for regex.c.
5663 * posix/regex.c: Implement multibyte character handling.
5664 Patch by Isamu Hasegawa <isamu@yamato.ibm.co.jp>.
5666 * string/tst-svc.input: Add two more test cases.
5667 * string/tst-svc.expect: Modify to reflect new test cases.
5669 2001-02-01 Jakub Jelinek <jakub@redhat.com>
5671 * sysdeps/posix/getaddrinfo.c (gaih_local, gaih_inet): Replace all
5672 tp->name tests with tp->name[0] tests.
5674 2001-01-29 Ben Collins <bcollins@debian.org>
5676 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r):
5677 Fix check for name == NULL.
5679 2001-02-01 Ulrich Drepper <drepper@redhat.com>
5681 * elf/Makefile: Add rules to build and run initfirst test.
5682 * elf/initfirst.c: New file.
5683 * elf/firstobj.c: New file.
5685 * Makerules (build-shlib): Add $(extra-B-$(@F:lib%.so=%).so).
5686 * configure.in: Test for -z initfirst linker option.
5687 * config.make.in: Add have-z-initfirst.
5688 * elf/dl-init.c (_dl_init): Split out actual initialization code in
5689 new function call_init. If _dl_initfirst is non-NULL initialize first.
5690 * elf/dl-load.c (_dl_map_from_fd): If DF_1_INITFIRST flag is set
5691 remember object in _dl_initfirst.
5692 * elf/soinit.c: Remove special support for calling
5693 __pthread_initialize_minimal.
5695 * conform/conformtest.pl: Add missing $prepend in type test.
5697 2001-01-31 Ulrich Drepper <drepper@redhat.com>
5699 * elf/elf.h (SHT_CHECKSUM): New definition.
5701 * posix/fnmatch_loop.c: Remove incorrect reverse condition in
5702 [. .] matching. Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5703 * posix/tst-fnmatch.input: Add tests for [. .] in locales.
5705 2001-01-31 Mark Kettenis <kettenis@gnu.org>
5707 * misc/sys/select.h: Include <bits/time.h> instead of <sys/time.h>
5708 to get definition of `struct timeval'.
5710 2001-01-31 Ulrich Drepper <drepper@redhat.com>
5712 * posix/tst-fnmatch.input: Add test cases for de_DE.UTF-8 locale.
5713 * posix/fnmatch_loop.c: Fix handling of [= =] for multibyte charsets.
5715 2001-01-30 Ulrich Drepper <drepper@redhat.com>
5717 * iconv/gconv_open.c (__gconv_open): Set conv_flags if IGNORE is
5720 * nis/nis_findserv.c: Include <time.h>.
5722 2001-01-30 Yong Li <yong.li@asu.edu>
5724 * iconv/iconv_prog.c (main): Correct error handling method name.
5726 2001-01-29 Ben Collins <bcollins@debian.org>
5728 * sysdeps/sparc/fpu/fraiseexcpt.c: Include <float.h>.
5729 * sysdeps/hppa/fpu/fraiseexcpt.c: Likewise.
5730 * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
5731 * sysdeps/s390/fpu/fraiseexcpt.c: Likewise.
5733 2001-01-30 Ulrich Drepper <drepper@redhat.com>
5735 * locale/programs/ld-measurement.c (measurement_finish): Fix a typo.
5736 Patch by Marko Myllynen <myllynen@lut.fi>.
5738 * string/bits/string2.h (__strpbrk_c2): Correct parameter types
5739 (int instead of char).
5740 (__strpbrk_c3): Likewise.
5741 Reported by GOTO Masanori <gotom@debian.or.jp>.
5743 * sysdeps/generic/bits/sockaddr.h: Remove SA_LEN macro.
5744 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Likewise.
5745 * include/sys/socket.h: Add SA_LEN here for internal use.
5746 Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
5748 2001-01-29 Ulrich Drepper <drepper@redhat.com>
5750 * malloc/Makefile: Don't build memusagestat if cross-compiling.
5752 * sysdeps/generic/dl-sysdep.c (set_seen): Fix typo.
5754 * math/libm-test.inc (rint_test): Add a few more tests for round
5757 2001-01-28 Ulrich Drepper <drepper@redhat.com>
5759 * conform/data/pthread.h-data: Correct return type of pthread_exit.
5761 * conform/conformtest.pl: Add -fno-builtin to CFLAGS.
5763 * conform/data/stdlib.h-data: Add _Exit.
5765 * inet/arpa/inet.h: Don't include <sys/types.h>. Define socklen_t
5766 if not already happened.
5767 * inet/netinet/in.h: Don't include <sys/types.h>, use <bits/types.h>.
5768 Don't include <limits.h> and <bits/sockaddr.h>.
5770 * conform/data/netinet/in.h-data: Allow all of <inttypes.h>.
5772 * conform/data/spawn.h-data: Allow all of <sched.h>.
5774 * sysdeps/ia64/fpu/fraiseexcpt.c: Include <float.h>. Removed
5777 * sunrpc/xdr_rec.c (xdrrec_getpos): Add cast to long to avoid warning.
5778 * sunrpc/xdr_sizeof.c (x_inline): Likewise.
5780 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include <float.h>.
5782 * conform/conformtest.pl: Define $mustprepend{"stdio.h"}.
5783 * libio/stdio.h: Define va_list correctly.
5785 * conform/data/pthread.h-data: Make priority protocol related
5786 functions optional. Fix typos.
5788 * posix/sched.h: Define sched_priority as __sched_priority.
5789 * sysdeps/generic/bits/sched.h (struct sched_param): Rename element
5790 to __sched_priority.
5791 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
5793 2001-01-27 Ulrich Drepper <drepper@redhat.com>
5795 * sysdeps/generic/clock_getcpuclockid.c: Include <time.h> instead
5798 * sysdeps/unix/stime.c: Include <stddef.h> for NULL.
5799 * sysdeps/unix/time.c: Likewise.
5801 * conform/data/time.h-data: CLK_TCK is not in XPG6. Fix tzname entry.
5802 * sysdeps/mach/hurd/bits/time.h: Don't define CLK_TCK for XPG6.
5803 * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
5804 * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
5805 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
5806 * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
5807 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
5808 * time/time.h: Likewise.
5810 * conform/conformtest.pl (@headers): Add complex.h and tgmath.h.
5811 * conform/data/complex.h-data: New file.
5812 * conform/data/tgmath.h-data: New file.
5814 * conform/data/wchar.h-data: Add missing functions.
5816 * sysdeps/gnu/bits/utmpx.h: Define RUN_LVL only if __USE_GNU.
5818 * conform/data/termios.h-data: Add missing const in tcsetattr()
5821 * posix/sys/wait.h: Include <signal.h> and <sys/resource.h>.
5822 Don't define pid_t here.
5824 * conform/data/sys/utsname.h-data: Don't provide fixed array sizes.
5826 * conform/data/sys/time.h-data: Allow sys/select.h.
5827 * conform/data/sys/un.h-data: Fix typo.
5828 * time/sys/time.h: Don't include all of <time.h>, just struct timeval.
5829 * sysdeps/posix/clock_getres.c: Include <time.h> instead of
5831 * sysdeps/unix/clock_nanosleep.c: Likewise.
5832 * sysdeps/unix/i386/clock_getcpuclockid.c: Likewise.
5833 * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
5834 * sysdeps/unix/clock_gettime.c: Also include <time.h>.
5835 * sysdeps/unix/clock_settime.c: Likewise.
5837 * sysdeps/generic/pselect.c: Include <stddef.h> for NULL.
5838 * login/getutent.c: Likewise.
5839 * login/getutid.c: Likewise.
5840 * login/getutline.c: Likewise.
5842 * socket/sys/un.h: Define SUN_LEN only if __USE_MISC.
5844 * sysdeps/unix/sysv/linux/bits/statvfs.h: Change type of f_fsid field
5845 to unsigned long. Add __f_unused. Define _STATVFSBUF_F_UNUSED.
5846 * sysdeps/unix/sysv/linux/internal_statvfs.c: Adjust initialization of
5847 f_fsid field after change in struct statvfs.
5848 * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: New file.
5849 * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: New file.
5850 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: New file.
5852 * conform/data/sys/stat.h-data: Remove isfdtype. Use
5855 * conform/data/sys/socket.h-data: Fix typos. Correct getsockopt,
5856 recvfrom, send, and socketpair prototypes. Add allow lines.
5857 * socket/sys/socket.h: Include <sys/uio.h>.
5858 Don't use fancy __SOCKADDR_ARG definition unless __USE_GNU.
5859 Fix type of second parameter of listen.
5860 Don't declare isfdtype unless __USE_MISC.
5861 * sysdeps/generic/listen.c: Fix type of second parameter of listen.
5862 * sysdeps/mach/hurd/listen.c: Likewise.
5863 * sysdeps/generic/bits/socket.h (struct sockaddr_storage): Define
5864 ss_family and __ss_family.
5865 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
5866 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5867 (struct msghdr): Change type of msg_iovlen to int and type of
5868 msg_controllen to socklen_t.
5869 * sysdeps/unix/sysv/linux/alpha/bits/socket.h: New file.
5870 * sysdeps/unix/sysv/linux/ia64/bits/socket.h: New file.
5871 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: New file.
5872 * inet/rcmd.c (rcmd_af): __ss_family is now ss_family.
5873 (rresvport_af): Likewise.
5875 * conform/data/sys/shm.h-data: SHMLBA is not required to by a constant.
5876 * conform/conformtest.pl: Implement handling of symbol.
5878 * signal/signal.h: Fix handling of __need_* symbols.
5879 * misc/sys/select.c: Define fd_set here. Remove __fd_set. Define
5880 fd_mask only if __USE_MISC. Declare pselect for __USE_XOPEN2K.
5881 * include/sys/select.h: Use fd_set not __fd_set.
5882 * sysdeps/generic/bits/select.h: Likewise.
5883 * sysdeps/i386/bits/select.h: Likewise.
5884 * sysdeps/generic/bits/types.h: Don't define __fd_mask, __NFDBITS,
5885 __FDELT, __FDMASK, and __fd_set here.
5886 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
5887 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
5888 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
5889 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
5890 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
5891 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
5892 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
5893 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
5894 * time/sys/time.h: Define struct timeval before including <time.h>
5897 * conform/data/sys/time.h-data: fd_set is a typedef.
5898 * conform/data/sys/select.h-data: New file.
5899 * conform/data/sys/mman.h-data: Make typed mem stuff optional.
5900 * conform/conformtest.pl (@headers): Add sys/select.h.
5901 (type, optional-type): Unless testing a typedef instantiate object.
5902 Implement optional-function.
5904 * math/test-misc.c: Include <float.h>.
5906 2001-01-27 Andreas Jaeger <aj@suse.de>
5908 * misc/efgcvt_r.c: Include <float.h>.
5910 2001-01-26 Ulrich Drepper <drepper@redhat.com>
5912 * conform/data/stdlib.h-data: Account for XPG6 changes.
5913 * stdlib/stdlib.h (__random): Change return value type to long.
5914 (posix_memalign): Cleanup parameter names.
5915 (setenv, unsetenv): Make available for __USE_XOPEN2K.
5916 Change return type of unsetenv to int.
5917 (qecvt, qgcvt, qfcvt): Declare only if __USE_MISC.
5918 * include/stdlib.h: Change return type of unsetenv to int.
5919 Change return type of random to long int.
5920 * sysdeps/generic/setenv.c (unsetenv): Change return type to int.
5921 Return -1 and set errno if parameter is invalid.
5922 * stdlib/random.c (__random): Change return value type to long.
5924 * conform/data/stdio.h-data: Account for changes in XPG6.
5926 * conform/data/spawn.h-data: Correct posix_spawnattr_setflags
5929 * conform/conformtest.pl: Define $mustprepend{"signal.h"}.
5930 * conform/data/signal.h-data: Fix sigev_notify_function entry.
5931 Fix typo (SIGVALRM -> SIGVTALRM).
5932 * sysdeps/unix/sysv/linux/bits/siginfo.h: Define sigev_notify_attr
5934 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
5935 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
5936 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
5937 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5938 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
5940 * conform/conformtest.pl: Implement optional-element. Define
5941 $mustprepend{"sched.h"}.
5942 * conform/data/sched.h-data: Make sporadic scheduler definitions
5945 * pwd/pwd.h: Don't define getpwent_r for XPG.
5947 * io/sys/poll.h: Define nfds_t and use it in poll prototype.
5948 * sysdeps/generic/poll.c: Use nfds_t type in function definition.
5949 * sysdeps/mach/hurd/poll.c: Likewise.
5950 * sysdeps/unix/bsd/poll.c: Likewise.
5951 * sysdeps/unix/sysv/linux/poll.c: Likewise.
5952 * sysdeps/unix/sysv/aix/poll.c: Likewise.
5953 * sysdeps/generic/bits/poll.h: Define NPOLLFILE only if __USE_MISC.
5954 * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
5955 * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
5956 * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
5957 * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
5958 * conform/data/poll.h-data: Fix typo in poll prototype.
5960 * sysdeps/gnu/netinet/tcp.h: Define everything but TCP_ macros
5962 * conform/data/netinet/tcp.h-data: Reserved prefix TCP_.
5964 * sysdeps/gnu/net/if.h: Cleanup namespace. Define IF_NAMESIZE.
5966 * inet/netinet/in.h: Make IPPROTO_ constants also macros.
5968 * conform/conformtest.pl: Implement optional-type.
5970 * resolv/netdb.h: Include <netinet/in.h> not <sys/socket.h>. Include
5971 <rpc/netdb.h> only if __USE_MISC. Include <stdint.h> instead of
5972 defining uint32_t here. Define IPPORT_RESERVED.
5973 (struct hostent): Type of h_length element is int.
5974 (getnameinfo): Type of flags parameter is unsigned int.
5975 * inet/getnameinfo.c (getnameinfo): flags argument is unsigned.
5976 * conform/data/netdb.h-data: Add many missing definitions.
5978 * conform/conformtest.pl: Implement optional-macro.
5979 * conform/data/math.h-data: Update for XPG6.
5981 * math/math.h (HUGE): Define as FLT_MAX value but don't use
5982 FLT_MAX. Don't include <float.h>.
5983 (MAXFLOAT): Likewise.
5985 * math/math.h: Define MATH_ERRNO and MATH_ERREXCEPT.
5987 * include/bits/xopen_lim.h: Don't define FOPEN_MAX here.
5989 * conform/data/limits.h-data: Mark constants as optional wherever
5992 * posix/bits/posix2_lim.h: Set correct values for
5993 _POSIX2_COLL_WEIGHTS_MAX and _POSIX2_CHARCLASS_NAME_MAX. Remove
5996 * posix/bits/posix1_lim.h: Define _POSIX_TZNAME_MAX as 6.
5999 * intl/loadmsgcat.c: Include <locale.h.> for _LIBC.
6001 * conform/data/netinet/in.h-data: Add reserved prefixes.
6003 * conform/data/arpa/inet.h-data: Fix a few typos.
6005 2001-01-26 Andreas Jaeger <aj@suse.de>
6007 * sysdeps/generic/strtol.c: Include <locale.h>
6008 * stdlib/strtod.c: Likewise
6009 * stdlib/strfmon.c: Likewise.
6010 * string/strcoll.c: Likewise.
6011 * string/strxfrm.c: Likewise.
6012 * wctype/wcfuncs_l.c: Likewise.
6013 * wctype/wctype_l.c: Likewise.
6014 * wctype/wctrans_l.c: Likewise.
6016 * include/bits/locale.h: New file.
6018 2001-01-26 Ulrich Drepper <drepper@redhat.com>
6020 * locale/langinfo.h: Correct logic in #ifs when defining YESSTR
6023 * locale/Makefile (headers): Add bits/locale.h.
6024 * locale/langinfo.h: Don't include <locale.h>. Include <bits/locale.h>
6025 and use __LC_ constants instead of LC_.
6026 * locale/locale.h: Include <bits/locale.h> and define LC_ constants
6027 using __LC_ constants.
6028 * locale/bits/locale.h: New file.
6029 * locale/loadlocale.c: Include <locale.h>.
6030 * locale/nl_langinfo.h: Likewise.
6032 * posix/glob.h: Cleanup namespace for non-_GNU_SOURCE case.
6034 * io/sys/stat.h: Define S_IFSOCK for XPG6.
6036 * conform/data/fcntl.h-data: posix_madvise is not expected here.
6038 * conform/conformtest.pl: Fix handling of macro-str.
6040 * conform/data/inttypes.h-data: Add missing definition and all of
6043 * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Bump to 20.
6045 2001-01-25 Ulrich Drepper <drepper@redhat.com>
6047 * conform/conformtest.pl (@headers): Add stdint.h.
6048 * conform/data/stdint.h-data: New file.
6050 * conform/conformtest.pl: Recognize options --headers and
6051 --dialect. Add dialect-specific CFLAGS.
6053 * conform/conformtest.pl: Implement handling of recursive
6056 * conform/data/locale.h-data: Add new struct lconv members.
6058 * posix/wordexp.h: Correct definition of wordexp_t.
6059 * posix/wordexp.c: Moved to ...
6060 * sysdeps/generic/wordexp.c: ...here. New file.
6061 * sysdeps/unix/sysv/linux/alpha/wordexp.c: New file.
6062 * sysdeps/unix/sysv/linux/ia64/wordexp.c: New file.
6063 * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: New file.
6064 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.2.2): Add
6066 * sysdeps/unix/sysv/linux/ia64/Versions: Likewise.
6067 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
6069 * math/tgmath.h: Pretty printing.
6071 * math/Makefile (tests): Add test-tgmath.
6072 (CFLAGS-test-tgmath.c): New variable.
6073 * math/test-tgmath.c: New file. Contributed by Jakub Jelinek.
6075 * conform/conformtest.pl: Handle allow-header in secondary headers
6078 * conform/data/fcntl.h-data: Mark symbols introduced in XPG6 with
6081 * conform/data/netinet/in.h-data: Use correct comment character.
6082 * conform/data/sys/stat.h-data: Likewise.
6084 2001-01-25 Jakub Jelinek <jakub@redhat.com>
6086 * math/tgmath.h (__TGMATH_BINARY_FIRST_REAL_ONLY,
6087 __TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY,
6088 __TGMATH_TERNARY_REAL_ONLY): Use proper arguments to
6089 __builtin_classify_type, add ##f suffixes where appropriate.
6090 (__TGMATH_UNARY_REAL_IMAG): Remove extraneous left parenthesis.
6091 (__TGMATH_BINARY_REAL_IMAG): Likewise, use proper arguments to
6092 __builtin_classify_type.
6093 (fma): Fix spelling of first argument.
6095 2001-01-25 Ulrich Drepper <drepper@redhat.com>
6097 * conform/data/unistd.h-data: Mark functions removed in XPG6
6100 * posix/unistd.h: Don't make functions removed in XPG6 available if
6103 * conform/conformtest.pl: Implement optional-constant.
6104 * conform/data/unistd.h-data: Use optional-constant wherever
6107 * sysdeps/generic/bits/confname.h: Correct names of _SC_PBS
6108 constants and add _SC_STREAMS.
6109 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
6111 * sysdeps/unix/sysv/linux/statvfs64.c: Rename to __statvfs64 and
6112 make old name weak alias.
6113 * sysdeps/generic/statvfs64.c: Likewise.
6114 * sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and
6115 make old name weak alias.
6116 * sysdeps/generic/fstatvfs64.c: Likewise.
6117 * include/sys/statvfs.h: New file.
6119 * sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE,
6120 _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and
6122 * sysdeps/posix/pathconf.c (__pathconf): Implement handling of
6123 _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
6124 _PC_REC_MIN_XFER_SIZE, and _PC_REC_XFER_ALIGN.
6125 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
6127 * conform/conformtest.pl: Run Unix tests for XPG6.
6128 Implement handling of known namespace violations.
6129 Improve printing of results.
6131 * posix/unistd.h (usleep): Correct return type.
6132 * sysdeps/unix/sysv/linux/usleep.c: Correct return type.
6133 * sysdeps/unix/bsd/usleep.c: Correct return type.
6134 * sysdeps/mach/usleep.c: Correct return type.
6135 * sysdeps/generic/usleep.c: Correct return type.
6137 * posix/unistd.h (sync): Correct return type.
6138 * sysdeps/generic/sync.c: Likewise.
6139 * sysdeps/mach/hurd/sync.c: Likewise.
6141 * sysdeps/generic/bits/confname.h (_SC_IOV_MAX): New definition.
6143 * posix/unistd.h: Make seteuid and setegid available for XPG6.
6145 * wcsmbs/wchar.h: Get FILE definition for XPG5.
6147 * conform/data/ctype.h-data: Use correct comment form.
6148 * conform/data/errno.h-data: Likewise.
6149 * conform/data/math.h-data: Likewise.
6150 * conform/data/mqueue.h-data: Likewise.
6151 * conform/data/netdb.h-data: Likewise.
6152 * conform/data/pthread.h-data: Likewise.
6154 2001-01-24 Ulrich Drepper <drepper@redhat.com>
6156 * conform/data/wordexp.h-data: Fix typo.
6158 * conform/conformtest.pl: Handle allow-header correctly.
6160 * conform/data/time.h-data: Use correct comment form.
6162 * conform/conformtest.pl (checknamespace): Ignore #undef lines.
6164 * configure.in: Comment out binutils version test.
6166 * stdlib/strtod.c (str_to_mpn): Correct parsing of thousands
6168 Reported by Lagardere Jean-Francois <LAGARDEREJ@thmulti.com>.
6170 * stdlib/tst-strtod.c (locale_test): New function.
6171 (main): Call locale_test.
6172 * stdlib/Makefile (tst-strtod-ENV): New variable.
6174 2001-01-24 Mark Kettenis <kettenis@gnu.org>
6176 * hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost
6177 declaration of value such that we actually return the value of the
6178 environment variable.
6180 2001-01-24 Andreas Jaeger <aj@suse.de>
6182 * sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl
6184 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
6186 * include/sys/sysctl.h: New file.
6188 2001-01-23 Andreas Jaeger <aj@suse.de>
6190 * stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to
6193 * elf/dl-load.c (_dl_init_paths): Don't use strdupa in function
6194 arguments. Reported by Jiri Kubicek <kubicek@bitsmart.com>,
6195 closes PR libc/2039.
6197 * manual/install.texi (Tools for Compilation): Change required
6200 2001-01-22 Andreas Jaeger <aj@suse.de>
6202 * configure.in: Add test for new enough binutils version, move
6203 compiler/binutils test up.
6205 * Versions.def: Add version GLIBC_2.2.2.
6207 2001-01-21 Ulrich Drepper <drepper@redhat.com>
6209 * iconvdata/TESTS: UTF-8 test data for IBM932 and IBM943 are now
6211 * iconvdata/testdata/IBM932: New file.
6212 * iconvdata/testdata/IBM932..UTF8: New file.
6213 * iconvdata/testdata/IBM943: New file.
6214 * iconvdata/testdata/IBM943..UTF8: New file.
6215 Contributed by Masahide Washizawa <washi@jp.ibm.com>.
6217 2001-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6219 * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset.
6221 2001-01-21 Ulrich Drepper <drepper@redhat.com>
6223 * malloc/malloc.c: Remove a few unnecessary initializers of global
6226 2000-12-09 H.J. Lu <hjl@gnu.org>
6228 * nss/Makefile (routines): Add digits_dots.
6229 * nss/Versions (libc): Add __nss_hostname_digits_dots to GLIBC_2.2.2.
6230 * nss/digits_dots.c (__nss_hostname_digits_dots): Turn template
6232 * nss/nsswitch.h (__nss_hostname_digits_dots): New internal NSS
6234 * nss/getXXbyYY.c (H_ERRNO_VAR_P): New definition.
6235 (TYPE_VAR_P): Likewise.
6236 (FLAGS_VAR): Likewise.
6237 (AF_VAR_P): Likewise.
6238 (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
6239 instead of including digits_dots.c.
6240 * nss/getXXbyYY_r.c (H_ERRNO_VAR_P): New definition.
6241 (TYPE_VAR_P): Likewise.
6242 (FLAGS_VAR): Likewise.
6243 (AF_VAR_P): Likewise.
6244 (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
6245 instead of including digits_dots.c.
6247 2001-01-21 Ulrich Drepper <drepper@redhat.com>
6249 * sysdeps/posix/getaddrinfo.c: Reduce .data size.
6251 2001-01-21 Andreas Jaeger <aj@suse.de>
6253 * elf/constload2.c: Add prototype for init.
6255 2001-01-21 Ulrich Drepper <drepper@redhat.com>
6257 * stdlib/stdlib.h (drand48_data): Make available only for
6258 __USE_MISC. Rename elements to protect namespace. Change type
6259 and position of a and init element.
6260 * stdlib/drand48-iter.c: Don't handle unsigned short > 16 bit
6261 differently. Adjust for drand48_data change. Don't compute a here,
6262 it comes from drand48_data.
6263 * stdlib/lcong48_r.c: Don't handle unsigned short > 16 bit
6264 differently. Adjust for drand48_data change. Compute a here.
6265 * stdlib/srand48_r.c: Likewise.
6266 * stdlib/drand48.c: Adjust for drand48_data change.
6267 * stdlib/lrand48.c: Likewise.
6268 * stdlib/mrand48.c: Likewise.
6269 * stdlib/seek48.c: Likewise.
6270 * stdlib/drand48_r.c: Likewise.
6271 * stdlib/lrand48_r.c: Likewise.
6272 * stdlib/mrand48_r.c: Likewise.
6273 * stdlib/seed48_r.c: Likewise. Don't handle unsigned short > 16 bit
6275 * stdlib/erand48_r.c: Don't handle unsigned short > 16 bit differently.
6276 * stdlib/jrand48_r.c: Likewise.
6278 * po/sv.po: Update from translation team.
6280 2001-01-21 Andreas Jaeger <aj@suse.de>
6282 * stdio-common/vfprintf.c (vfprintf): Add casts.
6284 2001-01-20 Ulrich Drepper <drepper@redhat.com>
6286 * iconvdata/run-iconv-test.sh: Reorgnize a bit to allow running only
6288 * iconvdata/TESTS: Add entries for IBM932 and IBM943.
6290 * iconvdata/Makefile (modules): Add IBM932 and IBM943.
6291 * iconvdata/gconv-modules: Add entries for IBM932 and IBM943.
6292 * iconvdata/ibm932.c: New file.
6293 * iconvdata/ibm932.h: New file.
6294 * iconvdata/ibm943.c: New file.
6295 * iconvdata/ibm943.h: New file.
6296 Patches by Masahide Washizawa <washi@jp.ibm.com>.
6298 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo
6299 preventing optimization from being done. Set the correct type bit
6300 in seen. Don't define and use _dl_base_addr unless
6301 NEED_DL_BASE_ADDR is defined.
6303 * io/ftw.c (ftw_dir): Add slash after directory name if there
6304 wasn't any. Reported by loris <loris@iol.it>.
6305 * io/Makefile (tests): Add bug-ftw2.
6306 * io/bug-ftw2.c: New file.
6308 2001-01-19 Ulrich Drepper <drepper@redhat.com>
6310 * stdlib/jrand48_r.c (__jrand48_r): Correct constructing of
6311 results. Reported by Jeff Higham <jhigham@algorithmics.com>.
6312 * stdlib/tst-rand48.c: New file.
6313 * stdlib/Makefile (tests): Add tst-rand48.
6315 * locale/newlocale.c (__newlocale): Fix test for setting all
6318 2001-01-19 Mark Kettenis <kettenis@gnu.org>
6320 * sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes,
6321 but change looking up the initial directory port in a similar way
6322 as done by _hurd_change_directory_port_from_name.
6323 * hurd/fchroot.c (fchroot): Likewise.
6325 2001-01-18 Ulrich Drepper <drepper@redhat.com>
6327 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If HAVE_AUX_XID is
6328 defined don't look whether the AT_*ID values were set.
6329 If HAVE_AUX_PAGESIZE is defined don't look whether the pagesize is set.
6330 (_dl_show_auxv): Rewrite to avoid switch statement.
6331 * sysdeps/unix/sysv/linux/kernel-features.h: Define
6332 __ASSUME_AT_PAGESIZE for kernel >= 2.4.1.
6333 * sysdeps/unix/sysv/linux/ldsodefs.h: Define HAVE_AUX_XID.
6334 Define HAVE_AUX_PAGESIZE if __ASSUME_AT_PAGESIZE is defined.
6336 * sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect.
6337 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
6338 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
6340 * elf/rtld.c (process_envvars): Call __strtoul_internal instead of
6342 * elf/dl-minimal.c (strtol, __strtol_internal, strtoul): Removed.
6343 (__sigjmp_save): Set __mask_was_saved to zero since we don't save
6345 * dlfcn/eval.c (__strtol_internal): Define here.
6346 (eval): Use __strtol_internal instead of strtol.
6348 * elf/elf.h: Add a few more EF_MIPS_* constants.
6350 2001-01-17 Ulrich Drepper <drepper@redhat.com>
6352 * manual/Makefile (chapters): Add debug.
6353 * manual/debug.texi: New file.
6354 * manual/examples/execinfo.c: New file.
6355 Patch by suckfish@ihug.co.nz.
6357 2001-01-17 Andreas Schwab <schwab@suse.de>
6359 * sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid
6362 2001-01-17 Andreas Jaeger <aj@suse.de>
6364 * nscd/connections.c (nscd_run): Use proper format specifier.
6366 2001-01-16 Ulrich Drepper <drepper@redhat.com>
6368 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Move x86_cap_flags and
6369 x86_platforms data into new file after prepending _dl_. Change
6371 * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: New file.
6372 * sysdeps/unix/sysv/linux/i386/Dist: Add dl-procinfo.c.
6373 * sysdeps/unix/sysv/linux/i386/Makefile: Add rules to build
6376 * setjmp/setjmp.h: Cleanup definition of setjmp macro.
6378 * sysdeps/i386/elf/bsd-setjmp.S: Real implementation.
6379 * sysdeps/i386/elf/bsd-_setjmp.S: Removed.
6380 * sysdeps/i386/elf/setjmp.S (setjmp): Removed here.
6381 (_setjmp): Likewise.
6382 * sysdeps/i386/bsd-_setjmp.S: Real implementation.
6383 * sysdeps/i386/bsd-setjmp.S: Real implementation.
6384 * sysdeps/i386/bits/setjmp.h: Remove PUSH_SIGNAL_MASK definition.
6385 * sysdeps/i386/setjmp.S: Remove PIC support. This is the non-ELF
6388 2001-01-16 Andreas Jaeger <aj@suse.de>
6390 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix
6391 misapplied last patch.
6393 2001-01-15 Ulrich Drepper <drepper@redhat.com>
6395 * stdlib/random.c (__initstate): Clean up a cast.
6396 (__setstate): Likewise.
6398 * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove select
6399 syscall handling. The generic Linux version should work.
6401 2001-01-15 Andreas Jaeger <aj@suse.de>
6403 * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
6405 * stdio-common/tstscanf.c (main): Add two testcases for '*' modifier.
6407 2001-01-14 Jakub Jelinek <jakub@redhat.com>
6409 * nss/getent.c (print_aliases, aliases_keys, ethers_keys,
6410 netgroup_keys, print_rpc, rpc_keys, print_shadow, shadow_keys):
6412 (group_keys, hosts_keys, network_keys, passwd_keys, protocols_keys):
6413 If number is 0, list all.
6414 (services_keys): Likewise. Lookup aliases as well.
6415 (databases): New table.
6416 (build_doc): Prepare argp doc text with list of supported databases.
6417 (main): Change to table driven processing.
6419 2001-01-14 Thorsten Kukuk <kukuk@suse.de>
6421 * sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about these
6424 2001-01-03 Jakub Jelinek <jakub@redhat.com>
6426 * sunrpc/xdr.c (xdr_long, xdr_u_long): Return FALSE if trying to
6427 encode value which does not fit in the 32bit type.
6429 2001-01-15 Hiroyuki Machida <machida@sm.sony.co.jp>
6431 * sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
6432 Change type of CTX to (struct sigcontext *).
6433 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise.
6434 (GET_FRAME): Likewise.
6435 (GET_STACK): Likewise.
6436 (SIGCONTEXT): Likewise. Add 2nd arg _code.
6437 (SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.
6439 2001-01-13 Ulrich Drepper <drepper@redhat.com>
6441 * manual/texinfo.tex: Update from upstream version.
6443 2001-01-13 Jakub Jelinek <jakub@redhat.com>
6445 * inet/ether_ntoh.c (lookup_function): Change arguments to match
6446 _nss_*_getntohost_r prototype.
6447 (ether_ntohost): Pass errno pointer to NSS function.
6449 2001-01-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6451 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value.
6452 (MAP_LOCKED): New definition.
6453 (MAP_NORESERVE): New definition.
6455 2001-01-12 Ulrich Drepper <drepper@redhat.com>
6457 * assert/assert.h: Use static_cast instead of C-style cast for C++.
6458 Patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>.
6460 2001-01-12 Ben Collins <bcollins@debian.org>
6462 * sysdeps/generic/segfault.c (install_handler): Use access, not
6465 2001-01-12 Andreas Jaeger <aj@suse.de>
6467 * posix/fnmatch_loop.c (FCT): Remove signed warnings.
6468 * posix/wordexp.c (do_parse_glob): Likewise.
6469 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
6470 * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
6471 * elf/dl-open.c (_dl_open): Likewise.
6472 * elf/dl-close.c (_dl_close): Likewise.
6473 * elf/dl-load.c (_dl_map_object): Likewise.
6474 * iconv/iconv_prog.c (process_fd): Likewise.
6475 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
6477 * locale/localeinfo.h (struct locale_data): Use __flexarr instead
6478 of a zero-length array.
6480 2001-01-11 Jakub Jelinek <jakub@redhat.com>
6482 * stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func.
6483 * stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument.
6484 * stdlib/cxa_on_exit.c: Remove.
6485 * stdlib/Makefile: Revert last patch.
6486 * stdlib/Versions: Likewise.
6487 * include/stdlib.h: Likewise.
6488 * stdlib/exit.h: Revert last patch.
6489 (struct exit_function): Add second argument to cxa fn.
6490 * stdlib/exit.c: Revert last patch.
6491 (exit): Add hidden second argument.
6493 2001-01-11 H.J. Lu <hjl@gnu.org>
6495 * elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ...
6496 * elf/dl-open.c (_dl_open): Here.
6497 * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock):
6499 (_dl_static_init): Initialize the variables every time when possible.
6500 * sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT):
6503 2001-01-11 Ulrich Drepper <drepper@redhat.com>
6505 * stdlib/Makefile (routines): Add cxa_on_exit.
6506 * stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit.
6507 * stdlib/cxa_on_exit.c: New file.
6508 * include/stdlib.h: Add prototype for __cxa_on_exit.
6509 * stdlib/exit.c: Handle ef_cxa2.
6510 * stdlib/exit.h (enum): Add ef_cxa2.
6511 (struct exit_function): Add cxa2.
6513 * Versions.def [ld]: Add GLIBC_2.2.1.
6515 2001-01-10 H.J. Lu <hjl@gnu.org>
6517 * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries.
6518 * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add
6520 * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init.
6521 * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined.
6522 * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file.
6523 * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file.
6524 * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
6526 2001-01-11 Ulrich Drepper <drepper@redhat.com>
6528 * libio/stdio.h: Remove definition of off_t.
6530 2001-01-11 Andreas Jaeger <aj@suse.de>
6532 * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
6535 2001-01-10 Ulrich Drepper <drepper@redhat.com>
6537 * sunrpc/Makefile (distribute): Add errqueue.h.
6539 2001-01-10 H.J. Lu <hjl@gnu.org>
6541 * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve
6542 r9, r10 and r11 for language specific registers.
6544 2001-01-10 Jakub Jelinek <jakub@redhat.com>
6546 * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the
6548 (clntudp_call): Handle MSG_ERRQUEUE.
6549 * sysdeps/generic/errqueue.h: New file.
6550 * sysdeps/unix/sysv/linux/errqueue.h: New file.
6552 2001-01-10 H.J. Lu <hjl@gnu.org>
6554 * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
6556 2001-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
6558 * CONFORMANCE: Update.
6560 2001-01-09 Ulrich Drepper <drepper@redhat.com>
6562 * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
6563 Minimal cleanups. Add assert to ensure memory handling is correct.
6565 * manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value.
6566 Reported by Ben Collins <bcollins@debian.org>.
6568 * time/strftime.c (my_strftime): Mark previous GNU extensions
6569 which are now in C99 as such.
6571 2001-01-08 Ulrich Drepper <drepper@redhat.com>
6573 * elf/rtld.c (process_envvars): Place output files for profiling
6574 in SUID binaries in /var/profile.
6576 * elf/dl-load.c (_dl_map_object): Don't look in cache for
6577 preloading in SUID binaries.
6579 * elf/dl-profile.c (_dl_start_profile): Open the output file with
6580 O_NOFOLLOW if possible.
6582 * include/stdlib.h: Add __posix_openpt declaration.
6583 * stdlib/stdlib.h: Add posix_openpt declaration.
6584 * login/Versions: Add posix_openpt for GLIBC_2.2.1.
6585 * sysdeps/generic/getpt.c: Define posix_openpt.
6586 * sysdeps/unix/bsd/getpt.c: Likewise.
6587 * sysdeps/unix/sysv/linux/getpt.c: Likewise.
6589 * time/Makefile (tests): Add tst-mktime.
6590 * time/tst-mktime.c: New file.
6592 * posix/tst-dir.c (main): One more mkdir() test.
6594 * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
6595 Remove getpagesize syscall. We assume that the pagesize is always
6596 determined from the auxiliary vector.
6598 * intl/dcigettext.c: Fix a few warnings.
6599 Patch by Bruno Haible <haible@ilog.fr>.
6601 2001-01-08 Andreas Jaeger <aj@suse.de>
6603 * io/test-lfs.c (do_test): Check lseek64 return for EINVAL.
6604 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
6606 2001-01-08 Ulrich Drepper <drepper@redhat.com>
6608 * sysdeps/generic/segfault.c (install_handler): Check output file
6611 * resolv/res_query.c: Use simply getenv() for HOSTALIASES.
6612 * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
6614 * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
6616 * malloc/memusage.c (me): Use access() to determine whether we
6617 should write the output file or not.
6619 * libio/bits/stdio.h (printf): Define macro to map printf call to
6620 fprintf which gcc can optimize.
6621 * stdio-common/printf.c: Undefine printf.
6623 2001-01-07 Ulrich Drepper <drepper@redhat.com>
6625 * sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last
6626 patch. We must use unsigned int for l member of union.
6628 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call
6629 _dl_aux_init for shared libraries.
6631 * sysdeps/unix/sysv/linux/glob64.c: Moved to ...
6632 * sysdeps/gnu/glob64.c: ...here. New file.
6634 2001-01-07 Ben Collins <bcollins@debian.org>
6636 * manual/examples/longopt.c: Make the "struct option" a little
6637 more like it should be, adding usage of required_argument,
6638 noargument and such, and also setting the options string right.
6640 * manual/sysinfo.texi (Load Average): New section, documents
6643 2001-01-06 Ulrich Drepper <drepper@redhat.com>
6645 * version.h (VERSION): Bump to 2.2.1.
6647 * sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
6648 * sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S.
6649 * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S.
6650 * dlfcn/Makefile (distribute): Add errmsg1mod.c.
6651 * Makefile (distribute): Add include/libc-internal.h.
6652 * libio/Makefile (distribute): Avoid overwriting.
6654 * iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in
6655 buffer and table handling.
6657 2001-01-05 H.J. Lu <hjl@gnu.org>
6659 * elf/dl-support.c (non_dynamic_init): Move the auxiliary
6660 vector checking to ...
6661 (_dl_aux_init): Here. New function. Defined only if
6662 HAVE_AUX_VECTOR is defined.
6664 * sysdeps/generic/libc-start.c (__libc_start_main): Call
6665 _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined.
6667 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call
6670 * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed.
6671 (HAVE_AUX_VECTOR): Defined.
6672 (_dl_aux_init): Declared.
6674 2001-01-05 Ben Collins <bcollins@debian.org>
6676 * manual/string.texi (Finding Tokens in a String): Document XPG
6677 basename() and dirname(), as well as GNU basename().
6679 2001-01-05 Jakub Jelinek <jakub@redhat.com>
6681 * Makeconfig (preprocess-version): Replace -traditional with
6682 -x assembler-with-cpp.
6684 2001-01-05 Joseph S. Myers <jsm28@cam.ac.uk>
6686 * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj
6687 for GCC 2.97 or later.
6689 2001-01-05 Ben Collins <bcollins@debian.org>
6691 * manual/stdio.texi (getline): Clarify the return value in the
6692 case of EOF being reached before a newline.
6694 2001-01-04 Jakub Jelinek <jakub@redhat.com>
6696 * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful,
6698 (pmap_set, pmap_unset): Check __get_myaddress return value.
6700 2001-01-05 Mark Kettenis <kettenis@gnu.org>
6702 * sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>.
6703 (struct ether_addr): Declare ether_addr_octet member as
6704 `u_int8_t'. Add __attribute__ ((__packed__)).
6706 2001-01-06 Mark Kettenis <kettenis@gnu.org>
6708 * sysdeps/mach/hurd/readdir64.c: New file.
6709 * sysdeps/mach/hurd/readdir64_r.c: New file.
6711 2001-01-07 Mark Kettenis <kettenis@gnu.org>
6713 * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about
6714 `struct statfs' and `struct statvfs' being identical.
6715 * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
6717 2001-01-06 Mark Kettenis <kettenis@gnu.org>
6719 * sysdeps/mach/hurd/fstatfs64.c: New file.
6720 * sysdeps/mach/hurd/fstatvfs64.c: New file.
6721 * sysdeps/mach/hurd/statfs64.c: New file.
6722 * sysdeps/mach/hurd/statvfs64.c: New file.
6723 * sysdeps/mach/hurd/statfsconv.c: New file.
6724 * sysdeps/mach/hurd/Dist: Add statfsconv.c.
6726 2001-01-06 Ulrich Drepper <drepper@redhat.com>
6728 * iconv/skeleton.c: Reset outbuf for next round of the loop.
6729 Reported by Owen Taylor <otaylor@redhat.com>.
6730 * iconv/Makefile (tests): Add tst-iconv3.
6731 * iconv/tst-iconv3.c: New file.
6733 * iconvdata/ibm930.c: Fix handling of state. Optimize a bit.
6734 * iconvdata/ibm933.c: Likewise.
6735 * iconvdata/ibm935.c: Likewise.
6736 * iconvdata/ibm937.c: Likewise.
6737 * iconvdata/ibm939.c: Likewise.
6738 * iconvdata/ibm930.h: Adjust single byte table for optimization.
6739 * iconvdata/ibm933.h: Likewise.
6740 * iconvdata/ibm935.h: Likewise.
6741 * iconvdata/ibm939.h: Likewise.
6743 * iconvdata/testdata/IBM930: Add misssing SI.
6744 * iconvdata/testdata/IBM933: Likewise.
6745 * iconvdata/testdata/IBM935: Likewise.
6746 * iconvdata/testdata/IBM937: Likewise.
6747 * iconvdata/testdata/IBM939: Likewise.
6749 2001-01-06 Andreas Jaeger <aj@suse.de>
6751 * configure.in: Check for old add-ons that shouldn't be used with
6752 current glibc anymore.
6754 2001-01-06 Mark Kettenis <kettenis@gnu.org>
6756 * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number
6757 instead of -1 on failure. Don't forget to copy file name into
6758 *ENTRY if successful. Set *RESULT to NULL upon reaching the end
6761 2001-01-06 Mark Kettenis <kettenis@gnu.org>
6763 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
6764 copy st_atime member.
6766 2001-01-05 Ulrich Drepper <drepper@redhat.com>
6768 * io/ftw.c (ftw_dir): Don't add a second slash at the beginning
6769 for searches from the root directory.
6770 Reported by loris <loris@iol.it> [PR libc/1991].
6771 * io/Makefile (tests): Add bug-ftw1.
6772 * io/bug-ftw1.c: New file.
6774 * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
6775 if it is not available. Instead use it only if it is available.
6776 * sysdeps/unix/sysv/linux/ldsodefs.h: New file.
6778 * iconv/gconv_simple.c (internal_ics4_loop): Correct test for
6779 overflowing output buffer.
6780 (internal_ucs4_loop_unaligned): Likewise.
6781 (ucs4_internal_loop): Likewise.
6782 (ucs4_internal_loop_unaligned): Likewise.
6783 (internal_ucs4le_loop): Likewise.
6784 (internal_ucs4le_loop_unaligned): Likewise.
6785 (ucs4le_internal_loop): Likewise.
6786 (ucs4le_internal_loop_unaligned): Likewise.
6787 Reported by Owen Taylor <otaylor@redhat.com>.
6788 * iconv/Makefile (tests): Add tst-iconv2.
6789 * iconv/tst-iconv2.c: New file.
6791 2001-01-04 H.J. Lu <hjl@gnu.org>
6793 * elf/dl-support.c (DL_FIND_AUXV): New. Defined if not defined.
6794 (_dl_clktck): Declared.
6795 (non_dynamic_init): Take 3 arguments.
6796 Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.
6798 2001-01-01 Bruno Haible <haible@clisp.cons.org>
6800 Finish implementation of plural form handling.
6801 * intl/dcigettext.c (known_translation_t): Rename 'domain' field to
6802 'domainname'. Remove 'plindex' field. Add 'domain' and
6803 'translation_length' fields.
6804 (transcmp): Don't compare 'plindex' fields.
6805 (plural_lookup): New function.
6806 (DCIGETTEXT): Change cache handing in the plural case. Don't call
6807 plural_eval before the translation and its catalog file have been
6808 found. Remove plindex from cache key. Add 'translation_length' and
6809 'domain' to cache result.
6810 (_nl_find_msg): Remove index argument, return length of translation
6811 to the caller instead. Weaken comparison of string lengths, to account
6812 for plural entries. Call iconv() on the entire result string, not
6813 only on the portion needed so far.
6814 * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
6816 * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
6818 2001-01-04 Ulrich Drepper <drepper@redhat.com>
6820 * intl/plural.y (yylex): Minimal improvement in number scanner.
6822 2000-07-31 Bruno Haible <haible@clisp.cons.org>
6824 * intl/plural.y: Include config.h. Needed to define 'inline' away for
6825 C compilers that don't support it.
6826 (yylex): Don't use gcc specific case range syntax.
6827 * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
6830 2000-10-12 Bruno Haible <haible@clisp.cons.org>
6832 * intl/finddomain.c: Remove unneeded includes.
6834 2000-10-12 Bruno Haible <haible@clisp.cons.org>
6836 * intl/localealias.c (memcpy): Return first argument, just like the
6837 real memcpy function does.
6838 * intl/bindtextdom.c (memcpy): Likewise.
6839 * intl/finddomain.c (memcpy): Likewise.
6840 * intl/l10nflist.c (memcpy): Likewise.
6841 * intl/textdomain.c (memcpy): Likewise.
6842 From Paul Eggert <eggert@twinsun.com>.
6844 2001-01-03 Jakub Jelinek <jakub@redhat.com>
6846 * resolv/resolv.h (struct __res_state): Add nsinit field.
6847 * resolv/res_send.c (res_nsend): Use it instead of nscount.
6848 * resolv/res_init.c (__res_vinit): Initialize it.
6849 (res_nclose): Clear it instead of nscount.
6851 2001-01-04 Ulrich Drepper <drepper@redhat.com>
6853 * malloc/mtrace.pl: Fix matching of addresses.
6854 Patch by Aharon Robbins <arnold@skeeve.com>.
6856 * Versions.def (ld): Add GLIBC_2.2.
6858 * catgets/gencat.c: Copyright 2001.
6859 * csu/version.c: Likewise.
6860 * debug/catchsegv.sh: Likewise.
6861 * debug/xtrace.sh: Likewise.
6862 * elf/ldconfig.c: Likewise.
6863 * elf/sprof.c: Likewise.
6864 * iconv/iconv_prog.c: Likewise.
6865 * locale/locale.c: Likewise.
6866 * locale/localedef.c: Likewise.
6867 * malloc/memusage.sh: Likewise.
6868 * malloc/mtrace.pl: Likewise.
6869 * nscd/nscd.c: Likewise.
6870 * posix/getconf.c: Likewise.
6872 2001-01-04 Mark Kettenis <kettenis@gnu.org>
6874 * include/stdio.h: Only provide __getwc_unlocked prototype if
6875 USE_IN_LIBIO is defined.
6877 2001-01-04 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6879 * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code
6882 2001-01-03 Andreas Schwab <schwab@suse.de>
6884 * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias.
6885 * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias.
6887 * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias.
6888 * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix
6890 * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias.
6891 * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix
6894 * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this
6896 * sysdeps/generic/strtol_l.c: Likewise.
6897 * sysdeps/generic/strtoul_l.c: Likewise.
6898 * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c.
6900 * sysdeps/wordsize-64/strtol_l.c: Fix alias.
6901 * sysdeps/wordsize-64/strtoul_l.c: Likewise.
6902 * sysdeps/wordsize-64/wcstol_l.c: Fix alias.
6903 * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
6905 2001-01-04 Andreas Jaeger <aj@suse.de>
6907 * nss/nsswitch.c: Include files for missing prototypes, remove
6908 buggy declaration of prototypes.
6910 2001-01-03 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6912 * resolv/Versions: Fix bracing.
6913 * sysdeps/powerpc/soft-fp/Versions: Likewise.
6914 * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
6916 2001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6918 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
6920 2001-01-02 Ulrich Drepper <drepper@redhat.com>
6922 * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
6923 Suggested by Minko Markov <mmarkov@home.com>.
6925 2001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6927 * sysdeps/powerpc/elf/start.S (__data_start): Make it global.
6928 * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
6930 (__process_machine_rela): Pass symbol to dl_reloc_overflow().
6932 2001-01-02 Ben Collins <bcollins@debian.org>
6934 * time/tzset.c (tzset_internal): Make sure we fall back to UTC
6935 if TZ is not set and TZDEFAULT is not present.
6937 2001-01-01 Ben Collins <bcollins@debian.org>
6939 * string/strings.h: Make sure we declare our functions even if
6940 string.h is already included, based on whether or not __USE_BSD is
6943 2001-01-02 Ulrich Drepper <drepper@redhat.com>
6945 * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
6946 other dlopen() and dlsym().
6947 Based on a patch by Ben Collins <bcollins@debian.org>.
6949 2001-01-02 Andreas Jaeger <aj@suse.de>
6951 * dlfcn/errmsg1.c (main): Call dlerror initially.
6952 Reported by Ben Collins <bcollins@debian.org>.
6954 2001-01-02 Ulrich Drepper <drepper@redhat.com>
6956 * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
6957 value is ignored if the selected locale is the C locale.
6958 * intl/tst-gettext.c: Set locale for above change.
6959 * intl/tst-translit.c: Likewise.
6961 2001-01-02 Andreas Jaeger <aj@suse.de>
6963 * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
6964 (_IO_switch_to_wget_mode): Likewise.
6965 (_IO_sputbackwc): Likewise.
6966 (_IO_sungetwc): Use wint_t for result.
6968 * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done.
6970 * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct
6973 * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked
6974 to (int) to avoid warnings.
6975 * stdio-common/printf_fp.c (putc): Likewise.
6976 * stdio-common/printf_size.c (putc): Likewise.
6978 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make
6981 2001-01-01 Andreas Jaeger <aj@suse.de>
6983 * inet/rcmd.c (rcmd_af): Use socklen_t for len.
6985 2000-12-31 Andreas Jaeger <aj@suse.de>
6987 * include/libc-internal.h: Add prototype for __libc_freeres.
6989 * sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
6990 for prototypes, remove redundant prototypes.
6991 * gmon/gmon.c: Likewise.
6992 * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
6993 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
6994 * malloc/mtrace.c: Likewise.
6996 * sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
6998 * elf/soinit.c: Likewise.
6999 * sysdeps/generic/prof-freq.c: Likewise.
7000 * sysdeps/mach/hurd/profil.c: Likewise.
7001 * debug/noophooks.c: Likewise.
7002 * debug/pcprofile.c: Likewise.
7003 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
7004 * sysdeps/generic/get_clockfreq.c: Likewise.
7005 * malloc/set-freeres.c: Likewise.
7007 * locale/localeinfo.h: Add internal prototypes.
7009 * elf/rtld.c (dl_main): Fix prototype.
7011 * iconvdata/tst-table-to.c (main): Use return instead of exit to
7014 * nis/rpcsvc/yp_prot.h: Remove __P.
7015 * nis/rpcsvc/ypupd.h: Likewise.
7016 * nis/rpcsvc/yp.h: Likewise.
7018 * sunrpc/rpc_main.c: Add noreturn attributes.
7019 * sunrpc/rpc_scan.h: Likewise.
7021 * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.
7023 * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.
7025 * sunrpc/proto.h: Add noreturn attributes to error and crash.
7027 * posix/bsd-getpgrp.c: Add prototype to avoid warning.
7029 * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.
7031 * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.
7033 * include/rpc/rpc_msg.h: Add prototypes for some functions.
7034 * include/rpc/auth.h: Likewise.
7035 * include/rpc/auth_des.h: Likewise.
7036 * include/rpc/clnt.h: Likewise.
7037 * include/rpc/rpc.h: Likewise.
7038 * include/rpc/svc.h: Likewise.
7039 * include/rpc/svc_auth.h: Likewise.
7041 * include/rpc/des_crypt.h: New file.
7043 * malloc/memusagestat.c (main): Use return instead of exit to
7045 * io/pwd.c (main): Likewise.
7046 * iconvdata/tst-table-from.c (main): Likewise.
7047 * ctype/test_ctype.c (main): Likewise.
7048 * setjmp/tst-setjmp.c (main): Likewise.
7049 * signal/tst-signal.c (main): Likewise.
7050 * stdlib/tst-strtol.c (main): Likewise.
7051 * stdlib/tst-strtod.c (main): Likewise.
7052 * stdlib/tst-strtoll.c (main): Likewise.
7053 * stdlib/tst-xpg-basename.c (main): Likewise.
7054 * dirent/tst-seekdir.c (main): Likewise.
7055 * grp/testgrp.c (main): Likewise.
7056 * inet/test_ifindex.c (main): Likewise.
7057 * io/test-utime.c (main): Likewise.
7058 * posix/test-vfork.c (main): Likewise.
7059 * posix/testfnm.c (main): Likewise.
7060 * stdio-common/temptest.c (main): Likewise.
7061 * stdio-common/test_rdwr.c (main): Likewise.
7062 * stdio-common/tst-fileno.c (main): Likewise.
7063 * stdio-common/tst-sscanf.c (main): Likewise.
7064 * stdio-common/tstscanf.c (main): Likewise.
7065 * string/bug-strncat1.c (main): Likewise.
7066 * string/bug-strpbrk1.c (main): Likewise.
7067 * string/bug-strspn1.c (main): Likewise.
7068 * string/test-ffs.c (main): Likewise.
7069 * string/tst-inlcall.c (main): Likewise.
7070 * string/tst-svc.c (main): Likewise.
7071 * timezone/test-tz.c (main): Likewise.
7072 * wctype/test_wcfuncs.c (main): Likewise.
7073 * wctype/test_wctype.c (main): Likewise.
7075 * stdlib/tst-random.c: Add attribute noreturn to fail.
7077 2000-12-28 Wolfram Gloger <wg@malloc.de>
7079 * malloc/malloc.c (MALLOC_COPY): Handle case if source and
7080 destination overlap. Assume dest is always below source if
7083 2000-12-30 Ulrich Drepper <drepper@redhat.com>
7085 * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
7086 object was not yet initialized.
7088 2000-12-28 H.J. Lu <hjl@gnu.org>
7090 * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
7091 is always consistent even if its dependency is failed.
7093 * elf/dl-open.c (_dl_open): Increment the open count before
7094 calling _dl_close () in case of failure.
7096 * elf/neededtest4.c: New file.
7097 * elf/neededobj5.c: New file.
7098 * elf/neededobj6.c: New file.
7100 * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
7101 (tests): Add neededtest4.
7102 (modules-names): Add neededobj5 and neededobj6.
7103 ($(objpfx)neededobj6.so): New target.
7104 ($(objpfx)neededtest4): New target.
7105 ($(objpfx)neededtest4.out): New target.
7107 2000-12-28 Joseph S. Myers <jsm28@cam.ac.uk>
7109 * misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
7110 * stdlib/monetary.h: Add strfmon format attributes.
7112 2000-12-28 Roland McGrath <roland@frob.com>
7114 * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
7115 __mempcpy does it for us.
7117 2000-12-28 Andreas Jaeger <aj@suse.de>
7119 * sysdeps/generic/dl-environ.c: Add prototype for unsetenv.
7121 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
7124 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
7127 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
7130 * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
7131 __chown_is_lchown and __real_chown.
7133 * sysdeps/generic/ldsodefs.h: Add noreturn attribute to
7136 * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
7137 up GCC's warning about "deprecated use of label at end of compound
7139 * sunrpc/rpc_cout.c (emit_inline): Likewise.
7141 * gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
7143 Remove struct bb and __bb_head since those are declared by
7146 2000-12-22 Ben Collins <bcollins@debian.org>
7148 * manual/charset.texi: Fix typo in description of WCHAR_MAX.
7150 * manual/argp.texi: Document argp_domain as part of struct argp.
7152 2000-12-28 Andreas Jaeger <aj@suse.de>
7154 * catgets/Makefile (generated): Add sample.SJIS.cat.
7156 * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
7158 * elf/dl-minimal.c: Add prototypes.
7160 * include/locale.h: Add internal prototypes.
7161 * include/sys/gmon.h: Likewise.
7163 * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
7165 2000-12-27 Ben Collins <bcollins@debian.org>
7167 * elf/dl-open.c (_dl_open): Correctly set the new objname pointer
7168 when reallocating the error strings.
7169 Reported by Kalle Olavi Niemitalo <kon@iki.fi>
7171 2000-12-27 Ulrich Drepper <drepper@redhat.com>
7173 * dlfcn/Makefile (tests): Add errmsg1.
7174 (modules-names): Add errmsg1mod.
7175 Add rules to run errmsg1.
7176 * dlfcn/errmsg1.c: New file.
7177 * dlfcn/errmsg1mod.c: New file.
7179 * dlfcn/dlerror.c (dlerror): Always create output string which
7180 includes object file name.
7182 * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
7183 if we would go through it only once.
7184 Patch by Rick Gorton <rick.gorton@api-networks.com>.
7186 * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
7187 Patch by Richard Henderson <rth@redhat.com>.
7189 2000-12-27 Jakub Jelinek <jakub@redhat.com>
7191 * malloc/malloc.c (memmove): Add prototypes.
7192 (MALLOC_MEMMOVE): Define.
7193 (chunk_realloc): Use it instead of MALLOC_COPY if source and
7194 destination might overlap.
7196 2000-12-27 Andreas Jaeger <aj@suse.de>
7198 * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
7200 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
7201 * locale/programs/locale.c (show_locale_vars): Likewise.
7202 (show_info): Likewise.
7203 * locale/programs/ld-collate.c (collate_output): Likewise.
7204 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
7205 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7206 * stdlib/rpmatch.c (rpmatch): Likewise.
7208 * setjmp/tst-setjmp.c: Make local functions static.
7209 * setjmp/jmpbug.c: Likewise.
7210 * signal/tst-signal.c: Likewise.
7211 * stdio-common/tfformat.c: Likewise.
7212 * string/tst-svc.c: Likewise.
7213 * time/clocktest.c: Likewise.
7214 * time/tst-getdate.c: Likewise.
7215 * dirent/list.c: Likewise.
7216 * dirent/opendir-tst1.c: Likewise.
7217 * posix/runtests.c: Likewise.
7218 * posix/tst-getaddrinfo.c: Likewise.
7219 * posix/tst-chmod.c: Likewise.
7220 * posix/wordexp-test.c: Likewise.
7221 * misc/tst-efgcvt.c: Likewise.
7222 * timezone/tst-timezone.c: Likewise.
7223 * rt/tst-clock.c: Likewise.
7224 * rt/tst-shm.c: Likewise.
7225 * rt/tst-aio2.c: Likewise.
7226 * rt/tst-aio3.c: Likewise.
7227 * rt/tst-aio4.c: Likewise.
7228 * rt/tst-aio5.c: Likewise.
7230 * dlfcn/failtest.c: Add prototype for foo.
7232 * dlfcn/glrefmain.c: Add prototype for do_test.
7234 * dlfcn/tst-dladdr.c: Add prototype for do_test.
7236 * string/test-ffs.c (main): Add prototype for nested function.
7238 * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
7240 * nss/XXX-lookup.c: Add prototype to shut up GCC.
7242 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
7243 setetherent prototype.
7244 Add internal interfaces.
7246 * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
7247 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
7249 * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
7251 * nis/nis_intern.h: Add prototype for __pmap_getnisport.
7253 * nss/nss_files/files-ethers.c: Include netinet/ether.h to get
7254 prototypes, remove struct etherent since it's declared in ether.h.
7255 Fix ntohost declaration.
7257 * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
7259 * include/getopt.h: Add internal interfaces.
7260 * include/termios.h: Likewise.
7261 * include/resolv.h: Likewise.
7262 * include/netdb.h: Likewise.
7263 * include/grp.h: Likewise.
7264 * include/pwd.h: Likewise.
7265 * include/shadow.h: Likewise.
7266 * include/rpc/netdb.h: Likewise.
7267 * include/setjmp.h: Likewise.
7269 * include/stdio.h: Add prototypes for compatibility functions.
7270 * include/grp.h: Likewise.
7271 * include/pwd.h: Likewise.
7272 * include/shadow.h: Likewise.
7274 * include/fenv.h: Define internal interfaces.
7276 2000-12-27 Ulrich Drepper <drepper@redhat.com>
7278 * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
7279 argument case separately.
7280 * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
7282 2000-12-27 Andreas Jaeger <aj@suse.de>
7284 * include/sys/wait.h: Add some prototypes.
7285 * Rules (dummy.c): Create also prototype to shut up GCC.
7287 2000-12-27 Andreas Jaeger <aj@suse.de>
7289 * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
7290 it's not needed at the moment.
7291 * sysdeps/generic/if_index.c (__protocol_available): Likewise.
7292 * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
7294 2000-12-26 Andreas Jaeger <aj@suse.de>
7296 * libio/getc_u.c: Include stdio.h via system path to get internal
7298 * libio/getwc_u.c: Likewise.
7300 * stdlib/strfmon.c: Fix prototype of __printf_fp.
7302 * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
7303 __printf_fp prototypes to ...
7304 * include/printf.h: ...here.
7306 * include/stdio.h: Add some internal prototypes to shut up GCC.
7307 * include/stdlib.h: Likewise.
7309 * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
7312 * include/signal.h: Add prototypes for internal sigpause
7315 2000-12-26 Ulrich Drepper <drepper@redhat.com>
7317 * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
7318 64bit platforms. Reported by Dave Gilbert <gilbertd@treblig.org>.
7320 * string/Makefile (tests): Add tst-bswap.
7321 * string/tst-bswap.c: New file.
7323 2000-12-11 Bruno Haible <haible@clisp.cons.org>
7325 * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
7327 2000-12-26 Ulrich Drepper <drepper@redhat.com>
7329 * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
7330 Patch by Ed Connell <Ed.Connell@sas.com>.
7332 2000-12-24 Ulrich Drepper <drepper@redhat.com>
7334 * locale/iso-639.def: Correct one entry. Add two missing entries.
7336 * locale/iso-4217.def: Change entry for Eritrea.
7337 Reported by Daniel Yacob <yacob@geez.org>.
7339 2000-12-23 Ben Collins <bcollins@debian.org>
7341 * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
7344 * manual/stdio.texi (Dynamic Output): Document the return value of
7345 asprintf. Also make the asprintf/snprintf examples a little
7346 better (check for some error returns).
7348 2000-12-22 Andreas Jaeger <aj@suse.de>
7350 * include/stdio.h: Add __ftrylockfile prototype.
7352 2000-12-21 H.J. Lu <hjl@gnu.org>
7354 * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
7355 Make sign_exponent element signed.
7357 * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
7360 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
7362 2000-12-21 Andreas Jaeger <aj@suse.de>
7364 * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
7365 * inet/ether_hton.c: Likewise
7366 * inet/ether_ntoh.c: Likewise.
7368 * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
7369 declaration to match prototype.
7371 * include/netinet/ether.h (struct etherent): Declare here so that
7372 all implementations use the same struct.
7374 * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
7376 (struct ether): Removed.
7377 Use struct etherent instead of ether everywhere.
7379 * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
7381 * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
7383 * sunrpc/publickey.c: Include auth_des.h for prototypes.
7385 2000-12-20 Ulrich Drepper <drepper@redhat.com>
7387 * math/test-misc.c: Add more tests for nextafter functions.
7389 * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
7390 normal correctly. Correct test for sign.
7391 Based on a patch by HJ Lu.
7393 2000-12-19 Ulrich Drepper <drepper@redhat.com>
7395 * Makeconfig (preprocess-version): Add -traditional to gcc call.
7398 2000-12-19 Andreas Jaeger <aj@suse.de>
7400 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
7402 * nis/nis_intern.h: Add prototype for __do_niscall3.
7404 * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
7407 * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
7409 * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
7411 * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
7413 2000-12-18 Ulrich Drepper <drepper@redhat.com>
7415 * math/test-misc.c: Add more tests for nextafter.
7416 * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
7417 * sysdeps/ieee754/ldbl-96/math_ldbl.h
7418 (ieee_long_double_shape_type): Make sign_exponent element signed.
7420 * manual/message.texi: Add Estonian to plural overview list.
7421 Correct rule for Slavic languages.
7422 Patch by Stanislav Brabec <utx@penguin.cz>.
7424 * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
7426 2000-12-18 Andreas Jaeger <aj@suse.de>
7428 * test-skeleton.c: Use temp_name_list instead of name_list to
7429 avoid collision with name_list from inet/netgroup.h.
7431 * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
7433 * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
7434 * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
7435 * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
7436 * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
7438 * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
7439 declaration to match prototype.
7440 * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
7441 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
7442 * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
7444 * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
7445 * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
7446 * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
7447 * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
7448 (_nss_nis_getservbyport_r): Likewise.
7449 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
7450 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
7451 * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
7452 (_nss_nis_setnetent): Likewise
7453 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
7454 (_nss_nis_endnetgrent): Likewise.
7455 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
7457 (_nss_nisplus_setnetgrent): Likewise.
7458 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
7459 * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
7460 * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
7461 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
7463 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
7465 * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
7467 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
7469 * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
7470 * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
7471 * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
7472 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
7473 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
7474 (_nss_dns_getnetbyaddr_r): Likewise.
7476 2000-12-17 Andreas Jaeger <aj@suse.de>
7478 * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
7481 * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
7482 unused attribute to shut up gcc warnings.
7484 * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
7485 * sysdeps/generic/k_tanl.c: Likewise.
7486 * sysdeps/generic/k_cosl.c: Likewise.
7487 * sysdeps/generic/e_j0l.c: Likewise.
7488 * sysdeps/generic/e_j1l.c: Likewise.
7489 * sysdeps/generic/e_jnl.c: Likewise.
7490 * sysdeps/generic/e_lgammal_r.c: Likewise.
7492 * elf/vismain.c: Move prototypes for functions in vismod*.c to
7494 * elf/vismod.h: New file.
7495 * elf/Makefile (distribute): Add vismod.h.
7496 * elf/vismod1.c: Include vismod.h.
7497 * elf/vismod2.c: Likewise.
7498 * elf/vismod3.c: Likewise.
7500 * elf/constload3.c: Add prototype declarations to shut up gcc.
7501 * elf/failobj.c: Likewise.
7502 * elf/nodelmod3.c: Likewise.
7503 * elf/filtmod1.c: Likewise.
7504 * elf/filtmod2.c: Likewise.
7505 * elf/reldepmod1.c: Likewise.
7506 * elf/reldepmod2.c: Likewise.
7507 * elf/reldepmod3.c: Likewise.
7508 * elf/reldepmod4.c: Likewise.
7509 * elf/unload2dep.c: Likewise.
7510 * elf/unload2mod.c: Likewise.
7511 * elf/ltglobmod1.c: Likewise.
7512 * elf/pathoptobj.c: Likewise.
7513 * elf/neededobj1.c: Likewise.
7514 * elf/neededobj2.c: Likewise.
7515 * elf/neededobj3.c: Likewise.
7516 * elf/neededobj4.c: Likewise.
7517 * elf/nextmod1.c: Likewise.
7518 * elf/nextmod2.c: Likewise.
7520 * locale/programs/ld-collate.c (collate_finish): Don't use labels
7521 at end of compound statement.
7522 * locale/programs/locale.c (show_info): Likewise.
7523 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
7525 2000-12-16 Jakub Jelinek <jakub@redhat.com>
7527 * catgets/gencat.c (read_input_file): Avoid calling obstack_free
7528 with a pointer not returned by obstack_ functions.
7530 2000-12-16 Ulrich Drepper <drepper@redhat.com>
7532 * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
7534 (struct stat64): Likewise.
7535 Reported by Michael Keezer <mkeezer@redhat.com>.
7537 * timezone/asia: Update from tzdata2000h.
7538 * timezone/australasia: Likewise.
7539 * timezone/backward: Likewise.
7540 * timezone/europe: Likewise.
7541 * timezone/northamerica: Likewise.
7542 * timezone/southamerica: Likewise.
7543 * timezone/zone.tab: Likewise.
7545 2000-12-14 Jakub Jelinek <jakub@redhat.com>
7547 * io/ftw.c (ftw_dir): If process_entry returned non-zero result
7548 and dir.stream is NULL, only free dir.content.
7549 * io/ftwtest.c (cb, main): Add --early-exit option to test it.
7550 * io/ftwtest-sh: Test with --early-exit.
7552 2000-12-13 Jakub Jelinek <jakub@redhat.com>
7554 * misc/efgcvt.c (FCVT_MAXDIG): Define.
7555 (FCVT_BUFPTR): New variable.
7556 (fcvt): If fcvt_r returns -1 on the static short buffer,
7557 try to malloc a sufficiently large one and retry.
7558 (free_mem): New function.
7559 * misc/qefgcvt.c (FCVT_MAXDIG): Define.
7560 * misc/tst-efgcvt.c (fcvt_tests): Add new test.
7562 2000-12-15 Ulrich Drepper <drepper@redhat.com>
7564 * misc/dirname.c (dirname): Fix search for second to last slash.
7566 2000-12-13 Andreas Jaeger <aj@suse.de>
7568 * misc/tst-dirname.c (main): Fix typo in test to really use
7569 the examples from Unix98.
7570 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
7572 2000-12-09 H.J. Lu <hjl@gnu.org>
7574 * sysdeps/ia64/fpu/s_fabs.S: New file.
7575 * sysdeps/ia64/fpu/s_fabsf.S: New file.
7576 * sysdeps/ia64/fpu/s_fabsl.S: New file.
7578 2000-12-15 Andreas Jaeger <aj@suse.de>
7580 * stdio-common/scanf9.c (main): Reformat and change to avoid
7583 * stdio-common/tstdiomisc.c: Make local functions static.
7584 * stdio-common/tst-printf.c: Likewise.
7586 * elf/constload2.c: Add prototype declarations to shut up gcc.
7587 * elf/dep1.c: Likewise.
7588 * elf/dep2.c: Likewise.
7589 * elf/dep3.c: Likewise.
7590 * elf/dep4.c: Likewise.
7591 * elf/ltglobmod2.c: Likewise.
7593 * libio/fmemopen.c: Make local functions static.
7595 * elf/Makefile (distribute): Added testobj.h.
7597 * elf/testobj.h: New file.
7599 * elf/testobj1.c: Include testobj.h and move prototype
7600 declarations to testobj.h.
7601 * elf/testobj2.c: Likewise.
7602 * elf/testobj3.c: Likewise.
7603 * elf/testobj4.c: Likewise.
7604 * elf/testobj5.c: Likewise.
7605 * elf/testobj6.c: Likewise.
7606 * elf/testobj1_1.c: Likewise.
7607 * elf/preloadtest.c: Likewise.
7609 2000-12-15 Ben Collins <bcollins@debian.org>
7611 * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
7612 Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
7614 2000-12-14 H.J. Lu <hjl@gnu.org>
7616 * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
7617 field in a float is 8 bits, not 11 bits.
7619 2000-12-13 Jakub Jelinek <jakub@redhat.com>
7621 * math/test-misc.c (main): Adjust m for IEEE quad long double.
7623 2000-12-13 Andreas Jaeger <aj@suse.de>
7625 * manual/message.texi (Using gettextized software): Fix typo.
7627 * manual/charset.texi (Converting a Character): Fix mbstouwcs
7629 Patch by Martin Buchholz <martin@xemacs.org>.
7631 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
7632 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
7634 2000-12-11 Andreas Jaeger <aj@suse.de>
7636 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
7637 kernel_sigset_t and use it.
7638 Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
7640 2000-12-10 Richard Henderson <rth@redhat.com>
7642 * sysdeps/alpha/alphaev67/fpu/Implies: New file.
7643 * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
7644 * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
7646 2000-12-10 Jakub Jelinek <jakub@redhat.com>
7648 * sysdeps/alpha/htonl.S: Fix a typo.
7650 2000-12-10 Jakub Jelinek <jakub@redhat.com>
7652 * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
7654 2000-12-10 Andreas Jaeger <aj@suse.de>
7656 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
7657 cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
7658 Drepper <drepper@redhat.com>.
7660 2000-12-09 Andreas Jaeger <aj@suse.de>
7662 * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
7664 * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
7666 Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
7668 * locale/programs/ld-collate.c (handle_ellipsis): Fix format
7671 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
7674 * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
7675 * nscd/connections.c (handle_request): Likewise.
7676 * nscd/pwdcache.c (addpwbyname): Likewise.
7677 * nscd/grpcache.c (addgrbyname): Likewise.
7679 * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
7681 2000-12-09 Ulrich Drepper <drepper@redhat.com>
7683 * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
7685 * Makeconfig (default_cflags): Make -O2 the default for stable
7688 2000-12-08 H.J. Lu <hjl@gnu.org>
7690 * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
7691 * sysdeps/ia64/fpu/s_isinf.S: This.
7692 Add a .pred.rel.mutex note to avoid false report.
7694 * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
7695 * sysdeps/ia64/fpu/s_isnan.S: This.
7697 * sysdeps/ia64/fpu/s_fpclassify.S: New file.
7698 * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
7699 * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
7700 * sysdeps/ia64/fpu/s_isinff.S: New file.
7701 * sysdeps/ia64/fpu/s_isinfl.S: New file.
7702 * sysdeps/ia64/fpu/s_isnanf.S: New file.
7703 * sysdeps/ia64/fpu/s_isnanl.S: New file.
7704 * sysdeps/ia64/fpu/s_finite.S: New file.
7705 * sysdeps/ia64/fpu/s_finitef.S: New file.
7706 * sysdeps/ia64/fpu/s_finitel.S: New file.
7707 * sysdeps/ia64/fpu/s_signbit.S: New file.
7708 * sysdeps/ia64/fpu/s_signbitf.S: New file.
7709 * sysdeps/ia64/fpu/s_signbitl.S: New file.
7710 * sysdeps/ia64/fpu/s_copysign.S: New file.
7711 * sysdeps/ia64/fpu/s_copysignf.S: New file.
7712 * sysdeps/ia64/fpu/s_copysignl.S: New file.
7714 2000-12-08 Ulrich Drepper <drepper@redhat.com>
7716 * math/libm-test.inc (main): Fix typos in messages.
7718 * string/stratcliff.c: Add test for rawmemchr.
7720 2000-12-08 Jakub Jelinek <jakub@redhat.com>
7722 * elf/dl-open.c (_dl_open): If objname points right after errstring,
7723 allocate it together with errstring using alloca.
7724 * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
7725 to "", because it might point to local stack.
7727 2000-12-05 H.J. Lu <hjl@gnu.org>
7729 * nss/Makefile (routines): Add getnssent and getnssent_r.
7730 * nss/nsswitch.h (__nss_setent): New internal NSS function.
7731 (__nss_endent): Likewise.
7732 (__nss_getent_r): Likewise.
7733 (__nss_getent): Likewise.
7734 * nss/getnssent_r.c: New file.
7735 * nss/getnssent.c: New file.
7736 * nss/getXXent.c (H_ERRNO_VAR): Updated.
7737 (GETFUNC_NAME): Updated to call __nss_getent ().
7738 * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
7739 (STAYOPEN_TMPVAR): Updated.
7740 (STAYOPEN_VAR): Updated.
7741 (SETFUNC_NAME): Updated to call __nss_setent ().
7742 (ENDFUNC_NAME): Updated to call __nss_endent ().
7743 (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
7745 2000-12-08 Andreas Jaeger <aj@suse.de>
7747 * nscd/dbg_log.h (dbg_log): Correct attribute.
7749 2000-12-08 Jakub Jelinek <jakub@redhat.com>
7751 * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
7752 cp + len. Compute where from dirname.
7753 Reported by <jreiser@BitWagon.com>.
7755 2000-12-08 Richard Henderson <rth@twiddle.net>
7757 * sysdeps/alpha/_mcount.S: Fix typo.
7758 * sysdeps/alpha/strncpy.S: Likewise.
7760 * sysdeps/alpha/alphaev6/Implies: New file.
7761 * sysdeps/alpha/alphaev67/Implies: New file.
7762 * sysdeps/alpha/alphaev67/ffs.S: New file.
7763 * sysdeps/alpha/alphaev67/ffsll.S: New file.
7764 * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
7765 * sysdeps/alpha/alphaev67/stpcpy.S: New file.
7766 * sysdeps/alpha/alphaev67/stpncpy.S: New file.
7767 * sysdeps/alpha/rawmemchr.S: New file.
7768 * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
7769 * sysdeps/alpha/strcpy.S: Likewise.
7772 * sysdeps/alpha/alphaev6/addmul_1.s: New file.
7774 From rick.gorton@alpha-processor.com:
7775 * sysdeps/alpha/alphaev6/memchr.S: New file.
7776 * sysdeps/alpha/alphaev6/memcpy.S: New file.
7777 * sysdeps/alpha/alphaev6/memset.S: New file.
7778 * sysdeps/alpha/alphaev6/stxcpy.S: New file.
7779 * sysdeps/alpha/alphaev6/stxncpy.S: New file.
7780 * sysdeps/alpha/alphaev67/strcat.S: New file.
7781 * sysdeps/alpha/alphaev67/strchr.S: New file.
7782 * sysdeps/alpha/alphaev67/strlen.S: New file.
7783 * sysdeps/alpha/alphaev67/strncat.S: New file.
7784 * sysdeps/alpha/htonl.S: Use a shorter sequence.
7786 2000-12-08 Jakub Jelinek <jakub@redhat.com>
7788 * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
7789 Reported by <pspencer@fields.utoronto.ca>.
7791 2000-12-07 Jes Sorensen <jes@linuxcare.com>
7793 * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
7794 Pointed out by Hans Boehm.
7796 2000-12-07 H.J. Lu <hjl@gnu.org>
7798 * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
7800 2000-12-07 Andreas Jaeger <aj@suse.de>
7802 * misc/error.c: Add format attributes for __error and __error_at_line.
7804 * nscd/dbg_log.h: Add format attribute.
7806 2000-12-08 Ulrich Drepper <drepper@redhat.com>
7808 * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
7809 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
7811 2000-12-07 Dan Pop <Dan.Pop@cern.ch>
7813 * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
7815 2000-12-06 Ulrich Drepper <drepper@redhat.com>
7817 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
7818 (sysdep_routines): Add uitrunc.
7819 * sysdeps/unix/sysv/aix/uitrunc.c: New file.
7820 Patches by Michael Keezer <mkeezer@redhat.com>.
7822 2000-12-06 Roland McGrath <roland@frob.com>
7824 * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
7825 argument data, since it will be used to copy out too (for INOUT).
7826 Reported by Marcus Brinkmann <marcus@gnu.org>.
7828 * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
7829 (__ioctl): Use uintptr_t instead of unsigned long int.
7831 2000-12-06 Jim Wilson <wilson@redhat.com>
7833 * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
7835 2000-12-06 Ulrich Drepper <drepper@redhat.com>
7837 * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
7838 x.5 rounding correctly.
7840 2000-12-06 Mark Kettenis <kettenis@gnu.org>
7842 * stdio-common/perror.c (perror): Conditionalize code dealing with
7843 wide-oriented streams on USE_IN_LIBIO.
7845 2000-12-06 Mark Kettenis <kettenis@gnu.org>
7847 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
7848 as internal_function.
7850 2000-12-05 Ulrich Drepper <drepper@redhat.com>
7852 * sysdeps/alpha/elf/start.S (__data_start): Define.
7854 2000-12-05 H.J. Lu <hjl@gnu.org>
7856 * nss/getXXent_r.c (setup): Change the return type to int.
7858 2000-12-05 Ulrich Drepper <drepper@redhat.com>
7860 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
7861 (sysdep_routines): Add restf and savef.
7862 * sysdeps/unix/sysv/aix/restf.c: New file.
7863 * sysdeps/unix/sysv/aix/savef.c: New file.
7864 Patches by Michael Keezer <mkeezer@redhat.com>.
7866 * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
7867 if O_DIRECTORY is not defined.
7868 Patch by Michael Keezer <mkeezer@redhat.com>.
7870 * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
7871 Patch by Michael Keezer <mkeezer@redhat.com>.
7873 * locale/programs/linereader.c (get_toplvl_escape): Recognize more
7874 than 4 bytes in escape sequence.
7875 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7877 2000-12-05 Andreas Jaeger <aj@suse.de>
7879 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
7882 * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
7884 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
7886 * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
7887 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
7889 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
7891 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
7892 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
7894 * sysdeps/generic/dl-cache.c: Remove declaration of
7895 _dl_sysdep_read_whole_file.
7897 * elf/dl-load.c (_dl_map_object): Remove declaration of
7898 _dl_load_cache_lookup.
7900 * sysdeps/generic/ldsodefs.h: Add declarations of
7901 _dl_load_cache_lookup, _dl_unload_cache,
7902 _dl_sysdep_read_whole_file, _dl_sysdep_start and
7903 _dl_sysdep_start_cleanup.
7905 * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
7908 * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
7909 * sysdeps/generic/dl-environ.c: Likewise.
7911 * stdio-common/printf_fp.c: Include <gmp.h> instead of
7913 * math/atest-exp.c: Likewise.
7914 * math/atest-exp2.c: Likewise.
7915 * math/atest-sincos.c: Likewise.
7916 * stdio-common/_itoa.c: Likewise.
7917 * stdio-common/_itowa.c: Likewise.
7919 * include/gmp.h: New file with internal prototypes.
7921 * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
7923 * include/setjmp.h: ...here.
7925 * locale/Makefile (routines): Remove codeset_name since it's not
7928 * locale/codeset_name.c: Removed.
7930 2000-12-05 Ulrich Drepper <drepper@redhat.com>
7932 * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
7934 2000-12-05 Andreas Jaeger <aj@suse.de>
7936 * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
7938 2000-12-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
7940 * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
7943 2000-12-05 Andreas Jaeger <aj@suse.de>
7945 * nss/test-netdb.c: Mark local functions as static to avoid
7947 (main): Use return to silence warning.
7949 * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
7951 * stdio-common/test-popen.c: Mark local functions as static to
7953 (main): Use return to silence warning.
7955 * stdlib/testsort.c (compare): Mark as static to avoid warning.
7957 * assert/test-assert.c: Mark local functions as static to avoid
7959 * assert/test-assert-perr.c: Likewise.
7961 * math/libm-test.inc (main): Use return to silence warnings.
7963 2000-12-04 Ulrich Drepper <drepper@redhat.com>
7965 * math/fenv.h: Fix typo in comment.
7967 * math/test-misc.c (main): Add a few more over and underflow tests
7970 * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
7971 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7972 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7973 * math/w_scalb.c: Don't use matherr except in SVID mode.
7974 * math/w_scalbf.c: Likewise.
7975 * math/w_scalbl.c: Likewise.
7976 * math/test-misc.c: Add test for NaN and scalbl.
7977 Reported by Fred J. Tydeman <tydeman@tybor.com>.
7979 2000-12-04 Ulrich Drepper <drepper@redhat.com>
7981 * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
7982 * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
7983 * include/libc-symbols.h (strong_alias): Define special version
7984 for HAVE_ASM_GLOBAL_DOT_NAME.
7985 (weak_alias): Likewise.
7986 * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
7987 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
7988 (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
7989 getutxline, pututxline, and utmpxname.
7990 * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
7991 * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
7992 * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
7993 * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
7994 * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
7995 * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
7996 * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
7997 * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup. Add comments.
7998 * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
7999 Patches by Michael Keezer <mkeezer@redhat.com>.
8001 2000-12-04 H.J. Lu <hjl@gnu.org>
8003 * configure.in: Change --with-oldest-abi=ABI to
8004 --enable-oldest-abi=ABI.
8006 2000-12-02 Bruno Haible <haible@clisp.cons.org>
8008 * stdio-common/perror.c (perror): If stderr is wide-oriented, use
8009 fwprintf instead of fprintf.
8011 2000-12-04 Ulrich Drepper <drepper@redhat.com>
8013 * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
8014 DECIMAL_DIG definitions.
8015 * sysdeps/arm/fpu/bits/mathdef.h: Likewise
8016 * sysdeps/generic/bits/mathdef.h: Likewise
8017 * sysdeps/i386/fpu/bits/mathdef.h: Likewise
8018 * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
8019 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
8020 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
8021 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
8022 * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
8024 2000-12-03 Ulrich Drepper <drepper@redhat.com>
8026 * math/test-fenv.c (main): Use return instead of exit to avoid warning.
8028 * math/atest-exp.c: Mark local functions as static to avoid warnings.
8029 * math/atest-exp2.c: Likewise.
8030 * math/atest-sincos.c: Likewise.
8032 * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
8033 Reported by Fred J. Tydeman <tydeman@tybor.com>.
8035 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
8036 the handling of denormalized numbers.
8038 * math/test-misc.c (main): Test for fpclassify and pseudo denormal
8040 * sysdeps/i386/fpu/fpclassifyl.c: New file.
8042 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
8043 pseudo denormal representation of LDBL_MIN.
8045 * iconvdata/SJIS.irreversible: Remove unnecessary entries.
8046 * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
8048 * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
8049 * iconvdata/jis0208.c: Likewise.
8050 * iconvdata/jis0212.c: Likewise.
8051 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8053 * math/test-misc.c (main): More tests for frexp and some for
8054 fpclassify and isnormal.
8056 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
8058 Reported by Fred J. Tydeman <tydeman@tybor.com>.
8060 * math/test-misc.c (main): Add tests for frexp.
8061 Reported by Fred J. Tydeman <tydeman@tybor.com>.
8062 * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
8064 2000-12-02 H.J. Lu <hjl@gnu.org>
8066 * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
8069 2000-12-02 Ulrich Drepper <drepper@redhat.com>
8071 * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
8072 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8073 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8075 * sysdeps/generic/glob.c: Adjust types of several variables to
8078 2000-12-01 Ulrich Drepper <drepper@redhat.com>
8080 * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
8082 2000-11-30 Roland McGrath <roland@frob.com>
8084 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
8085 (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
8086 allow multiple instances using the same function name in one file.
8088 2000-12-01 Ulrich Drepper <drepper@redhat.com>
8090 * configure.in: Correct test for pserver CVS access.
8092 2000-11-28 H.J. Lu <hjl@gnu.org>
8094 * libio/libio.h: Remove extra "#if ... #endif".
8096 2000-11-29 H.J. Lu <hjl@gnu.org>
8098 * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
8100 2000-12-01 H.J. Lu <hjl@gnu.org>
8102 * nss/getXXbyYY_r.c: Fix verioned symbol handling.
8103 * nss/getXXent_r.c: Likewise.
8104 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
8106 2000-11-30 H.J. Lu <hjl@gnu.org>
8108 * scripts/abi-versions.awk (oldest_abi): New variable.
8109 Handle the oldest ABI supported.
8111 * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
8112 for scripts/abi-versions.awk.
8114 * configure.in: Add --with-oldest-abi=ABI.
8115 * configure: Rebuild.
8117 * config.make.in (oldest-abi): New.
8119 * config.h.in (GLIBC_OLDEST_ABI): New.
8121 * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
8123 2000-11-30 Jakub Jelinek <jakub@redhat.com>
8125 * locale/setlocale.c (setname): Free for all categories, not just
8127 (setlocale): Store a copy of string passed by user, not the string
8130 2000-11-30 Roland McGrath <roland@frob.com>
8132 * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
8133 rather than _hurd_fd_subinit, so it happens after it's safe to use
8134 libc facilities like malloc.
8136 2000-11-28 Andreas Jaeger <aj@suse.de>
8138 * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
8139 declaration, adjust declaration of __syscall_getdents to match
8142 2000-11-29 H.J. Lu <hjl@gnu.org>
8144 * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
8146 2000-11-29 Andreas Jaeger <aj@suse.de>
8148 * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
8150 2000-11-28 Ulrich Drepper <drepper@redhat.com>
8152 * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
8153 * dlfcn/defaultmod2.c: Likewise.
8154 * dlfcn/dlopen.c: Likewise.
8155 * dlfcn/dlopenold.c: Likewise.
8156 * dlfcn/failtestmod.c: Likewise.
8157 * dlfcn/glreflib1.c: Likewise.
8158 * dlfcn/glreflib2.c: Likewise.
8159 * dlfcn/eval.c: Likewise. Add attributes.
8161 * ctype/ctype-extn.c: Define isblank and not __isblank.
8163 * time/strftime.c: Add const where necessary to avoid warnings.
8164 * time/strptime.c (strptime_internal): Add casts to avoid warnings.
8166 2000-11-22 Paul Eggert <eggert@twinsun.com>
8168 * time/strftime.c (my_strftime): Do not invoke mbrlen with a
8169 size of (size_t) -1; it's not portable.
8171 2000-11-28 Ulrich Drepper <drepper@redhat.com>
8173 * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
8175 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
8177 2000-11-14 Jes Sorensen <jes@linuxcare.com>
8179 * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
8181 * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
8182 _mcount is required by profiled binaries.
8184 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
8185 * sysdeps/ia64/machine-gmon.h: ...here.
8187 2000-11-28 Masahide Washizawa <washi@jp.ibm.com>
8189 * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
8190 (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
8192 * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
8194 * iconvdata/ibm922.c: New file.
8195 * iconvdata/ibm922.h: New file.
8196 * iconvdata/ibm1124.c: New file.
8197 * iconvdata/ibm1124.h: New file.
8198 * iconvdata/ibm1129.c: New file.
8199 * iconvdata/ibm1129.h: New file.
8200 * iconvdata/testdata/IBM922: New file.
8201 * iconvdata/testdata/IBM922..UTF8: New file.
8202 * iconvdata/testdata/IBM1124: New file.
8203 * iconvdata/testdata/IBM1124..UTF8: New file.
8204 * iconvdata/testdata/IBM1129: New file.
8205 * iconvdata/testdata/IBM1129..UTF8: New file.
8207 2000-11-28 Ulrich Drepper <drepper@redhat.com>
8209 * catgets/gencat.c (normalize_line): Take extra parameter with escape
8210 character. Change callers.
8211 (open_conversion): Determine mapping of 0x5c as wchar_t value.
8212 * catgets/Makefile: Add rules to build and run test-gencat.
8213 * catgets/sample.SJIS: New file.
8214 * catgets/test-gencat.c: New file.
8215 * catgets/test-gencat.sh: New file.
8216 Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8218 2000-11-28 Andreas Jaeger <aj@suse.de>
8220 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
8223 2000-11-28 Ulrich Drepper <drepper@redhat.com>
8225 * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
8227 2000-11-28 Andreas Jaeger <aj@suse.de>
8229 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
8231 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
8234 2000-11-27 Ulrich Drepper <drepper@redhat.com>
8236 * misc/getusershell.c: Make strings in okshells array const.
8237 * misc/regexp.c: Add const to cast to avoid warnings.
8238 * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
8239 * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
8241 * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
8243 * misc/error.c: Add prototypes for __error and __error_at_line.
8244 * misc/mntent_r.c (__getmntent_r): Add break at end of switch
8245 statement to avoid warning.
8246 * test-skeleton.c: Mark timeout_handler with noreturn.
8247 * iconv/skeleton.c (get16u): Add const to cast.
8249 * iconvdata/gb18030.c: Likewise.
8250 * iconvdata/iso-2022-cn-ext.c: Likewise.
8251 * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
8252 * iconvdata/big5.c: Likewise.
8253 * iconvdata/big5hkscs.c: Likewise.
8254 * iconvdata/iso_6937.c: Likewise.
8255 * iconvdata/iso_6937-2.c: Likewise.
8256 * iconvdata/t.61.c: Likewise.
8257 * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
8258 * iconvdata/unicode.c: Likewise.
8259 * iconvdata/utf-16.c: Likewise.
8260 * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
8261 * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
8262 with little code shuffling.
8264 * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
8265 the problems introduced when the user selects -O3.
8267 * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
8268 * misc/sys/cdefs.h: Define __flexarr.
8269 Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
8271 * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
8272 * iconv/skeleton.c: Likewise.
8273 * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
8274 * iconv/loop.c (get16): Add const to cast.
8277 2000-11-27 Andreas Jaeger <aj@suse.de>
8279 * login/programs/pt_chown.c (do_pt_chown): Mark function as static
8281 * login/programs/utmpdump.c (print_entry): Likewise.
8283 2000-11-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
8285 * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
8286 in a single asm as they may be used to access other stored
8288 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
8290 2000-11-27 Andreas Jaeger <aj@suse.de>
8292 * rt/tst-aio.c: Mark test functions as static to avoid warnings.
8293 * rt/tst-aio64.c: Likewise.
8295 2000-11-27 Ulrich Drepper <drepper@redhat.com>
8297 * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
8299 (libc.cat): Likewise.
8300 * catgets/gencat.c: Implement handling of message catalogs encoded
8301 with stateful character sets.
8302 Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8304 2000-11-26 Ulrich Drepper <drepper@redhat.com>
8306 * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
8308 * inet/getnameinfo.c: Adjust casts to avoid warnings.
8309 * inet/rcmd.c: Likewise.
8310 * inet/ruserpass.c: Likewise.
8311 * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
8312 IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
8313 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
8314 IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
8315 IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
8316 IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
8317 * include/aliases.h: Add prototypes for internal __getalias* functions.
8318 * include/netdb.h: Add prototypes for __old_gethostent_r,
8319 __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
8320 __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
8321 __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
8322 __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
8323 * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
8324 __old_getrpcbynumber_r, __old_getrpcent_r.
8326 * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
8327 __getrpcent_r prototypes.
8329 2000-11-25 Ulrich Drepper <drepper@redhat.com>
8331 * string/strcoll.c: Add casts to avoid warnings.
8332 * string/strnlen.c: Likewise.
8333 * string/strxfrm.c: Likewise.
8334 * sysdeps/generic/_strerror.c: Likewise.
8335 * sysdeps/generic/memrchr.c: Likewise.
8336 * sysdeps/generic/strcasestr.c: Likewise.
8337 * sysdeps/generic/strstr.c: Likewise.
8339 * locale/weight.h (findidx): Add const to cast to avoid warning.
8341 * elf/loadfail.c: Little cosmetic changes to avoid warnings.
8342 * elf/loadtest.c: Likewise.
8343 * elf/multiload.c: Likewise.
8344 * elf/next.c: Likewise.
8345 * elf/nodelete.c: Likewise.
8346 * elf/noload.c: Likewise.
8347 * elf/order.c: Likewise.
8348 * elf/origtest.c: Likewise.
8349 * elf/preloadtest.c: Likewise.
8350 * elf/restest1.c: Likewise.
8352 * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
8353 parameter of asm must be in %ecx.
8355 * string/tester.c: Mark test functions as static to avoid warnings.
8357 * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
8358 preserve value over different gconv-modules files.
8360 2000-11-24 Ulrich Drepper <drepper@redhat.com>
8362 * locale/findlocale.c: Add casts to avoid warnings.
8363 * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
8364 * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
8366 * misc/tsearch.c (const_node): New type.
8367 (trecurse): Correct casts to avoid warnings.
8368 (__twalk): Likewise.
8369 * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
8372 * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
8374 * test-skeleton.c: Mark local functions as static to avoid warnings.
8376 2000-11-23 H.J. Lu <hjl@gnu.org>
8378 * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
8379 support the background job.
8382 2000-11-24 Ulrich Drepper <drepper@redhat.com>
8384 * iconv/gconv_conf.c (insert_module): Replace old entry if new one
8385 has same names but lower cost.
8387 2000-11-23 Jakub Jelinek <jakub@redhat.com>
8389 * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
8390 which never occur during bootstrap.
8391 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8393 2000-11-23 Andreas Jaeger <aj@suse.de>
8395 * nss/nss_files/files-hosts.c: Remove getipnodebyname.
8397 * nss/Versions: Remove _nss_files_getipnodebyname_r.
8399 * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
8401 2000-11-18 Martin Buchholz <martin@xemacs.org>
8403 * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
8406 2000-11-21 Alan Modra <alan@linuxcare.com.au>
8408 * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
8410 * csu/abi-note.S: Correct comment for operating system number.
8412 2000-11-22 Ulrich Drepper <drepper@redhat.com>
8414 * Versions.def: Add GLIBC_2.2.1 for glibc.
8416 2000-11-22 Andreas Schwab <schwab@suse.de>
8418 * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
8419 * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
8421 2000-11-22 Ulrich Drepper <drepper@redhat.com>
8423 * rt/aio_suspend.c (aio_suspend): Convert timeout value to
8424 absolute time for pthread_cond_timedwait call.
8425 Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
8427 * rt/Makefile (tests): Add tst-aio6.
8428 * rt/tst-aio6.c: New file.
8430 2000-11-23 Andreas Jaeger <aj@suse.de>
8432 * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
8434 2000-11-22 Andreas Jaeger <aj@suse.de>
8436 * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
8438 2000-11-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
8440 * sysdeps/s390/bits/string.h: Make strncat always add a \0.
8442 2000-11-21 Andreas Schwab <schwab@suse.de>
8444 * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
8445 * sysdeps/arm/setjmp.S: Likewise.
8446 * sysdeps/arm/fpu/setjmp.S: Likewise.
8447 * sysdeps/i386/setjmp.S: Likewise.
8448 * sysdeps/i386/elf/setjmp.S: Likewise.
8449 * sysdeps/s390/setjmp.S: Likewise.
8450 * sysdeps/s390/elf/setjmp.S: Likewise.
8451 * sysdeps/sh/sh3/setjmp.S: Likewise.
8452 * sysdeps/sh/sh4/setjmp.S: Likewise.
8453 * sysdeps/sparc/sparc32/setjmp.S: Likewise.
8454 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
8455 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
8456 * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
8458 2000-11-21 Andreas Jaeger <aj@suse.de>
8460 * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
8461 NORETURN, fix parameter list.
8463 * string/bug-strncat1.c (main): Fix typo.
8464 Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
8466 2000-11-20 Ulrich Drepper <drepper@redhat.com>
8468 * configure.in: Add --enable-all-warnings.
8469 * config.make.in (all-warnings): New variable.
8470 * Makeconfig (+gccwarn): Define with many more warnings if
8471 all-warnings is yes.
8473 2000-11-20 Jakub Jelinek <jakub@redhat.com>
8475 * iconvdata/bug-iconv2.c (main): Use %zd in format string.
8476 * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
8477 * malloc/tst-valloc.c (main): Cast valloc return value to long.
8478 * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
8479 * math/test-fpucw.c (main): Use %lx in format string, cast
8480 control words to long.
8481 * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
8482 * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
8483 large that it is unsigned warning.
8485 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
8486 it to long on sparc64.
8488 2000-11-20 Andreas Jaeger <aj@suse.de>
8490 * nscd/nscd.h (termination_handler): Add noreturn attribute.
8491 (receiv_print_stats): Likewise.
8493 * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
8495 2000-11-20 Ulrich Drepper <drepper@redhat.com>
8497 * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
8499 * csu/gmon-start.c: Always have prototype for __gmon_start.
8500 * csu/version.c: Add prototypes for __libc_print_version and
8502 * iconv/gconv.c: Include gconv_int.h and gconv.h.
8503 * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
8505 * iconv/gconv_builtin.h: Add ASCII module definitions.
8506 * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
8507 (add_module): Add cast to avoid warning. Rework construction of
8508 strings for new module.
8509 * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
8510 (derivation_compare): Likewise.
8511 * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
8512 (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
8513 * iconv/gconv_int.h (__gconv_path_elem): Remove const.
8514 (struct gconv_alias): Remove const from fromname and toname.
8515 * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
8517 (internal_ucs4_loop): Use correct const-ness.
8518 (ucs4_internal_loop): Likewise.
8519 (internal_ucs4le_loop): Likewise.
8520 (ucs4le_internal_loop_single): Likewise.
8521 * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
8522 to_idx, to_tbl, winbuf, winbufend const. Change casts in
8523 assignments appropriately.
8524 (struct known_trans): Remove const from fname.
8525 (trans_compare): Make s1 and s2 const.
8526 * iconv/loop.c (LOOPFC): Make outend parameter const. Add cast to
8528 * iconv/skeleton.c: Remove cast in calls of loop functions.
8529 * iconvdata/gconv-modules: Remove US-ASCII definitions.
8530 * iconvdata/iso646.c: Remove US_ASCII support.
8531 * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
8532 * include/unistd.h: Add __libc_check_standard_fds prototype.
8533 * string/bits/string2.h (__mempcpy_args): Add const to casts.
8534 * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
8536 * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
8537 * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
8538 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
8540 * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
8541 __libc_init_first and _dl_start.
8542 * intl/dcigettext.c (transcmp): Make s1 and s2 const.
8543 (DCIGETTEXT): Make domaindata variable const.
8544 * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
8547 2000-11-20 Hiroyuki Machida <machida@sm.sony.co.jp>
8549 * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
8551 * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
8552 time_t to 'long int' not, 'unsigned int'. Use 'long int' for
8555 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
8556 value defined in /usr/include/asm-mips/fcntl.h.
8558 2000-11-18 Ulrich Drepper <drepper@redhat.com>
8560 * stdio-common/Makefile (tests): Add test-vfprintf.
8561 (test-vfprintf-ENV): New variable.
8562 * stdio-common/test-vfprintf.c: New file.
8564 * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
8566 * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
8567 (tst-mbrtowc-ENV): New variable.
8568 (tst-wcrtomb-ENV): New variable.
8569 * wcsmbs/tst-mbrtowc.c: New file.
8570 * wcsmbs/tst-wcrtomb.c: New file.
8572 2000-11-16 Andreas Jaeger <aj@suse.de>
8574 * manual/install.texi (Tools for Compilation): Update
8575 documentation for GCC 2.95.2.
8577 2000-11-18 Ulrich Drepper <drepper@redhat.com>
8579 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
8580 if IPv4 and IPv6 requests timed out.
8582 2000-11-18 Akim Demaille <akim@epita.fr>
8584 * malloc/obstack.h: Formatting changes.
8585 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
8586 prevents type checking.
8587 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
8588 cast the value to (void *): assigning a `foo *' to a `void *'
8590 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
8592 2000-11-17 Ulrich Drepper <drepper@redhat.com>
8594 * scripts/config.guess: Update from upstream maintainer.
8595 * scripts/config.sub: Likewise.
8597 2000-11-16 Ulrich Drepper <drepper@redhat.com>
8599 * libio/freopen.c (freopen): Reset _mode after succesful reopening.
8600 * libio/freopen64.c (freopen64): Likewise.
8601 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8603 * libio/Makefile: Add rules to build and run test-freopen.
8604 * libio/test-freopen.c: New file.
8605 * libio/test-freopen.sh: New file.
8607 2000-11-15 H.J. Lu <hjl@gnu.org>
8609 * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
8610 ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
8611 (DL_DT_FINI_ADDRESS): Likewise.
8613 * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
8614 return type to ElfW(Addr).
8615 (_dl_function_address): New prototype.
8616 (DL_FUNCTION_ADDRESS): Defined.
8617 (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
8618 (DL_DT_FINI_ADDRESS): Likewise.
8620 * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
8622 * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
8623 (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
8625 * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
8626 (_dl_function_address): This.
8628 * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
8629 function pointer for DT_FINI.
8630 * elf/dl-close.c (_dl_close): Likewise.
8632 * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
8633 function pointer for DT_INIT.
8635 2000-11-16 Jakub Jelinek <jakub@redhat.com>
8637 * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
8638 end of wexpbuf buffer.
8640 2000-11-16 Andreas Jaeger <aj@suse.de>
8642 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
8643 definition of F_GETLK, F_SETLK, F_SETLKW.
8645 2000-11-16 Andreas Jaeger <aj@suse.de>
8647 * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
8650 2000-11-15 Jakub Jelinek <jakub@redhat.com>
8652 * dlfcn/default.c (main): Add test for dladdr of main returning
8653 argv[0] in dli_fname field.
8655 2000-11-15 Jakub Jelinek <jakub@redhat.com>
8657 * Makeconfig (run-program-prefix): Move test-static test into the
8660 * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
8661 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
8662 schedule instructions.
8663 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
8664 schedule instructions, fix a bug in copying auxiliary data.
8666 2000-11-15 Ulrich Drepper <drepper@redhat.com>
8668 * manual/startup.texi (Program Arguments): Fix type of main's envp
8670 Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
8672 * iconvdata/gconv-modules: Add CP950 alias.
8674 2000-11-13 Jakub Jelinek <jakub@redhat.com>
8676 * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
8677 syscall-list.h goal.
8678 * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
8680 2000-11-15 Ulrich Drepper <drepper@redhat.com>
8682 * intl/Makefile: tst-gettext2.sh does not need a third parameter.
8684 * intl/tst-gettext2.sh: Copy locale data. Adjust LOCPATH. Verify
8687 * intl/tst-gettext2.c: Set C locale if setting other locale
8688 failed. Use gettext() not _().
8690 * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
8691 successfully loaded a new locale.
8693 2000-11-13 Andreas Jaeger <aj@suse.de>
8695 * configure.in: Require gcc 2.95 or newer.
8697 2000-11-15 Ulrich Drepper <drepper@redhat.com>
8699 * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
8700 Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
8702 2000-11-11 Jim Meyering <meyering@lucent.com>
8704 * string/strndup.c (strndup): Cast return value to `char *'.
8706 2000-11-15 Jim Meyering <meyering@ascend.com>
8708 * sysdeps/generic/memchr.c: Remove some useless parentheses.
8709 [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
8710 [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
8711 [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
8712 Also #undef __memchr.
8713 Use `weak_alias' only if it's defined.
8715 2000-11-10 H.J. Lu <hjl@gnu.org>
8717 * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
8719 2000-11-15 Andreas Jaeger <aj@suse.de>
8721 * elf/chroot_canon.c: Include <stdint.h>.
8723 * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
8724 (print_entry): Likewise.
8725 (add_to_cache): Likewise.
8727 * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
8729 * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
8730 (path_hwcap): Likewise.
8731 (search_dir): Likewise.
8733 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
8735 * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
8737 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
8738 (_dl_platform_string): New.
8739 (_DL_HWCAP_PLATFORM): New.
8740 (_dl_string_platform): New.
8741 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
8743 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
8744 (_dl_string_platform): New.
8745 (_DL_HWCAP_PLATFORM): New.
8746 (_dl_platform_string): New.
8748 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
8750 (_DL_HWCAP_COUNT): New.
8751 (_dl_string_platform): New.
8752 (_DL_HWCAP_PLATFORM): New.
8753 (_dl_platform_string): New.
8755 2000-11-14 Ulrich Drepper <drepper@redhat.com>
8757 * iconvdata/gconv-modules: Add CP936 as alias for GBK.
8759 2000-11-14 Andreas Jaeger <aj@suse.de>
8761 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
8763 2000-11-13 Roland McGrath <roland@frob.com>
8765 * hurd/get-host.c (_hurd_get_host_config): Fix last change.
8767 2000-11-13 Marcus Brinkmann <marcus@gnu.org>
8769 * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
8770 underrun and make sure the result is null terminated even if there
8771 is no trailing newline.
8773 2000-11-13 Jakub Jelinek <jakub@redhat.com>
8775 * sysdeps/alpha/fpu/libm-test-ulps: Update.
8777 2000-11-10 H.J. Lu <hjl@gnu.org>
8779 * sysdeps/ia64/fpu/libm-test-ulps: Updated.
8781 2000-11-10 Andreas Jaeger <aj@suse.de>
8783 * elf/ldconfig.c (create_links): Fix alloca calculation.
8784 Patch by Ben Collins <bcollins@debian.org>.
8786 2000-11-09 Ulrich Drepper <drepper@redhat.com>
8788 * inet/getnameinfo.c (getnameinfo): Use correct destination
8789 parameter for if_indextoname.
8790 Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
8792 2000-11-09 H.J. Lu <hjl@gnu.org>
8794 * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
8795 xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
8796 xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
8799 * time/Versions (GLIBC_2.1): Move getitimer to...
8800 * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
8802 2000-11-03 Bruno Haible <haible@clisp.cons.org>
8804 * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
8805 "make install", to work around a binary incompatibility between
8806 glibc 2.1 and glibc 2.2 gconv modules.
8808 2000-11-09 Ulrich Drepper <drepper@redhat.com>
8810 * intl/locale.alias: Add thai.
8811 Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
8813 2000-11-07 Akim Demaille <akim@epita.fr>
8815 * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
8816 argument `data' for consistency with the prototypes.
8818 (obstack_copy, obstack_copy0): Rename the second argument as
8819 `address' for consistency. Qualify it `const'.
8820 * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
8821 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
8822 `const' their input argument (`data' or `address').
8823 Adjust the corresponding macros to include `const' in casts.
8825 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8827 * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
8830 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8832 * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
8835 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8837 * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
8838 ai_protocol by internal table if service was not given.
8840 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8842 * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
8843 numerical port was specified with protocol without socktype.
8845 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8847 * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
8849 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8851 * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
8853 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8855 * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
8856 sin6_scope_id field.
8858 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8860 * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
8862 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8864 * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
8866 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8868 * inet/getnameinfo.c: Wake-up sin6_scope_id support in
8869 getnameinfo(): check for whether sin6_socpe_id exist was wrong.
8871 2000-11-09 Martin Schwidefsky <mschwide@nc.boeblingen.de.ibm.com>
8873 * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
8874 * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
8876 2000-11-09 H.J. Lu <hjl@gnu.org>
8878 * io/Versions (GLIBC_2.1.1): Remove lockf64.
8881 See ChangeLog.11 for earlier changes.